Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6606] TiVerify module licence, exception due to proxy

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2020-10-26T11:59:29.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
Reporterlibanez
AssigneeAbir Mukherjee
Created2020-09-23T14:12:53.000+0000
Updated2020-10-26T11:59:29.000+0000

Description

Hi, I have an exception in the Android logs of my app that i don't understand the origin. It seems that the class TiVerify tries to verify a module licence on my app, butthe method fails with an exception because i'm under a proxy on my client environment. These are the logs :
2020-09-23 13:54:00.404 23263-23293/com.nepting.ucubeapp.ezyness W/TiVerify: (Timer-0) [80,5073] Error Verifying License
    java.io.IOException: Failed to authenticate with proxy
        at com.android.okhttp.internal.io.RealConnection.createTunnel(RealConnection.java:1628)
        at com.android.okhttp.internal.io.RealConnection.connectTls(RealConnection.java:1455)
        at com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:1424)
        at com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:1368)
        at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:219)
        at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:142)
        at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:104)
        at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:392)
        at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:325)
        at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:488)
        at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:131)
        at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:262)
        at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:218)
        at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:26)
        at org.appcelerator.titanium.TiVerify.a(Unknown Source:180)
        at org.appcelerator.titanium.TiVerify.run(Unknown Source:40)
        at java.util.TimerThread.mainLoop(Timer.java:562)
        at java.util.TimerThread.run(Timer.java:512)
I can whitelist on the proxy the url called by TiVerify to avoid this exception, but i don't know which adress is called. Can anyone help me ? Thanks in advance,

Comments

  1. Rene Pot 2020-09-24

    General fyi/question: are you are getting this on an App that is published in the play store (or any other "published" state)? If so, then you have uploaded the wrong app, because TiVerify only runs on development builds.
  2. libanez 2020-09-24

JSON Source