Hi all,
This is regarding enabling the programs feature in Open edX Ficus.2

I have followed this link in order to enable the 'programs' feature: 
https://github.com/edx/programs/blob/master/docs/getting_started.rst#id3

I logged into Studio and clicked on the green 'New Program' button. This 
throws up a blank page. When I inspected the 'Network Monitor' in my 
browser, the response code from programs service URL http://<my server 
IP>:8004/api/v1/organizations/?page_size=1000 is 200 but the response 
payload is blank. In the console, I can see the following error:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the 
remote resource at http:/<my server 
IP>:8004/api/v1/organizations/?page_size=1000. (Reason: CORS header 
‘Access-Control-Allow-Origin’ missing).

Would like to note here that I am able to access the same programs service 
URL(http://<my server IP>:8004/api/v1/organizations/?page_size=1000) by 
hitting it directly from the browser and it returns the organization json 
as below:

{"count":1,"previous":null,"num_pages":1,"results":[{"display_name":"My 
org","key":"MyOrg"}],"next":null}

So why am I getting a blank page? Am I missing something or is there some other 
configuration to be done? What is the next step? 

Thanks,
Aparna


-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/5c2274d6-ecce-4e52-9765-9c68e80daad8%40googlegroups.com.

Reply via email to