denoland/showcase_chat

showcase-chat.deno.dev is broken

thomas3577 opened this issue · 2 comments

image
That's all I see.

I have slimar issue in my local.(Intel Mac)
Screenshot 2022-11-07 at 22 12 51

I followed the steps in this guide to set up a local environment but I got error about Postgres connection.
I'm not sure if my case has the same cause as the original.

There is console messages.

ryota.murakami@MacBook-Pro ~/r/showcase_chat (main)> deno task start
Task start deno run -A --watch=static/,routes/ dev.ts
Watcher Process started.
The manifest has been generated for 8 routes and 2 islands.
Listening on http://localhost:8000/
Sending fatal alert BadCertificate
TLS connection failed with message: invalid peer certificate contents: invalid peer certificate: UnsupportedCertVersion
Defaulting to non-encrypted connection
An error occurred during route handling or page rendering. PostgresError: password authentication failed for user "postgres"
    at Connection.#authenticateWithSasl (https://deno.land/x/postgres@v0.16.1/connection/connection.ts:654:15)
    at async Connection.#authenticate (https://deno.land/x/postgres@v0.16.1/connection/connection.ts:547:33)
    at async Connection.#startup (https://deno.land/x/postgres@v0.16.1/connection/connection.ts:412:7)
    at async Connection.startup (https://deno.land/x/postgres@v0.16.1/connection/connection.ts:491:11)
    at async Client.connect (https://deno.land/x/postgres@v0.16.1/client.ts:220:7)
    at async ResourceLoader.load (file:///Users/ryota.murakami/repository/showcase_chat/communication/database.ts:157:5)
    at async ResourceLoader.getInstance (file:///Users/ryota.murakami/repository/showcase_chat/helpers/loader.ts:34:7)
    at async Object.handler (file:///Users/ryota.murakami/repository/showcase_chat/routes/index.tsx:16:20)
    at async https://deno.land/x/rutt@0.0.13/mod.ts:237:20
    at async Server.#respond (https://deno.land/std@0.150.0/http/server.ts:298:18)

It is back up. This issue should be closed.