Open rainLiuSkypine opened 7 years ago
I am also facing same message. "connection did receive error Error Domain=com.SignalR.SignalR-ObjC.SRHubConnection Code=0 "The connection has not been established" UserInfo={NSLocalizedFailureReason=NSInternalInconsistencyException, NSLocalizedDescription=The connection has not been established}"
This is my code: SRHubConnection *hubConnection = [[SRHubConnection alloc] initWithURLString:URL_BASIC useDefault:NO]; hubConnection.delegate = self;
[hubConnection start];
this is server code : public class CarGpsHub : Hub { //[Microsoft.AspNet.SignalR.Authorize] public void GpsSite(string deviceId) {
}
but it is receive an error connection did receive error Error Domain=com.SignalR.SignalR-ObjC.SRHubConnection Code=0 "The connection has not been established" UserInfo={NSLocalizedFailureReason=NSInternalInconsistencyException, NSLocalizedDescription=The connection has not been established} TRANSPORT: negotiate was successful { ConnectionId = "6452610a-f649-4b62-91de-cb606f24ac60"; ConnectionTimeout = 18; ConnectionToken = "5sA+r8urGQRsOd8ZABqFBekMOa+jqNWQJDC+4Hrln/izW7yAL0C4K6gT2cwHXMP/39h/DOpeJJ/HDmxtrIF2iO5+OSFtbCMr+dJAwzlq0lwVkmdV43CWUv8BpZ0pXbbV"; DisconnectTimeout = 6; KeepAliveTimeout = 4; LongPollDelay = 0; ProtocolVersion = "1.3.0.0"; TransportConnectTimeout = 5; TryWebSockets = 1; Url = "/signalr"; } can you give me some advice?