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

getting error: ["NOTICE","6370032270415795","error"] #12

Open
ralyodio opened this issue Dec 12, 2023 · 1 comment
Open

getting error: ["NOTICE","6370032270415795","error"] #12

ralyodio opened this issue Dec 12, 2023 · 1 comment

Comments

@ralyodio
Copy link

ralyodio commented Dec 12, 2023

Getting this error when trying to send an event:

getting error: ["NOTICE","6370032270415795","error"]

┌ Error: handle_connection handler error│   exception =
│    HTTP.WebSockets.WebSocketError(HTTP.WebSockets.CloseFrameBody(1002, "Websocket handshake failed"))│    Stacktrace:│     [1] handshakeerror()│       @ HTTP.WebSockets /home/ubuntu/www/follows.lol/cache/dev/HTTP.jl/src/WebSockets.jl:323│     [2] upgrade(f::Main.CacheServer.var"#5#7", http::HTTP.Streams.Stream{HTTP.Messages.Request, HTTP.ConnectionPool.Connection{Sockets.TCPSocket}}; suppress_close_error::Bool, maxframesize::Int64, maxfragmentation::Int64, kw::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})│       @ HTTP.WebSockets /home/ubuntu/www/follows.lol/cache/dev/HTTP.jl/src/WebSockets.jl:421│     [3] upgrade
│       @ /home/ubuntu/www/follows.lol/cache/dev/HTTP.jl/src/WebSockets.jl:419 [inlined]│     [4] (::HTTP.WebSockets.var"#11#12"{Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, Main.CacheServer.var"#5#7"})(http::HTTP.Streams.Stream{HTTP.Messages.Request, HTTP.ConnectionPool.Connection{Sockets.TCPSocket}})│       @ HTTP.WebSockets /home/ubuntu/www/follows.lol/cache/dev/HTTP.jl/src/WebSockets.jl:417
│     [5] #invokelatest#2│       @ ./essentials.jl:729 [inlined]│     [6] invokelatest│       @ ./essentials.jl:726 [inlined]│     [7] handle_connection(f::Function, c::HTTP.ConnectionPool.Connection{Sockets.TCPSocket}, listener::HTTP.Servers.Listener{Nothing, Sockets.TCPServer}, readtimeout::Int64, access_log::Nothing)│       @ HTTP.Servers /home/ubuntu/www/follows.lol/cache/dev/HTTP.jl/src/Servers.jl:447│     [8] (::HTTP.Servers.var"#16#17"{HTTP.WebSockets.var"#11#12"{Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, Main.CacheServer.var"#5#7"}, HTTP.Servers.Listener{Nothing, Sockets.TCPServer}, Set{HTTP.ConnectionPool.Connection}, Int64, Nothing, Base.Semaphore, HTTP.ConnectionPool.Connection{Sockets.TCPSocket}})()│       @ HTTP.Servers ./task.jl:484└ @ HTTP.Servers /home/ubuntu/www/follows.lol/cache/dev/HTTP.jl/src/Servers.jl:461
@pritk
Copy link
Member

pritk commented Dec 21, 2023

if you are trying to send nostr events to our caching service it will not work since it's not regular nostr relay. our caching service automatically fetches events from all other nostr relays where it acts as regular nostr client app. and stores/imports these events locally (in sqlite DB). fetched nostr events are processed and later provided to sofisticated nostr client apps (like Primal webapp or Primal iOS app). apps make api requests (which have similar, but not same, structure as nostr messages) to caching service.

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