Closed shaunanoordin closed 7 years ago
education
service/app (Docker container) on the server couldn't connect to the database, and therefore KOed.OPTIONS https://education-api.zooniverse.org/teachers/classrooms/ 503 (Service Unavailable: Back-end server is at capacity)
Fetch API cannot load https://education-api.zooniverse.org/assignments/. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://lab.wildcamgorongosa.org' is therefore not allowed access. The response had HTTP status code 503. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
As of 4pm today, I can confirm that Teachers can view/create/edit Classrooms as per usual.
Issue solved.
Issue Overview
A Teacher accessing Classrooms will see an error message:
There was an error loading the classrooms :(
Details
OPTIONS https://education-api.zooniverse.org/teachers/classrooms/ 502 (Bad Gateway)
Fetch API cannot load https://education-api.zooniverse.org/teachers/classrooms/. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://lab.wildcamgorongosa.org' is therefore not allowed access. The response had HTTP status code 502. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Analysis / Solutions