0

This error message will appear when the system is connecting, but sometimes it is good and sometimes it is abnormal. I use Angular & apollo-angular to connect.

  const ws = new WebSocketLink({
    uri:'wss://XXX.XXX.XXX.XXX/v1/graphql',
    options:{
      reconnect:true,
      lazy: true,
      connectionParams: {
        headers: {
          "x-hasura-admin-secret": "XXXXXX"
        }
      }
    },

  });

I try to use "lazy: true", but it failure.

Bryant
  • 1
  • 1

0 Answers0