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

FIWARE.Request.Tech.Cloud.CloudPortal.Issuesauthentication

    Details

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

      Description

      Hello again!
      After 2 weeks I still have the same issues with my FI-ware app.
      Is it possible that the migration still has to be completed or is it more
      likely that I have my internal issues?

      Thanks,
      Andrea Orler

      Il giorno ven 8 mag 2015 alle ore 17:09 Andrea Orler <andrea.orler@gmail.com>
      ha scritto:

      > Thank you for the quick answer, Sàndor!
      > I got an email saying that everything was up and working, so I thought I
      > had some other problem.
      >
      > Thank you again, I appreciated!
      >
      > Andrea
      >
      > Il giorno ven 8 mag 2015 alle ore 15:26 Sándor Laki <
      > laki.sandor@wigner.mta.hu> ha scritto:
      >
      >> Dear Andrea,
      >>
      >> The migration to the new identity management component has not finished
      >> yet. Our colleagues are working on solving the issue. Please try it later
      >> this evening or tomorrow. If the problem is still there, please do not
      >> hesitate to contact us.
      >>
      >> Sorry for your inconvenience!
      >> Best regards,
      >> Sandor
      >>
      >>
      >> 2015.05.08. 14:59 keltezéssel, Andrea Orler írta:
      >>
      >> Hello!
      >>
      >> In the last few days I'm experiencing some issues with the authentication
      >> to FI-ware cloud through the APIs.
      >>
      >> I am developing a simple application based on FI-ware object storage
      >> service and it all worked (with some annoying interruption of service
      >> sometimes) until few days ago, after the last update of the Identity
      >> Manager.
      >>
      >> I changed my password today, as you requested, but I still have problems
      >> with the authentication through APIs (not via the Cloud Portal, though).
      >>
      >> I can get the token, I can get the tenant, but when requesting for the
      >> "authentication json" to http://cloud.lab.fi-ware.org:4730/v2.0/tokens,
      >> I get a 401 unauthorized status.
      >>
      >> Can you kindly tell me you something changed with the authentication or
      >> if I'm doing something wrong?
      >>
      >> Thank you very much,
      >> Andrea Orler
      >>
      >>
      >>
      >> _______________________________________________
      >> Fiware-lab-help mailing listFiware-lab-help@lists.fi-ware.orghttps://lists.fi-ware.org/listinfo/fiware-lab-help
      >>
      >>
      >>
      >> –
      >> Sándor Laki
      >> EU FP7 FI-PPP XIFI project,
      >> Wigner Research Centre for Physics,
      >> Hungarian Academy of Sciences
      >> Konkoly Thege Miklós út 29-33.
      >> H-1121, Budapest, Hungary
      >> Cell: +36 70 374 2646
      >> Skype: sandor.laki
      >>
      >> XIFI: https://fi-xifi.eu/home.html
      >> FI-PPP: http://www.fi-ppp.eu/
      >>
      >>

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

      [Created via e-mail received from: Andrea Orler <andrea.orler@gmail.com>]

      1. authentication.py
        2 kB
        FW External User
      2. requests.txt
        2 kB
        FW External User
      1. runserver.png
        132 kB
      2. object_storage.py.png
        131 kB

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        39m 9s 1 Alvaro Alonso 22/May/15 11:05 AM
        In Progress In Progress Answered Answered
        1s 1 Alvaro Alonso 22/May/15 11:05 AM
        Answered Answered Closed Closed
        1s 1 Alvaro Alonso 22/May/15 11:05 AM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        mev Manuel Escriche made changes -
        HD-Enabler Cloud Portal [ 10860 ]
        HD-Chapter Cloud [ 10837 ]
        mev Manuel Escriche made changes -
        Sender Email andrea.orler@gmail.com
        mev Manuel Escriche made changes -
        Summary FIWARE.Request.Lab.Cloud.CloudPortal.Issuesauthentication FIWARE.Request.Tech.Cloud.CloudPortal.Issuesauthentication
        mev Manuel Escriche made changes -
        Component/s FIWARE-TECH-HELP [ 10278 ]
        Component/s FIWARE-LAB-HELP [ 10279 ]
        aalonsog Alvaro Alonso made changes -
        Summary FIWARE.Request.Lab.Re: Issues with authentication to FI-ware cloud FIWARE.Request.Lab.Cloud.CloudPortal.Issuesauthentication
        backlogmanager Backlog Manager made changes -
        Summary Re: [Fiware-lab-help] Issues with authentication to FI-ware cloud FIWARE.Request.Lab.Re: Issues with authentication to FI-ware cloud
        Hide
        aalonsog Alvaro Alonso added a comment -

        Show
        aalonsog Alvaro Alonso added a comment -
        Hide
        fw.ext.user FW External User added a comment -

        Great! It worked! Thank you very much for your help, I really appreciated
        the commitment you put to solve my problem!

        Thank you again,
        Andrea

        Il giorno mar 2 giu 2015 alle ore 14:36 Álvaro Alonso <aalonsog@dit.upm.es>

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

        Show
        fw.ext.user FW External User added a comment - Great! It worked! Thank you very much for your help, I really appreciated the commitment you put to solve my problem! Thank you again, Andrea Il giorno mar 2 giu 2015 alle ore 14:36 Álvaro Alonso <aalonsog@dit.upm.es> _______________________________________________ Fiware-lab-help mailing list Fiware-lab-help@lists.fi-ware.org https://lists.fi-ware.org/listinfo/fiware-lab-help
        Hide
        fw.ext.user FW External User added a comment -

        Hi Andrea,

        many thanks!! The problem you have in the 3rd request is that you are sending the tenant id in the tenant name. You to fix it you can send:

        "auth":
        {
        "tenantName": "andrea-3 cloud",
        "passwordCredentials":

        { "username": "andrea.orler@gmail.com", "password": "***" }

        }

        or ….

        "auth":
        {
        "tenantId": "00000000000000000000000000004287",
        "passwordCredentials":

        { "username": "andrea.orler@gmail.com", "password": "***" }

        }

        Please, let me know.

        BR

        Álvaro

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

        Show
        fw.ext.user FW External User added a comment - Hi Andrea, many thanks!! The problem you have in the 3rd request is that you are sending the tenant id in the tenant name. You to fix it you can send: "auth": { "tenantName": "andrea-3 cloud", "passwordCredentials": { "username": "andrea.orler@gmail.com", "password": "***" } } or …. "auth": { "tenantId": "00000000000000000000000000004287", "passwordCredentials": { "username": "andrea.orler@gmail.com", "password": "***" } } Please, let me know. BR – Álvaro _______________________________________________ Fiware-lab-help mailing list Fiware-lab-help@lists.fi-ware.org https://lists.fi-ware.org/listinfo/fiware-lab-help
        fw.ext.user FW External User made changes -
        Attachment requests.txt [ 16045 ]
        Hide
        fw.ext.user FW External User added a comment -

        Here we are, you'll find attached a .txt with the specification of headers,
        bodies and responses of the HTTP requests.

        Thank you again,
        Andrea

        Il giorno ven 29 mag 2015 alle ore 13:30 Álvaro Alonso <aalonsog@dit.upm.es>

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

        Show
        fw.ext.user FW External User added a comment - Here we are, you'll find attached a .txt with the specification of headers, bodies and responses of the HTTP requests. Thank you again, Andrea Il giorno ven 29 mag 2015 alle ore 13:30 Álvaro Alonso <aalonsog@dit.upm.es> _______________________________________________ Fiware-lab-help mailing list Fiware-lab-help@lists.fi-ware.org https://lists.fi-ware.org/listinfo/fiware-lab-help
        Hide
        fw.ext.user FW External User added a comment -

        Hi Andrea,

        sorry to insist. But what I need is the final HTTP request your method sends. I’m not an expert in python so I can not analyse the request from the code.

        BR

        Álvaro

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

        Show
        fw.ext.user FW External User added a comment - Hi Andrea, sorry to insist. But what I need is the final HTTP request your method sends. I’m not an expert in python so I can not analyse the request from the code. BR – Álvaro _______________________________________________ Fiware-lab-help mailing list Fiware-lab-help@lists.fi-ware.org https://lists.fi-ware.org/listinfo/fiware-lab-help
        fw.ext.user FW External User made changes -
        Attachment authentication.py [ 16022 ]
        Hide
        fw.ext.user FW External User added a comment -

        Hi Álvaro!

        Thank you again for the effort you put in helping me.
        So, I'm sending you the Python class which handles the authentication
        process.
        For the HTTP requests, I'm using the Requests
        <http://docs.python-requests.org/en/latest/> library.

        Thank you again,
        Andrea Orler

        Il giorno gio 28 mag 2015 alle ore 16:00 Álvaro Alonso <aalonsog@dit.upm.es>

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

        Show
        fw.ext.user FW External User added a comment - Hi Álvaro! Thank you again for the effort you put in helping me. So, I'm sending you the Python class which handles the authentication process. For the HTTP requests, I'm using the Requests < http://docs.python-requests.org/en/latest/ > library. Thank you again, Andrea Orler Il giorno gio 28 mag 2015 alle ore 16:00 Álvaro Alonso <aalonsog@dit.upm.es> _______________________________________________ Fiware-lab-help mailing list Fiware-lab-help@lists.fi-ware.org https://lists.fi-ware.org/listinfo/fiware-lab-help
        Hide
        fw.ext.user FW External User added a comment -

        Hi Andrea,

        could you send me the request you are performing to 'http://cloud.lab.fi-ware.org:4730/v2.0/tokens' <http://cloud.lab.fi-ware.org:4730/v2.0/tokens'>

        Thanks

        Álvaro

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

        Show
        fw.ext.user FW External User added a comment - Hi Andrea, could you send me the request you are performing to 'http://cloud.lab.fi-ware.org:4730/v2.0/tokens' < http://cloud.lab.fi-ware.org:4730/v2.0/tokens '> Thanks – Álvaro _______________________________________________ Fiware-lab-help mailing list Fiware-lab-help@lists.fi-ware.org https://lists.fi-ware.org/listinfo/fiware-lab-help
        fw.ext.user FW External User made changes -
        Attachment runserver.png [ 15823 ]
        Attachment object_storage.py.png [ 15824 ]
        Hide
        fw.ext.user FW External User added a comment -

        Hi!
        Thank you for you quick answers.
        I send you a pair of screenshots to better understand the situation.
        I am developing my app with Django, a python framework.

        In "object_storage.py" you can find the script I use for authenticating
        (which is similar to the one I found here
        <https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Object_Storage_-_User_and_Programmers_Guide>),
        with
        token_host = 'http://cloud.lab.fi-ware.org:4730/v2.0/tokens'

        In "runserver" I'm initializing the app running the code in
        "object_storage.py", and I get the error you can see.

        If you need any other info, I'll be glad to give it to you.

        Thank you again, I'm very grateful!

        Andrea

        Il giorno ven 22 mag 2015 alle ore 14:50 Álvaro Alonso <aalonsog@dit.upm.es>

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

        Show
        fw.ext.user FW External User added a comment - Hi! Thank you for you quick answers. I send you a pair of screenshots to better understand the situation. I am developing my app with Django, a python framework. In "object_storage.py" you can find the script I use for authenticating (which is similar to the one I found here < https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Object_Storage_-_User_and_Programmers_Guide >), with token_host = 'http://cloud.lab.fi-ware.org:4730/v2.0/tokens' In "runserver" I'm initializing the app running the code in "object_storage.py", and I get the error you can see. If you need any other info, I'll be glad to give it to you. Thank you again, I'm very grateful! Andrea Il giorno ven 22 mag 2015 alle ore 14:50 Álvaro Alonso <aalonsog@dit.upm.es> _______________________________________________ Fiware-lab-help mailing list Fiware-lab-help@lists.fi-ware.org https://lists.fi-ware.org/listinfo/fiware-lab-help
        Hide
        fw.ext.user FW External User added a comment -

        Hi Andrea,

        I don’t fully understand your issue. Which request are you performing?

        BR

        Álvaro

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

        Show
        fw.ext.user FW External User added a comment - Hi Andrea, I don’t fully understand your issue. Which request are you performing? BR – Álvaro _______________________________________________ Fiware-lab-help mailing list Fiware-lab-help@lists.fi-ware.org https://lists.fi-ware.org/listinfo/fiware-lab-help
        Hide
        aalonsog Alvaro Alonso added a comment -

        Yes, I answer via email.

        BR

        Show
        aalonsog Alvaro Alonso added a comment - Yes, I answer via email. BR
        Hide
        sandor Sándor Laki added a comment -

        Dear Alvaro,

        Could you please have look at this issue? Andrea's username is
        andrea.orler@gmail.com

        Deatils:
        I can log in to the portal (cloud.lab.fiware.org
        <http://cloud.lab.fiware.org>), but I can not reach the object storage
        with my app through the APIs using the same user and psw.
        I can get the token, I can get the tenant, but when requesting for the
        "authentication json" to http://cloud.lab.fi-ware.org:4730/v2.0/tokens,
        I get a 401 unauthorized status.

        I experience this problem since right after migration.

        Best,
        Sandor


        Sándor Laki
        EU FP7 FI-PPP XIFI project,
        Wigner Research Centre for Physics,
        Hungarian Academy of Sciences
        Konkoly Thege Miklós út 29-33.
        H-1121, Budapest, Hungary
        Cell: +36 70 374 2646
        Skype: sandor.laki

        XIFI: https://fi-xifi.eu/home.html
        FI-PPP: http://www.fi-ppp.eu/

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

        Show
        sandor Sándor Laki added a comment - Dear Alvaro, Could you please have look at this issue? Andrea's username is andrea.orler@gmail.com Deatils: I can log in to the portal (cloud.lab.fiware.org < http://cloud.lab.fiware.org >), but I can not reach the object storage with my app through the APIs using the same user and psw. I can get the token, I can get the tenant, but when requesting for the "authentication json" to http://cloud.lab.fi-ware.org:4730/v2.0/tokens , I get a 401 unauthorized status. I experience this problem since right after migration. Best, Sandor – Sándor Laki EU FP7 FI-PPP XIFI project, Wigner Research Centre for Physics, Hungarian Academy of Sciences Konkoly Thege Miklós út 29-33. H-1121, Budapest, Hungary Cell: +36 70 374 2646 Skype: sandor.laki XIFI: https://fi-xifi.eu/home.html FI-PPP: http://www.fi-ppp.eu/ _______________________________________________ Fiware-lab-help mailing list Fiware-lab-help@lists.fi-ware.org https://lists.fi-ware.org/listinfo/fiware-lab-help
        Hide
        fw.ext.user FW External User added a comment -

        Dear Sandor,
        yes, this is the email connected to my account.
        I can log in to the portal (cloud.lab.fiware.org), but I can not reach the
        object storage with my app through the APIs using the same user and psw.
        I can get the token, I can get the tenant, but when requesting for the
        "authentication json" to http://cloud.lab.fi-ware.org:4730/v2.0/tokens, I
        get a 401 unauthorized status.

        I experience this problem since right after migration.

        Thank you,
        Andrea Orler

        Il giorno ven 22 mag 2015 alle ore 10:49 Sándor Laki <

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

        Show
        fw.ext.user FW External User added a comment - Dear Sandor, yes, this is the email connected to my account. I can log in to the portal (cloud.lab.fiware.org), but I can not reach the object storage with my app through the APIs using the same user and psw. I can get the token, I can get the tenant, but when requesting for the "authentication json" to http://cloud.lab.fi-ware.org:4730/v2.0/tokens , I get a 401 unauthorized status. I experience this problem since right after migration. Thank you, Andrea Orler Il giorno ven 22 mag 2015 alle ore 10:49 Sándor Laki < _______________________________________________ Fiware-lab-help mailing list Fiware-lab-help@lists.fi-ware.org https://lists.fi-ware.org/listinfo/fiware-lab-help
        aalonsog Alvaro Alonso made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        aalonsog Alvaro Alonso made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        aalonsog Alvaro Alonso made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        aalonsog Alvaro Alonso added a comment -

        Which problems are you facing?

        Show
        aalonsog Alvaro Alonso added a comment - Which problems are you facing?
        sandor Sándor Laki made changes -
        Component/s FIWARE-LAB-HELP [ 10279 ]
        sandor Sándor Laki made changes -
        Field Original Value New Value
        Assignee Alvaro Alonso [ aalonsog ]
        Hide
        sandor Sándor Laki added a comment -

        Dear Andrea,

        The migration to the new IdM was finished. Are you using this email
        address in the FIWARE cloud portal?
        If not, please send me your email address used there as username.

        If I understand correctly, after password change you cannot log in to
        the portal. Right? If you experienced other issues please send me asap.
        After receiving all the details, I will contact to the IdM operators to
        check your user account manually.

        Thanks,
        Sandor


        Sándor Laki
        EU FP7 FI-PPP XIFI project,
        Wigner Research Centre for Physics,
        Hungarian Academy of Sciences
        Konkoly Thege Miklós út 29-33.
        H-1121, Budapest, Hungary
        Cell: +36 70 374 2646
        Skype: sandor.laki

        XIFI: https://fi-xifi.eu/home.html
        FI-PPP: http://www.fi-ppp.eu/

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

        Show
        sandor Sándor Laki added a comment - Dear Andrea, The migration to the new IdM was finished. Are you using this email address in the FIWARE cloud portal? If not, please send me your email address used there as username. If I understand correctly, after password change you cannot log in to the portal. Right? If you experienced other issues please send me asap. After receiving all the details, I will contact to the IdM operators to check your user account manually. Thanks, Sandor – Sándor Laki EU FP7 FI-PPP XIFI project, Wigner Research Centre for Physics, Hungarian Academy of Sciences Konkoly Thege Miklós út 29-33. H-1121, Budapest, Hungary Cell: +36 70 374 2646 Skype: sandor.laki XIFI: https://fi-xifi.eu/home.html FI-PPP: http://www.fi-ppp.eu/ _______________________________________________ Fiware-lab-help mailing list Fiware-lab-help@lists.fi-ware.org https://lists.fi-ware.org/listinfo/fiware-lab-help
        fw.ext.user FW External User created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved: