MPRestError with error code 503


#1

Hi all,

I am trying to do some queries from MP but keep receiving server errors. Is the server down or something wrong from my side?

from pymatgen import MPRester
mp = MPRester()
test = mp.get_entries_in_chemsys([“Mg”])

MPRestError: REST query returned with error status code 503. Content: b’<!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”>\n<html><head>\n<title>503 Service Temporarily Unavailable</title>\n</head><body>\n<h1>Service Temporarily Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.2.15 (CentOS) Server at www.materialsproject.org Port 443</address>\n</body></html>\n’

Thanks!


#2

Hi @HanmeiTang, Materials Project is experiencing heavy load right now and it’s causing some timeout errors. The MP team is working to resolve this and deploy additional servers.