Hi all, I run server with Colyseus, and it works fine on my desktop, but when I try to play the game on a mobile device I am unable to connect to the room. Just strange error I see is this:
my code is:
try {
this.room = await this.client.joinOrCreate(
"main_menu"
);
const { room } = this;
room.onMessage("error", function () {
console.log(arguments);
});
node.on(RegistrationEvent.type, this.onRegistration, this);
node.on(LoginEvent.type, this.onLogin, this);
room.onMessage("login_sucess", this.onLoginSucess);
} catch (error) {
console.error(error);
}
What could be the case of this? thanks.