[AAA-36] Cannot reach IdmLight API Created: 04/Jun/15  Updated: 21/Mar/19  Resolved: 07/Jun/15

Status: Resolved
Project: aaa
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Wojciech Dec Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 3578

 Description   

IdmLight is unreachable, eg

curl -X GET -v -H "Content-type:application/json" -H 'Authorization: Bearer 10b543d9-bc81-3dcd-8382-bbcb32b5453f' http://localhost:8282/auth/v1/users

curl -X GET -v -H "Content-type:application/json" -H 'Authorization: Bearer 10b543d9-bc81-3dcd-8382-bbcb32b5453f' http://localhost:8181/auth/v1/users

All fail. 8282 is actually not setup as a jetty connector. The API doesn't respond on 8181 either though.



 Comments   
Comment by Wojciech Dec [ 04/Jun/15 ]

Confirmed.

Fix is in https://git.opendaylight.org/gerrit/21891

Comment by Ryan Goulding [ 04/Jun/15 ]

Fix works well for Lithium code base; trying master now.

[ryan@odl]$ curl -X GET -H "Content-type:application/json" http://localhost:8181/auth/v1/users

  • Adding handle: conn: 0x15be950
  • Adding handle: send: 0
  • Adding handle: recv: 0
  • Curl_addHandleToPipeline: length: 1
  • - Conn 0 (0x15be950) send_pipe: 1, recv_pipe: 0
  • About to connect() to localhost port 8181 (#0)
  • Trying ::1...
  • Connected to localhost (::1) port 8181 (#0)
    > GET /auth/v1/users HTTP/1.1
    > User-Agent: curl/7.32.0
    > Host: localhost:8181
    > Accept: /
    > Content-type:application/json
    >
    < HTTP/1.1 200 OK
    < Content-Type: application/json
    < Transfer-Encoding: chunked
  • Server Jetty(8.1.15.v20140411) is not blacklisted
    < Server: Jetty(8.1.15.v20140411)
    <
  • Connection #0 to host localhost left intact
    Unknown macro: {"users"}
Generated at Wed Feb 07 19:08:28 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.