It is currently 23 Aug 2025, 10:55
   
Text Size

Online multiplayer thread

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Online multiplayer thread

Postby Stampedo » 28 May 2015, 07:12

Hello,

Few people on the forum had issues with online multiplayer, thought it would be better to gather everything in a single thread.
Just copy-pasting mine, feel free to add yours:

Error when trying to host a game (pressing the button "host")

RejectedExecutionException | Open
Code: Select all
Forge Version:    1.5.39-r-1
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_45 Oracle Corporation

java.util.concurrent.RejectedExecutionException: event executor terminated
   at io.netty.util.concurrent.SingleThreadEventExecutor.reject(SingleThreadEventExecutor.java:745)
   at io.netty.util.concurrent.SingleThreadEventExecutor.addTask(SingleThreadEventExecutor.java:322)
   at io.netty.util.concurrent.SingleThreadEventExecutor.execute(SingleThreadEventExecutor.java:728)
   at io.netty.channel.AbstractChannel$AbstractUnsafe.register(AbstractChannel.java:420)
   at io.netty.channel.SingleThreadEventLoop.register(SingleThreadEventLoop.java:60)
   at io.netty.channel.SingleThreadEventLoop.register(SingleThreadEventLoop.java:48)
   at io.netty.channel.MultithreadEventLoopGroup.register(MultithreadEventLoopGroup.java:64)
   at io.netty.bootstrap.AbstractBootstrap.initAndRegister(AbstractBootstrap.java:317)
   at io.netty.bootstrap.AbstractBootstrap.doBind(AbstractBootstrap.java:273)
   at io.netty.bootstrap.AbstractBootstrap.bind(AbstractBootstrap.java:269)
   at io.netty.bootstrap.AbstractBootstrap.bind(AbstractBootstrap.java:244)
   at forge.net.server.FServerManager.startServer(FServerManager.java:111)
   at forge.screens.home.online.CSubmenuOnlineLobby.host(CSubmenuOnlineLobby.java:49)
   at forge.screens.home.online.VSubmenuOnlineLobby$1.actionPerformed(VSubmenuOnlineLobby.java:50)
   at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
   at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
   at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$200(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
And then another error, using a different computer and trying to join a game hosted by the computer above.

PrivilegedActionException | Open
Code: Select all
Forge Version:    1.5.39-r-1
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_51 Oracle Corporation

java.security.PrivilegedActionException: java.security.PrivilegedActionException: java.net.ConnectException: Connection refused: no further information: localhost/127.0.0.1:36743
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.security.PrivilegedActionException: java.net.ConnectException: Connection refused: no further information: localhost/127.0.0.1:36743
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   ... 9 more
Caused by: java.net.ConnectException: Connection refused: no further information: localhost/127.0.0.1:36743
   at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
   at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
   at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:208)
   at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:281)
   at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:528)
   at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
   at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
   at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
   at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
   at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
   at java.lang.Thread.run(Unknown Source)
Would someone have tips regarding the way to host/join a game?
I'd like to play with a friend, we're in the same room using 2 different computers, but it keeps crashing, there's only a few options to work with. I understand it's still a very early feature but I'd be glad if someone could make some suggestions.

Ports are opened in the modem and the firewall.
Whenever I try to join a game, forge crashes.

What should I write as for the Hostname? Is that of any importance?

Thanks!
Stampedo
 
Posts: 142
Joined: 10 Feb 2014, 20:03
Has thanked: 18 times
Been thanked: 2 times

Return to Forge

Who is online

Users browsing this forum: No registered users and 60 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 60 users online :: 0 registered, 0 hidden and 60 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 60 guests

Login Form