Prisma1: Subscriptions result in opcode -1

Created on 28 Feb 2018  路  5Comments  路  Source: prisma/prisma1

Bug Report

Current behavior

Creating subscription connections fails, and results in opcode -1.

Reproduction

https://github.com/moritzmorgenroth/prisma_subscription_issue

Expected behavior?

It works.

aresubscriptions bu2-confirmed

All 5 comments

I have same problem, 2 variants:

  1. On http://..:4466 is OK, but http://..:4000 Opcode -1
  2. On https:// website subscriptions via apollo-client OK, but when open many tabs will receive opcode -1 too (not right away). When i close other tab and reload tab with opcode, OK again.

Please open a new issue and provide a reproduction :slightly_smiling_face:

@marktani i understood. I have site on https://domain/ and rewrite api on port 4000 by rule /api/ => / :4000
When i open playground on https://domain/api/ payload setted to https://domain/ I do add /api/ and all OK, but ws-requests still sending on root
_077
I think it's issue for playground

Yes, that's looks like an issue in the Playground, please post it here: https://github.com/graphcool/graphql-playground 馃檪

@marktani , done.
Excuse for troubling

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MitkoTschimev picture MitkoTschimev  路  3Comments

sedubois picture sedubois  路  3Comments

akoenig picture akoenig  路  3Comments

dohomi picture dohomi  路  3Comments

sorenbs picture sorenbs  路  3Comments