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

FIWARE.Question.Tech.Data.CEP.REST ouput authentication error

    Details

      Description

      Created question in FIWARE Q/A platform on 16-12-2015 at 11:12
      Please, ANSWER this question AT http://stackoverflow.com/questions/34309689/fiware-cep-proton-rest-ouput-authentication-error

      Question:
      FIWARE CEP (Proton) REST ouput authentication error

      Description:
      I'm training to send an output event from FIWARE CEP (Proton), using the REST consumer, to an ActiveMQ queue. The credential for access the ActiveMQ queue are included in the URL, as http://user:passwrd@X.X.X.X:xxxx/api/message/myqueue, but I have the following error:

      com.ibm.hrl.proton.webapp.resources.EventResource submitNewEvent
      INFO: events sent to proton runtime...
      org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
      INFO: basic authentication scheme selected
      org.apache.commons.httpclient.HttpMethodDirector processWWWAuthChallenge
      INFO: No credentials available for BASIC 'ActiveMQRealm'@X.X.X.X
      com.ibm.hrl.proton.server.executorServices.SimpleThreadFactory$ProtonExceptionHandler uncaughtException
      SEVERE: Uncaught exception in thread: Thread[4,5,main],exception: com.ibm.hrl.proton.adapters.rest.client.RESTException: com.ibm.hrl.proton.adapters.rest.client.RESTException: Could not perform POST of event instance: ...
      with request headers:
      Content-Type: text/plain
      User-Agent: Jakarta Commons-HttpClient/3.0
      Host: X.X.X.X:xxxx
      Content-Length: 389
      to consumer http://user:passwrd@X.X.X.X:xxx/api/message/myqueue, responce result: 401

      Seems like that Proton doesn't extract the credential from the URL.
      Anyone else had the same problem?

        Activity

        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        mev Manuel Escriche made changes -
        HD-Enabler CEP [ 10869 ]
        HD-Chapter Data [ 10838 ]
        TALI Fabiana Fournier made changes -
        Summary [fiware-stackoverflow] FIWARE CEP (Proton) REST ouput authentication error FIWARE.Question.Tech.Data.CEP.REST ouput authentication error
        mev Manuel Escriche made changes -
        Resolution Done [ 10000 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        mev Manuel Escriche made changes -
        Resolution Done [ 10000 ]
        Status Closed [ 6 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        mev Manuel Escriche made changes -
        Assignee Tali Yatzkar Haham [ tali ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            TALI Fabiana Fournier
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: