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

Cannot scroll through large User set (~45k Users) #260

Open
justas79 opened this issue Aug 22, 2019 · 0 comments
Open

Cannot scroll through large User set (~45k Users) #260

justas79 opened this issue Aug 22, 2019 · 0 comments

Comments

@justas79
Copy link

justas79 commented Aug 22, 2019

There's a problem when trying to collect some data fro all users. I'm using scroll operation for ~45k users. I can no longer finish all scrolling operations due to failures in the middle of the scroll. Restarting scroll (on the next day) gives back "scroll already exists" error. I'm using single app for this. There exists few other apps on this workspace, however my scroll is used by single app only.

Version info

  • intercom-java version: io.intercom:intercom-java:2.7.0
  • Java version: 8

Expected behavior

Scroll through all users.

Actual behavior

Scrolling timeouts at a certain page. Restarting scroll gives back error scroll already exists for this workspace

Steps to reproduce

  1. Start user scroll
  2. Scroll fails at a certain page with errors like:
    a) io.intercom.api.IntercomException: Local exception calling [https://api.intercom.io//users/scroll?scroll_param=e768d820-1874-47a8-884b-9c3811c546a1]. Check connectivity and settings. [Read timed out]
    b) io.intercom.api.NotFoundException: scroll parameter not found

By checking timestamps it fails when response takes more than 1 minute

  1. Starting new scroll on the next day gives back error:
    io.intercom.api.ClientException: scroll already exists for this workspace

Logs

io.intercom.api.NotFoundException: scroll parameter not found
io.intercom.api.IntercomException: Local exception calling [https://api.intercom.io//users/scroll?scroll_param=e768d820-1874-47a8-884b-9c3811c546a1]. Check connectivity and settings. [Read timed out]
io.intercom.api.ClientException: scroll already exists for this workspace

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

1 participant