Invoke-RestMethod : Unable to connect to the remote server - $status = Invoke-RestMethod "http://localhost:8079/api/http/routers

ERROR: for traefik  Container "ab0de82c4cf5" is unhealthy.

ERROR: Encountered errors while bringing up the project.

Waiting for CM to become available...

Invoke-RestMethod : Unable to connect to the remote server

At C:\MVP-Site\up.ps1:35 char:19

+ ...   $status = Invoke-RestMethod "http://localhost:8079/api/http/routers ...

+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException

    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand

PS C:\MVP-Site> docker-compose down

Failed to write all bytes for python39.dll

fwrite: No space left on device


Resolution: Clear disk space, i usually use docker system prune -a to remove unused Docker images


Comments