Skip to content

Trying add sensors are getting following error #244

Description

@marcelo-0511

Describe the bug

When I am trying add sensors i am getting following errors:

WARNING: 'Add-Sensor' timed out: The underlying connection was closed: The connection was closed unexpectedly. Retries remaining: 1
Add-Sensor : The underlying connection was closed: The connection was closed unexpectedly.
At C:\Users\adm.msantos\Desktop\01-Adicionar_SDWAN_FortiOS6.4.ps1:102 char:22
+ Get-Device -Id $ID | Add-Sensor $sdwan_state ; Start-Sleep -Seconds 1 ...
+                      ~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Add-Sensor], WebException
    + FullyQualifiedErrorId : System.Net.WebException,PrtgAPI.PowerShell.Cmdlets.AddSensor

image

image

Steps to reproduce

When I tried to add sensor.

What is the output of 'Get-PrtgClient -Diagnostic'?

Version    : 18.1.38.11958
RetryCount : 1
RetryDelay : 3
LogLevel   : Trace, Request

PSVersion      : 5.1.17763.1971
PSEdition      : Desktop
OS             : Microsoft Windows Server 2019 Standard
PrtgAPIVersion : 0.9.16
Culture        : en-US
CLRVersion     : .NET Framework 4.7.2 (461814)
PrtgVersion    : 18.1.38.11958
PrtgLanguage   : brazilian.lng

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateQuestions raised by people who don't know how to search through previous issues :P

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions