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

FIWARE.Request.Lab.Fwd: Access Control issue with Object Storage.

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-LAB-HELP
    • Labels:
      None

      Description

      Hello,

      I am trying to connect the ObjectStorage Fiware enabler to my website on
      the frontend side. I am not using NodeJS, so i used Browserify to transform
      this promise-based version to JavaScript:

      https://github.com/renarsvilnis/fiware-object-storage-ge

      I have configured it with auth, container, user and password, but i get the
      following error. I'm sure i'm missing something, could you please help?

      XMLHttpRequest cannot load http://cloud.lab.fiware.org:4730/v2.0/tokens.
      Response to preflight request doesn't pass access control check: No '
      Access-Control-Allow-Origin' header is present on the requested resource.
      Origin 'http://localhost:8080 <http://localhost:8080/>' is therefore not
      allowed access. The response had HTTP status code 404.

      Thank you a lot for your time.

      Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
      Please, send your messages using the new domain (Fiware-lab-help@lists.fiware.org) instead of the old one.
      _______________________________________________
      Fiware-lab-help mailing list
      Fiware-lab-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-lab-help
      [Created via e-mail received from: =?UTF-8?Q?Gabriel_Cer=C3=B3n?= <gab.ceron@gmail.com>]

        Activity

        Hide
        ichulani ilknur chulani added a comment -

        Hi Kalman,

        Are you the right person to deal with Object Storage issues? Could you kindly take a look at Gab's issue or assign it to the right person?

        Thanks,

        ilknur

        Show
        ichulani ilknur chulani added a comment - Hi Kalman, Are you the right person to deal with Object Storage issues? Could you kindly take a look at Gab's issue or assign it to the right person? Thanks, ilknur
        Hide
        knagin Kenneth Nagin added a comment -

        Alvero:
        From the description it looks like this is a keystone authorization problem. Please take a look.

        --Ken.

        Show
        knagin Kenneth Nagin added a comment - Alvero: From the description it looks like this is a keystone authorization problem. Please take a look. --Ken.
        Hide
        aalonsog Alvaro Alonso added a comment -

        Hi, it seems you are trying to create the token from a web browser and CORS in Keystone is denying the request. You have to do it from server side.

        BR

        Show
        aalonsog Alvaro Alonso added a comment - Hi, it seems you are trying to create the token from a web browser and CORS in Keystone is denying the request. You have to do it from server side. BR

          People

          • Assignee:
            aalonsog Alvaro Alonso
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: