Extremely long response time for `/api/cla/get` route
See original GitHub issueI recently completed the signing experience for a PR. Upon reaching the CLA assistant app, I encountered a blank template view, so I looked in dev tools to see if there was an issue: there was.
Two POST
requests to https://cla-assistant.io/api/github/call
responded with 401
status.
Somewhat confused, I closed the tab and tried again. Same result the second time. So I began to do a bit of research. Then, after a couple of minutes, I returned to the tab, and I noticed that the template had been filled with content, so I checked the dev tools again and found a new response:
One POST
to https://cla-assistant.io/api/cla/get
with a 200
status.
I examined more detail and saw that the response took 74095.52799999983
ms, with 74087.4949999999
ms of that being wait time! That’s 1m14s of waiting for a response!
This issue is mainly a report, but I’d like to know if anything configurable by me contributed to the long wait. If needed, I can provide HAR entry objects for each req/res described above (with cookies redacted). Is there a place I can upload them privately (rather than posting them publicly here)?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:5 (2 by maintainers)
Perfect, thanks a lot for sharing the details 👍
From a first look it seems that indeed some internal logic causes the delay, as the GitHub API requests are quite fast:![image](https://user-images.githubusercontent.com/16856448/150818277-4259eda5-058c-4276-8ffc-2223144a2ecb.png)
Comparing that to when I open the page (~4s):![image](https://user-images.githubusercontent.com/16856448/150818386-a015203c-e70b-47f9-a531-c6c1ae975bd7.png)
I don’t think this is something caused by your configuration, but more a problem on our side. I think I have tomorrow a bit more time to investigate that.
@Shegox As requested:
api-cla-get.har.jsonc
From my first message:
Please advise. Thanks.