Live graphs in some websites have stopped auto updating
Hi So my problem started a few days ago i don't remember exactly when. The graphs on the binance exchange site have stopped updating for me on Firefox. I mean when i load the page with the graph in it the graph is static and i have to keep refreshing the entire page to see changes in the graph. I should mention that the graphs on a different site that i use work fine and display the prices in real time.
I also had microsoft edge and the same problem happens there too but today i installed chrome and the problem in NOT present there. So the site and graphs update and work properly in chrome but not in Firefox or edge. I prefer to use Firefox for everything!
-I tried Firefox safe mode and the problem is still there. -I also made a new Firefox profile and the problem is still there. -Finally i even refreshed Firefox but even that didnt fix the problem. I should mention that i have Firefox sync enabled so after i refreshed Firefox it automatically installed back all my addons (and other settings?) so even though it is refreshed it looks and behaves exactly like before i don't know if that "cancels" the effects of the refresh.
I am running win10 and my antivirus is kaspersky. I had Kaspesky on "pause protection" while i was troubleshooting but that didnt help either. I hope i managed to explain everything because i find it hard to express my self in English. If you need me to clarify anything let me know. I hope someone can help me with this because I don't know what else to try.
Thanks in advance Kiri
所有回覆 (12)
The site you are trying to visit is not optimal for the graphics you are using. Try to test some other browsers and let me know.
I am not sure i understand what you mean by "the graphics i am using". I mentioned that i already tried edge browser which has the same problem with firefox and chrome which works ok! Should i download and try even more browsers?
Can you post a link to a publicly accessible page (i.e. no authentication or signing on required)?
Firefox shows a purple shield instead of a gray shield at the left end of the location/address bar in case Enhanced Tracking Protection is blocking content. You can click shield icon for more detail and possibly disable the protection. You can check the Web Console for messages about blocked content.
OK, I found another thread where the user reported the same issue.
My replay in that thread.
Works fine for me in the current release. It looks that this done via a websocket (wss://stream.binance.com/stream) if I check this in the Web Console and Network Monitor. You can check the Web Console for websocket related messages. You cant try to toggle this pref on the <b>about:config</b> page to see if true or false makes a difference (both work for me). * network.http.spdy.websockets You can also check other websocket pref to see if they are all default.
yes here is the link: https://www.binance.com/en/trade/BTC_USDT?layout=pro
Thats the webpage i use, the graphs should work even without login. Like i said before it used to work up until a few days ago, maybe a week, but since then all of the graphs on that exchange are static for me in Firefox. In fact not just the graphs, everything on that page is static for me, there is other price data that should change dynamically in real time as you will see when you visit it.
Update: I just retested the page above in microsoft edge and it now works! I dont know why, the only thing that changed since the last time i tested it was that i installed chrome. Firefox still has the problem though nothing changed there.
OK so i tried to toggle the network.http.spdy.websockets but nothing changed still the same problem. havent tried to check other websocket prefs yet but i will.
I aslo checked the Web Console and found all this:
The script from “https://bin.bnbstatic.com/static/css/8849ddbd.chunk.css” was loaded even though its MIME type (“text/css”) is not a valid JavaScript MIME type.
Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-src”). 2 221b362f-8203-4175-a6fd-67483bae8d7f:27:22
Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-src”). 2 main-79b09771bce66fcf224a.js:1:126557
Content Security Policy: The page’s settings blocked the loading of a resource at blob:https://www.binance.com/c8d3b207-45f2-4338-918b-30acee6bb68f (“child-src”).
Some cookies are misusing the recommended “SameSite“ attribute 13 GETwss://nbstream.binance.com/lvt/stream [HTTP/1.1 504 Gateway Time-out 13002ms]
Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-src”). 221b362f-8203-4175-a6fd-67483bae8d7f:27:22
The type of path should be string, current is: undefined common2.9a11cb3c.js:1:247948 Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-src”). 221b362f-8203-4175-a6fd-67483bae8d7f:27:22
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. en-tv-chart.b235e44cb167872e5a6e.html Destroying with not-empty state library.8f9f4b3bb78c78c71688.js:710:834 Data thread doesnt exist: BTCUSDT_1440"0 library.8f9f4b3bb78c78c71688.js:713:1571 2021-04-08T18:37:18.773Z:Chart.Defaults:Path `candleStyle.wickDownColor` does not exist. library.8f9f4b3bb78c78c71688.js:14:2585 2021-04-08T18:37:18.774Z:Chart.Defaults:Path `candleStyle.wickUpColor` does not exist. library.8f9f4b3bb78c78c71688.js:14:2585 2021-04-08T18:37:18.832Z:Chart.Defaults:Path `candleStyle.wickDownColor` does not exist. library.8f9f4b3bb78c78c71688.js:14:2585 2021-04-08T18:37:18.838Z:Chart.Defaults:Path `candleStyle.wickUpColor` does not exist. library.8f9f4b3bb78c78c71688.js:14:2585
WebSocket connection-timeout wss://nbstream.binance.com/lvt/stream common2.9a11cb3c.js:1:247948 Firefox can’t establish a connection to the server at wss://nbstream.binance.com/lvt/stream. main-79b09771bce66fcf224a.js:1:559780 The connection to wss://nbstream.binance.com/lvt/stream was interrupted while the page was loading. main-79b09771bce66fcf224a.js:1:559780 socket error wss://nbstream.binance.com/lvt/stream
error { target: WebSocket, isTrusted: true, srcElement: WebSocket, currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, returnValue: true, defaultPrevented: false, composed: false, … } common2.9a11cb3c.js:1:247948 WebSocket Reconnecting Attempts: wss://nbstream.binance.com/lvt/stream 1 common2.9a11cb3c.js:1:247948 GETwss://nbstream.binance.com/lvt/stream [HTTP/1.1 504 Gateway Time-out 10955ms]
The resource at “https://bin.bnbstatic.com/static/css/8849ddbd.chunk.css” preloaded with link preload was not used within a few seconds. Make sure all attributes of the preload tag are set correctly. BTC_USDT The resource at “https://bin.bnbstatic.com/static/fonts/bp/BinancePlex-Regular.otf” preloaded with link preload was not used within a few seconds. Make sure all attributes of the preload tag are set correctly.
The resource at “https://bin.bnbstatic.com/static/fonts/bp/BinancePlex-SemiBold.otf” preloaded with link preload was not used within a few seconds. Make sure all attributes of the preload tag are set correctly.
WebSocket connection-timeout wss://nbstream.binance.com/lvt/stream common2.9a11cb3c.js:1:247948 Firefox can’t establish a connection to the server at wss://nbstream.binance.com/lvt/stream. main-79b09771bce66fcf224a.js:1:559780 The connection to wss://nbstream.binance.com/lvt/stream was interrupted while the page was loading. main-79b09771bce66fcf224a.js:1:559780 socket error wss://nbstream.binance.com/lvt/stream error { target: WebSocket, isTrusted: true, srcElement: WebSocket, currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, returnValue: true, defaultPrevented: false, composed: false, … } common2.9a11cb3c.js:1:247948 WebSocket Reconnecting Attempts: wss://nbstream.binance.com/lvt/stream 2 common2.9a11cb3c.js:1:247948
So it does look like a websocket problem although i dont know anything about websockets to fix it my self.
Also compaired to your picture on the other thread my network tab looks like this:
Another update: I uninstalled and reinstalled firefox today and the problem is still there!
I really don't know what else to try here. Can you understand anything from the errors above that i see in the web console or in the network monitor? If someone can at least point me to which settings could be responsible for those errors i can spend some time experimenting there..
I hope i am not spamming my own thread too much, im just trying to give as much info on my problem as i can.
I discovered that my problem comes from this error: "Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-src”)"
If i toggle "security.csp.enable" to false then the website works OK!
That said it is my understanding that that's not really a solution and i should keep csp enabled. So does anyone know why this is happening or what i should do?
Hi guys!
I have the same problem... any update about this case?
I have the same issue.
kiri сказал(а)
... I am running win10 and my antivirus is kaspersky. I had Kaspesky on "pause protection" while i was troubleshooting but that didnt help either. ...
Completely close Kaspesky, you'll see the difference.