1. Welcome to LilyPad. Download the project, explore the forums, and create your own LilyPad network.


    If you use the software and enjoy it or have a question, or would like to contribute to the future of the software directly or through resources, please sign up and join our little community.

Using routes

Discussion in 'Support' started by Shawshark, Dec 28, 2013.

  1. Shawshark

    Shawshark Active Member Resource Contributor

    For some reason when connecting it just shows this..
    [​IMG]
    when my hub server is online because my main proxy listening to it on 25565 works and is joinable (using an old config).

    Now using another proxy listening on 25561 connected to the same connect, It just doesn't work here is the config.
    Code (yaml):

    connect
    :
      address
    : play.craftshark.net:6031
      credentials
    :
        username
    : <hidden>
        password
    : <hidden>
    proxy
    :
      bind
    : :25561
      routes
    :
      - domain
    : ""
        server
    : hub
      - domain
    : ""
        servers
    :
       - hub
        - survival
        motd
    : Example Custom MOTD
      locale
    :
        full
    : The server seems to be currently full. Try again later!
        offline
    : The requested server is currently offline. Try again later!
        loggedIn
    : You seem to be logged in already. Try again later!
        lostConn
    : Lost connection... Please try to reconnect
        shutdown
    : The server is being restarted. Please try to reconnect
      motd
    : A LilyPad Server
      maxPlayers
    : 1
      authenticate
    : true
     
    Last edited: Dec 28, 2013
  2. The_Zip

    The_Zip Active Member Resource Contributor

    What are the exact builds you are using? I don't see anything wrong, but I will through it up on a test server really quick, see how it works for me.
  3. Shawshark

    Shawshark Active Member Resource Contributor

    Build #33 Go-Server-Proxy
  4. Matt

    Matt Forum Moderator & Contributor Staff Member Moderator Contributor

    If you connect to your hub IP, does it says Authorization to LilyPad failed? Just want to double check that.
  5. Shawshark

    Shawshark Active Member Resource Contributor

    Yes, everything is working on my setup even connect to play.craftshark.net, but setting up another go-proxy using the same go-connect info as the other one It just doesn't connect me to the hub. It shows the custom motd and the right player count just no connection...
  6. Matt

    Matt Forum Moderator & Contributor Staff Member Moderator Contributor

    Can you post both configs?
  7. Shawshark

    Shawshark Active Member Resource Contributor

    public go-proxy config: (the config that's working)
    Code (yaml):

    connect
    :
      address
    : 192.99.16.189:6031
      credentials
    :
        username
    : <hidden>
        password
    : <hidden>
    proxy
    :
      bind
    : :25565
      routes
    :
      - domain
    : ""
        server
    : hub
      locale
    :
        full
    : The server seems to be currently full. Try again later!
        offline
    : The requested server is currently offline. Try again later!
        loggedIn
    : You seem to be logged in already. Try again later!
        lostConn
    : Lost connection... Please try to reconnect
        shutdown
    : The server is being restarted. Please try to reconnect
      motd
    : '&4<&7<&4< &eCraftshark Network &4>&7>&4>                            &aMassive 50% Off all ranks &7www.cra$
      maxPlayers
    : 1000
      authenticate
    : true
    This is the non-public one for testing: (one that is showing the hub to be offline)
    Code (yaml):

    connect
    :
      address
    : play.craftshark.net:6031
      credentials
    :
        username
    : lilypad
        password
    : passwordtothisismine
    proxy
    :
      bind
    : :25561
      routes
    :
      - domain
    : ""
        server
    : hub
      - domain
    : ""
        servers
    :
       - hub
        - survival
        motd
    : Example Custom MOTD
      locale
    :
        full
    : The server seems to be currently full. Try again later!
        offline
    : The requested server is currently offline. Try again later!
        loggedIn
    : You seem to be logged in already. Try again later!
        lostConn
    : Lost connection... Please try to reconnect
        shutdown
    : The server is being restarted. Please try to reconnect
      motd
    : A LilyPad Server
      maxPlayers
    : 1
      authenticate
    : true

     
  8. Matt

    Matt Forum Moderator & Contributor Staff Member Moderator Contributor

    Are you getting any errors?

    And you have this double:
    Code (yaml):
    routes:
      - domain
    : ""
        server
    : hub
      - domain
    : ""
        servers
    :  - hub
        - survival
     
  9. The_Zip

    The_Zip Active Member Resource Contributor

    Ok, I have the same setup I believe as you right now, and I am having the same issue. (Though mine was a quick through together)

    Code (text):
    connect:
      address: 192.184.83.46:11111
      credentials:
        username: 123123
        password: 123123
    proxy:
      bind: :25565
      routes:
      - domain: ""
        server: hub
      locale:
        full: The server seems to be currently full. Try again later!
        offline: The requested server is currently offline. Try again later!
        loggedIn: You seem to be logged in already. Try again later!
        lostConn: Lost connection... Please try to reconnect
        shutdown: The server is being restarted. Please try to reconnect
      motd: A LilyPad Server
      maxPlayers: 1
      authenticate: true
     
    and

    Code (text):
    connect:
      address: 192.184.83.46:11111
      credentials:
        username: 123123
        password: 123123
    proxy:
      bind: :22222
      routes:
      - domain: ""
        server: hub
      locale:
        full: The server seems to be currently full. Try again later!
        offline: The requested server is currently offline. Try again later!
        loggedIn: You seem to be logged in already. Try again later!
        lostConn: Lost connection... Please try to reconnect
        shutdown: The server is being restarted. Please try to reconnect
      motd: A LilyPad Server
      maxPlayers: 1
      authenticate: true
     
    which is giving me the same issue with can't join the server.
  10. Shawshark

    Shawshark Active Member Resource Contributor

    Changing it to another server seems to still show offline.
  11. Shawshark

    Shawshark Active Member Resource Contributor

    Yep even with a clean install with only 1 go-proxy, setting it to go to the hub and not using the routes still shows it offline.
  12. Matt

    Matt Forum Moderator & Contributor Staff Member Moderator Contributor

    Also, in your connect you have play.craftshark.net:6031

    Where is the 6031 leading to?
  13. Shawshark

    Shawshark Active Member Resource Contributor

    Yes I do, what do you mean where is it leading to? its leading to the go-connect.
  14. Matt

    Matt Forum Moderator & Contributor Staff Member Moderator Contributor

    Can you also show me your connect and bukkit connect config?
  15. Shawshark

    Shawshark Active Member Resource Contributor

    Ok just to note there is nothing wrong with these as there working on an older version of go-proxy.

    Connect.yml:
    Code (yaml):

    bind
    : 192.99.16.189:6031
    logins
    :
    - username
    : <hidden>
      password
    : <hidden>
    - regexp
    : hub
      password
    : <hidden>
    - regexp
    : backuphub
      password
    : <hidden>
    - regexp
    : skyblock
      password
    : <hidden>
    - regexp
    : faction
      password
    : <hidden>
    - regexp
    : survival
      password
    : <hidden>
    - regexp
    : creative
      password
    : <hidden>
    - regexp
    : creative2
      password
    : <hidden>
    - regexp
    : prison
      password
    : <hidden>
    - regexp
    : survivalgames
      password
    : <hidden>
    and about 50 others in that config which i'm not going to bother to paste..

    Bukkit-connect config for hub:
    Code (yaml):

    settings
    :
      address
    : play.craftshark.net
      port
    : 6031
      credentials
    :
        username
    : hub
        password
    : <hidden>
    Something is telling me your not getting what i'm trying to say because it's all working on one setup of a go-proxy setup just not on a second.

    Note: im not trying to setup 2 i'm just testing with 2 because i don't want to take my public one offline and have issues.
  16. Matt

    Matt Forum Moderator & Contributor Staff Member Moderator Contributor

    I know what you are trying to say. I just wanted to double check everything :p

    Anyways, if @The_Zip has this problem too, then it could be a bug. If someone else also can confirm this, then it will be reported as an bug. I can't because I have an different network setup..
  17. Shawshark

    Shawshark Active Member Resource Contributor

    Ok thanks for your help anyway.
    And yeah for all we know it could be a bug.
    • Like Like x 1
  18. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    Code (text):

      - domain: ""
        server: hub
      - domain: ""
        servers:   - hub
        - survival
     
    You have two routes for the domain "". I can't believe nobody noticed this.

    Code (text):

    bind: 192.99.16.189:6031
    logins:
    - username: <hidden>
      password: <hidden>
    - regexp: hub
      password: <hidden>
    - regexp: backuphub
      password: <hidden>
    - regexp: skyblock
      password: <hidden>
    - regexp: faction
      password: <hidden>
    - regexp: survival
      password: <hidden>
    - regexp: creative
      password: <hidden>
    - regexp: creative2
      password: <hidden>
    - regexp: prison
      password: <hidden>
    - regexp: survivalgames
      password: <hidden>
     
    Do not use regexp unless you are 100% sure what it does. Replace it with "username:"
  19. The_Zip

    The_Zip Active Member Resource Contributor

  20. Shawshark

    Shawshark Active Member Resource Contributor

    Seems that wasn't the problem I did fix this though, The problem was one proxy was connecting to one login and the 2nd one was connecting to the same username, Setting it to another one fixed it, Maybe add a message saying "there seems to be a server already connected" in the proxy.
    • Like Like x 1

Share This Page