Skip to content

Pulsar manager Negative initial size: -1 error #6141

Description

@roman-popenov

Following error can be seen in the logs of the pulsar manager:

18:04:02.914 [pulsar-external-web-4-5] WARN  org.eclipse.jetty.server.HttpChannel - /admin/v2/clusters
java.lang.IllegalArgumentException: Negative initial size: -1
	at java.io.ByteArrayOutputStream.<init>(ByteArrayOutputStream.java:74) ~[?:1.8.0_232]
	at org.apache.pulsar.proxy.server.AdminProxyHandler$ReplayableProxyContentProvider.<init>(AdminProxyHandler.java:150) ~[org.apache.pulsar-pulsar-proxy-2.4.2.jar:2.4.2]

It happens when the pulsar manager tries to communicate to the broker via the pulsar proxy. Proxy is working just fine when producing and consuming messages via python client code. The pulsar manager UI just spins.

Possibly similar issue to streamnative/pulsarctl#157

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugThe PR fixed a bug or issue reported a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions