You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seeing a traceback in my salt-master logs with Salt 3006.9, after upgrading from 3004.2, associated with streaming events via the salt-api interface.
[WARNING ] [07/Feb/2025:15:37:43] ENGINE socket.error 8
Traceback (most recent call last):
File "/opt/saltstack/sal**t/lib/python3.10/site-packages/cheroot/server.py", line 1287, in communicate
req.respond()
File "/opt/saltstack/salt/lib/python3.10/site-packages/cheroot/server.py", line 1077, in respond
self.server.gateway(self).respond()
File "/opt/saltstack/salt/lib/python3.10/site-packages/cheroot/wsgi.py", line 145, in respond
self.write(chunk)
File "/opt/saltstack/salt/lib/python3.10/site-packages/cheroot/wsgi.py", line 231, in write
self.req.write(chunk)
File "/opt/saltstack/salt/lib/python3.10/site-packages/cheroot/server.py", line 1131, in write
self.conn.wfile.write(EMPTY.join(buf))
File "/opt/saltstack/salt/lib/python3.10/site-packages/cheroot/makefile.py", line 438, in write
res = super().write(val, *args, **kwargs)
File "/opt/saltstack/salt/lib/python3.10/site-packages/cheroot/makefile.py", line 36, in write
self._flush_unlocked()
File "/opt/saltstack/salt/lib/python3.10/site-packages/cheroot/makefile.py", line 45, in _flush_unlocked
n = self.raw.write(bytes(self._write_buf))
File "/opt/saltstack/salt/lib/python3.10/socket.py", line 723, in write
return self._sock.send(b)
File "/opt/saltstack/salt/lib/python3.10/ssl.py", line 1239, in send
return self._sslobj.write(data)
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:2426)
Setup
salt-master running in a docker container based on Rocky 8.10
salt-api running in the container
salt-minion running on a RHEL8.10 server
All running version 3006.9
Steps to Reproduce the behavior
To reproduce:
open up an event streamer (using curl, python requests, etc) - for example:
Description
Seeing a traceback in my salt-master logs with Salt 3006.9, after upgrading from 3004.2, associated with streaming events via the salt-api interface.
Setup
salt-master running in a docker container based on Rocky 8.10
salt-api running in the container
salt-minion running on a RHEL8.10 server
All running version 3006.9
Steps to Reproduce the behavior
To reproduce:
Close it (before or after receiving any events, it doesn't matter) with ctrl-c
The next event that gets issued generates a traceback in the master logs:
Expected behavior
No traceback issued in the logs.
Screenshots
n/a
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)salt-call --versions-report
(Provided by running salt-call --versions-report for the minion versions)Additional context
Problem was not present in Salt 3004.2.
Can be worked around by catching the exception in
/opt/saltstack/salt/lib/python3.10/site-packages/cheroot/server.py
:The text was updated successfully, but these errors were encountered: