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

example.go doesn't work #100

Open
kingstonduy opened this issue Aug 16, 2023 · 1 comment
Open

example.go doesn't work #100

kingstonduy opened this issue Aug 16, 2023 · 1 comment

Comments

@kingstonduy
Copy link

Hi I'm a window 11 user and golang beginner, at first I try to run
go run example/example.go
it returns the error panic: error opening websocket to 'wss://nostr.zebedee.cloud': failed to dial: dial tcp 24.199.71.187:443: i/o timeout
Then I change the 2 urls into "wss://relay.damus.io" but it runs endlessly an never terminates, am I doing wrong somewhere?

@fiatjaf
Copy link
Collaborator

fiatjaf commented Aug 16, 2023

It's probably stuck in a loop while fetching notes. I don't know, this example should probably be rewritten.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants