These are chat archives for
Sign in to start talking
Swift client for SignalR (iOS and Mac)
Jul 28 2016 12:18 UTC
I am integrating SwiftR in my swift app.I am getting
message = "Error during negotiation request.";
please let me know how can i solve this?
Jul 28 2016 12:25 UTC
It's hard to say without having access to your server. Are you able to make your server public temporarily? Also, were you able to use the demo server without any problems?
Jul 28 2016 12:27 UTC
this i could able to connect signalR
Jul 28 2016 12:28 UTC
The most common reasons for this are 1. Trying to connect to the wrong version of SignalR or 2. Using WKWebView in SwiftR and not having CORS enabled on your SignalR server.
Jul 28 2016 12:29 UTC
This message was deleted
Wrong Version means?
I will try enable CORS and test
Thanks For quick support.
Jul 28 2016 12:33 UTC
Wrong version means for example, you're running SignalR version 2.0.0, but SwiftR is configured to expect 2.2.0 by default. You would need to set SwiftR.signalRVersion = .2_0_0 // Or whatever matches the version you're running
Jul 28 2016 12:40 UTC
How do i know current version i am using? do i have any get method to know that?
I set is like this SwiftR.signalRVersion = SignalRVersion.v2_2_0 and server side also we are using same version,But still i am getting same issue.