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.

Solved Authentication Problem

Discussion in 'Support' started by About7Deaths, Aug 28, 2013.

Thread Status:
Not open for further replies.
  1. About7Deaths

    About7Deaths Member

    I am having a strange problem where only some of my servers let people through and some don't. Example: I have my proxy running on a shared host with a dedicated IP. I have my hub running on another shared server with the port 25268. I also have a pvp server running on another shared host with the port 25713. I am not able to connect to the hub with its own IP (getting the message [Lilypad] Authentication to lilypad failed) witch is good so nobody can join anything but the proxy. But when I connect to the pvp server it lets me directly in without any authentication needed from the proxy. I cannot seem to figure out how to fix this problem. Please help me as soon as you can. Thanks

    Edit: I would like to add that OnlyProxyJoin and IPWhitelist do not work either so please don't suggest that.
    Last edited: Aug 28, 2013
  2. Stilldabomb

    Stilldabomb New Member

    AllInOne/Server configs?
  3. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    You do not have LilyPad-Connect installed on your second server.
  4. Stilldabomb

    Stilldabomb New Member

    Ah, didn't think of that! :oops:
  5. Gabe

    Gabe New Member

    uh my server wont ether
  6. Gabe

    Gabe New Member

    and i have it installed
  7. Stilldabomb

    Stilldabomb New Member

    You're sure you have it installed on every server?

    AllinOne/LilyPad-Connect configs?
  8. boboman13

    boboman13 Member Contributor

    @About7Deaths the problem that you are doing is you are connecting to the actual server, not connecting through the proxy. You can set it up so people always join the hub server with the proxy, they cannot however join to the proxy. You must also run LilyPad-Connect on all the servers.
  9. Stilldabomb

    Stilldabomb New Member

    @Gabe
  10. About7Deaths

    About7Deaths Member

    I obviously have Lilypad-Connect on both servers -_- I'm not stupid. I will share the configs when I get back on my PC. I'm on mobile ATM. I think it is a problem with the proxy not being able to handle servers on completely different machines. I could be making a slight error in my configuration, even though I have tried many different methods to get security for "proxy only". Yet only hub has proxy only working properly.
  11. About7Deaths

    About7Deaths Member

    Again, that is not the problem I am having. I am saying that I don't want people with the pvp server IP, to be able to join the server. I want it to say [Lilypad] authentication to lilypad failed if they join anything BUT the proxy. Do you understand what I mean?
  12. boboman13

    boboman13 Member Contributor

    Yes, but that is the problem you are having, @About7Deaths. The only way that the proxy works is if you connect using the IP allocated to the proxy. If you run LilyPad-Connect on all servers and it is correctly configured, it should work fine.
  13. About7Deaths

    About7Deaths Member

    That is the only reason why I made this post, it does not work fine. I think it may be a problem with the proxy not being able to work properly across completely different machines. I will upload my conf in 15 min when I get home. Hopefully we can get this problem sorted out :)
  14. About7Deaths

    About7Deaths Member

    Here is my proxy (server-standalone-allinone):
    Code (text):
    {
      "proxy": {
        "bind": {
          "address": "108.170.41.139",
          "port": 25565
        },
        "outbound": {
          "address": "0.0.0.0"
        },
        "servers": [
          {
            "domain": "*",
            "server": "Hub"
          }
        ],
        "motd": "\u00266--\u003c \u003c\u00264\u0026bApocalypse \u0026b\u00264Network\u00266\u003e \u003e--",
        "playerMaximum": 100,
        "authenticate": false,
        "throttle": 2500,
        "tabEnabled": false,
        "localeFull": "You seem to be already logged in.",
        "localeOffline": "The requested server is currently offline. Try again later.",
        "localeLoggedIn": "You have logged in from another location.",
        "localeLostConn": "Lost connection... Please try to reconnect.",
        "localeShutdown": "The server is being restarted. Please try to reconnect."
      },
      "queryTcp": {
        "bind": {
          "address": "0.0.0.0",
          "port": 5555
        }
      },
      "queryUdp": {
        "bind": {
          "address": "0.0.0.0",
          "port": 25565
        }
      },
      "connect": {
        "bind": {
          "address": "0.0.0.0",
          "port": 5091
        },
        "logins": [
          {
            "username": "Hub",
            "password": "hidden"
          },
          {
            "username": "PVPG1",
            "password": "hidden"
          },
          {
            "username": "Survival",
            "password": "hidden"
          }
        ]
      }
    }
    Here is my hub config (bukkit-connect):
    Code (text):
    settings:
      address: 108.170.41.139
      port: 5091
      credentials:
        username: Hub
        password: hidden
    Here is my pvp config (bukkit-connect):
    Code (text):
    settings:
      address: 108.170.41.139
      port: 5091
      credentials:
        username: PVPG1
        password: hidden
  15. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    Please PM me the IP and port of your Hub & PvP servers, along with any other information you feel is necessary.
  16. Gabe

    Gabe New Member

    Dont Know
    U Have To Help
  17. boboman13

    boboman13 Member Contributor

    @Gabe you have to know at least that to even run the system... and Coelho can't help you unless you give him that information.
  18. About7Deaths

    About7Deaths Member

    Um.... Who is Gabe? And what is he referring to?
  19. boboman13

    boboman13 Member Contributor

    Oh I thought @Gabe was working with you, @About7Deaths... @Gabe, please create your own thread asking for support instead of stealing other's.
  20. About7Deaths

    About7Deaths Member

    Turns out the culprit of this problem was HubKick from the lilypad plugin resources. Thanks to everyone who helped solve this problem.
Thread Status:
Not open for further replies.

Share This Page