Armando Belardo
07/18/2023, 8:33 PMTask logs:
[32m2023-07-18 20:25:49 +0000[0m - dagster.code_server - [34mINFO[0m - Started Dagster code server for package integrations_core on port 4000 in process 1
For more information about the failure, check the ECS console for logs for task arn:aws:ecs:us-east-2:ACCOUNT:task/Dagster-Cloud-mammoth-prod-Cluster/TASKID in cluster Dagster-Cloud-mammoth-prod-Cluster.
Most recent connection error: dagster._core.errors.DagsterUserCodeUnreachableError: Could not reach user code server. gRPC Error code: UNAVAILABLE
Stack Trace:
File "/dagster-cloud/dagster_cloud/workspace/user_code_launcher/user_code_launcher.py", line 1745, in _wait_for_server_process
So it seems that the actual code location is loading up ok in ECS, but the Dagster Cloud UI is throwing the above error
Any ideas?Armando Belardo
07/18/2023, 8:36 PMArmando Belardo
07/18/2023, 8:47 PMArmando Belardo
07/18/2023, 8:50 PMdetails = "DNS resolution failed for integrationscore-245446153a6ee3b4ba2775dd9f56563f89dd-3183fc.dagster-agent-mammoth-prod-029c8e04ce93.local:4000: C-ares status is not ARES_SUCCESS qtype=A name=integrationscore-245446153a6ee3b4ba2775dd9f56563f89dd-3183fc.dagster-agent-mammoth-prod-029c8e04ce93.local is_balancer=0: Domain name not found"
What's determining this URL?Armando Belardo
07/18/2023, 10:51 PM{
"taskDefinitionArn": "arn:aws:ecs:us-east-2:ACCOUNT:task-definition/server_mammoth_prod_integrations_core_ab141c3f:5",
"containerDefinitions": [
{
"name": "dagster",
"image": "<http://ghcr.io/mammothclimate/dagster_jobs:latest|ghcr.io/mammothclimate/dagster_jobs:latest>",
"repositoryCredentials": {
"credentialsParameter": "arn:aws:secretsmanager:us-east-2:ACCOUNT:secret:github_pat-7589400-nreQbj"
},
"cpu": 0,
"portMappings": [],
"essential": true,
"command": [
"dagster",
"api",
"grpc"
],
"environment": [
{
"name": "DAGSTER_CLI_API_GRPC_HOST",
"value": "0.0.0.0"
},
{
"name": "DAGSTER_CLI_API_GRPC_PORT",
"value": "4000"
},
Armando Belardo
07/18/2023, 11:18 PMArmando Belardo
07/18/2023, 11:29 PMdns_hostnames
enabled, flipping that on I was able to deploy successfully