{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/SignalR/issues/3041","repository_url":"https://api.github.com/repos/aspnet/SignalR","labels_url":"https://api.github.com/repos/aspnet/SignalR/issues/3041/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/SignalR/issues/3041/comments","events_url":"https://api.github.com/repos/aspnet/SignalR/issues/3041/events","html_url":"https://github.com/aspnet/SignalR/issues/3041","id":365619745,"node_id":"MDU6SXNzdWUzNjU2MTk3NDU=","number":3041,"title":"Error getting negotiation connection refused both on Xamarin and Windows","user":{"login":"dugasz1","id":19415927,"node_id":"MDQ6VXNlcjE5NDE1OTI3","avatar_url":"https://avatars3.githubusercontent.com/u/19415927?v=4","gravatar_id":"","url":"https://api.github.com/users/dugasz1","html_url":"https://github.com/dugasz1","followers_url":"https://api.github.com/users/dugasz1/followers","following_url":"https://api.github.com/users/dugasz1/following{/other_user}","gists_url":"https://api.github.com/users/dugasz1/gists{/gist_id}","starred_url":"https://api.github.com/users/dugasz1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dugasz1/subscriptions","organizations_url":"https://api.github.com/users/dugasz1/orgs","repos_url":"https://api.github.com/users/dugasz1/repos","events_url":"https://api.github.com/users/dugasz1/events{/privacy}","received_events_url":"https://api.github.com/users/dugasz1/received_events","type":"User","site_admin":false},"labels":[{"id":531772650,"node_id":"MDU6TGFiZWw1MzE3NzI2NTA=","url":"https://api.github.com/repos/aspnet/SignalR/labels/status:%20Investigate","name":"status: Investigate","color":"e580c2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-01T20:01:37Z","updated_at":"2018-10-03T17:08:21Z","closed_at":null,"author_association":"NONE","body":"* Versions of Server-Side NuGet Packages: 1.0.3 / 1.1.0-preview2-35157\r\n* Versions of Client-Side NuGet/NPM Packages: 1.0.3 / 1.1.0-preview2-35157\r\n* Are you using the C# client or the JavaScript client: C# Client\r\n* The Server you are using (Kestrel/HttpSysServer/IIS/IIS Express/Azure Web App/etc.): Kestrel\r\n* The Operating System on the Server (Windows/Linux/macOS): Windows 10\r\n* The Operating System on the Client (Windows/Linux/macOS): Xamarin 4.15.9 | Xamarin.Android SDK 9.0.0.19\r\n* The Browser on the client, if using the JavaScript client (IE/Chrome/Edge/Firefox/etc.): -\r\n\r\n[wireshark.txt](https://github.com/aspnet/SignalR/files/2435387/wireshark.txt)\r\n[clientlog.txt](https://github.com/aspnet/SignalR/files/2435388/clientlog.txt)\r\n\r\nDear Developers!\r\n\r\nI'm trying to make an application on Xamarin with this library and a light back end with asp.net core. \r\nI always get on my Android phone: \r\n```\r\n[0:] Microsoft.AspNetCore.Http.Connections.Client.HttpConnection: Error: Failed to start connection. Error getting negotiation response from http://192.168.0.2/live.\r\n\r\nSystem.Net.Http.HttpRequestException: An error occurred while sending the request ---> System.Net.WebException: Error: ConnectFailure (Connection refused) ---> System.Net.Sockets.SocketException: Connection refused\r\n```\r\n\r\nSo i tried a the same simple client on Windows and i got the same problem.\r\nI tried it with two version 1.0.3 / 1.1.0-preview2-35157. I always used the same version on client and server. ( I even double cheked it with this line of code:)\r\n\r\n```\r\nAssemblyName name = typeof(Microsoft.AspNetCore.SignalR.Client.HubConnection).Assembly.GetName();\r\n            Console.WriteLine(\"SignalR client version\" + name.Version);\r\n```\r\nI attached the full Xamarin output and a wireshark log.\r\n\r\nBut if i send a http request from an app from Play Store on my phone, i got Connection ID required. Which is fine i guess because i just sent an empty GET."},"comment":{"url":"https://api.github.com/repos/aspnet/SignalR/issues/comments/426718194","html_url":"https://github.com/aspnet/SignalR/issues/3041#issuecomment-426718194","issue_url":"https://api.github.com/repos/aspnet/SignalR/issues/3041","id":426718194,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjcxODE5NA==","user":{"login":"anurse","id":7574,"node_id":"MDQ6VXNlcjc1NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/7574?v=4","gravatar_id":"","url":"https://api.github.com/users/anurse","html_url":"https://github.com/anurse","followers_url":"https://api.github.com/users/anurse/followers","following_url":"https://api.github.com/users/anurse/following{/other_user}","gists_url":"https://api.github.com/users/anurse/gists{/gist_id}","starred_url":"https://api.github.com/users/anurse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anurse/subscriptions","organizations_url":"https://api.github.com/users/anurse/orgs","repos_url":"https://api.github.com/users/anurse/repos","events_url":"https://api.github.com/users/anurse/events{/privacy}","received_events_url":"https://api.github.com/users/anurse/received_events","type":"User","site_admin":false},"created_at":"2018-10-03T17:08:21Z","updated_at":"2018-10-03T17:08:21Z","author_association":"MEMBER","body":"Your Fiddler log is just a text log which doesn't include WebSocket frame content. Can you export an \"SAZ\" file from Fiddler and upload that instead so we can see the traffic properly?"}}
{"actor":{"display_login":"anurse"}}