cidertool / cider

Submit your builds to the Apple App Store in seconds
https://cidertool.github.io/cider
GNU General Public License v3.0
26 stars 0 forks source link

Strange Lockups Occurring, Sometimes #37

Open aaronsky opened 3 years ago

aaronsky commented 3 years ago

It's hard to describe this one, but I was running into situations tonight where the application would lock up when PATCHing a resource. I'm not sure if this was intermittent downtime on Apple's part, but it's a sign for me that either Cider or asc-go's timeout policy isn't aggressive enough. I need to do better stress testing as a client on these APIs, set tighter timeouts, and/or investigate channel blocking issues in Cider or asc-go.

aaronsky commented 3 years ago

I think I've pinned it down to server-side behavior on certain endpoints when either providing them invalid data or requiring them to check against invalid data. This happens during POST or PATCH requests and can be reproduced in behavior on App Store Connect. More investigation will be required.