Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Topic |
Prev | Next |
Cloud Server Troubleshooting
Browser Test
For a simple check that the service is operating on the specified ports defined in the configuration file, you can enter this address into a web browser:
<protocol>://<machineName>:<port>
For example, on the Cloud Server:
http://localhost:804/
Or
https://sparxcloud.com
If the port is enabled this prompt displays:
Sparx Systems Cloud Server
Congratulations, your server is now ready to host your models. Connect through the configuration client to add or remove models.
If this message is not displayed, confirm the server and port name, check for other services listening on the specified port and check the server log file for error messages.
Errors shown in Enterprise Architect System Output
Error Message |
Meaning |
---|---|
HTTP Status 401 Access Denied |
Indicates a failure to authenticate with the server. With the built-in web server, this error will occur if an invalid username or password was provided, or no username/password were provided. |
HTTP Status 403 |
Indicates an attempt to access a model that is marked on the server as 'Require authenticated and secure connection'. This might indicate that you are connecting using an http protocol instead of https, or that the port you are using is not providing authentication to the model you are connecting to. Check that you are using https. Check with the system administrator that the security authentication option is pointing to a model with security enabled. |
HTTP Status 500 Unable to connect to service |
The connection is not being accepted.
|
The database manager for this database was shut down |
Enterprise Architect established a connection to a cloud service, and requested to connect to a known repository, but the repository is currently disabled. Ask your system administrator to check the 'Accept Queries' option for the database in question. |
There is no database manager configured for the requested repository |
Enterprise Architect established a connection to a cloud service, but the model name requested does not match any defined database on the server. |
Unable to connect to Database |
Enterprise Architect established a connection to a Cloud Service and requested to connect to a known repository; however, when the server attempted to open a connection to the database using the supplied details, it failed. Note: Whenever this error occurs, a Warning level message that contains more detailed information will be written to the Cloud Server logs. If the repository is:
|
Reading Server Logs
There are two key sources of troubleshooting information to determine the cause of connection errors. The first of these is the server logs.
When troubleshooting, it is recommended that the Cloud Services LOG_LEVEL property be set to the highest level, SYSTEM.
Log Message |
Explanation |
---|---|
Started database managers |
When a Cloud Server is initially started, it writes the list of available models to the log file. For each model you have added, you should see a line such as: [SYSTEM]: SUCCESS Added database manager msdasql.1:anonymous@mymodel If the log file is missing any lines, or if the message doesn't read 'SUCCESS' this might indicate a problem with the model connection. |
Open port list |
When a Cloud Server is initially started, it writes to the log file the status of all ports on which it tries to listen. For each port, including the management port and any http/https ports, you should see a line such as: [SYSTEM] SUCCESS Bound and listening on port 803. If the log file is missing any lines, or if the message doesn't read 'SUCCESS' this might indicate a problem with the server port. A common error here is: Unable to create secure server on port 443. Possible causes of this are:
|
Unable to connect to database |
During operation, the server will write to the log file any attempts to open a model that fail. This will generally not occur until a user attempts to connect to the database. Errors that can occur here are: REQUEST_CONNECT FAIL. Error (5): Unable to connect to database This means that the server attempted to open a connect but it failed. If you see this message, review the list of potential reasons outlined in the earlier section Errors shown in Enterprise Architect System Output. |