Skip to content

Unable to connect to PRTG Server #425

@mviveki

Description

@mviveki

When trying to connect to the PRTG Server using below PS commands.

PS C:\WINDOWS\system32> $cred = Get-Credential
Connect-PrtgServer -Server "servername" -Credential $cred

below Error occurs.

Connect-PrtgServer : The underlying connection was closed: An unexpected error occurred on a send.
At line:2 char:1

  • Connect-PrtgServer -Server "servername" -Credential $cred
  •   + CategoryInfo          : NotSpecified: (:) [Connect-PrtgServer], WebException
      + FullyQualifiedErrorId : System.Net.WebException,PrtgAPI.PowerShell.Cmdlets.ConnectPrtgServer
    
    

Also use the -IgnoreSSL parameter along with the syntax and also used below command before running the connec-prtg syntax.

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

Note: I used Windows Domain credentials as well as PRTG Passhash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions