Follow

Debugging Agent 14.1 Registration Errors

The new Director Agent 14.1 uses the new REST interface for agent-director communication. When the agent initially registers with Director, HTTP error codes may be returned if there is a configuration issue. This article outlines some possible causes of those errors.

All error log entries are from debug output generated from executing './vagent -s -1 -e debug'

HTTP 403

 

Informational: Venafi Agent Library: Protocol error: server "https://director.ven.jdt.org/vedclient/authorize/createsession" error: "403"

 

This may be caused by an incorrect credential set for either the enrollment-secret or enrollment-password. Note that if using the enrollment-secret, the value must be set to the 'Shared Global Secret' that is generated in the Aperture client configuration. Using the plain-text password in the agent configuration will NOT work.

HTTP 301

Informational: Venafi Agent Library: Protocol error: server "http://director.ven.jdt.org/vedclient/authorize/sessionrequirements" error: "301"

 

This error can be caused if the server URL is configured with 'http' instead of 'https' as Director automatically redirects HTTP requests to HTTPS. Replace the 'http' in the server-url value with 'https'.

HTTP 404

Informational: Venafi Agent Library: Protocol error: server "https://director.ven.jdt.org/authorize/sessionrequirements" error: "404"

This error is caused by having the incorrect server-url value as well. Make sure that the URL is in the format https://[servername]/vedclient

Was this article helpful?
0 out of 0 found this helpful

Comments