i'm trying to setup a slack bot on my site.
Your deployed SSE endpoint is returning a non‑SSE response …and the browser immediately closes the connection. readyState: 2 means: EventSource.CLOSED
The browser tried to connect, got something that was NOT a valid SSE stream, and shut it down instantly. This is not a network issue. This is not a CORS issue. This is not a credentials issue. This is the browser saying: “I hit that URL, and the server did NOT give me a valid SSE stream.”
95c8c694ebafe2f0.js:1 SSE connecting... 1d233431dc2d0ddf.js:1 authProvider currentUser: Object 95c8c694ebafe2f0.js:1 Message sent. 95c8c694ebafe2f0.js:1 SSE error: Event {isTrusted: true, type: 'error', target: EventSource, currentTarget: EventSource, eventPhase: 2, …} isTrusted : true bubbles : false cancelBubble : false cancelable : false composed : false currentTarget : null defaultPrevented : false eventPhase : 0 returnValue : true srcElement : EventSource onerror : e=>console.log("SSE error:",e) onmessage : e=> {…} onopen : ()=>console.log("SSE connection opened") readyState : 2 url : "https://eldarlandslarp.appwrite.network/api/slack/stream" withCredentials : false [[Prototype]] : EventSource target : EventSource onerror : e=>console.log("SSE error:",e) onmessage : e=> {…} onopen : ()=>console.log("SSE connection opened") readyState : 2 url : "https://eldarlandslarp.appwrite.network/api/slack/stream" withCredentials : false [[Prototype]] : EventSource timeStamp : 35299.5 type : "error" [[Prototype]] : Event
Recommended threads
- Endless certificate generation cycle
Hello, when I try to add the subdomain stats.hedgehog-rp.ru, I get an infinite loop while the certificate is being generated. There are no problems with adding ...
- Realtime not working for some tables
Hi, I've got an issue where I can setup a realtime connection to listen to some tables, but some not all. I have two tables `history` and `users`. Both can be ...
- How to handle ghost accounts created by ...
Appwrite create the account with the email and send an invitation link with a secret. I am able to accept the invitation and add the account as a member on the ...