Skip to content

Fix TypeError in SSLError handling in convert_stream_closed_error#6881

Merged
crusaderky merged 1 commit into
dask:mainfrom
hendrikmakait:fix-ssl-error-handling
Aug 12, 2022
Merged

Fix TypeError in SSLError handling in convert_stream_closed_error#6881
crusaderky merged 1 commit into
dask:mainfrom
hendrikmakait:fix-ssl-error-handling

Conversation

@hendrikmakait

@hendrikmakait hendrikmakait commented Aug 12, 2022

Copy link
Copy Markdown
Member

Closes #6875

  • Tests added / passed
  • Passes pre-commit run --all-files

Comment thread distributed/comm/tcp.py
exc = exc.real_error
if isinstance(exc, ssl.SSLError):
if "UNKNOWN_CA" in exc.reason:
if exc.reason and "UNKNOWN_CA" in exc.reason:

@hendrikmakait hendrikmakait Aug 12, 2022

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you raise the issue upstream?

@hendrikmakait

Copy link
Copy Markdown
Member Author

CI flake: #6582

@crusaderky crusaderky merged commit 9021d57 into dask:main Aug 12, 2022
gjoseph92 pushed a commit to gjoseph92/distributed that referenced this pull request Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeError in distributed.comm.tcp.convert_stream_closed_error

2 participants