firasdib / Regex101

This repository is currently only used for issue tracking for www.regex101.com
3.2k stars 198 forks source link

Select .Net 7 (C#) but not working, throw engine error #2279

Open SeriaWei opened 1 month ago

SeriaWei commented 1 month ago

image

working-name commented 1 month ago

Hi @SeriaWei,

Can you please try that in an incognito session or a browser without addons? Also, open dev tools and go to the network tab before you load the page. That way you can see what gets blocked and potentially by what.

Also it would be very useful to know which OS and browser you're using so I can try to reproduce it. So far, on windows, Brave, with a gazillion add-ons and ad blockers, it works.

beligg commented 3 days ago

I sometimes encounter the same problem, but it can be solved by reloading the page. This is the console log:

bundle.506f496942c824f31ed9.js:1 Applied necessary polyfills (0 ms) bundle.506f496942c824f31ed9.js:1 Begin RegEx101 v11.7.0 initialization... bundle.506f496942c824f31ed9.js:1 Parsed initial state (0 ms) bundle.506f496942c824f31ed9.js:1 Settings loaded (0 ms) bundle.506f496942c824f31ed9.js:1 State management configured (2 ms) bundle.506f496942c824f31ed9.js:1 Initialization done (3 ms) bundle.506f496942c824f31ed9.js:1 Application rendered (0 ms) bundle.506f496942c824f31ed9.js:1 Successfully registered service worker bundle.506f496942c824f31ed9.js:1 Error: Unable to load worker, timeout after 10s at bundle.506f496942c824f31ed9.js:1:262973 _runWorker @ bundle.506f496942c824f31ed9.js:1 await in _runWorker (async) (anonymous) @ bundle.506f496942c824f31ed9.js:1 setTimeout (async) runWorker @ bundle.506f496942c824f31ed9.js:1 runMatch @ bundle.506f496942c824f31ed9.js:1 (anonymous) @ bundle.506f496942c824f31ed9.js:1 rl @ vendors-bundle.34d914cfcb77ca820fbb.js:2 ku @ vendors-bundle.34d914cfcb77ca820fbb.js:2 (anonymous) @ vendors-bundle.34d914cfcb77ca820fbb.js:2 xu @ vendors-bundle.34d914cfcb77ca820fbb.js:2 lu @ vendors-bundle.34d914cfcb77ca820fbb.js:2 ji @ vendors-bundle.34d914cfcb77ca820fbb.js:2 (anonymous) @ vendors-bundle.34d914cfcb77ca820fbb.js:2

working-name commented 2 days ago

bundle.506f496942c824f31ed9.js:1 Error: Unable to load worker, timeout after 10s

This is making me think network related. I can think of 2 things:

  1. Server had network hiccup.
  2. Your browser is somehow blocking the request.

You might be able to find out more if the network tab happens to be open before loading the page... 🙃

beligg commented 2 days ago

This is the network har, when the problem occured: regex101.com.zip

beligg commented 2 days ago

Browser is Chrome 126.0.6478.127 in incognito mode. OS is Windows 10 pro 22H2 19045.4529

beligg commented 2 days ago

This is the har when the page has been reloaded several times and everything is ok. regex101.com 2.zip This time, the resources were loaded mostly from cached sources and much faster

working-name commented 1 day ago

This is the network har, when the problem occured: regex101.com.zip

Thank you, did you manage to see any red lines (below is mine from brave)? redline

If you do, try to figure out the reason behind why that connection was blocked or if it timed out.

The har files only contain connections that have happened, it won't export those that got blocked. A fresh load of regex101.com in an incognito mode, with a switch to .NET and a in both regex and test string should yield a har file that's about 26.8 MB in size.

beligg commented 1 day ago

No requests were blocked snap1

working-name commented 1 day ago

Quite unusual. There's gotta be something blocking the connection, otherwise the 10s timeout would mean trash server. Tried another browser? What about your phone, with wifi off (use cell data)?