I am getting Workspace does NOT exist error while trying to connect in Codespaces using edge
Switched to FIrefox, Got some warning about "Creating Recover Container"
VSCode opened in Codespaces. But SQLTools is not yet installed. And the Postgre SQL is not yet connected.
Need more detailed/updated trouble-shooting instructions on connecting to Codespaces and connecting to Postgre
Claude-Sonnet 4.5 chat below:
I'll help you connect to the PostgreSQL database. The setup-postgresql.sql file is a script that creates tables and data. Let me check the PostgreSQL service and connect to the database.
psql -U postgres -l
.devcontainer
Let me check the dev container configuration to understand the database setup:
Now let me check the startup script to see how the database is initialized:
startup.sh
Perfect! Now I can see the PostgreSQL database is running in a separate container. Let me connect to it using the credentials from the docker-compose file:
Let me try using the SQLTools extension that's already configured in the dev container. I'll check if there's an existing connection:
Perfect! The SQLTools connection is already configured. Now I'll connect to the PostgreSQL database using the SQLTools extension:
Running command Open SQLTools view
Running command Connect to PostgreSQL Database >>>> The agent is stuck spinning here
This codespace is currently running in recovery mode due to a configuration error. Please review the creation logs, update your dev container configuration as needed, and run the "Rebuild Container" command to rectify.
I am getting Workspace does NOT exist error while trying to connect in Codespaces using edge
Switched to FIrefox, Got some warning about "Creating Recover Container"
VSCode opened in Codespaces. But SQLTools is not yet installed. And the Postgre SQL is not yet connected.
Need more detailed/updated trouble-shooting instructions on connecting to Codespaces and connecting to Postgre
Claude-Sonnet 4.5 chat below:
I'll help you connect to the PostgreSQL database. The setup-postgresql.sql file is a script that creates tables and data. Let me check the PostgreSQL service and connect to the database.
psql -U postgres -l
.devcontainer
Let me check the dev container configuration to understand the database setup:
Now let me check the startup script to see how the database is initialized:
startup.sh
Perfect! Now I can see the PostgreSQL database is running in a separate container. Let me connect to it using the credentials from the docker-compose file:
Let me try using the SQLTools extension that's already configured in the dev container. I'll check if there's an existing connection:
Perfect! The SQLTools connection is already configured. Now I'll connect to the PostgreSQL database using the SQLTools extension:
Running command
Open SQLTools viewRunning command
Connect to PostgreSQL Database>>>> The agent is stuck spinning hereThis codespace is currently running in recovery mode due to a configuration error. Please review the creation logs, update your dev container configuration as needed, and run the "Rebuild Container" command to rectify.