Workers code didn't loading
# workers-help
a
Hello. So, I want go to my code, but it didn't load. I tried few times, on normal Chrome and on incognito mode, but still nothing. Before this error, I had a look for code with VSC (I open my code, but IDE wasn't normal for Cloudflare, that's VSCode). https://cdn.discordapp.com/attachments/1108411996765954070/1108411998057807984/2023-05-17_16-40-57.mp4

https://cdn.discordapp.com/attachments/778652344522768397/1108399602744426638/image.png

c
Quick Edit is now powered by Vscode: https://blog.cloudflare.com/improved-quick-edit/
a
Hmm, but on another project I still have normal CF IDE
c
As for why it doesn't load, I would open up dev tools (ctrl+shift+i), and see if you can't see any errors. Might be extensions blocking it or something. It requires local storage, which may be be blocked by some plugins
a
Okay, I'll check
I disabled all extensions, but still not loading

https://cdn.discordapp.com/attachments/1108411996765954070/1108413300003311777/image.png

https://cdn.discordapp.com/attachments/1108411996765954070/1108413300506644620/image.png

404 error is probably weird because I have this code and didn't deleted this or something else
c
Interesting, I can't reproduce. Cache or something? If you try in a different browser like Firefox, do you get the same issue (don't try in incognito, it'll fail due to no local storage)
n
👀

https://cdn.discordapp.com/attachments/1108411996765954070/1108415767671746670/image.png

a
I cleared cache, but still didn't
Give me moment for check in other browser
On Firefox code loading
So I have to clear local storage on Chrome?
c
Well that's good, know at least it's nothing with your code/project specifically
clearing cookies and other site data in chrome should clear local storage as well
a
That's working! Thank you so much
Ouh
On Chrome after I exit from website, again have this error
On Firefox works fine
m
The worker works when opened once, after refreshing the page it still does not work
d
+
a
Did you try on different browser?
That isn't fix a problem, but temporary fix
m
It works once, after reloading the page it doesn’t work again, in this case only logging out of the account and re-login helps
a
Hmm, at me relogin didn't work
Only clear cache, cookies etc.
Which browser you using?
m
Creating a new user in chrome, and re-logging into the account, allows you to open the worker, but it is important not to reload the page
chrome and firefox
a
And you have this problem in both browsers?
m
yes
a
Hmm...
Probably problem with storage data
But I'm not sure
m
in any case, we are still proceeding from the options that we have, but in the future we need to wait for official comments
c
In console do you see any errors? (ctrl+shift+i -> console)
m
yes there are many

https://cdn.discordapp.com/attachments/1108411996765954070/1108503120675344454/image.png

and this

https://cdn.discordapp.com/attachments/1108411996765954070/1108503333192339476/image.png

p
To clarify, you're able to view and edit code, but when you reload the page it goes away? Could you send a screen recording?
m
I can’t send it, but the steps are as follows, when the worker is first viewed, the code is displayed, it can be edited and deployed, but when the page is reloaded, the editor disappears and does not appear anymore
p
Do you have any extensions installed? Does this reproduce across multiple browsers?
d
I recorded a video, but it contains our domains and addresses, which I do not want to make publicly available. You can write to me in direct and I will send a video. - I created a new profile in Chrome. It has no extensions. - I am signed in to Cloudflare - I went to the Edit code page with Dev Tools and console enabled. - Everything is fine, I see the editor. - I refresh the page and no longer see the editor. The behavior is repeated for me in Chrome and Firefox. After the first successful opening of the code editor and refreshing the page, I can no longer see and edit the code.
j
Can you share what extensions you have enabled? I'm not currently able to reproduce
a
Okay

https://cdn.discordapp.com/attachments/1108411996765954070/1108779964658110494/image.png

Tampermonkey with 2 scrips (both for Disney+)
p
Could you try disabling all those extensions? Especially the VPN and uBlock Origin?
a
In a moment
But last time I disable all extensions and nothing new
Still no effect

https://cdn.discordapp.com/attachments/1108411996765954070/1108783828375437382/image.png

p
And when you reload that page it's still blank?
a
Yes
j
What specific version of Chrome are you using?
a
Chrome

https://cdn.discordapp.com/attachments/1108411996765954070/1108792734761898125/image.png

Chromium

https://cdn.discordapp.com/attachments/1108411996765954070/1108792778630119536/image.png

Okay, I updated Chrome [113.0.5672.126] (I forgot about updating packages from
yay
😅) and still same problem
Do you need more info?
p
Could I get your account ID (this isn't sensitive, so feel free to post here)? Could you provide the console logs from that page? Unfortunately they're a bit noisy, but it would be really helpful to get them all (they may contain sensitive information, so feel free to DM them to me). In particular, any mention of
localStorage
in the logs would be helpful
To clarify, as well, does this reproduce across multiple browsers, or is it just chrome?
a
Only in Chrome and Chromium, but I'm only logged on these browers (on Firefox where that's works greet I don't logged anywhere except Cloudflare)
Okay, so I'll DM you
p
It looks like the best workaround for now is to set your browser language to English, which seems to fix the loading issues. We're still investigating, and will have a proper fix out soon that doesn't require this workaround
a
Okay
I'll test that when I'm at home
That's working
And too working if I change lang to default (polish)
p
Amazing! We just pushed out a fix for other languages, so hopefully the workaround of the browser set to English is no longer needed
a