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

Occasionally error in rest method invocation #26

Open
Spamme1 opened this issue May 23, 2017 · 0 comments
Open

Occasionally error in rest method invocation #26

Spamme1 opened this issue May 23, 2017 · 0 comments

Comments

@Spamme1
Copy link

Spamme1 commented May 23, 2017

This error appear only occasionally, I don't know if you can really do something about it.

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Invoke-RestMeth...expected error  :String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError occurred on a receive.
At C:\Program Files\WindowsPowerShell\Modules\RabbitMQTools\1.1\Public\Get-RabbitMQMessage.ps1:130 char:13
+             $result = Invoke-RestMethod $url -Credential $Credentials ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
 
Invoke-RestMethod : The underlying connection was closed: An unexpected erroroccurred on a receive.
At C:\Program Files\WindowsPowerShell\Modules\RabbitMQTools\1.1\Public\Get-RabbitMQMessage.ps1:130 char:13
+             $result = Invoke-RestMethod $url -Credential $Credentials ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
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