Corporate blocking next.js application chunks from loading
Unanswered
Haddock posted this in #help-forum
HaddockOP
I have a VPS, that has coolify running. I have a domain *.site, on which the next.js app is runnig, some sort of test environment. The application was previously on *.sslip.io and worked fine on all networks and devices. Now the app does not work on corporate lapptops/PCs. The site loads as a blank white site, no anything. All of the js chunks and css it is all downloaded but seems to be not loaded, also no console errors, as i was never run. On normal PC, and on wifi, or mobile data, or on anything besides the corporate PCs, it works, even on home network. Now I also have strapi on the same domain, the same server, and it loads, works. Upon deeper digging, i found it is blocked by CORB. I could have asked the IT department to whitelist my domain, and all of the subdomains, however am i doing something wrong. Other corporates can flag the same way, and i cannot do anything with that. Please any suggestions?
2 Replies
Cory's Shearwater
i think that's not the reason. chunks have been around for a decade now with webpack and nextjs is built on top of webpack
HaddockOP
What else could be the reason, when trying to open the chunk in browser, the site gets blocked with the company logo and message that is is forbidden to access this site. Now it could be because of the new *.site domain. Maybe local domain would not be flagged. Any suggestions what could be missconfigured?