nsecbunkerd icon indicating copy to clipboard operation
nsecbunkerd copied to clipboard

Keys show up, and can "unlock" but cannot connect to nsecbunkerd

Open vcavallo opened this issue 1 year ago • 7 comments

Docker logs indicate that the processes are running correctly.
I get my connection string and can "log in" at https://app.nsecbunker.com.
I can add a key, set up a passphrase; I get the DM to my npub, etc. But when I go to "Keys" in the UI I get:

Loading...

---

This is taking longer than expected.
Retrying 1/3, 2/3, 3/3

---

Unreachable nsecBunker

The nsecBunker is not reachable. Please make sure it is running and try again.
Keep in mind:

The nsecBunker only responds to the designated administrator keys;
👉 are you certain you are using the correct npub in this browser to try to reach it?
  • I'm using the Alby extension and I have the correct npub connected, and have allowed all permissions for the site
  • I have opened up UFW ports

I'm not sure if the instructions are just a little sparse, if i'm doing something wrong, or if this docker container (or the app.nsecbunker.com UI) is broken.

vcavallo avatar Apr 16 '24 18:04 vcavallo

Might be worth mentioning: in Alby, I "imported nostr keys"?

vcavallo avatar Apr 16 '24 18:04 vcavallo

I've destroyed all the docker images and rebuit, re-migrated, etc. same issue.

vcavallo avatar Apr 16 '24 18:04 vcavallo

docker logs:

 ✔ Container nsecbunkerd-migrations-1   Created                                                            0.2s
 ✔ Container nsecbunkerd-nsecbunkerd-1  Created                                                            0.1s
Attaching to migrations-1, nsecbunkerd-1
nsecbunkerd-1  | ✅ adminNpubs: <my npub>
nsecbunkerd-1  |
nsecbunkerd-1  |
nsecbunkerd-1  | nsecBunker connection string:
nsecbunkerd-1  |
nsecbunkerd-1  | <my bunker connection string>
nsecbunkerd-1  |
nsecbunkerd-1  |
nsecbunkerd-1  | ✅ Connected to wss://relay.damus.io
nsecbunkerd-1  | ✅ Connected to wss://relay.nsecbunker.com
nsecbunkerd-1  | 🔑 Starting keys []
nsecbunkerd-1  | ✅ nsecBunker ready to serve requests.
nsecbunkerd-1  | ✅ nsecBunker Admin Interface ready
migrations-1   | Prisma schema loaded from prisma/schema.prisma
migrations-1   | Datasource "db": SQLite database "nsecbunker.db" at "file:/home/<my-user>/.nsecbunker-config/nsecbunker.db"
migrations-1   |
migrations-1   | SQLite database nsecbunker.db created at file:/home/<my-user>/.nsecbunker-config/nsecbunker.db
migrations-1   |
migrations-1   | 22 migrations found in prisma/migrations
migrations-1   |
migrations-1   | Applying migration `20230503095726_init`

///// <more migrations here>

migrations-1   |   └─ 20240101221607_add_domain/
migrations-1   |     └─ migration.sql
migrations-1   |
migrations-1   | All migrations have been successfully applied.
migrations-1 exited with code 0

notably, the docker logs show nothing at all when accessing the UI.

Ninja Edit: I just noticed "starting keys" is empty.... looking into it.

**Also noticing that although the logs report "SQLite database nsecbunker.db created at file:/home//.nsecbunker-config/nsecbunker.db", that file doesn't actually exist on my filesystem.

vcavallo avatar Apr 16 '24 18:04 vcavallo

Also, I'm mapping like this:

ports:
  - "3333:3000"

Because this machine already has 3000 occupied. I'm guessing that is a problem.

Edit: I've tried resetting the port mapping back to 3000:3000 - same issue.

vcavallo avatar Apr 16 '24 19:04 vcavallo

i've the same issue

JulsKawa avatar Apr 26 '24 13:04 JulsKawa

This project is looking slightly abandoned...

vcavallo avatar Apr 26 '24 15:04 vcavallo

Got the same issue and yea.. looks like this project is abandoned

mroxso avatar Jul 19 '24 17:07 mroxso