Kaustubh1204 commented on issue #266:
URL: 
https://github.com/apache/kvrocks-controller/issues/266#issuecomment-3872873191

   This seems to be a kvctl client-side issue rather than a networking problem.
   
   Observations:
   - kvctl-server listens correctly on the non-loopback IP
   - curl to http://<ip>:<port>/api/v1/namespaces works and returns valid JSON
   - kvctl -H http://<ip>:<port> fails with `unexpected end of JSON input`
   
   This error usually indicates that kvctl is attempting to unmarshal an empty 
or invalid response body.
   My suspicion is that kvctl constructs or resolves the request URL 
differently for non-127.0.0.1 hosts,
   possibly hitting an incorrect endpoint or ignoring the configured host 
internally.
   
   I’ll try to reproduce this and inspect the exact request kvctl sends.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to