[ 
https://issues.apache.org/jira/browse/CAMEL-22638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18034385#comment-18034385
 ] 

Claus Ibsen commented on CAMEL-22638:
-------------------------------------

I looks like 
[http://localhost:8888/hawtio/proxy/http/127.0.0.1/8080/observe/jolokia] is 
sending empty HTTP body to platform-http-jolokia inside Camel and therefore the 
POST request is empty and jolokia returns an error causing to be a 500 response.

Hawtio send a POST with
{code:java}
{"type":"version"} {code}
That is empty when camel reads the body. So I suspect its maybe the proxy 
inside hawtio-web that does not correct send the payload, when you use local 
connection via HTTP

 

> camel-jbang - Using jolokia should allow camel hawtio to connect
> ----------------------------------------------------------------
>
>                 Key: CAMEL-22638
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22638
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jbang
>    Affects Versions: 4.15.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.17.0
>
>         Attachments: Screenshot 2025-10-31 at 13.19.47.png, Screenshot 
> 2025-10-31 at 13.22.21.png
>
>
> https://camel.zulipchat.com/#narrow/channel/352237-camel-jbang/topic/Using.20hawtio.20for.20the.20integration.20running.20inside.20Docker/with/548130737



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to