Giter Club home page Giter Club logo

Comments (4)

yattoz avatar yattoz commented on May 25, 2024

Correction: after removing the try...catch block, I get the following crash :
java.net.SocketTimeoutException: failed to connect to tsumugi.forum-thalie.fr/2001:41d0:2:f15a:: (port 443) after 10000ms
The URL I'd like to parse is : "https://tsumugi.forum-thalie.fr/?feed=rss2"
This website forces HTTPS connection, so there's no plain HTTP connection available. (And, between us, plain HTTP shouldn't be used in 2019 anyway).
Still, it is worth noticing that whenever I try an URL with plain HTTP connection, it does work on API20 and down. For example : http://www.clubic.com/articles.rss

from rss-parser.

prof18 avatar prof18 commented on May 25, 2024

I think that the issue is related to TLS. Try with this solution: https://stackoverflow.com/a/53590809/5264056

from rss-parser.

yattoz avatar yattoz commented on May 25, 2024

I didn't manage to make it work. Furthermore the articles I read about enabling TLS1.2 on legacy devices needs Google Play Services (which is a requirement some people don't want to have), and even on some devices it doesn't work as expected. So this solution does not suit me.
On my side, I can simply redirect legacy devices to the webpage or using a WebView and keep the RSS view for API21+. That's how I went.
I think that it would be nice to warn your users by writing something in your README about TLS1.2 support on API19-, so that users can get informed about this limitation from Android.
In any case, thank you very much for your support, I hope this won't block many users.

from rss-parser.

prof18 avatar prof18 commented on May 25, 2024

Thank you for the suggestion, I'll try to improve the README.

from rss-parser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.