I'm working on a Java 17 web app with Angular 13 front end. Java is running in Docker. I've managed to migrate Angular to version 17 without problems, but after upgrading to version 18 and resolving all compilation errors the app compiles correctly but all I see in the browser console is a long list of ERR_NAME_NOT_RESOLVED. How can I solve that issue?
-
Does "Unknown host" error calling containerized backend from frontend match your issue (note, that is not particularly Angular-focused, but generic about Docker/browser-app setups)? If not, can you edit the question to include a minimal reproducible example?David Maze– David Maze2025-01-29 19:11:54 +00:00Commented Jan 29 at 19:11
-
It has nothing to do with Angular or Java. The error message means that your domain name could not be translated to a valid IP address. Did you change your domain name, or the DNS zone recently ? Or you made a typo maybe ? Are you having a problem with your VPN ? Are you sure that your website is accessible from your working machine ? It can aslo be a network configuration mistake in Docker. Please try to ping your domain name.Arnaud Denoyelle– Arnaud Denoyelle2025-01-29 19:18:53 +00:00Commented Jan 29 at 19:18
-
When I switch branch to the branch with Angular 17 everything runs fine, it only happens when I check out this particular branch where I'm working on Angular 18 upgradeGosia– Gosia2025-02-14 16:20:17 +00:00Commented Feb 14 at 16:20
Add a comment
|