Skip to main content
Unable to add a NAS device - Credentials invalid
Updated over 9 months ago

Problem description

Adding a new device in the Phoenix Management Console fails with the

Credentials invalid

error. However, the credentials are correct and the share is accessible from a NAS proxy with the same credentials.
The following error is observed at C:\ProgramData\Phoenix\main_service.log:

[2021-01-25 12:41:11,250] [INFO] Validating nas credentials
[2021-01-25 12:42:11,266] [ERROR] Credentials Validation failed for Device 10.1.1.19 due to error Connection timeout of 60 seconds exceeded while waiting for a message id 0 response from the server
[2021-01-25 12:42:11,266] [ERROR] Error <class 'smbprotocol.exceptions.SMBException'>:Connection timeout of 60 seconds exceeded while waiting for a message id 0 response from the server. Traceback -Traceback (most recent call last):
File "client\nas\nas_utils.pyc", line 56, in validate_nas_credentials
File "smbclient\_pool.pyc", line 105, in register_session
File "smbprotocol\connection.pyc", line 881, in connect
File "smbprotocol\connection.pyc", line 1449, in _send_smb2_negotiate
File "smbprotocol\connection.pyc", line 763, in wrapped
File "smbprotocol\connection.pyc", line 1001, in receive
SMBException: Connection timeout of 60 seconds exceeded while waiting for a message id 0 response from the server

Cause

Phoenix NAS proxy queries NAS devices through SMB 2.0 or later to validate the credentials. If this protocol is disabled, the credential negotiation fails.

Resolution

Enable SMB 2.0 or later on the NAS device.

Did this answer your question?