Skip to content

Comment on Show HN: FitIt - multiplayer puzzle game

Comments

I enter my name, hit enter and it just refreshes the page. Can't play it and I've tried every browser I have (Chrome, FF, IE) :(

Or am I just retarded?

Edit: I opened Chrome's resource window to see if anything failed to load and I can see that your socket.io backend uses port 8080 and this request fails. I think it's being blocked by company firewalls. If you could perhaps run your backend on a subdomain instead of on another port it would most likely fix this.

Yup, that's because we connect to port 8080 directly (that's the port the server is running on internally, see http://fititgame.com:8080). But unfortunately, we can't fix this right now since nginx isn't able to forward websockets, yet (AFAIK, correct me if I'm wrong)

If you're running on a single server with nginx I guess the only way you could fix this is by getting a second IP address from your host to point on your server and binding nginx to one IP and node on the other IP.

Did that to me to. 1 time out of 5 it did actually work, the rest - just refreshed the page.

Same here, I also tried several browsers, nothing happens when I enter my name

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.