tincisnotcatan
tincisnotcatan copied to clipboard
Cannot Start New Game with Google Chrome
Each time I try making a new game, when I press start game, it kicks me back to the username menu. Using Chrome, and the same issue existed on Microsoft edge and for my friend, though her browser, Brave, seemed to work
Thanks for opening the issue, I've noticed this too! As a bad workaround, I was able to get it the game to work as expected on Safari with a Mac. I think there must be some browser change that broke our code recently but haven't had time to look into it 😢 . Would love any help with the issue!
I'm noticing Firefox reports Firefox can’t establish a connection to the server at wss://<LOCAL_IP_ADDRESS>:4567/groups/.
in the console. Could this be related? Fails to connect and so it reverts to the start page?
Would love to see this fixed as well
@seansegal The problem appears to be occurring in src/main/resources/static/js/websocket.js with the declaration of the WebSocket. I found that if I replaced the if statement with just webSocket = new WebSocket("ws://" + location.hostname + ":" + location.port + "/action/");
the issue is resolved.
@reederda Thanks for the suggestion - I tried that in https://github.com/seansegal/tincisnotcatan/pull/9, but it has not resolved the issue for me.