6X: Scan commit fails with error 'the port number of this URI is not set at com.palamida.workspace.ScanServiceImpl.commitScanResults'

6X: Scan commit fails with error 'the port number of this URI is not set at com.palamida.workspace.ScanServiceImpl.commitScanResults'

Problem

Scan fails during commit with the following error

 2020-03-30 10:40:25,820 WARN  [http-nio-443-exec-14] [RemoteInvocationTraceInterceptor] Processing of WorkspaceRemoteServiceExporter remote call resulted in fatal exception: com.palamida.workspace.service.ScanService.commitScanResults2020-03-30 10:40:25,820 WARN  [http-nio-443-exec-14] [RemoteInvocationTraceInterceptor] Processing of WorkspaceRemoteServiceExporter remote call resulted in fatal exception: com.palamida.workspace.service.ScanService.commitScanResultscom.palamida.workspace.WorkspaceException: the port number of this URI is not set at com.palamida.workspace.ScanServiceImpl.commitScanResults(ScanServiceImpl.java:963) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Diagnosis

 The problem is caused because the scan URL or core server URL do not have the port mentioned

 core.properties

core.server.url = http://10.0.0.23/palamida/

scan.server.Scanner1.web = http://10.0.0.23/palamidaScanEngine

scanEngine.properties

coreServerUrl=http://10.0.0.23/palamida

# The URL of your scan server
serverUrl=http://10.0.0.23/palamidaScanEngine

 

This could be because IT might be trying to use the default port 80 for http and port 443 for https.

Solution

core.server.url = http://10.0.0.23:80/palamida/

scan.server.Scanner1.web = http://10.0.0.23:80/palamidaScanEngine

or 

core.server.url = https://10.0.0.23:443/palamida/

scan.server.Scanner1.web = https://10.0.0.23:443/palamidaScanEngine

 

 The port number should be mentioned in the URL  in both the core.properties and scanEngine.properties

 

Was this article helpful? Yes No
No ratings
Version history
Revision #:
1 of 1
Last update:
‎Apr 01, 2020 12:37 AM
Updated by:
 
Contributors