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 to server reset by peer during get_neuron call #245

Open
rbetzel opened this issue Apr 11, 2024 · 5 comments
Open

connection to server reset by peer during get_neuron call #245

rbetzel opened this issue Apr 11, 2024 · 5 comments

Comments

@rbetzel
Copy link

rbetzel commented Apr 11, 2024

Trying to import a set of neurons but never get further than ~20% before connection issues. Until this afternoon this was never a problem. Any guidance is welcome. See attached screenshots for partial descriptions of errors.

Screen Shot 2024-04-11 at 12 41 02 PM Screen Shot 2024-04-11 at 12 40 55 PM
@clbarnes
Copy link
Collaborator

I think I've had similar issues before with large sets of neurons. I'm not sure why, as pymaid makes a separate request for each neuron so the payload for each isn't very big and its concurrency is limited so the server shouldn't get upset. But try using the annotations to get the skids, then chunk them and make several calls to get_neuron, see if that helps.

@schlegelp
Copy link
Collaborator

schlegelp commented Apr 12, 2024

I would also try to reduce the number of concurrent requests and see if that improves things:

>>> rm = pymaid.CatmaidInstance("URL", None, max_threads=5)  # default is max_threads=10

@schlegelp
Copy link
Collaborator

schlegelp commented Apr 12, 2024

FYI: I'm also seeing sporadic 500 Errors on my end and Robbie from VFB says they had a massive outage and are still recovering.

@clbarnes
Copy link
Collaborator

Did we DDoS VFB 👀

@schlegelp
Copy link
Collaborator

Haha, I don't think so. From what Robbie told me it's a mix of hardware and certificate issues.

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