-
Notifications
You must be signed in to change notification settings - Fork 445
No-cache does not seem to work for IE #848
Comments
I will be changing the no-cache header to nonce for long polling and will test this scenario. |
@Marcelh1983 - I don't seem to be able to run this application. I think it fails on some kind of auth. Can you create a trimmed version of the repro? I also sent a PR to replace the One thing that you may want to check is that IE did not cache your script - maybe IE is using an old script without No-Cache even though you have a fixed version in your repo because it loads it from the cache. You may want to disable caching and/or reload your page with Ctrl+F5. |
Closing as no repro. |
Thanks for having a look. I still get the error but maybe it is related to something else. I now use the es5 javascript files from the npm package. I deployed in here: http://signalr-core-example.azurewebsites.net |
Can you use non-minimized version? It is easier to debug because the line number will point to the location of the error. I wonder if the issue is that the url does not start with |
Thanks! Can you also reproduce the ie11 long polling error? Click on a icon and wait like 1 minute. Any idea what the problem could be? |
I can see it. No idea yet what's causing it because IE hangs due to the tight loop. |
Angular-cli provides all these polyfills which you should uncomment when you want internet explorer support. So maybe I should have looked in more detail to what I ucommented, but probably more people will do the same way as I do. Thanks you so much for looking into my issues! |
I just tested with your merged code. Everything locally works fine, IE and chrome. On Azure it connects using websockets. So all the issues I experienced are solved. Only problem now is that the client doesn't receive any signalR events while it works locally. I don't see any errors. I tried things like changing relative url to full, removing IE polyfills, deploying the dev build instead of minified one, but nothing helps. |
@Marcelh1983 did you try turning logging on? |
I set the logLevel on trace in the frontend. Get the message that it is connected. But no info/errors when the events should coming in. Don't see any errors on the backend, and the backend isn't changed since the last version that worked, |
Sorry probably something on my side though it is strange it worked before and I didn't change anything on the backend. I send the events to the auth0-id which is stored in the User.Claims(). Somehow this is empty on azure. If I attach the debugger to Azure it works. Will try to find the problem. |
As per: 325c909#commitcomment-24230784
The text was updated successfully, but these errors were encountered: