There was a problem loading the comments.

Web servers are unable to communicate with the database server due to password contains special characters (HA Environment)

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

Original Question

or Issue:

We are in the process of setting up a high availability (HA) FileCloud deployment as part of our ongoing engagement. However, we’ve encountered a few issues that require your assistance.

Environment:

  • Product - Filecloud Server
  • Version - Any
  • Platform - Any
Steps to Reproduce:

 

 

Error or Log Message:  

Defect or

Enhancement Number:

 
Cause: Web nodes cannot communicate with the Database server because the password contains characters that must be converted using percent coding

Resolution or

Workaround:


In your cloudconfig.php & localstorageconfig.php (/var/www/html/config/) file, update the password with the characters mentioned below:

The following characters and the space character must be converted using percent encoding if included in a username or password:

: / ? # [ ] @ ! $ & ' ( ) * , ; = %
 

For example, if your password in plain-text is p@ssw0rd'9'!, you need to encode your password as:

p%40ssw0rd%279%27%21
 

The MongoDB connection string in the `cloudconfig.php` and `localstorageconfig.php` files should be formatted as follows:

7f7ecf6be57f62e85162b4a01e2048f108acf5b74f3722a37167c7ac6cf0914ec4b890bb25847650?t=521d0911a43cc9bc842fe40761ccf23e

Notes:   External Reference: https://www.mongodb.com/docs/atlas/troubleshoot-connection/

Share via

Related Articles


Self-Hosted Help Desk Software by SupportPal
© FileCloud