Uploaded image for project: 'Help-Coaches-Desk'
  1. Help-Coaches-Desk
  2. HELC-697

FIWARE.Request.Coach.FABulous.Re: Cannot get access token

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Component/s: FABulous
    • Labels:
      None

      Description

      Hi there pasquale,

      Thanks for your fast Response.
      I am afraid its something related to my account (info@carbonbyte.com) not
      having access rights to use object storage anymore.

      Everything was going ok since last fiware updates.

      I read latest emails and tried to upgrade my account to a community one,
      but i always end receiving an email starting with this text:

      " Spam detection software, running on the system "fiware-forge-01", has
      identified this incoming email as possible spam. The original message
      has been attached to this so you can view it (if it isn't spam) or label
      similar future email. If you have any questions, see
      @@CONTACT_ADDRESS@@ for details.

      Content preview: Message Title FW External User commented on FLUA-491
      FIWARE
      LAB Upgrade Account / FLUA-491 ARAG3DP Issue Type: UpgradeAccount
      Assignee:
      Pasquale Vitale Components: FABulous Created: 07/May/15 6:58 PM Reporter:
      FW External User Status: In Progress [...]

      Content analysis details: (4.6 points, 4.5 required)

      pts rule name description
      ---- ----------------------
      --------------------------------------------------
      2.3 FSL_HELO_BARE_IP_1 FSL_HELO_BARE_IP_1
      0.0 TVD_RCVD_IP4 TVD_RCVD_IP4
      0.0 TVD_RCVD_IP TVD_RCVD_IP
      1.5 SUBJ_ALL_CAPS Subject is all capitals
      1.2 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO
      -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
      [score: 0.0000]
      0.0 HTML_MESSAGE BODY: HTML included in message
      0.7 MIME_HTML_ONLY BODY: Message only has text/html MIME parts
      0.8 RDNS_NONE Delivered to internal network by a host with no
      rDNS

      The original message was not completely plain text, and may be unsafe to
      open with some email clients; in particular, it may contain a virus,
      or confirm that your address can receive spam. If you wish to view
      it, it may be safer to save it to a file and open it with an editor.
      "

      I supose when I achieve to upgrade my account i'll have access to the
      object storage again, but i am afraid i don't know if i could do anything
      else to avoid my upgrade form being detected as spam....

      Thanks!
      Miquel
      El 08/05/2015 16:36, "Pasquale Vitale" <pvitale@eng.it> escribió:

      > Hi Miquel,
      > the steps are these (but if you have got the "401 Unauthorized" status,
      > probably they are assigning new resources and you cannot access to fiware
      > lab.
      > Let me know if you can access in to fiware lab):
      >
      > 1. Initial Token (POST)
      > header: content-type = aplication/json
      > body: {"auth": {"passwordCredentials":

      {"username":"your_email", > "password":"your_password"}

      }}
      > url: https://cloud.lab.fiware.org/keystone/v2.0/tokens
      >
      > retrieve the token id "TOKEN_ID*" *(Ex:
      > A1lEWgTJjyi_Gdafoc1L2oCsGYbCMGXi_-b0Vh6QOC0gLiIWWGkSrSKJ7V86dgJsqvWExy4QvK521QviTiQNyw)
      >
      > 2. Tenant (GET)
      > header: x-auth-token = TOKEN_ID
      > url: https://cloud.lab.fiware.org/keystone/v2.0/tenants
      >
      > retrieve the token id "TENANT_ID" (Ex: 00000000000000000000000000000460)
      >
      > 3. Token for Object Storage (POST)
      > header: content-type = aplication/json
      > body: {"auth": {"passwordCredentials":

      {"username":"your_email", > "password":"your_password"}

      ,"tenantName":"TENANT_ID"}}
      > url: https://cloud.lab.fiware.org/keystone/v2.0/tokens
      >
      > *retrieve the token for Object Storage "ID" *(Ex:
      > 3a5cffde6dddec7691a22e182f4e28de)
      >
      > 4. Call (GET) - list of object storage
      > header: X-Auth-Token = 3a5cffde6dddec7691a22e182f4e28de
      > header: Accept = application/cdmi-object
      > header: X-CDMI-Specification-Version= 1.0.1
      >
      > url:
      > https://cloud.lab.fiware.org/Spain/object-store/v1/AUTH_00000000000000000000000000000460/
      >
      > retrive the list
      >
      > * of object storage *Regards,
      > Pasquale
      > Il 07/05/2015 18:38, Miquel Ferrer ha scritto:
      >
      > I suppose i must have missed one warning email or something, but all of a
      > sudden i cannot get my access token to access Object Storage.
      >
      > By the way, i am in spain.
      >
      > Here is what I do:
      >
      > 1.- I get the initial token
      > POST http://cloud.lab.fi-ware.org:4730/v2.0/tokens
      > sending
      > {
      > "auth": {"passwordCredentials":{"username": "[MY_USERNAME]",
      > "password":"[MY_PASSWORD]"}}
      > }
      >
      > 2.- I get the tenant id by calling
      > GET http://cloud.lab.fi-ware.org:4730/v2.0/tenants
      > including the header X-auth-token filled with the access->token->id from
      > the previous call result
      >
      > this returns a list of tenants, i get my tenant id, that has a format
      > like so:
      > 0000000000000000000000000000XXXX
      >
      > 3.- I try to get the access token to be used later on the Object Storage
      > GE calling
      > POST http://cloud.lab.fi-ware.org:4730/v2.0/tokens
      > including the header Content-Type : application/json
      > sending
      > {
      > "auth":
      > {
      > "tenantName": "[MY_TENANT_ID]",
      > "passwordCredentials":
      >

      {"username": "[MY_USERNAME]", "password": "[MY_PASSWORD]"}

      > }
      > }
      >
      > and the error occurs....
      > {"error": {"message": "The request you have made requires
      > authentication.", "code": 401, "title": "Unauthorized"}}
      >
      > I've tried to use the other tenant id i received on step 2 with the same
      > result
      >
      > also, including the X-auth-token header doesn't make a change.
      >
      >
      > What could i possibly be doing wrong?
      >
      > Thanks!
      >
      >
      >
      >
      >
      >
      >
      > Edificio M3 · Planta 1 Oficina 107 · C/ Adaja 10 · 37185 · Villamayor (
      > Salamanca)
      >
      >
      >
      > _______________________________________________
      > Fiware-fabulous-coaching mailing listFiware-fabulous-coaching@lists.fi-ware.orghttps://lists.fi-ware.org/listinfo/fiware-fabulous-coaching
      >
      >
      >
      > _______________________________________________
      > Fiware-fabulous-coaching mailing list
      > Fiware-fabulous-coaching@lists.fi-ware.org
      > https://lists.fi-ware.org/listinfo/fiware-fabulous-coaching
      >
      >

      _______________________________________________
      Fiware-fabulous-coaching mailing list
      Fiware-fabulous-coaching@lists.fi-ware.org
      https://lists.fi-ware.org/listinfo/fiware-fabulous-coaching

      [Created via e-mail received from: Miquel Ferrer <miquel@carbonbyte.com>]

        Activity

        fw.ext.user FW External User created issue -
        mev Manuel Escriche made changes -
        Field Original Value New Value
        Component/s FABulous [ 10359 ]
        mev Manuel Escriche made changes -
        Assignee Pasquale Vitale [ pasquale.vitale ]
        pasquale.vitale Pasquale Vitale made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        pasquale.vitale Pasquale Vitale made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        pasquale.vitale Pasquale Vitale made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        backlogmanager Backlog Manager made changes -
        Summary Re: [Fiware-fabulous-coaching] Cannot get access token FIWARE.Request.Coach.FABulous.Re: Cannot get access token
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        6d 19h 14m 1 Pasquale Vitale 15/May/15 12:28 PM
        In Progress In Progress Answered Answered
        54d 4h 34m 1 Pasquale Vitale 08/Jul/15 5:03 PM
        Answered Answered Closed Closed
        5s 1 Pasquale Vitale 08/Jul/15 5:03 PM

          People

          • Assignee:
            pasquale.vitale Pasquale Vitale
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: