Skip to content

Not receiving response from playground  #11

Description

@ajinkya-harness

Not able to get response from the playground while testing it using a live server. The wait for response is followed by failed to fetch message.

This was the proto file

syntax = "proto3";

package connectrpc.eliza.v1;

// The ElizaService definition.
service ElizaService {
  // Sends a message and receives a response.
  rpc Say (SayRequest) returns (SayResponse) {}
}

// The request message containing the user's sentence.
message SayRequest {
  string sentence = 1;
}

// The response message containing the response from Eliza.
message SayResponse {
  string sentence = 1;
}

This was the grpc curl which works

➜  ~ grpcurl \
    -d '{"sentence": "I feel happy."}' \
    demo.connectrpc.com:443 \
    connectrpc.eliza.v1.ElizaService/Say
{
  "sentence": "Feeling happy? Tell me more."
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions