muhozi
(Muhozi Emery)
November 26, 2018, 4:11pm
371
Hello Community,
The OCL for OpenMRS Concept lab API seems to have issues. The login endpoint (https://api.qa.openconceptlab.org/users/login/
) is returning 404(Page not found error). And access to the other endpoints returns 401(Unauthorized access)
This is blocking the front end team to keep working.
@dkayiwa @ianduncan sheriff @abulojoshua1 @collinewait @stonecoder @desmond @tittoh @cintiadr @raff
tittoh
(Titus Kipkemboi)
November 26, 2018, 4:22pm
372
I believe this is the cause.
News from ci: OCL-OUT-135 has FAILED : Manual run by Daniel Kayiwa https://ci.openmrs.org/browse/OCL-OUT-135
This was at 19:04 (GMT +3)
raff
(Rafal Korytkowski)
November 26, 2018, 5:27pm
373
@muhozi thanks for reporting. I’m on that.
1 Like
ball
(Ellen Ball)
November 26, 2018, 11:03pm
374
Unfortunately I cannot join tomorrow’s demo, but would appreciate notes or a recording.
Hopefully there will be a session to discuss OCL next week in Nairobi.
raff
(Rafal Korytkowski)
November 27, 2018, 9:47am
375
@muhozi , it should be fixed now. We’ve started resetting the DB on each redeploy on QA. It means all user accounts are deleted periodically. If you do not want to recreate a user account, you can always use admin:Admin123.
1 Like
cintiadr
(Cintia Del Rio)
November 27, 2018, 10:25am
376
Searching by ‘CORS’ in talk, one of the first hits is this one .
This is the answer of how I implemented it:
Got it.
It’s important to follow up on this kind of thing, so we can actually action on it.
None of us really understand CORS in detail, and we do not understand your app, so we need some feedback so we can actually do something about it.
This is what ended up working:
location / {
if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, OPTIONS, POST';
add_header 'Access-Control-Allo…
I made it available for PUT, GET and POST, as requested.
I can add to DELETE too, while I’m not sure if the backend is prepared to receive it.
muhozi
(Muhozi Emery)
November 27, 2018, 11:59am
377
@raff The issue is still the same. The login endpoint is returning 404
ianduncan
(Ian Duncan Abidha)
November 27, 2018, 1:50pm
378
Hello Community,
I would like to remind you that the eleventh sprint demo will start in next 15min, you can join the demo using the following Google hangout link:
https://hangouts.google.com/hangouts/_/kzauublkp5hatn45on63vx4qtye
CC: @darius @akanter @dkayiwa @ianduncan @sheriff @abulojoshua1 @muhozi @desmond @tittoh
muhozi
(Muhozi Emery)
November 27, 2018, 1:54pm
379
@raff it’s working now. Thanks.
raff
(Rafal Korytkowski)
November 27, 2018, 1:57pm
380
Yes, please go ahead! We should be already accepting it on the backend side.
akanter
(Andrew Kanter)
November 27, 2018, 5:23pm
381
Please post a link to the recording when you can
tittoh
(Titus Kipkemboi)
November 28, 2018, 7:51am
382
The DELETE method is still returning a CORS error. Is anyone looking into it? @raff
ianduncan
(Ian Duncan Abidha)
November 28, 2018, 8:15am
383
Thanks for everyone who attended the eleventh sprint demo. For those who were not able to attend the demo call here is the video record:
https://youtu.be/nCXasWQFndc
CC: @darius @akanter @dkayiwa @muhozi @sheriff @abulojoshua1 @collinewait @stonecoder @desmond @tittoh @c.antwi
ianduncan
(Ian Duncan Abidha)
November 28, 2018, 8:45am
384
Hello Community,
We are excited to announce the 12th sprint for Open Concept Lab for OpenMRS(OCLOMRS). The sprint planning session is scheduled for today Wednesday 28th November 2018, from 5:00 PM to 6:00 PM EAT(East African Time). I will update you with the link to the session call 30 minutes before.
Thanks.
CC: @Darius @dkayiwa @akanter @ianduncan @Tittoh @stoneCoder @Desmond @abulojoshua1 @Collinewait @c.antwi
cintiadr
(Cintia Del Rio)
November 28, 2018, 10:48am
385
Not sure what wasn’t clear.
I said:
And Rafal answered:
So I thought it was pretty clear that I’d be doing that.
I added the CORS change (allow DELETE) to OCL QA.
committed 10:44AM - 28 Nov 18 UTC
Note: STG and PRD do not have CORS configured. It’s not a difficult change, just keep in mind it’s simply not there.
1 Like
abulojoshua1
(John Joshua Abulo)
November 28, 2018, 12:16pm
386
Hello, community
I hope this finds you well, this is to bring to your notice that the OCL frontend development team of OpenMRS is currently experiencing challenges with the application backend. All application API calls are failing and returning a 401(unauthorized). The login API endpoint is also failing to log in any user and returns a 404 (not found) error message and the admin user we were previously using cannot login too. Kindly provide any necessary help.
Thanks!
CC: @Darius @dkayiwa @akanter @ianduncan @Tittoh @stoneCoder @Desmond @abulojoshua1 @Collinewait @c.antwi
raff
(Rafal Korytkowski)
November 28, 2018, 12:32pm
387
The admin user was not properly created after @cintiadr ’s redeploy. Fixed now!
sheriff
(Allan Guwatudde)
November 28, 2018, 1:56pm
388
Hello Community,
I would like to remind you that the 12th sprint planning will start in next 4min, you can join the demo using the following Google hangout link:
https://hangouts.google.com/hangouts/_/rnv3dsub2jenjdzquzxch7wth4e
tittoh
(Titus Kipkemboi)
November 28, 2018, 3:16pm
389
It is working as expected now. Thanks.
cintiadr
(Cintia Del Rio)
November 28, 2018, 8:29pm
390
Is the DB or variables in ansible wrong? Running ansible shouldn’t break anything.