Webadmin randomly stops working - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html) +--- Forum: Discussion (https://forum.cuberite.org/forum-5.html) +--- Thread: Webadmin randomly stops working (/thread-2133.html) Pages:
1
2
|
Webadmin randomly stops working - sshanee - 09-24-2015 no errors in console, works fine then it just throws err_timed_out in google chrome. browser open on my personal computer, mcserver running @ datacenter. most likely a problem with your httpd. restarting MCServer doesn't fix it. it fixes itself when it feels like it. mcserver is installed on a ubuntu 15.04 minimal VM running under its own user in proxmox 3.4 with dedicated IP on a dedicated server that is practically idle and barely running anything RE: MCAdmin HTTPS randomly stops working - xoft - 09-24-2015 It's the first time I see such a problem, I'm running the Gallery server on a RasPi and access it via webadmin pretty often, and haven't had any such problem yet. When it happens again that your browser won't connect, can you run a "netstat -na" in the VM? It'd be interesting to see what connections are currently established and what ports are being listened on. Also, try a local browser inside the VM (if you don't have graphical access, use the "links" text-mode browser for example). Where I'm aiming with this: An explanation could be that the browser is using keep-alive connections and the Cuberite http parser doesn't understand them correctly, so the connections get stalled. The browser has a limit of per-server connections it's allowed to use, when it reaches the limit and all the connections are "dead", it claims the server unresponsive. The fix that happens after some time is the browser actually closing some of those connections due to timeouts or possibly other causes. It's far-fetched, but it's the best I've got so far RE: MCAdmin HTTPS randomly stops working - sshanee - 09-24-2015 mcserver@shane:~$ netstat -na Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:30033 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:10011 0.0.0.0:* LISTEN tcp 0 192 158.69.114.20:22 99.239.194.113:54278 ESTABLISHED tcp6 0 0 :::8080 :::* LISTEN tcp6 0 0 :::22 :::* LISTEN tcp6 0 0 :::25565 :::* LISTEN udp 0 0 0.0.0.0:9987 0.0.0.0:* udp 0 0 158.69.114.20:57575 194.97.114.3:2010 ESTABLISHED udp 0 0 0.0.0.0:5355 0.0.0.0:* Active UNIX domain sockets (servers and established) Proto RefCnt Flags Type State I-Node Path unix 2 [ ACC ] STREAM LISTENING 4985421 /var/run/fail2ban/fail2ban.sock unix 2 [ ] DGRAM 4943216 /run/systemd/notify unix 2 [ ACC ] STREAM LISTENING 4943218 /run/systemd/private unix 2 [ ACC ] SEQPACKET LISTENING 4943227 /run/udev/control unix 2 [ ] DGRAM 4943258 /run/systemd/shutdownd unix 2 [ ] DGRAM 4944046 /run/systemd/journal/syslog unix 2 [ ACC ] STREAM LISTENING 4943281 /run/systemd/journal/stdout unix 5 [ ] DGRAM 4943284 /run/systemd/journal/socket unix 3 [ ] DGRAM 4943545 /run/systemd/journal/dev-log unix 3 [ ] STREAM CONNECTED 6433731 unix 3 [ ] STREAM CONNECTED 6433730 unix 2 [ ] DGRAM 6433720 unix 3 [ ] STREAM CONNECTED 4995513 /run/systemd/journal/stdout unix 3 [ ] STREAM CONNECTED 4995512 unix 2 [ ] DGRAM 4944908 unix 3 [ ] STREAM CONNECTED 4944858 /run/systemd/journal/stdout unix 3 [ ] STREAM CONNECTED 4944849 unix 3 [ ] STREAM CONNECTED 4944689 /run/systemd/journal/stdout unix 3 [ ] STREAM CONNECTED 4944684 unix 2 [ ] DGRAM 4944167 unix 3 [ ] DGRAM 4943682 unix 3 [ ] DGRAM 4943681 unix 2 [ ] DGRAM 4943449 unix 3 [ ] STREAM CONNECTED 4944150 /run/systemd/journal/stdout unix 3 [ ] STREAM CONNECTED 4943358 RE: MCAdmin HTTPS randomly stops working - xoft - 09-24-2015 Okay, that rules my idea out. Anyone else wants to try? RE: Webadmin randomly stops working - sshanee - 09-24-2015 when i issue a restart command to the server while the webadmin is unresponsive i get this error: [17:30:46] HTTP server error on port 8080: 98 (Cannot bind IPv6 socket to port 8080: 98 (Address already in use)) RE: Webadmin randomly stops working - DrMasik - 09-24-2015 1. Use HTTP. 2. Turn off IPv6 on interface. Use Google. 3. Check the error exists on HTTP. 4. If not exists. Use HTTPS and test without IPv6. 5. Say us for your result tcpdump make help too. RE: Webadmin randomly stops working - sshanee - 09-24-2015 tcp6 0 0 :::8080 :::* LISTEN tcp6 0 0 :::25565 :::* LISTEN its listening on ipv6 even though i've disabled it multiple ways and don't have an ipv6 address. how do i change that? RE: Webadmin randomly stops working - DrMasik - 09-24-2015 I'm do not use Ubuntu. I'm on FreeBSD. But Google says: https://www.google.com.ua/search?q=ubuntu+turnoff+ipv6&ie=utf-8&oe=utf-8&gws_rd=cr&ei=PYoDVuelEsaoUYjSvoAB#q=ubuntu+turn+off+ipv6 And first link: http://askubuntu.com/questions/440649/how-to-disable-ipv6-in-ubuntu-14-04 RE: Webadmin randomly stops working - sshanee - 09-25-2015 so i found a way to make it screw up... when it finally decides to work (no rhyme nor reason) if you simply click one of the menu items 3-5 times fast it will crash and give err_timeout for at least 10min. guaranteed way to make it mess up, however it just screws up randomly as well. i went through each menu 20+ times slowly and it worked flawlessly until i clicked server settings a bunch of times quickly. reproduced this method 3 times RE: Webadmin randomly stops working - xoft - 09-25-2015 Can you identify the version you're using? Wither a commit SHA1 checksum, or build number (if downloaded from the official buildserver). There was a recent fix to some network issues (sigpipe handler) that could be related, I want to know if you have that fix in or not. |