Open rbetzel opened 5 months ago
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.
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
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.
Did we DDoS VFB :eyes:
Haha, I don't think so. From what Robbie told me it's a mix of hardware and certificate issues.
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.