Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

Business Central in a Docker container not responding: "bcserver took too long to respond"

(0) ShareShare
ReportReport
Posted on by 170
All of a sudden my BC Docker containers stopped working. All of them, just don't respond anymore. Chrome dev tools show no response at all coming from the containers. Still the containers are active and perfectly responsive, except the on the http port.
I can download symbols in VS Code and publish packages - no problem. I can start a PowerShell session with "Enter-BCContainer" or "Open-BCContainer", also works. All BC endpoins are active, Invoke-WebRequest works perfectly when I send a request to the BC service in a container session. For example "http://localhost:7049/dev/packages", "http://localhost:7049/devhealth", or "http://localhost:7046/bc/client/health" - all works.
"Invoke-WebRequest http://localhost/bc" - no response.
The same client/health endpoint is also unreachable if the request goes via IIS: "Invoke-WebRequest http://localhost/bc/client/health" - no response.
Web site on IIS is running, application pool is active, I could not find anything wrong with the web server configuration. Default web site on port 8080 also responds without any issues, so I suppose this must be something with the BC web client, but I'm out of ideas. I suspect a recently installed Windows security update could cause this, but reverting the updates did not solve the problem. And of course I tried to delete and recreate the container - still the same result. After spending a weekend trying to pinpoint the issue, I still have no idea where the problem is.
Has anyone seen something similar? Any ideas what else I can try?
  • Verified answer
    Alexander Drogin Profile Picture
    Alexander Drogin 170 on at
    Business Central in a Docker container not responding: "bcserver took too long to respond"
    If somebody runs into this problem: changing the container isolation from process to hyperv solved the problem.
    My configuration: Windows 11 pro, Docker Desktop on WSL 2. I used to run all containers in process isolation, but since updating Windows to version 24H2 I am unable to connect to the web client in any existing container. I could not find the root cause, but recreating the containers with isolation = hyperv resolved it.
  • Alexander Drogin Profile Picture
    Alexander Drogin 170 on at
    Business Central in a Docker container not responding: "bcserver took too long to respond"
    @Khushbu Rajvi. Thanks for the suggestion, but I can't see how I can apply it to my specific problem.
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    Khushbu Rajvi. 6,798 Moderator on at
    Business Central in a Docker container not responding: "bcserver took too long to respond"

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,883 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,569 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans