Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CH03 - iis-healthcheck #11

Open
marciogmorales opened this issue Jan 2, 2020 · 0 comments
Open

CH03 - iis-healthcheck #11

marciogmorales opened this issue Jan 2, 2020 · 0 comments

Comments

@marciogmorales
Copy link

Running the command:
docker container run -d -P --name healthcheck dockeronwindows/ch03-iis-healthcheck:2e

Container starts and stop in seconds. The log from the docker container log:

_Invoke-WebRequest : Unable to connect to the remote server
At line:1 char:180

  • ... w3svc; Invoke-WebRequest http://localhost/diagnostics -UseBasicP ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:Htt
      pWebRequest) [Invoke-WebRequest], WebException
    • FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShe
      ll.Commands.InvokeWebRequestCommand

Get-Content : Cannot find path 'C:\iislog\W3SVC\u_extend1.log' because it does
not exist.
At line:1 char:303

  • ... t-Null; Get-Content -path 'C:\iislog\W3SVC\u_extend1.log' -Tail 1 ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (C:\iislog\W3SVC\u_extend1.log:S
      tring) [Get-Content], ItemNotFoundException
    • FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetCo
      ntentCommand_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant