locked
CORS problem with iOS Safari RRS feed

  • Question

  • 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.

    Friday, August 25, 2017 11:48 AM

All replies

  • User-977821384 posted

    Sorry, the problem was with storing crossdomain cookies in Safari. CORS is working ok.

    Friday, August 25, 2017 4:40 PM
  • User1771544211 posted

    Hi Vladimir,

    the problem was with storing crossdomain cookies in Safari. CORS is working ok.

    I'm glad to hear that you have solved your issue and thanks for your sharing.

    Best Regards,

    Jean

    Monday, August 28, 2017 5:16 AM