User-977821384 posted
Hello!
I have enabled CORS in my self-hosted OWIN SignalR app. Everything is working fine in all browsers except Safari. I have additionally added these headers:
Access-Control-Allow-Headers: Accept, Origin, Authorization, Content-Type, Range, X-Requested-With
Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
That allows Web API hosted on the same OWIN host to work. So I can assume that CORS is generally working.
But SignalR requests return "Error during negotiation request".
Does anybody have any experience with this problem? Can I somehow get extra information without accessing Safari browser (maybe from .fail() continuation)?
Thank you.