[Fiware-lab-help] Issues with authentication to FI-ware cloud

Andrea Orler andrea.orler at gmail.com
Fri May 22 16:00:34 CEST 2015


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 at dit.upm.es>
ha scritto:

> Hi Andrea,
>
> I don’t fully understand your issue. Which request are you performing?
>
> BR
> --
> Álvaro
>
> El 22 May 2015, a las 13:14, Sándor Laki <laki.sandor at wigner.mta.hu>
> escribió:
>
>  Dear Alvaro,
>
> Could you please have look at this issue? Andrea's username is
> andrea.orler at gmail.com
>
> Deatils:
> 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.
>
> Best,
> Sandor
>
> 2015.05.22. 10:49 keltezéssel, Sándor Laki írta:
>
> 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
>
>
>
> --
> 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/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20150522/c89cd8cb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: runserver.png
Type: image/png
Size: 134722 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20150522/c89cd8cb/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: object_storage.py.png
Type: image/png
Size: 134330 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20150522/c89cd8cb/attachment-0001.png>


More information about the Fiware-lab-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy