geldata / geldata/gel-examples

Deno Fresh ConnectionRefused

Open
#94 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
69
Forks
25
PR merge metrics
No merged PRs in 30d

Description

Hi,

after doing `edgedb project init` I can run `edgedb ui` and see `Count` object and all, but when I run `deno task start` and open http://localhost:8000/ I get this error:

```
A client connection error occurred; reconnecting because of "waitUntilAvailable=30000". ClientConnectionClosedError: network error: ConnectionRefused: Connection refused (os error 61)
at RawConnection._onError (https://deno.land/x/edgedb@v0.21.1/_src/rawConn.ts:110:20)
at TLSSocket.emit (https://deno.land/std@0.114.0/node/events.ts:167:20)
at https://deno.land/x/edgedb@v0.21.1/_src/adapter.deno.ts:281:16
```

Instance is supposed to be running

```
edgedb instance list
┌───────┬────────────┬───────┬─────────────┬──────────┐
│ Kind │ Name │ Port │ Version │ Status │
├───────┼────────────┼───────┼─────────────┼──────────┤
│ local │ deno_fresh │ 10701 │ 2.0+88c1706 │ running │
```

I have no idea where to look next 😊

[edit] Actually I see same thing for Remix when running `npx edgeql-js`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure by running `edgedb project init`, then `deno task start`, and opening `http://localhost:8000/`; compare this with `edgedb instance list`, which reports the instance as running. Trace the connection configuration used by the Deno Fresh example and confirm that the application connects successfully without repeated ConnectionRefused errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
deno, typescript
Domain
backend, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.