Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with socket.io connections failing. #191

Merged
merged 1 commit into from Feb 24, 2021
Merged

Fix issue with socket.io connections failing. #191

merged 1 commit into from Feb 24, 2021

Conversation

lmcquade
Copy link
Contributor

socket.io sets pfx to null if it is undefined. This now breaks the https code, which now checks explicitly against pfx === undefined. Workaround is to set pfx to [].

nodejs/node#36292

socket.io sets pfx to null if it is undefined.  This now breaks the https code, which now checks explicitly against pfx === undefined.  Workaround is to set pfx to [].

nodejs/node#36292
@shamoon
Copy link
Collaborator

shamoon commented Feb 24, 2021

Amazing work tracking this down! I actually created a reminder last night when I noticed we're running different versions of node.

Awesome, will get this tested & released.

@shamoon shamoon merged commit 65ef71f into homebridge-simplisafe3:master Feb 24, 2021
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.

None yet

2 participants