-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
Self sign certificate, 400 error #66
Comments
I added socketClient.certificateCheckEnabled = false but nothing happens. |
Hello @jbarros35, |
I created a certificate signed locally on my Mac, and after, I loaded it and ran on websocketd. It cannot be read by API. |
@jbarros35 how can we load the self signed certificate while using this stompClientLib ? Please let me know this so that I can also try this to workout some solution for Issue #67 |
Done, we moved the server for a backend with a valid certificate. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi, I tried on development a self signed certificate, but we could not connect.
Using a default no secure it works but it cannot run on a real device.
Do you have any advice?
Error:
didFailWithError: Optional(Error Domain=SRWebSocketErrorDomain Code=2132 "received bad response code from server 400" UserInfo={NSLocalizedDescription=received bad response code from server 400, HTTPResponseStatusCode=400})
2019-08-22 10:14:30.791461+0100 loxy4-app[8836:6292750] [Debug] [main] [WebSocketConnection.swift:60] serverDidSendError(client:withErrorMessage:detailedErrorMessage:) > received bad response code from server 400
didFailWithError: Optional(Error Domain=SRWebSocketErrorDomain Code=2132 "received bad response code from server 400" UserInfo={NSLocalizedDescription=received bad response code from server 400, HTTPResponseStatusCode=400})
Device:
iPhone 6s IOS 12.4
StompClientLib version:
Using StompClientLib (1.3.2)
The text was updated successfully, but these errors were encountered: