The command unims -register returns "Unable to connect to UVMS: error 300 (-1)" in case of a timeout
book
Article ID: 85660
calendar_today
Updated On:
Products
CA Automic Dollar Universe
Issue/Introduction
Error Message : In case there is an error in the registration of a DUAS on a UVMS, the error message does not provide useful information to the user: Examples: $UNI_DIR_EXEC/unims -register -mshost uvms.domain.com -msport 4184 -login dummy -pwd password--> Incorrect login $UNI_DIR_EXEC/unims -register -mshost uvms.domain.com -msport 4184 -login admin -pwd wrong_password--> Incorrect password The same error on the command unims -register appears after a timeout of 15 seconds in case there is a network issue between the uvms and the node. Unable to connect to UVMS: error 300 (-1)
Description :When trying to register a node ( when installing or registering somewhere else), the command unims -register throws the error 300. It is impossible to know wether the issue is related to a wrong login / password or a timeout on the reply from the uvms to the request.
Cause
Cause type: Defect Root Cause: N/A
Environment
OS: All
Resolution
The command unims -register will now throw an error 205 for timeout errors when waiting for the reply of the UVMS.
The new return of the command is: ###################### Unable to connect to UVMS: error 205 (check U_UVMS_TIMEOUT parameter) (-1) ######################
Therefore, you will need to increase the value of the variable U_UVMS_TIMEOUT (15 seconds by default).
For that, you can launch the following command to increase it to 60 seconds: