Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection Error while using QMPYRester() #10

Open
kdmsit opened this issue Jun 30, 2021 · 3 comments
Open

Connection Error while using QMPYRester() #10

kdmsit opened this issue Jun 30, 2021 · 3 comments

Comments

@kdmsit
Copy link

kdmsit commented Jun 30, 2021

When I am running

with rester.QMPYRester() as q:
args = {
# "composition": 'ClW,SrSe'
"composition": composition
}

Sometimes getting following error :

raise ConnectionError(err, request=request)

requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

Could anyone please let me know why it is happening?

@mohanliu
Copy link
Owner

I think this is some internal server connection issue? Can you take a look @tachyontraveler ?

@kdmsit
Copy link
Author

kdmsit commented Jun 30, 2021

Now I am able to fetch the structure using q.get_oqmd_phases(**args), but it's very slow!

@tachyontraveler
Copy link
Contributor

@mohanliu there was some server downtime last week to implement the FAIR-related enhancements.

@kdmsit the server-side calculations are computationally expensive for those kinda queries. We're now in the process of upgrading hardware and related server-side architecture. Hopefully, that'll speed up the querying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants