Open TasteDaBombDev opened 3 years ago
I have the same issue.
I created the exact same thing in the MEAN stack, and the user requires a refresh to work properly. Once both of them are refreshed, the third user joins correctly sometimes and sometimes needs a refresh
When the user clicks on an event fetched from the DB (using a Spring Boot backend), if it is the first one, it becomes host. If not, then it becomes a simple user. When a user enters the room, the host have to refresh the page(like to reconnect to the room) and so does the user, in order to be both connected. Why is so? You can find my code in the thread that I posted on the stack overflow and no-one answered until now. Can I have a bit of help here, please? (the backend runs on port 8080)
https://stackoverflow.com/questions/66483474/why-do-i-have-to-refresh-the-page-in-order-to-connect-to-the-peer-system