quakejs-docker icon indicating copy to clipboard operation
quakejs-docker copied to clipboard

Page Stuck JS

Open jpcapone opened this issue 2 years ago • 4 comments

After I run the docker container I attempt to join the server but the page is stuck on JS. Anyone have any suggestions for remediation?

jpcapone avatar Dec 10 '21 03:12 jpcapone

I found that if I go to http://www.quakejs.com/ and disconnect i can then join my local server successfully. If anyone has any ideas regarding how to fix this please let me know.

jpcapone avatar Dec 10 '21 05:12 jpcapone

Ok I confirmed my settings after reading a previous post which pointed me to the IP address used by the container. changing it to the host IP address AND I forcing a reload of the page (CTRL+ R) in chrome everything worked like a charm.

jpcapone avatar Dec 10 '21 06:12 jpcapone

Yeah, I just tested this and its broke: Failed to execute 'open' on 'XMLHttpRequest': Invalid URL

Ill try to debug soon.

treyyoder avatar Jan 26 '22 05:01 treyyoder

Adding environment variables with the proper server ip address and port fixes it for me

on docker-compose, for example:

    environment:
        - HTTP_PORT=8080
        - SERVER=192.168.2.110

issue is, at least in my version, entrypoint.sh expects ${SERVER} to be set.

m-kronberg avatar Feb 04 '22 22:02 m-kronberg

Yeah, I just tested this and its broke: Failed to execute 'open' on 'XMLHttpRequest': Invalid URL

Ill try to debug soon.

Any way to solve this?

stebansaa avatar Aug 20 '22 02:08 stebansaa

I have pushed some updates to this repo and everything seems to be working now. Please pull the latest from https://hub.docker.com/repository/docker/treyyoder/quakejs

treyyoder avatar Aug 30 '22 01:08 treyyoder