zino-hofmann / graphql-flutter

A GraphQL client for Flutter, bringing all the features from a modern GraphQL client to one easy to use package.
https://zino-hofmann.github.io/graphql-flutter
MIT License
3.25k stars 622 forks source link

WebSocketException: Connection to 'http://*************************#' was not upgraded to websocket #1420

Open Mozammalhossainsobug opened 7 months ago

Mozammalhossainsobug commented 7 months ago
vincenzopalazzo commented 7 months ago

probabli you are using the wrong protocol?

Mozammalhossainsobug commented 7 months ago

This is working in POSTMAN, but whenever I'm integrating it within my app. It is showing the above error. I've used SigalR package to connect to the websocket.

On Thu, Apr 4, 2024 at 9:52 PM Vincenzo Palazzo @.***> wrote:

probabli you are using the wrong protocol?

— Reply to this email directly, view it on GitHub https://github.com/zino-hofmann/graphql-flutter/issues/1420#issuecomment-2037580559, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJE3S6K6XKB3NFA3CWGPS2DY3VZLFAVCNFSM6AAAAABFVF3HLSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZXGU4DANJVHE . You are receiving this because you authored the thread.Message ID: @.***>

vincenzopalazzo commented 7 months ago

This is working in POSTMAN

It is not proving that you are using the correct protocol inside your dart code, right?