这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@ecthiender
Copy link
Contributor

Description

See issue #1619 . This was because the server was sending the wrong payload.

What component does this PR affect?

  • Server
  • Console
  • CLI
  • Docs
  • Community Content
  • Build System

Requires changes from other components? If yes, please mark the components:

  • Server
  • Console
  • CLI
  • Docs
  • Community Content
  • Build System

Related Issue

#1619

Solution and Design

The server was sending the websocket (apollo protocol) payload over http to the remote server. It should send the http payload.

Type

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Docs update
  • Community content

Checklist:

  • I have read the contributing guide and my code conforms to the guidelines.
  • This change requires a change in the documentation.
  • I have updated the documentation accordingly.
  • I have added required tests.

  Fix bug where remote schema queries/mutations would not work over
  websocket. Error would be returned from the remote server. This is
  because the server was sending wrong payload to the remote servers.
@ecthiender ecthiender added the c/server Related to server label Feb 18, 2019
@ecthiender ecthiender requested a review from 0x777 as a code owner February 18, 2019 16:08
@ecthiender ecthiender self-assigned this Feb 18, 2019
-- try to parse the (apollo protocol) websocket frame and get only the
-- payload
sockPayload <- onLeft (J.eitherDecode msgRaw) $
const $ withComplete $ sendConnErr "invalid websocket payload"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be an internal error as we already parsed the request successfully?

@0x777 0x777 merged commit d9882fc into hasura:master Mar 5, 2019
@hasura-bot
Copy link
Contributor

Review app https://hge-ci-pull-1621.herokuapp.com is deleted

hasura-bot pushed a commit that referenced this pull request Feb 10, 2025
<!-- The PR description should answer 2 important questions: -->

### What

Fixes the last of the relationships tests for OpenDD.

V3_GIT_ORIGIN_REV_ID: 7dbee1c408077f065edf0f9a02826ebebe79663b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c/server Related to server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants