_7eo.
_7eo.
NNovu
Created by _7eo. on 8/16/2024 in #💬│support
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": "wss://novu.aadim.org.ar: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"}
1 replies
NNovu
Created by _7eo. on 8/5/2024 in #💬│support
headless socket
trying to implement socket give me this error testing with postman. Any ideas? Error: Unexpected server response: 200 Handshake Details Request URL: https://novu.aadim.org.ar/socket.io/?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2NjI2OTcxMzZlNGZmNzRiZWY0OTNmMmYiLCJmaXJzdE5hbWUiOiJMZW9uYXJkbyIsImxhc3ROYW1lIjoiRmVycmFybyIsIm9yZ2FuaXphdGlvbklkIjoiNjU3OWQ0NzIxOWI1NTQzMmQxODIwMTJkIiwiZW52aXJvbm1lbnRJZCI6IjY1NzlkNDcyMTliNTU0MzJkMTgyMDEzMyIsInN1YnNjcmliZXJJZCI6IjY2MjY5NzEzMzU5MTU4ZDJhY2UxMDdkYyIsImlhdCI6MTcyMjg4Mjc1NCwiZXhwIjoxNzI0MTc4NzU0LCJhdWQiOiJ3aWRnZXRfdXNlciIsImlzcyI6Im5vdnVfYXBpIn0.3u2vmBYrVl_G7SlWTLUipxn3JmZr58v3Pfr7whU09aY&EIO=4&transport=websocket Request Method: GET Status Code: 200 OK Request Headers Sec-WebSocket-Version: 13 Sec-WebSocket-Key: xJdeJWs9d7S85IwupT4XBg== Connection: Upgrade Upgrade: websocket Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits Host: novu.aadim.org.ar Response Headers Date: Mon, 05 Aug 2024 18:32:56 GMT Server: Apache Content-Type: text/html; charset=utf-8 Content-Length: 12 Content-Security-Policy: default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests Cross-Origin-Embedder-Policy: require-corp Cross-Origin-Opener-Policy: same-origin Cross-Origin-Resource-Policy: same-origin X-DNS-Prefetch-Control: off X-Frame-Options: SAMEORIGIN Strict-Transport-Security: max-age=15552000; includeSubDomains X-Download-Options: noopen X-Content-Type-Options: nosniff Origin-Agent-Cluster: ?1 X-Permitted-Cross-Domain-Policies: none Referrer-Policy: no-referrer X-XSS-Protection: 0 Access-Control-Allow-Origin: * ETag: W/"c-Lve95gjOVATpfV8EL5X4nxwjKHE"
5 replies
NNovu
Created by _7eo. on 8/2/2024 in #💬│support
Headless Service
How can i get all notifications count?
3 replies
NNovu
Created by _7eo. on 5/24/2024 in #💬│support
feed id
how i get feedid from notification in novu headless?
8 replies
NNovu
Created by _7eo. on 5/23/2024 in #💬│support
headless pagination
can we get all notifications without pagination with novu headless?
9 replies
NNovu
Created by _7eo. on 5/16/2024 in #💬│support
In-App Title
Can we add In-App title somewhere?
7 replies
NNovu
Created by _7eo. on 5/7/2024 in #💬│support
Notification center
backendUrl setting to an http novu self hosting url give me cors error
6 replies
NNovu
Created by _7eo. on 5/4/2024 in #💬│support
CORS problem with backend http url
How can avoid cors problem with http backend url using NotificationContext in Client side?
22 replies
NNovu
Created by _7eo. on 5/4/2024 in #💬│support
CORS problem with backend http url
How can avoid cors problem with http backend url?
9 replies
NNovu
Created by _7eo. on 5/2/2024 in #💬│support
HeadlessService
where can config my backend url when calling HeadlessService?
6 replies
NNovu
Created by _7eo. on 4/30/2024 in #💬│support
Self hosting via https
can i config novu via https?. With nginx for example.
13 replies
NNovu
Created by _7eo. on 4/12/2024 in #💬│support
tenant on self hosting
is tenant option enabled on self hosting novu?
14 replies
NNovu
Created by _7eo. on 4/8/2024 in #💬│support
Custom SMS Provider
I have a custom provider whos url is like this: http://servicio.smsmasivos.com.ar/enviar_sms.asp?api=1&apikey=[YOURAPIKEY]&tos=1144445555&texto=Mensaje I tried to configure Generic SMS whit this data but i couldn't. Is this posible?
5 replies
NNovu
Created by _7eo. on 4/5/2024 in #💬│support
Update Mongo DB on Docker Container
I need to upgrade novu and i read that is mandatory run migrations. how can i run migrations over a docker container mongo db?
13 replies
NNovu
Created by _7eo. on 12/21/2022 in #🚀│general
Building API Docker Image
I am getting this error when I want to create a docker image for the api with de Dockerfile. The command I'm running is the following: docker build -t api . The error it gives me is: => ERROR [dev 1/11] COPY ./meta . 0.0s => ERROR [dev 2/11] COPY ./deps . 0.0s => ERROR [dev 3/11] COPY ./pkg . 0.0s => ERROR [prod 2/5] COPY ./meta . 0.0s Can somebody help me? thank you!!
6 replies