codewind
codewind copied to clipboard
'Application is taking longer than expected to start' message is missing application host
Remote codewind
[02/01/20 18:00:37 pyproj123] [INFO] Emitting event
message: projectStatusChanged
data: {
"projectID": "603e6690-2031-11ea-b6f3-3fae510b6303",
"appStatus": "starting",
"detailedAppStatus": {
"severity": "WARN",
"message": "Timeout: Pinging http://:5000/cc. The application is taking longer than expected to start. Please check the application logs for problems and ensure the project's 'healthCheck' setting is correct. Last error message received: Received response, but with bad status code 404 when pinging project",
"notify": true
}
}
[02/01/20 18:00:37 pyproj123] [INFO] pingInTransitApplications: Application state for project 603e6690-2031-11ea-b6f3-3fae510b6303 has changed from starting to starting
[02/01/20 18:00:37 pyproj123] [INFO] pingInTransitApplications: Application state error message: Timeout: Pinging http://:5000/cc. The application is taking longer than expected to start. Please check the application logs for problems and ensure the project's 'healthCheck' setting is correct. Last error message received: Received response, but with bad status code 404 when pinging project
Pinging http://:5000/cc
should be
Pinging http://cw-pyproj123-603e6690-2031-11ea-b6f3-codewind.codewind-ide-7674b4bd9abbdeea0be228236d5275c9-0001.tor01.containers.appdomain.cloud/cc
it would be nice if the message was shorter
In respect to making the message shorter, how about something like:
Timeout: Pinging <hostname>:<port>. The application is taking longer than expected to start,
received bad status code <code>. Please check the application logs and verify the healthCheck
setting
Also, the message that does have the host uses the internal Docker networking IP address, which isn't actually reachable from the user's system and doesn't match the Application Endpoint, which is pretty confusing.
Still a bug
/assign /pipeline In Progress
@tetchel - from what you've seen is the original problem (missing hostname) exclusive to remote projects?
With Local Codewind I get the full messages with internal docker IP address.
Yes, in the description it says this is for remote