Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Socket error - Novu
N
Novu
•
2y ago
_7eo.
Socket error
Hi
, I
'm a little lost with this error
. I
'm using novu headless
.
I set up my app to access ws
:
const headlessService
= new HeadlessService
(
{
applicationIdentifier
:
'huPdDEt9tm0t
'
,
subscriberId
: session
?
.user
.
_id
,
backendUrl
:
'
https://novu.aadim.org.ar/api
'
,
socketUrl
:
'
https://novu.aadim.org.ar/ws
'
,
}
)
;
The call to
https://novu.aadim.org.ar/socket.io/
answers Hello World
!
. so the ws server is taking the request
.
I set up an nginx reverse proxy server
.
I also followed the nginx recommendations to establish the socket service through a reverse proxy like this
:
But when trying to establish the connection it fails to create the object below
.
{
"uri
"
:
"
w
s
s
:
/
/novu
.aadim
.org
.
a
r
:443
/socket
.io
/
?token
=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
.eyJfaWQiOiI2NjI2OTcxMzZlNGZmNzRiZWY0OTNmMmYiLCJmaXJzdE5hbWUiOiJMZW9uYXJ kbyIsImxhc3ROYW1lIjoiRmVycmFybyIsIm9yZ2FuaXphdGlvbklkIjoiNjU3OWQ0NzIxOWI1NTQzMmQxODIwMTJkIiwiZW52aXJvbm1lbnRJ ZCI6IjY1NzlkNDcyMTliNTU0MzJkMTgyMDEzMyIsInN1YnNjcmliZXJJZCI6IjY2MjY5NzEzMzU5MTU4ZDJhY2UxMDdkYyIsImlhdCI6MTcyMzgzNjU0NiwiZXhwIjoxNzI1MTMyNTQ2LCJhdWQiOi J3aWRnZXRfdXNlciIsImlzcyI6Im5vdnVfYXBpIn0
.JCJz6l9LnGc4
_J4JyWjbbORnWLcgr3rImtVuQXuulCY
&EIO
=4
&transport
=websocket
"
,
"opts
"
:
{
"agent
"
: false
,
"perMessageDeflate
"
:
{
"threshold
"
: 1024
}
,
"rejectUnauthorized
"
: true
}
} any ideas
?
the browser says
;
socket error
{
"description
"
:
{
"isTrusted
"
:true
}
,
"type
"
:
"TransportError
"
}
Novu
Join
Open Source Notification Infrastructure Community by Novu
4,169
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
headless socket
N
Novu / 💬│support
2y ago
Socket Questions
N
Novu / 💬│support
2y ago
Socket timeout
N
Novu / 💬│support
3y ago
Novu Headless Socket
N
Novu / 💬│support
9mo ago