{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/SignalR/issues/1107","repository_url":"https://api.github.com/repos/aspnet/SignalR","labels_url":"https://api.github.com/repos/aspnet/SignalR/issues/1107/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/SignalR/issues/1107/comments","events_url":"https://api.github.com/repos/aspnet/SignalR/issues/1107/events","html_url":"https://github.com/aspnet/SignalR/issues/1107","id":273239101,"number":1107,"title":"UnexpectUnexpected token G in JSON at position ed token G in JSON at position ","user":{"login":"larserikfinholt","id":1328417,"avatar_url":"https://avatars1.githubusercontent.com/u/1328417?v=4","gravatar_id":"","url":"https://api.github.com/users/larserikfinholt","html_url":"https://github.com/larserikfinholt","followers_url":"https://api.github.com/users/larserikfinholt/followers","following_url":"https://api.github.com/users/larserikfinholt/following{/other_user}","gists_url":"https://api.github.com/users/larserikfinholt/gists{/gist_id}","starred_url":"https://api.github.com/users/larserikfinholt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larserikfinholt/subscriptions","organizations_url":"https://api.github.com/users/larserikfinholt/orgs","repos_url":"https://api.github.com/users/larserikfinholt/repos","events_url":"https://api.github.com/users/larserikfinholt/events{/privacy}","received_events_url":"https://api.github.com/users/larserikfinholt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":23,"created_at":"2017-11-12T15:32:54Z","updated_at":"2018-03-22T22:24:20Z","closed_at":"2017-11-13T19:44:14Z","author_association":"NONE","body":"It seems like the OPTIONS request to the hub returns \"GET, HEAD\" instead of an object. I think this issue is related, #1033 \r\n\r\nI've tried both IIS Express, and kestrel on win 10. There's an other user at SO with a similar issue: https://stackoverflow.com/questions/46825533/getting-error-while-trying-to-use-signalr-in-angular4-netcore-2-0-application\r\n\r\nI'm using a plain mvc web app based on the chat sample in this sln https://github.com/aspnet/SignalR/tree/dev/samples/ChatSample\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/aspnet/SignalR/issues/comments/375477339","html_url":"https://github.com/aspnet/SignalR/issues/1107#issuecomment-375477339","issue_url":"https://api.github.com/repos/aspnet/SignalR/issues/1107","id":375477339,"user":{"login":"anurse","id":7574,"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-03-22T22:24:20Z","updated_at":"2018-03-22T22:24:20Z","author_association":"MEMBER","body":"> I upgraded, and now the response from the negotiate request is indeed some HTML. It says Cannot POST /message/negotiate.\r\n\r\nThis seems very strange. Are you sure you're connecting directly to your ASP.NET Core application and not to an intermediate proxy (such as Angular tools, etc.)? If you're using a relative URL, it might not be working properly, I suggest checking the Network tab of your browser dev tools and verifying that it's actually connecting to the SignalR endpoint.\r\n\r\nIf it is connecting to the right endpoint, you should check if you have any middleware above the `UseSignalR` call in your `Startup.Configure` method that could be intercepting the request."}}
{"actor":{"display_login":"anurse"}}