hexparrot / mineos-node

node.js implementation of mineos minecraft management
GNU General Public License v3.0
333 stars 169 forks source link

WebUI reloading every 30 sec #367

Open Enohriel opened 4 years ago

Enohriel commented 4 years ago

My WebUI is reloading every 30 sec (stopwatch timed).

I know that the issue is coming from the Haproxy (pfsense package) that is used as a reverse proxy in front of the WebUI. But I've tried every thing on my Haproxy. The most found solution on the internet is to setup timout tunnel 1h on Haproxy, but I still get the issue.

Something is wrong between socket.io (websocket) and the way Haproxy handle the connection.

Did anyone ever resolved that issue ?

bluasoar commented 4 years ago

Sorry I don't have a solution for your issue, just noticed that you are also using pfsense and was wondering if you had to do anything specifically to get MineOS to work? I am having some issues and wanted to clear pfsense as a suspect. Thank you!

Enohriel commented 4 years ago

It really depends on what you are trying to achiev. If you want to reach MineOS WebUI directly, then you need NAT and a rule (rule should be auto created). If you want to reverse proxy the WebUI you can use built-in Pfsense loadbalancer or squid or Haproxy (still having these reload issue with haproxy tho).