xchem / xchem_it

Issues for XChem IT work
0 stars 0 forks source link

Seemingly random instances of 500 and 403 codes received from backend #22

Open boriskovar-m2ms opened 3 years ago

boriskovar-m2ms commented 3 years ago

I have noticed that after I log in I get, instead of list of targets on the landing page, error code 500 which was traced to ISPYB error. On the main page where the NGL view is displayed sometimes the api functions start to return error code 403 for seemingly no reason specific to the front end - so far I observed this behavior only when I was logged in.

At first this errors were occurring only on local dev environment but either very often (ISPYB and resulting code 500) or occasionally (code 403) but in the last days the errors were observed also on the remote dev stack (https://fragalysis-tibor-default.xchem-dev.diamond.ac.uk/) but not as frequently as locally.

duncanpeacock commented 3 years ago

Additional info: A lot of these errors (although possibly not all) are logged as ISYPB_user errors to Sentry: e.g. https://sentry.io/organizations/xchem/issues/1825728543/?project=1298290&referrer=slack