Uploading a file or URL fails with the error "Unable to connect to 'http(s)://<SERVER_NAME>:<PORT>/CAisd/UploadServlet/'"

Document ID : KB000045478
Last Modified Date : 14/02/2018
Show Technical Document Details

Symptoms: 

When attempting to upload a file or URL with any role it fails with the following error:

"Unable to connect to 'http(s)://<SERVER_NAME>:<PORT>/CAisd/UploadServlet/'.  Please make sure that the servlet server is correct, and that Tomcat is up and running. Would you like to retry?"

Environment:  

Service Desk 14.1 /12.9

Cause: 

The Servlet path contain an extra forward slash which prevents to upload the file or add URLs:

http(s)://<SERVER_NAME>:<PORT>/CAisd/UploadServlet/

The correct URL should be without the last forward slash:

http(s)://<SERVER_NAME>:<POaRT>/CAisd/UploadServlet

Resolution:

Edit the servlet path URL by removing the last forward slash, this will allow the server to use the servlet path without issue.

1. Log in Service Desk with an administrator account.

2. Go to the administration tab-> System -> Servers.

3. Click on the server which you need to edit the servlet path and then modify correctly the value. No restarts are required.