Skip to content

curl fails to connect to zilla in asyncapi.sse.proxy and asyncapi.sse.kafka.proxy examples #1417

@ankitk-me

Description

@ankitk-me

Describe the bug
When running the asyncapi.sse.proxy & asyncapi.sse.kafka.proxy examples, curl command fails to connect to zilla

To Reproduce
Steps to reproduce the behavior:

  1. Go to asyncapi.sse.proxy
  2. Start the example using ./setup.sh
  3. Trigger mentioned request:
curl -N --http2 -H "Accept:text/event-stream" -v "http://localhost:7114/events/1"
  1. See error:
% curl -N --http2 -H "Accept:text/event-stream" -v "http://localhost:7114/events/1"
                * Host localhost:7114 was resolved.
                * IPv6: ::1
                * IPv4: 127.0.0.1
                *   Trying [::1]:7114...
                * Connected to localhost (::1) port 7114
                > GET /events/1 HTTP/1.1
                > Host: localhost:7114
                > User-Agent: curl/8.7.1
                > Connection: Upgrade, HTTP2-Settings
                > Upgrade: h2c
                > HTTP2-Settings: AAMAAABkAAQAoAAAAAIAAAAA
                > Accept:text/event-stream
                >
                * Request completely sent off
                * Empty reply from server
                * Closing connection
                curl: (52) Empty reply from server

Expected behavior
Client should be able to consume events.

Next Step
Enable asyncapi.sse.proxy & asyncapi.sse.kafka.proxy example test in zilla build workflow.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions