I’m having several issues using websockets (with colyseus, but the errors are websockets related).
When I run on Android, I get the error: “/websocket/tools.lua:162: attempt to index upvalue ‘mime’ (a nil value)” In my project I see that mime is added as a plugin - with the socket library. I don’t know how to fix this error.
Trying to run on linux native, it gives me a build error with luasec: “/luasec/include/openssl/x509.h Undefined reference to OPENSSL_sk_new_null” I assume this has something to do with the openssl dev libraries, but I have those installed on my machine.
Running in HTML5 works, but crashes when I try to switch rooms with colyseus - it disconnects the websocket when leaving a room. I get the error: unsupported socketcall syscall 13 during the disconnect process.
So I’m having lots of trouble with this and am starting to get discouraged. Any help would be wonderful.