Hi folks, I just got back to my weekend project an...
# orm-help
u
Hi folks, I just got back to my weekend project and wanted to see if everything still works, and sure enough my subscriptions stoped working. So I figured I just create a new test project using
prisma init ...
on the demo server and try it out there, but also there subscriptions seem to not fire. My subscription looks like this:
Copy code
subscription{
  user{
    mutation
    node{
      id
      name
    }
  }
}
The mutation that creates the user succeeds and I can query the user, but the subscription in the playground is not returning any results even though being in the state of
Listening ...
Is there a general service issue going on atm?
Also after a while of being
Listening ...
the playground gives me
Copy code
{
  "error": "Could not connect to websocket endpoint <wss://eu1.prisma.sh/[....]/dev>. Please check if the endpoint url is correct."
}
I tried the same subscription on
eu1
and
us1
as well as on a local Postgres DB in docker. Same situation: the Subscription in playground is just spinning and
Listening...
. I took a look at the network inspector. The websocket is opened, and I get a
{"type":"connection_ack"}
response, as well as many
{"type":"ka"}
(btw: they don’t stop when I stop the subscription). Not sure where to dig deeper right now.