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.

Invalid Username, already in use

Discussion in 'Support' started by Cr41s3, Jan 9, 2014.

  1. Cr41s3

    Cr41s3 New Member

    Hello.

    Today I wanted to test LilyPad instead of BungeeCord.
    But I configured everything and update the Bukkit-Connect Plugin and the proxy and the connect execution.
    http://www7.pic-upload.de/09.01.14/btrkcdrlia55.png
    ^You see the Server Logs.

    My configs:

    connect.yml
    Code (text):
    bind: :5091

    logins:
    - username: Cr41s3
      password: 123123
    - username: hub
      password: 123123
    - username: city
      password: 123123

    proxy.yml
    Code (text):
    connect:
      address: 127.0.0.1:5091
      credentials:
        username: Cr41s3
        password: 123123
    proxy:
      bind: 127.0.0.1:25565
      routes:
      - domain: 127.0.0.1:25560
        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: 4
      authenticate: true

    config.yml
    Code (text):
    settings:
      address: 127.0.0.1
      port: 5091
      credentials:
        username: Cr41s3
        password: 123123
     
    I have no idea to solve this problem so I ask you :)

    Just a little other question.
    Where do I have to install the plugins in which folder?
    Normal bukkit folder?

    Thanks for any further help
  2. Matt

    Matt Forum Moderator & Contributor Staff Member Moderator Contributor

    There is a wrong Username and Password between the bukkit and proxy. Thats issue 1 that you can easily fix. For the other one, try to check your firewall for blocked ports. ( Port 5091 )

    And you can put the plugins in the plugin folder of Bukkit yes.
  3. Cr41s3

    Cr41s3 New Member

    I think the username and password is right,because there is an own error for this situation.

    I have no running Firewall.
  4. The_Zip

    The_Zip Active Member Resource Contributor

    I can't really see your error, it would be nice if you could post it in a PasteBin. And, sometimes you think you don't have a firewall running, but your host/home internet might actually have one up. I would double check that.
  5. Matt

    Matt Forum Moderator & Contributor Staff Member Moderator Contributor

    Did you already tried to redo all the passwords and usernames? It helped 1 time with a other issue..
  6. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    Your proxy (proxy.yml) is already using the login that your bukkit server (config.yml) is using. Thus, invalid username, already in use.

    Come on Matt :p Pretty self explanatory.
    • Like Like x 1
    • Funny Funny x 1
  7. Cr41s3

    Cr41s3 New Member

    I have redone every password with copy and paste.

    I am running it on my private computer at home and just on localhost.

    Which logs shall I put in a PasteBin?
  8. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    Change:
    Code (text):

    settings:
      address: 127.0.0.1
      port: 5091
      credentials:
        username: Cr41s3
        password: 123123
     
    to:
    Code (text):

    settings:
      address: 127.0.0.1
      port: 5091
      credentials:
        username: hub
        password: 123123
     
    • Like Like x 1
  9. Matt

    Matt Forum Moderator & Contributor Staff Member Moderator Contributor

    Thats why I said "It helped one time before" :p
  10. Cr41s3

    Cr41s3 New Member

    Okey the console now works, no more errors.

    But when I want to join the Server it says:
    The requested server is currently offline. Try again later!

    The Server is running on 25560
  11. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    Your routes are wrong. Set domain to ""

    Please follow the tutorial step by step.
    • Like Like x 1
  12. Cr41s3

    Cr41s3 New Member

    Does not help at all
  13. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    You either paste the entire error, or you don't paste it at all.
  14. Cr41s3

    Cr41s3 New Member

    The error is gone.
    Just this error:

    "The requested server is currently offline. Try again later!"
  15. The_Zip

    The_Zip Active Member Resource Contributor

    What do you mean the error is gone? Check the logs and grab it.
  16. Cr41s3

    Cr41s3 New Member

    Which logs? / Where
    I have fixed the error.

    Just the Minecraft Client connection Error.
  17. Matt

    Matt Forum Moderator & Contributor Staff Member Moderator Contributor

    Take the latest.log from your bukkit server. Not sure how the file is called exactly. latest.log or server.log
  18. Cr41s3

    Cr41s3 New Member

  19. Matt

    Matt Forum Moderator & Contributor Staff Member Moderator Contributor

    Okay, so this is the problem:

    Code (text):
    [16:04:43] [connect-thread/INFO]: [Connect] Connected to the cloud
    [16:05:37] [nioEventLoopGroup-2-1/WARN]: java.io.IOException: Eine vorhandene Verbindung wurde vom Remotehost geschlossen
    [16:05:37] [nioEventLoopGroup-2-1/WARN]:        at sun.nio.ch.SocketDispatcher.read0(Native Method)
    [16:05:37] [nioEventLoopGroup-2-1/WARN]:        at sun.nio.ch.SocketDispatcher.read(Unknown Source)
    [16:05:37] [nioEventLoopGroup-2-1/WARN]:        at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
    [16:05:37] [nioEventLoopGroup-2-1/WARN]:        at sun.nio.ch.IOUtil.read(Unknown Source)
    [16:05:37] [nioEventLoopGroup-2-1/WARN]:        at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
    [16:05:37] [nioEventLoopGroup-2-1/WARN]:        at lilypad.libs.io.netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf.java:311)
    [16:05:37] [nioEventLoopGroup-2-1/WARN]:        at lilypad.libs.io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:871)
    [16:05:37] [nioEventLoopGroup-2-1/WARN]:        at lilypad.libs.io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:208)
    [16:05:37] [nioEventLoopGroup-2-1/WARN]:        at lilypad.libs.io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:115)
    [16:05:37] [nioEventLoopGroup-2-1/WARN]:        at lilypad.libs.io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:485)
    [16:05:37] [nioEventLoopGroup-2-1/WARN]:        at lilypad.libs.io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:452)
    [16:05:37] [nioEventLoopGroup-2-1/WARN]:        at lilypad.libs.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:346)
    [16:05:37] [nioEventLoopGroup-2-1/WARN]:        at lilypad.libs.io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101)
    [16:05:37] [nioEventLoopGroup-2-1/WARN]:        at java.lang.Thread.run(Unknown Source)
    [16:05:38] [connect-thread/INFO]: [Connect] Lost connection to the cloud, reconnecting
    [16:05:40] [connect-thread/INFO]: [Connect] Connected to the cloud
    Just for the people who don't speak German (too), here is the translation :p
    An existing connection was forcibly closed by the remote host
  20. Cr41s3

    Cr41s3 New Member

    I have restarted all 3 servers and now everything is fine in the logs, but connection does not work at all :/

Share This Page