When playing in the editor WebSocket connection successful but failed when playing in packaged, why?
When playing in the editor WebSocket (from Runtime/Online/WebSocket) connection was successful but failed when playing in packaged project. Why? UE4 versions used were 4.18 and 4.19. Platform is Windows x64.
Here's the log.
Upon closer examination, the UE4's WebSocket library uses Libwebsocket and OpenSSL, and that
In 4.20 the log is like this
Basically the same error, but more verbose.
Sigh, turns out UE4 doesn't automatically copy the certificate file into pak file. Also the SSL module really lacks documentation, but I figured it all out eventually. https://api.unrealengine.com/INT/API/Runtime/SSL/Interfaces/ISslCertificateManager/AddCertificatesToSslContext/index.html
answered Oct 24 '18 at 02:06 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here