There seems to be some kind of segfault bug in the SSL library?
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- networking
Research direction
Start with thirdparty/ws4py/websocket.py at once (line 331) and _write/send (lines 269-287), then inspect the Python 3.5 ssl traceback for the preceding SSL error. Reproduce the SSLV3_ALERT_BAD_RECORD_MAC sequence and document a confirmed cause or a tested workaround; completion should distinguish an application failure from a ws4py or SSL-library issue.
Written by the indexing model from the issue text.
Description
The most recent call is in SSL's write, so it's probably a library bug, but it looks like it happened after an error in once, which means we might be able to implement a workaround.
I'm not ruling out this being the fault of my application code, but the location of the the error makes me think that's not it.
Current thread 0x00007f03d1c41f00 (most recent call first):
File "/usr/lib/python3.5/ssl.py", line 586 in write
File "/usr/lib/python3.5/ssl.py", line 861 in send
File "/usr/lib/python3.5/ssl.py", line 891 in sendall
File "/home/danny/Projects/KaithemAutomation/kaithem/src/thirdparty/ws4py/websocket.py", line
269 in _write
File "/home/danny/Projects/KaithemAutomation/kaithem/src/thirdparty/ws4py/websocket.py", line
287 in send
File "/home/danny/Projects/KaithemAutomation/kaithem/src/widgets.py", line 76 in f
File "/home/danny/Projects/KaithemAutomation/kaithem/src/widgets.py", line 266 in send
File "Event_l___init__", line 117 in pushTracks
File "Event_l___init__", line 9 in _event_action
File "/home/danny/Projects/KaithemAutomation/kaithem/src/newevt.py", line 557 in _do_action
File "/home/danny/Projects/KaithemAutomation/kaithem/src/newevt.py", line 422 in _on_trigger
File "/home/dannyERROR:2017Jun26 21:35:27 PDT ws4py Failed to receive data
Traceback (most recent call last): File "/home/danny/Projects/Kait
hemAutomation/kaithem/src/thirdparty/ws4py/websocket.py", line 331,
in once x = self.sock.recv(4096) File
"/usr/lib/python3.5/ssl.py", line 914, in recv return
self.read(buflen) File "/usr/lib/python3.5/ssl.py", line 791, in
read return self._sslobj.read(len, buffer) File
"/usr/lib/python3.5/ssl.py", line 577, in read v =
self._sslobj.read(len) ssl.SSLError: [SSL: SSLV3_ALERT_BAD_RECORD_MAC] sslv3 alert bad record mac (_ssl.c:1977)/Pro
jects/KaithemAutomation/kaithem/src/newevt.py", line 940 in _check
File "/home/danny/Projects/KaithemAutomation/kaithem/src/newevt.py", line 514 in check
File "/home/danny/Projects/KaithemAutomation/kaithem/src/newevt.py", line 858 in f
File "/usr/lib/python3.5/threading.py", line 862 in run
File "kaithem/kaithem.py", line 159 in run_with_except_hook
File "/usr/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/usr/lib/python3.5/threading.py", line 882 in _bootstrap
- Dominant language
- Python
- Stars
- 1.1k
- Forks
- 285
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Lawouach/WebSocket-for-Python
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Lawouach/WebSocket-for-Python#300 ·
-
question
Lawouach/WebSocket-for-Python#297 · 2 comments · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
Lawouach/WebSocket-for-Python#296 ·
-
Lawouach/WebSocket-for-Python#280 · 1 comment · 1 assignee ·
-
Setup new CI Open
Lawouach/WebSocket-for-Python#275 · 1 assignee ·
All issues in Lawouach/WebSocket-for-Python
Similar issues
-
triage/confirmed
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
NousResearch/hermes-agent#118866 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100