Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-4877

FIWARE.Request.Tech.Security.PEP-Proxy.valid access token not found

    Details

      Description

      Created question in FIWARE Q/A platform on 20-08-2015 at 11:08
      Please, ANSWER this question AT http://stackoverflow.com/questions/32114520/wilma-pep-proxy-and-keystone-valid-access-token-not-found

      Question:
      Wilma pep proxy and keystone - valid access token not found

      Description:
      I have wilma redirecting valid requests to orion but no messages are reaching it as i always get "Access Token not found" from wilma. The account entered in wilma config file is the admin account of keystone.
      From openStack API docs i request tokens using below request.

      curl -i \
      > -H "Content-Type: application/json" \
      > -d '
      > { "auth": {
      > "identity": {
      > "methods": ["password"],
      > "password": {
      > "user": {
      > "name": "userAdmin",
      > "domain":

      { "id": "default" }

      ,
      > "password": "pw"
      > }
      > }
      > }
      > }
      > }' \
      > http://130.206.115.xxx:5000/v3/auth/tokens ; echo

      I think i get a valid token because direct requests to keystone using curl with x-auth-token work fine.

      Then i try to curl from my computer

      curl --header "X-Auth-Token:$TOKEN" <ipOfWilma>:80/v2/entities

      And get as a answer: "User token not authorized".
      Wilma reports on console

      [TOKEN] Checking token with IDM...
      User access-token not authorized
      Auth-token not found in request header

      Keystone reports the same

      "GET /v3/access-tokens/90ecf18114164f98b25668b9a940eb44 HTTP/1.1" 404

      Why am i getting this access token not found when going through wilma but not for direct requests?

      Edit: I also tried requesting domain scoped tokens but received same error.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        2h 59m 1 Backlog Manager 20/Oct/15 3:04 AM
        In Progress In Progress Answered Answered
        2h 59m 1 Backlog Manager 20/Oct/15 6:04 AM
        Answered Answered Closed Closed
        3h 1 Backlog Manager 20/Oct/15 9:04 AM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        mev Manuel Escriche made changes -
        HD-Enabler Wilma [ 10890 ]
        HD-Chapter Security [ 10841 ]
        mev Manuel Escriche made changes -
        Summary FIWARE.Request.Lab.Security.PEP-Proxy.valid access token not found FIWARE.Request.Tech.Security.PEP-Proxy.valid access token not found
        aalonsog Alvaro Alonso made changes -
        Summary [fiware-stackoverflow] Wilma pep proxy and keystone - valid access token not found FIWARE.Request.Lab.Security.PEP-Proxy.valid access token not found
        mev Manuel Escriche made changes -
        Assignee Alvaro Alonso [ aalonsog ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-20 09:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-20 09:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-20 06:05|UPDATED status: transition Answered| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-20 06:05|UPDATED status: transition Answered| # answers= 1, accepted answer= True
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-20 03:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-20 03:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-20 00:05|CREATED monitor | # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-20 00:05|CREATED monitor | # answers= 1, accepted answer= True
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            aalonsog Alvaro Alonso
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: