Help with my hosted server bungee

Discussion in 'BungeeCord Discussion' started by Les, Jun 30, 2013.

  1. Les

    Les

    Server wont start after tutorial, and When i login this is the error i get. What did i do wrong and what does this error mean?

    java.lang.IllegalStateException: May not connect to another BungeCord! @ net.md_5.bungee.serverconnector:276
     
  2. CustomForms

    CustomForms Retired Moderator
    Retired Supporter

    You should probably post a lot more information :/
     
  3. Les

    Les

    I dont know what info is required, I followed tutorial, started server, joined and got this
     
  4. CustomForms

    CustomForms Retired Moderator
    Retired Supporter

    Error in your logs, errors overall, configs, files, etc.
     
  5. Les

    Les

    Config for bungee:
    groups:
    md_5:
    - admin
    player_limit: 10
    stats: 348c7b26-a5e7-4dd4-a58f-bd43c7ba5fd1
    permissions:
    default:
    - bungeecord.command.server
    - bungeecord.command.list
    admin:
    - bungeecord.command.alert
    - bungeecord.command.end
    - bungeecord.command.ip
    - bungeecord.command.reload
    listeners:
    - fallback_server: lobby
    max_players: 10
    host: 108.60.204.71:25565
    tab_size: 60
    force_default_server: false
    texture_size: 16
    tab_list: GLOBAL_PING
    motd: Another Bungee server
    default_server: lobby
    forced_hosts:
    pvp.md-5.net: lobby
    timeout: 30000
    servers:
    lobby:
    address: 108.60.204.71:25565
    restricted: false
    Creative:
    address: 108.60.204.75:25565
    restricted: false
    online_mode: true
    What the console spat at me:
    29.06 23:57:42 [Server] INFO -> UpstreamBridge has disconnected
    29.06 23:57:42 [Server] INFO at java.lang.Thread.run(Thread.java:722)
    29.06 23:57:42 [Server] INFO at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101)
    29.06 23:57:42 [Server] INFO at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:358)
    29.06 23:57:42 [Server] INFO at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:464)
    29.06 23:57:42 [Server] INFO at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:489)
    29.06 23:57:42 [Server] INFO at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:120)
    29.06 23:57:42 [Server] INFO at io.netty.channel.DefaultChannelPipeline.fireMessageReceived(DefaultChannelPipeline.java:786)
    29.06 23:57:42 [Server] INFO at io.netty.channel.DefaultChannelHandlerContext.fireMessageReceived(DefaultChannelHandlerContext.java:364)
    29.06 23:57:42 [Server] INFO at io.netty.channel.DefaultChannelHandlerContext.invokeMessageReceived(DefaultChannelHandlerContext.java:379)
    29.06 23:57:42 [Server] INFO at io.netty.handler.timeout.ReadTimeoutHandler.messageReceived(ReadTimeoutHandler.java:150)
    29.06 23:57:42 [Server] INFO at io.netty.channel.DefaultChannelHandlerContext.fireMessageReceived(DefaultChannelHandlerContext.java:364)
    29.06 23:57:42 [Server] INFO at io.netty.channel.DefaultChannelHandlerContext.invokeMessageReceived(DefaultChannelHandlerContext.java:379)
    29.06 23:57:42 [Server] INFO at io.netty.handler.codec.ByteToMessageDecoder.messageReceived(ByteToMessageDecoder.java:187)
    29.06 23:57:42 [Server] INFO at io.netty.channel.DefaultChannelHandlerContext.fireMessageReceived(DefaultChannelHandlerContext.java:364)
    29.06 23:57:42 [Server] INFO at io.netty.channel.DefaultChannelHandlerContext.invokeMessageReceived(DefaultChannelHandlerContext.java:379)
    29.06 23:57:42 [Server] INFO at net.md_5.bungee.netty.HandlerBoss.messageReceived(HandlerBoss.java:73)
    29.06 23:57:42 [Server] INFO at net.md_5.bungee.protocol.packet.PacketCDClientStatus.handle(PacketCDClientStatus.java:40)
    29.06 23:57:42 [Server] INFO at net.md_5.bungee.connection.InitialHandler.handle(InitialHandler.java:282)
    29.06 23:57:42 [Server] INFO at com.google.common.base.Preconditions.checkState(Preconditions.java:149)
    29.06 23:57:42 [Server] INFO java.lang.IllegalStateException: Not expecting LOGIN
    29.06 23:57:42 [Server] INFO disconnected with: Exception Connecting:IllegalStateException : May not connect to another BungeCord! @ net.md_5.bungee.ServerConnector:276
    29.06 23:57:42 [Server] INFO at java.lang.Thread.run(Thread.java:722)
    29.06 23:57:42 [Server] INFO at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101)
    29.06 23:57:42 [Server] INFO at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:358)
    29.06 23:57:42 [Server] INFO at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:464)
    29.06 23:57:42 [Server] INFO at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:489)
    29.06 23:57:42 [Server] INFO at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:120)
    29.06 23:57:42 [Server] INFO at io.netty.channel.DefaultChannelPipeline.fireMessageReceived(DefaultChannelPipeline.java:786)
    29.06 23:57:42 [Server] INFO at io.netty.channel.DefaultChannelHandlerContext.fireMessageReceived(DefaultChannelHandlerContext.java:364)
    29.06 23:57:42 [Server] INFO at io.netty.channel.DefaultChannelHandlerContext.invokeMessageReceived(DefaultChannelHandlerContext.java:379)
    29.06 23:57:42 [Server] INFO at io.netty.handler.timeout.ReadTimeoutHandler.messageReceived(ReadTimeoutHandler.java:150)
    29.06 23:57:42 [Server] INFO at io.netty.channel.DefaultChannelHandlerContext.fireMessageReceived(DefaultChannelHandlerContext.java:364)
    29.06 23:57:42 [Server] INFO at io.netty.channel.DefaultChannelHandlerContext.invokeMessageReceived(DefaultChannelHandlerContext.java:379)
    29.06 23:57:42 [Server] INFO at io.netty.handler.codec.ByteToMessageDecoder.messageReceived(ByteToMessageDecoder.java:187)
    29.06 23:57:42 [Server] INFO at io.netty.channel.DefaultChannelHandlerContext.fireMessageReceived(DefaultChannelHandlerContext.java:364)
    29.06 23:57:42 [Server] INFO at io.netty.channel.DefaultChannelHandlerContext.invokeMessageReceived(DefaultChannelHandlerContext.java:379)
    29.06 23:57:42 [Server] INFO at net.md_5.bungee.netty.HandlerBoss.messageReceived(HandlerBoss.java:73)
    29.06 23:57:42 [Server] INFO at net.md_5.bungee.protocol.packet.PacketFAPluginMessage.handle(PacketFAPluginMessage.java:46)
    29.06 23:57:42 [Server] INFO at net.md_5.bungee.ServerConnector.handle(ServerConnector.java:276)
    29.06 23:57:42 [Server] INFO java.lang.IllegalStateException: May not connect to another BungeCord!
     
  6. The error is right infront of you.
     
    • Like Like x 1
  7. Les

    Les

    What is the fix then?
     
  8. Les

    Les

    I dont get what Can't connect to another bunge means
     
  9. Your lobby server is the Bungee server.

    You can't specify a server to connect to as the same server/port of the Bungee instance!

    In short, lines "host: 108.60.204.71:25565" and "address: 108.60.204.71:25565" MUST BE DIFFERENT.

    Either the lobby server runs on a different port, or it runs on a different server (like the Creative server is).

    You have created a loop by telling Bungee to try and connect to itself.
     
  10. Les

    Les

    So in essance you need 2 servers for 1 hub?
     
  11. No. Bungee is just a proxy. It accepts connections and forwards them to another Minecraft server. Bungee can proxy users to another port on that same host. Or on to another host. If you run a Spigot server on the same host, specify a different port in "server.properties" and set that as a destination server in your Bungee config.
     
  12. Please use pastebin to paste errors and craches
     
  13. Les

    Les

    But i would require 2 servers to have a lobby server if I am having my server hosted because I would need 2 ip's, 1 for people to connect to (bungee proxy) then another ip (the hub server itself)
     
  14. 1. How are you "having the server hosted"?
    2. You can run multiple Spigot or Bungee server instances on one physical server.

    People only connect using one IP - that is the IP of the proxy.