WebSocket 8889/HTML5 to work (crashes server) and Android/iOS networking to work with server (client crashes)
Currently the Experimental WebSocket server on UE4 (dedicated) Windows 64-bit server (compiled with VS2015) crashes when HTML5 tries to connect to the server at ws://a.b.c.d:8889. Instead of making WebSockets as an substitute communications method on the server (instead of OnlineSubsystem), can you make it so that it will support both on the server? This would allow all networking systems to connect to the same server at same time, depending on what platform the game is on (Windows 64-bit/Steam/HTML5/Android/iOS).
You have stated in some wiki/answer post that Android networking/connectivity should work out of the box if the server/client(s) were compiled/packaged with the same version of the game. Currently this is not so.I'm not able to connect a working Windows Dedicated Server from Android Client (1R4u2), while i'm able to connect with Windows 64-bit Client just fine. The Android Client "loads" for a while when executing "open a.b.c.d" command from console, but then crashes and shows the splash screen again with the default offline level.
Build: Source 4.12.2 with recent setup.bat updates
Repro: 1. Make a Release 4.12.3 third person blueprint game 2. Package/Launch Android ETC1 to the device (and Win64 client to prove server is working) 3. Change Project Editor version to the Source & Generate 4. Open in Visual Studio 2015 Community Edition with add-ons 5. Make a server executable as instructed in https://wiki.unrealengine.com/Dedicated_Server_Guide_%28Windows_%26_Linux%29 6. Run Dedicated Server on some external IP other than localhost/127.0.0.1 such as a Windows 2012 R2 VPS 7. Attempt to run a "open a.b.c.d" command from android UE4 console (~ from adb key simulation etc) 8. Watch the Android client crash/reload on Samsun Galaxy S6 (Android version 6)
asked Jun 29 '16 at 05:37 PM in Bug Reports
this bug is tracked on jira: UE-30880 (server crash when using websocket net drivers) -- and is currently in progress (actively being worked on).
there is also jira: UE-25492 (connecting html5 clients to server) -- this is anticipated to function once UE-30880 bug hunt is fixed.
apologies for the crash. please stand by.
answered Jun 29 '16 at 05:48 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here