Somethings to check
Add the configure below for the service getting 404
– “traefik.http.services.yourservice.loadBalancer.server.port=80”
Assuming the service runs on port 80.
Also you should check how Docker host networking feature works.
Bruce Ng's software development blog
An archive of solutions of programming problems I have faced in my career
Somethings to check
Add the configure below for the service getting 404
– “traefik.http.services.yourservice.loadBalancer.server.port=80”
Assuming the service runs on port 80.
Also you should check how Docker host networking feature works.
If this happens, use the checklist
Reference SO question and answer:
Try to fix this by installing “Internet Information Services” => “World Wide Web Services” => “Application Development Features” from “Turn Windows features on or off”
Maybe you need to install ASP.NET 4.8, or something similar, try out few things depending on your project.
Some applications will use as much resources as possible, like Elasticsearch.
If you are running Docker for development and it uses up all your resources because of such application, you can configure the Docker backend to limit the amount of resources it can use.
If your Docker desktop is using WSL2 as backend, create a .wslconfig file in your user home folder in Windows with the following content
[wsl2]
memory=6GB
processors=4
Then, restart the WSL backend in Powershell
Restart-Service LxssManager
This will also restart Docker Desktop.
This will limit the resources Docker will use to only 6GB RAM and 4 core processors, leaving resources for your other applications and development tools.
Checklists
Be aware that things may stop working as there are updates.
In case you need to work with old code that was not updated.
2019 version: https://code.visualstudio.com/updates/v1_33
If this happens, launch the setup program again (maybe go to Control Panel -> Programs and Features -> Uninstall). Then choose Repair, browse and select the folder of the SQL Server setup files.
After reparing, run the installer again, installation will be successful.
When trying to debug an Ionic Angular application in an older version of Visual Studio Code, this error shows up.
Follow the checklist
The best way is to update your code base to newer versions of languages, frameworks and libraries so you can use newer tools to debug the application. Otherwise this is a workaround.
When not sure the root cause, try disabling Http2 protocol in the web server, either IIS or Apache.
In the web UI of VMware, click console, then choose “Download VMware remote console”. You may have to sign up for a VMWare account to download.
This is a native remote client, the web remote console sometimes has issues with mouse integration with different guest OSes.