You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run the final command to link your local machine to the instance. edgedb instance link ...
Expected Result:
The command completes successfully.
Actual Result: edgedb error: ClientConnectionFailedError: cannot establish connection for 30s: timed out
Looking at the edgedb container logs on Azure shows the following error.
az container attach --resource-group=Development --name=facet-test-edgedb
Container 'facet-test-edgedb' is in state 'Waiting'...
Container 'facet-test-edgedb' is in state 'Running'...
(count: 1) (last timestamp: 2022-12-30 19:01:29+00:00) pulling image "edgedb/edgedb@sha256:97ce358852cfd87a891423efe9f5abb8e864612b15286cb8d320d10b03ab9f3a"
(count: 1) (last timestamp: 2022-12-30 19:01:46+00:00) Successfully pulled image "edgedb/edgedb@sha256:97ce358852cfd87a891423efe9f5abb8e864612b15286cb8d320d10b03ab9f3a"
(count: 3) (last timestamp: 2022-12-30 19:02:41+00:00) Started container
(count: 3) (last timestamp: 2022-12-30 19:02:47+00:00) Killing container with id 8ddec737e4d4a197474ce6f42da19229395c09c9b4ebceaca0e8711a23ac336a.
Start streaming logs:
================================================================
ERROR
-----
The EdgeDB instance at the specified location is not initialized
and superuser password has not been specified. Please set either
the EDGEDB_SERVER_PASSWORD or the EDGEDB_SERVER_PASSWORD_FILE
environment variable to a non-empty value.
For example:
$ docker run -e EDGEDB_SERVER_PASSWORD_FILE=/pass edgedb/edgedb
Alternatively, if doing local development and database security
is not a concern, set the EDGEDB_SERVER_SECURITY environment
variable to 'insecure_dev_mode' value, which would disable
password authentication and let this EdgeDB server use a self-
signed TLS certificate.
Problem
The problem is that the second az container create command in the guide is missing the EDGEDB_SERVER_PASSWORD environment variable.
Solution
az container create \
--resource-group $GROUP \
--name edgedb-container-group \
--image edgedb/edgedb \
--dns-name-label edgedb \
--ports 5656 \
--secure-environment-variables \
"EDGEDB_SERVER_PASSWORD=$PASSWORD" \ <-------- This is missing from the guide.
"EDGEDB_SERVER_BACKEND_DSN=$DSN" \
"EDGEDB_SERVER_TLS_KEY=$key" \
--environment-variables \
"EDGEDB_SERVER_TLS_CERT=$cert"
If you run the fixed command above, everything works as expected.
The text was updated successfully, but these errors were encountered:
Steps to Reproduce:
edgedb instance link ...
Expected Result:
The command completes successfully.
Actual Result:
edgedb error: ClientConnectionFailedError: cannot establish connection for 30s: timed out
Looking at the edgedb container logs on Azure shows the following error.
Problem
The problem is that the second
az container create
command in the guide is missing the EDGEDB_SERVER_PASSWORD environment variable.Solution
If you run the fixed command above, everything works as expected.
The text was updated successfully, but these errors were encountered: