Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.2.8
-
None
-
-
83a09d353 (dev), 008883ba2 (6.6), 18ed5fef6 (6.5), eaf837d9b (tqtc/lts-6.2)
Description
Description: When using the QtInsighttracker component on Android platforms, it is not able to send any data or events to the Qt insight server. This issue is reproducible using the coffee example and quick control example provided by Qt.
Steps to reproduce:
- build and Deploy quick control or coffee example on android.
- enable tracking if using Quick control example
- check to see logs if the data is being sent.
Logs:
I qt.insight.config: : Using configurations from: ":/qtinsight.conf" I qt.insight.qml: : QML analytics interface available: false I qt.insight: : Enabling Qt Insight Tracker D qt.insight.events: : The user identifier: "b996cf63-9332-4205-88ba-50e1d4e4035b" I qt.insight.events: : Using new session id: "60ebb376-2169-4e97-a65c-af595b57b2fb" I qt.insight.events: : Sending events to "https://collect-insight.qt.io/com.snowplowanalytics.snowplow/tp2" D qt.insight.storage: : Using event storage: "/data/user/0/org.qtproject.example.coffee/files/fYPPNyJogKNMowpgYT16WAYxwhTV5DQGeHNRaYXyhSADoBhHpZGCa6rhALkyL6dc.db" D qt.insight.events: : Last sync at QDateTime(2023-03-29 14:23:52.862 IST Qt::LocalTime) 517 seconds ago. D qt.insight.events: : New event (738 bytes) {"aid":"libcoffee_arm64-v8a.so","co":"{\"data\":[{\"data\":{\"model\":\"some model\",\"screen_resolution\":\"411x823\",\"screen_type\":\"NON_TOUCH\",\"variant\":\"v\"},\"schema\":\"iglu:io.qt/device/jsonschema/1-0-0\"},{\"data\":{\"build\":\"1.2.3\",\"last_shutdown\":false,\"qt_version\":\"6.2.8\",\"version\":\"6.2.8\"},\"schema\":\"iglu:io.qt/application/jsonschema/1-0-1\"}],\"schema\":\"iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-0\"}","dtm":"1680080549910","duid":"b996cf63-9332-4205-88ba-50e1d4e4035b","e":"ue","eid":"1d37c447-04d3-4c62-8397-220f1f4fda8b","lang":"en_US","p":"pc","sid":"60ebb376-2169-4e97-a65c-af595b57b2fb","tna":"fYPPNyJogKNMowpgYT16WAYxwhTV5DQGeHNRaYXyhSADoBhHpZGCa6rhALkyL6dc","tv":"qt-1.0.0"} D qt.insight.storage: : Added a new event D qt.insight.events: : Sending 5 events in 3264 bytes W qt.insight.events: : Failed to sent events: "Protocol \"https\" is unknown" D qt.insight.events: : Sending 5 events in 3264 bytes W qt.insight.events: : Failed to sent events: "Protocol \"https\" is unknown" D qt.insight.events: : Sending 5 events in 3264 bytes W qt.insight.events: : Failed to sent events: "Protocol \"https\" is unknown"
Expected output:
- Data should be sent to the Qt Insight server.
- The sent data should be available on the QtInsight web dashboard.
Actual output:
- The data is not sent to the Qt Insight server.
System Information:
- Android version: 13(physical device) 10(android emulator)
Note: The error message suggests that the component is attempting to use the https protocol, but it is not recognized. It is unclear whether this is a problem with the component itself or with the configuration of the network protocol on the Android platform. I tried checking the Android-manifest.xml for internet permissions but those are already there. so that's a non-issue.
kindly let me know if I can provide more information on this, Thanks!
Attachments
Issue Links
- relates to
-
QTQAINFRA-5358 Qt 6.2.8 LTS Testing
-
- Open
-
-
QTBUG-113522 QtInsighttracker component not sending data to QtInsight server on windows platforms
-
- Closed
-