-
Notifications
You must be signed in to change notification settings - Fork 8
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
Users getting error: fetchWsapiRecords error: communication failure #18
Comments
@tmginzburg We found that if we sort on the Ranking column, this will resolve the issue. |
The user had his grid sorted by rank, so I don't believe sort is the issue. I had the user test again and it sometimes fails (not always). It is puzzling... |
This appears to happen in larger workspaces when a user with less than Workspace Admin tries an export that includes the Project column in the view. This seems to be triggering a permissions check that takes so long in a large workspace that it times out. To verify, try dropping the Project column from the view for a user who is getting the error. |
Hi Terry, Eric and I have been looking into this. The conclusion that I came to was that the underlying XMLHttpRequest is timing out beyond the standard 30sec that is set in the SDK. There are a few parameters contributing to the timeout:
The reason for the random nature is that not all of these will happen at the same time, but on occasion they do and then add up to over the 30s. The app itself tries to mitigate this somewhat by attempting to fetch 'chunks'. The easiest solution I can think of is to reduce the size of the chunks. However, even though it will reduce the likelihood, this still will not remove the problem entirely if the other factors still add up to more than the time available. Eric is going to do some testing, but if you reduce these number in (the app in your subscription) _getChunks code, you can try it for yourself in the meantime: maxListSize = 50, Thanks, Nik |
My users are sporadically getting this error when trying to export from this grid:
fetchWsapiRecords error: communication failure
They are exporting lowest two levels of portfolio items with user stories. I am able to successfully export the data as a workspace admin, but regular users are getting the error above. It doesn't happen 100% of the time which is making it hard to troubleshoot.
The text was updated successfully, but these errors were encountered: