Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postgres Database Connection Issue #6

Closed
WingZer0o opened this issue May 9, 2024 · 4 comments
Closed

Postgres Database Connection Issue #6

WingZer0o opened this issue May 9, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@WingZer0o
Copy link
Member

at Connection.#readMessage (https://deno.land/x/[email protected]/connection/connection.ts:186:13)
0|chatbot  |     at eventLoopTick (ext:core/01_core.js:168:7)
0|chatbot  |     at async Connection.#preparedQuery (https://deno.land/x/[email protected]/connection/connection.ts:953:25)
0|chatbot  |     at async Connection.query (https://deno.land/x/[email protected]/connection/connection.ts:979:18)
0|chatbot  |     at async PoolClient.#executeQuery (https://deno.land/x/[email protected]/client.ts:256:12)
0|chatbot  |     at async PoolClient.queryArray (https://deno.land/x/[email protected]/client.ts:339:12)
0|chatbot  | error: Uncaught (in promise) ConnectionError: The session was terminated unexpectedly
0|chatbot  |       throw new ConnectionError("The session was terminated unexpectedly");
0|chatbot  |             ^
0|chatbot  |     at Connection.#readMessage (https://deno.land/x/[email protected]/connection/connection.ts:186:13)
0|chatbot  |     at eventLoopTick (ext:core/01_core.js:168:7)
0|chatbot  |     at async Connection.#preparedQuery (https://deno.land/x/[email protected]/connection/connection.ts:953:25)
0|chatbot  |     at async Connection.query (https://deno.land/x/[email protected]/connection/connection.ts:979:18)
0|chatbot  |     at async PoolClient.#executeQuery (https://deno.land/x/[email protected]/client.ts:256:12)
0|chatbot  |     at async PoolClient.queryArray (https://deno.land/x/[email protected]/client.ts:339:12)
@WingZer0o WingZer0o added the bug Something isn't working label May 9, 2024
@WingZer0o
Copy link
Member Author

denodrivers/postgres#483

@WingZer0o
Copy link
Member Author

@WingZer0o
Copy link
Member Author

Should just try with a local database. This schema will need to be recreated.

@WingZer0o
Copy link
Member Author

I switched him over to a new database locally on the Ubuntu machine instead of the cloud database service Neon. I went to the bar and grabbed a beer for about 45-50 minutes and he still works. I will close this for now and update the ticket as needed. The timeout was occurring every 20-25 minutes prior to local install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant