ENCODE-DCC / encoded

Metadata database for ENCODE project

Home Page:https://www.encodeproject.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to adding/edit metadata via. UI in cluster ES mode

Parul-Kudtarkar opened this issue · comments

Hi developers,

I cannot edit metadata via. UI

Error: {"@type":["HTTPServiceUnavailable","Error"],"description":"The server is currently unavailable. Please try again at a later time.","code":503,"status":"error","title":"Service Unavailable"}
The server is currently unavailable. Please try again at a later time.

Thanks!
Parul

look in apache error logs. Can you edit via script?

@hitz thanks!
No related error messages in the log

I started another test server in cluster mode and still having the same issue

Same error via. script
Annotation: TSTSR037617 Status: proposed
ANNOTATION
/annotations/TSTSR037617/ has status proposed
UPDATING: Annotation /annotations/TSTSR037617/ with status proposed is now released with date 2018-06-01
PATCH failure. Response = {"description": "The server is currently unavailable. Please try again at a later time.", "@type": ["HTTPServiceUnavailable", "Error"], "code": 503, "title": "Service Unavailable", "status": "error"}
FILE
/files/TSTFF975294/ has status uploading
UPDATING: File /files/TSTFF975294/ with status uploading is now released
PATCH failure. Response = {"code": 503, "title": "Service Unavailable", "description": "The server is currently unavailable. Please try again at a later time.", "status": "error", "@type": ["HTTPServiceUnavailable", "Error"]}

are you using http instead of https?

Allowing read/write operations i.e.
sudo pg_ctlcluster 9.3 main promote
Solved the issue. @hitz Thanks much for the help!
Also this is test server(ec2 address), so yes using http instead https but certs are always installed on upload and production machine. Not sure if that can be an issue.