question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem in MatchMaker.remoteRoomCall

See original GitHub issue

I was investigating a bit using clusters on my Colyseus server.

I found when I was using a cluster, just after requestJoin and before onAuth The client never joined. On the log, I found than the error “remote room timed out” was thrown. After a bit of finding and testing, I found the problem:

When the room is called in MatchMaker.remoteRoomCall the room id is: “147,10,170,66,107,101,79,81,116,121,104,105,102,1” or something like that, but when it publishes the message it is a room id like “HkuXKy2jM” instead, making getRoomChannel to return wildly different values.

I’ll try to isolate my bit of code than is causing troubles and post an update. I tried using both RedisPresence and MemsharedPresence, so it seems it’s not a problem on either of them.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
endelcommented, May 20, 2018

Hey @bamsutler, that’s really odd. I’ve just tried the code you pasted and my logs look like this:

BasicRoom created! {}
room created: BkaM1VJ1X
Listening on http://localhost:2727
[ { clients: 0,
    maxClients: 4,
    metadata: undefined,
    roomId: 'BkaM1VJ1X' } ]
BJIXTmy17 joined BkaM1VJ1X

The getInspectData method comes from colyseus-monitor project. My guess is that you had the monitor open viewing a room on a tab, and then rebooted the server - then the monitor would try to retrieve data for an unexisting room, could that be the case?

Cheers!

0reactions
endelcommented, Sep 27, 2018

I’m closing this since it seems to be fixed on 0.9.16. Let me know if you still see this error!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem in MatchMaker.remoteRoomCall · Issue #140 - GitHub
I was investigating a bit using clusters on my Colyseus server. I found when I was using a cluster, just after requestJoin and...
Read more >
How to use the colyseus.matchMaker.remoteRoomCall ... - Snyk
Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues...
Read more >
Match-maker API - Colyseus & Arena Cloud Documentation
Documentation for Colyseus Multiplayer Framework for Node.js.
Read more >
Among Us matchmaker full error fix | Shacknews
Sometimes when playing Among Us, you might encounter an error that says the matchmaker is full. This tricky problem will prevent you from ......
Read more >
How to fix "The Among Us matchmaker is full. Please try again ...
How to fix "The Among Us matchmaker is full. Please try again in a few minutes!" Error in Among Us. 45K views 2...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found