#Looses WEB GUI

11 messages · Page 1 of 1 (latest)

wooden pelican
#

Hi!
When doing longer prints I loos connection with web GUI, my moonraker.log has the following error in the end:

2023-12-19 13:58:46,234 [ioloop.py:_run_callback()] - Exception in callback functools.partial(<function _HTTPConnection.init.<locals>.<lambda> at 0x7f9c4e41f0>, <Task finished name='Task-5978124' coro=<_HTTPConnection.run() done, defined at /home/filippe/moonraker-env/lib/python3.9/site-packages/tornado/simple_httpclient.py:290> exception=gaierror(-3, 'Temporary failure in name resolution')>)
Traceback (most recent call last):
File "/home/filippe/moonraker-env/lib/python3.9/site-packages/tornado/ioloop.py", line 740, in _run_callback
ret = callback()
File "/home/filippe/moonraker-env/lib/python3.9/site-packages/tornado/simple_httpclient.py", line 287, in <lambda>
gen.convert_yielded(self.run()), lambda f: f.result()
File "/home/filippe/moonraker-env/lib/python3.9/site-packages/tornado/simple_httpclient.py", line 340, in run
stream = await self.tcp_client.connect(
File "/home/filippe/moonraker-env/lib/python3.9/site-packages/tornado/tcpclient.py", line 265, in connect
addrinfo = await self.resolver.resolve(host, port, af)
File "/home/filippe/moonraker-env/lib/python3.9/site-packages/tornado/netutil.py", line 433, in resolve
for fam, _, _, _, address in await asyncio.get_running_loop().getaddrinfo(
File "/usr/lib/python3.9/asyncio/base_events.py", line 856, in getaddrinfo
return await self.run_in_executor(
File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.9/socket.py", line 953, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

shrewd wasp
#

Please send always the whole log instead of just one error

wooden pelican
#

Sure, didn't find an instruction for posting. Do you want me to dump it in a message or a pastebin?

shrewd wasp
#

The file itself would be best. But if that doesn't work, just dump it into a message

wooden pelican
#

Here’s the log file, there’s both good and failed connections in there. It wasn’t working when I tried to log in earlier today. After reboot it again works as supposed to.

dusk swallow
#

Just a short reminder this server has a 100mb Upload limiz per file, so, its everytime possible to upload log files. 😉

shrewd wasp
# wooden pelican Log file posted. 😊

Yeah, ik. But no idea ^^
The temporary failure in name resolution happens in unpredictable intervals. It's always ~5s. I hoped for someone else knowing it maybe, but it doesn't seem like that.
So my guess would be some overall problem in your network.

#

How do you connect to the interface?

thin drift
#

well on name resolutions errors: first check your dns server confiugration.