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

Jsoup timeout Exception #7

Open
adapana opened this issue Sep 6, 2018 · 0 comments
Open

Jsoup timeout Exception #7

adapana opened this issue Sep 6, 2018 · 0 comments

Comments

@adapana
Copy link

adapana commented Sep 6, 2018

My app crashed sometimes due to Jsop timeout exception. I find solution to solve this exception.
You need to add timeout in Jsoup.connect() method.

In your RichPreview.java class, You used Jsoup.connect(url).get(); instaead of that use Jsoup.connect(url).timeout(30*1000).get();

Please add method to set this custom timeout so that user can adjust timeout and prevent exception.

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