-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: jboss-fuse-6.1
-
Fix Version/s: jboss-fuse-6.1, jboss-fuse-6.2
-
Component/s: Hawtio
-
Labels:None
-
Steps to Reproduce:
Prior to installing the R1P1 patch, the following curl invocation works fine.
curl -v http://joef:admin@10.0.1.3:8181/hawtio/jolokia/version
Here's the output
* About to connect() to 10.0.1.3 port 8181 (#0)
|
* Trying 10.0.1.3...
|
* Adding handle: conn: 0x7fa821803a00
|
* Adding handle: send: 0
|
* Adding handle: recv: 0
|
* Curl_addHandleToPipeline: length: 1
|
* - Conn 0 (0x7fa821803a00) send_pipe: 1, recv_pipe: 0
|
* Connected to 10.0.1.3 (10.0.1.3) port 8181 (#0)
|
* Server auth using Basic with user 'joef'
|
> GET /hawtio/jolokia/version HTTP/1.1
|
> Authorization: Basic am9lZjphZG1pbg==
|
> User-Agent: curl/7.30.0
|
> Host: 10.0.1.3:8181
|
> Accept: */*
|
>
|
< HTTP/1.1 200 OK
|
< Access-Control-Allow-Origin: *
|
< Content-Type: text/plain;charset=UTF-8
|
< Cache-Control: no-cache
|
< Pragma: no-cache
|
< Date: Mon, 29 Dec 2014 19:50:21 GMT
|
< Expires: Mon, 29 Dec 2014 18:50:21 GMT
|
< Content-Length: 235
|
* Server Jetty(8.1.14.v20131031) is not blacklisted
|
< Server: Jetty(8.1.14.v20131031)
|
<
|
* Connection #0 to host 10.0.1.3 left intact
|
{"timestamp":1419882621,"status":200,"request":{"type":"version"},"value":{"protocol":"7.1","config":{"agentType":"servlet","agentId":"192.168.122.1-9393-184416f-servlet","mbeanQualifier":"qualifier=hawtio"},"agent":"1.2.1","info":{}}}Joe-Fernandezs-iMac:metis jfernandez$
|
However, after you install the R1P1 patch, the same curl invocation produces this output:
* About to connect() to 10.0.1.3 port 8181 (#0)
|
* Trying 10.0.1.3...
|
* Adding handle: conn: 0x7ff769003a00
|
* Adding handle: send: 0
|
* Adding handle: recv: 0
|
* Curl_addHandleToPipeline: length: 1
|
* - Conn 0 (0x7ff769003a00) send_pipe: 1, recv_pipe: 0
|
* Connected to 10.0.1.3 (10.0.1.3) port 8181 (#0)
|
* Server auth using Basic with user 'joef'
|
> GET /hawtio/jolokia/version HTTP/1.1
|
> Authorization: Basic am9lZjphZG1pbg==
|
> User-Agent: curl/7.30.0
|
> Host: 10.0.1.3:8181
|
> Accept: */*
|
>
|
< HTTP/1.1 403 Forbidden
|
< Content-Length: 0
|
* Server Jetty(8.1.14.v20131031) is not blacklisted
|
< Server: Jetty(8.1.14.v20131031)
|
<
|
* Connection #0 to host 10.0.1.3 left intact
|
If you then rollback the patch, the curl command once again works fine.
- cloned to
-
ENTESB-3154 More generic solution for ENTESB-2418
-
- Closed
-
- relates to
-
ENTESB-3335 Cannot access hawtio resource without prior login
-
- Closed
-