Comments (9)
The issue is reproducable on my Nexus One.
from public-transport-enabler.
You mean it reproducible every time even with a stable Internet connection?
from public-transport-enabler.
I tried only once but it crashed immediately.
I'm thinking of disabling certificate validation for Android 2.3.
from public-transport-enabler.
What happens if you open https://www.vrsinfo.de in your browser on Android 2.3?
from public-transport-enabler.
The certificate chain is the following:
(root)
CN = GeoTrust Primary Certification Authority
O = GeoTrust Inc.
C = US
CN = GeoTrust EV SSL CA - G4
O = GeoTrust Inc.
C = US
CN = www.vrsinfo.de
OU = Informationstechnologie
O = Verkehrsverbund Rhein-Sieg GmbH
L = Koeln
ST = Nordrhein-Westfalen
C = DE
Object Identifier (2 5 4 5) = HRB 16883
Object Identifier (2 5 4 15) = Private Organization
Object Identifier (1 3 6 1 4 1 311 60 2 1 1) = Koeln
Object Identifier (1 3 6 1 4 1 311 60 2 1 3) = DE
GeoTrust claims that Android >= 2.3 should include their root certificate:
https://www.geocerts.com/ssl/browsers
I can't test it myself since my last Android 2.3 device is long gone. :-)
from public-transport-enabler.
It redirects to https://m.vrsinfo.de/ and that page shows a broken lock. However, Options > Page info > View certificate claims the cert is valid. I'm not sure but I guess the browser is separate to the Java HTTP client.
from public-transport-enabler.
So the conclusion is you will disable certificate validation in de.schildbach.pte.util.ParserUtils for Android < 3?
from public-transport-enabler.
That's my suggestion, yes. Sadly Android 2.3 is still at 10% of the installed user base. But at least they'd get opportunistic encryption.
from public-transport-enabler.
I was able to work around this issue in Öffi.
from public-transport-enabler.
Related Issues (20)
- IT: java.lang.IllegalArgumentException: Unhandled error id: no_origin
- GTFS without Navitia HOT 4
- SNCF real-time data
- Crash on NS (Netherlands) HOT 1
- Location: equals(…) is not symmetric
- IT: java.lang.IllegalArgumentException: Unhandled error id: no_destination
- MVV Trip Delays are always 0 HOT 4
- Add support for STIB (Brussels) HOT 1
- BEG (BayernProvider) has no colors for S-Bahn lines in Munich
- Add support for Zenbus API
- Discussion: Polish GTFS providers? HOT 1
- Suburban trains in Madrid metro area missing
- MVV provider broken HOT 2
- London Elizabeth Line HOT 3
- Error checking for a bus connection
- VVO: UNKNOWN_FROM HOT 1
- SPAIN: java.lang.IllegalArgumentException: Unhandled error id: no_origin
- DB: UNRESOLVABLE_ADDRESS HOT 1
- VGN: platforms missing
- I’m missing funds it’s stuck and I have no idea what to do
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from public-transport-enabler.