[Fiware-developer-experience] IdM callback URL issue

Alberto Martín Casado alberto.martin at bitergia.com
Thu Feb 11 11:14:17 CET 2016


Hi Jaisiel!

The fork you've made from TourGuide is one commit [1] behind master. Due to
the Keyrock image upgrade, the users, roles and permissions provision
script has changed a bit in Tourguide, and that's why you are getting the
error. Please, sync your fork with master and everything will be gone :)

Also, I would not change that in Travis. 'Npm test' runs a script that, in
order to avoid errors, first pulls all the images and then generate the
containers; by running directly 'docker-compose -f docker-compose.yml up',
it will pull and generate the containers at the same time, and it may
generate synchronization issues.

Let me know how it goes.

Best!


Alberto Martín

[1]:
https://github.com/Fiware/tutorials.TourGuide-App/commit/b482d2cd1bbd6a39984568376b566a5c0930f150

On Thu, Feb 11, 2016 at 10:27 AM, Jaisiel Santana <jaisiel at gmail.com> wrote:

> Hi!
>
> we have rebuilt the containers and the same error still appears. We made a
> fork of the project and we could replicate the error in Travis-ci
>
> https://travis-ci.org/FiwareULPGC/fiware-devguide-app/jobs/108481783#L1124
>
> In order to replicate the error we replace in .travis.yml:
>
>  * - cd $TEST_DIR && npm install && npm test*
>
> by
>
>    - *cd $COMPOSE_DIR && docker-compose -f docker-compose.yml up*
>
>
> We are really thankful for your assist and if you need to clarify
> something, don't hesitate to contact us.
>
> FIWARE ULPGC team.
>
> Jaisiel Santana.
>
> On Wed, Feb 10, 2016 at 1:03 PM, Alberto Martín Casado <
> alberto.martin at bitergia.com> wrote:
>
>> Hi again!
>>
>> As I said yesterday, we've updated the Keyrock image to the 5.1.0
>> version. We've also made some adjustments in the timing synchronization of
>> the Keyrock image, so hopefully the error you were getting is completely
>> gone.
>>
>> Please, let us know if the error still appears.
>>
>> Best!
>>
>>
>> Alberto Martín
>>
>>
>> On Tue, Feb 9, 2016 at 11:52 AM, Alberto Martín Casado <
>> alberto.martin at bitergia.com> wrote:
>>
>>> Hi!
>>>
>>> That's really strange... I'm using Debian GNU/Linux 8.1 (jessie), Docker
>>> version 1.9.1, build a34a1d5 and docker-compose version 1.5.2, build
>>> 7240ff3.
>>>
>>> In Travis tests works well also (pointing to your branch):
>>> https://travis-ci.org/Fiware/tutorials.TourGuide-App/builds/107204432
>>>
>>> There's been a release of a new version of Keyrock, and we are also
>>> about to upgrade it, but nothing should change for the client. We will let
>>> you know as soon as its ready, just in case you could not fix the issue.
>>>
>>> Best!
>>>
>>>
>>> Alberto Martín
>>>
>>> On Tue, Feb 9, 2016 at 11:22 AM, Jaisiel Santana <jaisiel at gmail.com>
>>> wrote:
>>>
>>>> Hi!
>>>>
>>>> we have tried to generate all the containers again (even from the
>>>> scratch using a new machine) and we have obtained the same error.
>>>>
>>>> We are using Ubuntu 14.04, Docker 1.8.3 and docker-compose 1.4.2.
>>>>
>>>> Which configuration are you using?
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> ULPGC team.
>>>>
>>>>
>>>> On Mon, Feb 8, 2016 at 12:00 PM, Alberto Martín Casado <
>>>> alberto.martin at bitergia.com> wrote:
>>>>
>>>>> Hi Pablo,
>>>>>
>>>>> I've been testing and I could not reproduce the issue right now, but
>>>>> it happened to me once if I remember well. The script that generates the
>>>>> 'idm2chanchan.json' was not able to access the database, which could cause
>>>>> the issue. Probably is a timing issue due to the synchronization of all the
>>>>> containers. We will have a look at it.
>>>>>
>>>>> Still, if you remove the containers and try to generate them again,
>>>>> probably you will be able to run tourguide normally (if you are working
>>>>> with volumes you should not lose any changes).
>>>>>
>>>>> Sorry for the inconvenience!
>>>>>
>>>>> Best,
>>>>>
>>>>>
>>>>> Alberto Martín
>>>>>
>>>>> On Fri, Feb 5, 2016 at 11:57 AM, Pablo Fernández Moniz <
>>>>> pablofernandezmoniz at gmail.com> wrote:
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> we are working to introduce the changes related to occupancy levels
>>>>>> and reviews identifiers and we have found that we cannot log in on the app
>>>>>> using IdM after retrieving the last modifications [idm_error.tiff]. We
>>>>>> think that it occurs because the url and the callback url are set to
>>>>>> localhost instead of the tourguide host [idm_localhost.tiff].
>>>>>>
>>>>>> During installation we noticed that the tourguide_1 failed to
>>>>>> retrieve the file '/config/idm2chanchan.json'
>>>>>> [failed_to_retrieve_idm2chanchan.json.tiff]
>>>>>>
>>>>>> We don't discard that the issue is related to the refactoring process
>>>>>> but we have revised our code and didn't find evidences of it. We have
>>>>>> pushed our code to the branch fix/client_login_idm  so you can reproduce
>>>>>> the error by yourself.
>>>>>>
>>>>>> Do you have any suggestion about what is causing this error?
>>>>>>
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> FIWARE ULPGC team.
>>>>>>
>>>>>> _______________________________________________
>>>>>> Fiware-developer-experience mailing list
>>>>>> Fiware-developer-experience at lists.fiware.org
>>>>>> https://lists.fiware.org/listinfo/fiware-developer-experience
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Fiware-developer-experience mailing list
>>>>> Fiware-developer-experience at lists.fiware.org
>>>>> https://lists.fiware.org/listinfo/fiware-developer-experience
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Fiware-developer-experience mailing list
>>>> Fiware-developer-experience at lists.fiware.org
>>>> https://lists.fiware.org/listinfo/fiware-developer-experience
>>>>
>>>>
>>>
>>
>
> _______________________________________________
> Fiware-developer-experience mailing list
> Fiware-developer-experience at lists.fiware.org
> https://lists.fiware.org/listinfo/fiware-developer-experience
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-developer-experience/attachments/20160211/bd73ddd3/attachment.html>


More information about the Fiware-developer-experience mailing list

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