Comments (5)
As far as I know Apache HTTP Client used in Piwik SDK doesn't support Server Name Indication.
Try to use a direct IP address instead if domain.
Meanwhile I'll try to change HTTP Client to new port of HttpClient for Android which support SNI and TLS v1.1/v1.2.
from matomo-sdk-android.
I think it is the case I found on Stackoverflow: http://stackoverflow.com/questions/21956663/why-does-android-get-the-wrong-ssl-certificate-two-domains-one-server. Reference for others.
from matomo-sdk-android.
From https://developer.android.com/training/articles/security-ssl.html
Fortunately, HttpsURLConnection supports SNI since Android 2.3. Unfortunately, Apache HTTP Client does not, which is one of the many reasons we discourage its use. One workaround if you need to support Android 2.2 (and older) or Apache HTTP Client is to set up an alternative virtual host on a unique port so that it's unambiguous which server certificate to return.
If we raise the minAPI to at least 8 (currently 7) this looks doeable without requiring extra 3rd party libs.
If we look at user numbers in the wild, going minAPI 8 seems to no big deal.
from matomo-sdk-android.
@d4rken good to hear. I'll vote to bump minAPI to the 8 level.
According to this chart 2.0-2.1 Eclair hits only 0.1% of users (testers perhaps? ;) )
from matomo-sdk-android.
from matomo-sdk-android.
Related Issues (20)
- after creating cloud on matomo, it shows Only one last step to track your traffic with Matomo and gain valuable insights
- ☕ Maintainer wanted ☕ HOT 2
- tests are failing HOT 1
- Deprecation in DemoActivity
- Replace MD5 hash function with a non-broken one in Checksum.java HOT 2
- Java 11 Support? HOT 2
- Flaky unit test `testDispatchRetryWithBackoff` HOT 1
- MavenCentral migration HOT 1
- Test new release pipeline HOT 2
- multiple devices appear under the same visitor profile
- trackOutlink() is not working HOT 6
- Unexpected abandoned cart behavior
- Release a demo public UI of an Android App tracked with Matomo
- Keeps trying ipv6 on a non-ipv6 network
- [Questions] General behavior of sessions
- [Question] How to use Tag Manager
- [Question] How to use campaigns via the SDK
- Add support for new Crash Analytics feature
- Strict violations HOT 1
- Unable to See Tracking Event on Dashboard
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 matomo-sdk-android.