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

WebSocket instantly disconnect on iOS 10 using Starscream 4.0.0 #728

Closed
RobinPcrd opened this issue Jan 22, 2020 · 1 comment · Fixed by #749
Closed

WebSocket instantly disconnect on iOS 10 using Starscream 4.0.0 #728

RobinPcrd opened this issue Jan 22, 2020 · 1 comment · Fixed by #749

Comments

@RobinPcrd
Copy link

Starscream: 4.0.0
iOS: 10.3.4
Devices: iPhone 5 (MD299F/A) - iPad pro (9.7 inches; simulator)

When connecting to a secure web-socket (wss:// or https://) the framework instantly send a .cancelled event coming from FoundationTransport.stream(_ aStream: Stream, handle eventCode: Stream.Event) .endEncountered event.

After further investigation, it looks like FoundationTransport.getSecurityData() always return nil.

@martinpristas
Copy link

Same here

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 a pull request may close this issue.

2 participants