{ "id": "174710", "key": "MOD-2581", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10034", "key": "MOD", "name": "Appcelerator Modules", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-05-05T14:58:07.000+0000", "created": "2020-02-10T15:53:32.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "2020-Q2", "example", "https", "module" ], "versions": [ { "id": "20952", "name": "Release 9.0.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "amaheshwari", "key": "amaheshwari", "displayName": "Akansha Maheshwari", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-05-05T14:58:07.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "15019", "name": "Https" } ], "description": "When running the example in {{appcelerator.https}} the following error can be seen when {{Load Wellsfargo}} is clicked. (Example states request must succeed). \r\n\r\n\r\n{code:java}\r\n[WARN] ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@e4eaeac\r\n[WARN] OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...\r\n[WARN] Gralloc3: mapper 3.x is not supported\r\n[INFO] I/r.https.exampl: Background concurrent copying GC freed 26031(3082KB) AllocSpace objects, 6(136KB) LOS objects, 49% free, 1923KB/3847KB, paused 4.765ms total 161.204ms\r\n[ERROR] TiHTTPClient: (TiHttpClient-1) [47905,48292] HTTP Error (javax.net.ssl.SSLHandshakeException): Certificate could not be verified with provided public key\r\n[ERROR] TiHTTPClient: javax.net.ssl.SSLHandshakeException: Certificate could not be verified with provided public key\r\n[ERROR] TiHTTPClient: \tat com.android.org.conscrypt.ConscryptFileDescriptorSocket.startHandshake(ConscryptFileDescriptorSocket.java:231)\r\n[ERROR] TiHTTPClient: \tat com.android.okhttp.internal.io.RealConnection.connectTls(RealConnection.java:196)\r\n[ERROR] TiHTTPClient: \tat com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:153)\r\n[ERROR] TiHTTPClient: \tat com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:116)\r\n[ERROR] TiHTTPClient: \tat com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:186)\r\n[ERROR] TiHTTPClient: \tat com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:128)\r\n[ERROR] TiHTTPClient: \tat com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:97)\r\n[ERROR] TiHTTPClient: \tat com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:289)\r\n[ERROR] TiHTTPClient: \tat com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:232)\r\n[ERROR] TiHTTPClient: \tat com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:465)\r\n[ERROR] TiHTTPClient: \tat com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:411)\r\n[ERROR] TiHTTPClient: \tat com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:542)\r\n[ERROR] TiHTTPClient: \tat com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:106)\r\n[ERROR] TiHTTPClient: \tat com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:30)\r\n[ERROR] TiHTTPClient: \tat ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1343)\r\n[ERROR] TiHTTPClient: \tat java.lang.Thread.run(Thread.java:919)\r\n[ERROR] TiHTTPClient: Caused by: java.security.cert.CertificateException: Certificate could not be verified with provided public key\r\n[ERROR] TiHTTPClient: \tat appcelerator.https.PinningTrustManager.checkServerTrusted(PinningTrustManager.java:90)\r\n[ERROR] TiHTTPClient: \tat com.android.org.conscrypt.Platform.checkServerTrusted(Platform.java:228)\r\n[ERROR] TiHTTPClient: \tat com.android.org.conscrypt.ConscryptFileDescriptorSocket.verifyCertificateChain(ConscryptFileDescriptorSocket.java:407)\r\n[ERROR] TiHTTPClient: \tat com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)\r\n[ERROR] TiHTTPClient: \tat com.android.org.conscrypt.NativeSsl.doHandshake(NativeSsl.java:387)\r\n[ERROR] TiHTTPClient: \tat com.android.org.conscrypt.ConscryptFileDescriptorSocket.startHandshake(ConscryptFileDescriptorSocket.java:226)\r\n[ERROR] TiHTTPClient: \t... 15 more\r\n{code}\r\n\r\n*+Test Steps:+*\r\n# Download module from (https://github.com/appcelerator-modules/appcelerator.https/releases/tag/android-4.0.0)\r\n# CD into example directory \r\n# Run appc run\r\n# Click {{Load Wellsfargo}}\r\n\r\n*Expected result*\r\nRequest must succeed \r\n\r\n*Actual result*\r\nAbove error is shown", "attachment": [], "flagged": false, "summary": "TiAPI: \"appcelerator.https\" Example needs updating ", "creator": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "MacOS Catalina: 10.15.1 beta\r\nXcode: 11.3\r\nJava Version: 1.8.0_131\r\nAndroid NDK: 18.1.5063045\r\nNode.js: 10.16.3\r\n\"NPM\":\"4.2.15-1\",\"CLI\":\"7.1.2-7\"\r\nPixel xl (7.1.1) Emulator\r\nSDK Version 9.0.0.v20200207114311", "closedSprints": [ { "id": 1190, "state": "closed", "name": "2020 Sprint 7", "startDate": "2020-03-27T16:30:21.583Z", "endDate": "2020-04-10T16:30:00.000Z", "completeDate": "2020-04-10T17:43:27.544Z", "originBoardId": 114 }, { "id": 1192, "state": "closed", "name": "2020 Sprint 8", "startDate": "2020-04-10T18:08:36.092Z", "endDate": "2020-04-24T18:08:00.000Z", "completeDate": "2020-04-24T16:23:30.466Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "455094", "author": { "name": "amaheshwari", "key": "amaheshwari", "displayName": "Akansha Maheshwari", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator-modules/appcelerator.https/pull/59", "updateAuthor": { "name": "amaheshwari", "key": "amaheshwari", "displayName": "Akansha Maheshwari", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-13T12:05:01.000+0000", "updated": "2020-04-13T12:05:01.000+0000" }, { "id": "455368", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket, verified module change in https://github.com/appcelerator-modules/appcelerator.https/releases/tag/v4.0.0-android. ", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-05-05T14:58:02.000+0000", "updated": "2020-05-05T14:58:02.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }