Online Help > Support/Resources > Troubleshooting

Password Manager Pro

Errors

 

System.Net.WebException: The server committed a protocol violation. Section=ResponseStatusLine

During the configuration of your Password Manager Pro credential entry, make sure that the URL of your server contain https:// and not http://. You absolutely need an https:// at the beginning of the address to communicate properly with the server.

 

Service URL

Service URL

 

When you try to connect on a remote computer or get the credential list, a window appear with an empty Token field and the Username and Workstation field greyed out.

PMP Account Editor

PMP Account Editor

 

The Host Name configured in your API user in Password Manager Pro is not the same that you have configured in Remote Desktop Manager in File - My Account Settings - Password Manager Pro. Please consult the How to Configure Password Manager Pro in Remote Desktop Manager topic for more information on the configuration.

 

System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.

Password Manager Pro can be configured to use SSLv3, TLSv1.0, TLSv1.1 and TLSv1.2. If you have configured your Password Manager Pro server to use TLSv1.2 only, you will encounter this error message. You need to configure your Password Manager Pro to accept TLSv1.0, TLSv1.1 and TLSv1.2.

 

API key received is not associated to any user. Authentication failed.

Edit your API user in Password Manager Pro and generate a new Authentication Token, save your API user and save this new token in Remote Desktop Manager in File - My Account Settings - Password Manager Pro.

 

User is not allowed to access from this host

During the creation of an API User in Password Manager Pro, a Host Name (Computer name) is necessary to create the user. In Password Manager Pro it may be registered using the Fully Qualified Domain Name (FQDN) of the computer.  In Remote Desktop Manager on the other hand, you must set it exactly the same as the %COMPUTERNAME% environment variable.

 

Another reason for this error we have seen is that the DNS name of the server was specified, but it would work perfectly fine if you were using the IP address instead.  Please test it with the procedure described below.

 

Testing procedure with Powershell

Here is a script that you can use to test your access from a client workstation.  Save the following code in a file called PMPTest.ps1.  The technology used in the script is the same as is used from within Remote Desktop Manager, therefore its the most conclusive test.  If you contact Password Manager Pro support, they can provide a Java based test fixture.  It is not as useful except to prove that the server basically responds to your queries.

 

[CmdletBinding()]

Param(

  [Parameter(Mandatory=$True,Position=1)]

  [string]$PMPServer,

 

  [Parameter(Mandatory=$True,Position=2)]

  [string]$AuthToken

)

 

add-type @"

    using System.Net;

    using System.Security.Cryptography.X509Certificates;

    public class TrustAllCertsPolicy : ICertificatePolicy {

        public bool CheckValidationResult(

            ServicePoint srvPoint, X509Certificate certificate,

            WebRequest request, int certificateProblem) {

            return true;

        }

    }

"@

 

[System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy

cls

$connect = "https://" + $PMPServer + ":7272/restapi/json/v1/resources?AUTHTOKEN=$AuthToken"

$result = Invoke-WebRequest -Uri $connect

$form = $result.Content

$content = ConvertFrom-Json $form 

 

$status = $content.operation.result.status

 

if ($status -eq "Success") {

    $content.operation.Details

}

 

if ($status -eq "Failed") {

    $status

    $content.operation.result.Message

}

 

Pause

 

Please note that the port is hard-coded in the script to 7272, which is the default value for Password Manager Pro.  Adapt to your environment.

 

From within Powershell, type the following.

 

.\PMPTest.ps1 {YOUR_PMP_SERVER} {YOUR_PMP_TOKEN}

 

Test with both the DNS name of the server and the IP address and observe the results.

 

Remote Desktop Manager is returning the IP address of the server instead of the FQDN

In some organization, IP addresses are blocked and the hostname of the Password Manager Pro server needs to be returned. In that case, the Configuration File of the application would need to be modify.

 

1.Close Remote Desktop Manager

2.Find the Remote Desktop Manager Configuration File

3.Edit the configuration file and add the line <ResolvePMProURLIntoIPAddress>false</ResolvePMProURLIntoIPAddress>

4.Save the modification and restart the application