Skip to content

Commit

Permalink
Switch destination hasura url config to 127.0.0.1 to avoid ipv6 (#343)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-gerber committed Mar 20, 2024
1 parent 0d618a1 commit 511d67d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .env
Expand Up @@ -36,7 +36,8 @@ DATABASE_DB=airbyte
DATABASE_URL=jdbc:postgresql://faros-db:5432/airbyte
# Host must correspond to the service name running webapp
AIRBYTE_URL=http://airbyte-webapp:80
AIRBYTE_DESTINATION_HASURA_URL=http://localhost:8080
# Switched to 127.0.0.1 instead of localhost avoid IPv6 resolution by Node
AIRBYTE_DESTINATION_HASURA_URL=http://127.0.0.1:8080

############################## Hasura #########################################
HASURA_DB_NAME=hasura
Expand Down
3 changes: 2 additions & 1 deletion kube/base/faros/config/.env
Expand Up @@ -36,7 +36,8 @@ DATABASE_DB=airbyte
DATABASE_URL=jdbc:postgresql://faros-db:5432/airbyte
# Host must correspond to the service name running webapp
AIRBYTE_URL=http://airbyte-webapp:80
AIRBYTE_DESTINATION_HASURA_URL=http://localhost:8080
# Switched to 127.0.0.1 instead of localhost avoid IPv6 resolution by Node
AIRBYTE_DESTINATION_HASURA_URL=http://127.0.0.1:8080

############################## Hasura #########################################
HASURA_DB_NAME=hasura
Expand Down

0 comments on commit 511d67d

Please sign in to comment.