Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16892] Android: "Error posting events: Connect to /54.214.252.38:443 timed out" when app sends analytic events, was seen once & is not reproducible

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.2.3
Fix Version/sn/a
ComponentsAndroid
Labelsqe-3.2.3
ReporterLokesh Choudhary
AssigneeUnknown
Created2014-04-29T21:57:18.000+0000
Updated2018-02-28T20:04:04.000+0000

Description

NOTE: This issue was seen once & was not reproducible again. Opening this ticket case just in case we see this issue later.

Description:

1. Create a normal 2 tabbed app. 2. Build & run it on an android device. 3. Look at the studio logs. After 30 seconds the app will send you the analytics events.

Actual Result:

1. We get error regarding analytics in the studio logs:
INFO] :   SELinux: Function: selinux_android_load_priority [0], There is no sepolicy file.
[ERROR] :  dalvikvm: >>>>> Normal User
[INFO] :   SELinux:
[INFO] :   SELinux: Function: selinux_android_load_priority [1], There is no sepolicy version file.
[INFO] :   SELinux:
[INFO] :   SELinux: Function: selinux_android_load_priority , priority version is VE=SEPF_SM-G900H_4.4.2_0011
[INFO] :   SELinux:
[INFO] :   SELinux:
[INFO] :   SELinux: selinux_android_seapp_context_reload: seapp_contexts file is loaded from /seapp_contexts
[INFO] :   TiApplication: (main) [0,0] checkpoint, app created.
[INFO] :   TiApplication: (main) [59,59] Titanium 3.2.3 (2014/04/18 10:17 4bc5d9f)
[INFO] :   TiDbHelper: (main) [69,128] No value in database for platform key: 'unique_machine_id' returning supplied default ''
[INFO] :   TiDbHelper: (main) [4,132] No value in database for platform key: 'hardware_machine_id' returning supplied default ''
[ERROR] :  dalvikvm: >>>>> com.app.hippotest [ userId:0 | appId:10209 ]
[WARN] :   linker: libstlport_shared.so has text relocations. This is wasting memory and is a security risk. Please fix.
[DEBUG] :  dalvikvm: Trying to load lib /data/app-lib/com.app.hippotest-1/libstlport_shared.so 0x42901ff8
[DEBUG] :  dalvikvm: Added shared lib /data/app-lib/com.app.hippotest-1/libstlport_shared.so 0x42901ff8
[DEBUG] :  dalvikvm: No JNI_OnLoad found in /data/app-lib/com.app.hippotest-1/libstlport_shared.so 0x42901ff8, skipping init
[DEBUG] :  dalvikvm: Trying to load lib /data/app-lib/com.app.hippotest-1/libtiverify.so 0x42901ff8
[WARN] :   linker: libtiverify.so has text relocations. This is wasting memory and is a security risk. Please fix.
[DEBUG] :  dalvikvm: Added shared lib /data/app-lib/com.app.hippotest-1/libtiverify.so 0x42901ff8
[INFO] :   TiApplication: (main) [55,187] Titanium Javascript runtime: v8
[DEBUG] :  dalvikvm: Trying to load lib /data/app-lib/com.app.hippotest-1/libkroll-v8.so 0x42901ff8
[WARN] :   linker: libkroll-v8.so has text relocations. This is wasting memory and is a security risk. Please fix.
[DEBUG] :  CrittercismAndroidModule: (main) [11,198] App context is defined.
[ERROR] :  dalvikvm: dvmPauseGc(AppLaunch) called - cookie=0x5e01 (f=0x1)
[DEBUG] :  dalvikvm: Added shared lib /data/app-lib/com.app.hippotest-1/libkroll-v8.so 0x42901ff8
[INFO] :   I/System.out: ActivityRecorder: before com.app.hippotest.HippotestActivity@429eb730_onCreate(), launchUrl = null
[INFO] :   TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null
[INFO] :   TiAnalyticsDb: (main) [21,21] Upgrading Database from 1 to 4
[INFO] :   I/System.out: ActivityRecorder: before com.app.hippotest.HippotestActivity@429eb730_onCreate(), launchUrl = null
[INFO] :   I/System.out: ActivityRecorder: before com.app.hippotest.HippotestActivity@429eb730_onCreate(), launchUrl = null
[WARN] :   V8Object: Runtime disposed, cannot set property 'userAgent'
[DEBUG] :  dalvikvm: Trying to load lib /data/app-lib/com.app.hippotest-1/libcom.appcelerator.apm.so 0x42901ff8
[DEBUG] :  dalvikvm: Added shared lib /data/app-lib/com.app.hippotest-1/libcom.appcelerator.apm.so 0x42901ff8
[DEBUG] :  dalvikvm: No JNI_OnLoad found in /data/app-lib/com.app.hippotest-1/libcom.appcelerator.apm.so 0x42901ff8, skipping init
[INFO] :   CrittercismInstance: Crittercism Initialized.
[INFO] :   I/System.out: Thread-1411(ApacheHTTPLog):Reading from variable values from setDefaultValuesToVariables
[INFO] :   I/System.out: Thread-1411(ApacheHTTPLog):isShipBuild true
[INFO] :   I/System.out: Thread-1411(ApacheHTTPLog):SmartBonding Enabling is false, SHIP_BUILD is true, log to file is false, DBG is false
[INFO] :   I/System.out: Thread-1414(ApacheHTTPLog):isShipBuild true
[INFO] :   I/System.out: Thread-1414(ApacheHTTPLog):SmartBonding Enabling is false, SHIP_BUILD is true, log to file is false, DBG is false
[DEBUG] :  skia: GFXPNG PNG bitmap created width:46 height:40 bitmap id is 270
[DEBUG] :  skia: GFXPNG PNG bitmap created width:24 height:24 bitmap id is 271
[DEBUG] :  ProgressBar: setProgressDrawable drawableHeight = 0
[DEBUG] :  skia: GFXPNG PNG bitmap created width:36 height:30 bitmap id is 272
[DEBUG] :  skia: GFXPNG PNG bitmap created width:36 height:30 bitmap id is 273
[DEBUG] :  skia: GFXPNG PNG bitmap created width:36 height:30 bitmap id is 274
[DEBUG] :  skia: GFXPNG PNG bitmap created width:480 height:800 bitmap id is 275
[INFO] :   I/dalvikvm-heap: Grow heap (frag case) to 25.376MB for 6144016-byte allocation
[INFO] :   I/System.out: ActivityRecorder: after com.app.hippotest.HippotestActivity@429eb730_onCreate(), launchUrl = null
[INFO] :   I/System.out: ActivityRecorder: after com.app.hippotest.HippotestActivity@429eb730_onCreate(), launchUrl = null
[INFO] :   I/System.out: ActivityRecorder: after com.app.hippotest.HippotestActivity@429eb730_onCreate(), launchUrl = null
[INFO] :   TiRootActivity: (main) [0,0] checkpoint, on root activity resume. activity = com.app.hippotest.HippotestActivity@429eb730
[ERROR] :  ViewSystem: ViewRootImpl #2 Surface is not valid.
[INFO] :   I/System.out: ActivityRecorder: before org.appcelerator.titanium.TiActivity@430c28c8_onCreate(), launchUrl = null
[INFO] :   I/System.out: ActivityRecorder: before org.appcelerator.titanium.TiActivity@430c28c8_onCreate(), launchUrl = null
[DEBUG] :  skia: GFXPNG PNG bitmap created width:144 height:144 bitmap id is 276
[DEBUG] :  skia: GFXPNG PNG bitmap created width:120 height:120 bitmap id is 277
[DEBUG] :  skia: GFXPNG PNG bitmap created width:90 height:90 bitmap id is 278
[DEBUG] :  skia: GFXPNG PNG bitmap created width:90 height:90 bitmap id is 279
[DEBUG] :  skia: GFXPNG PNG bitmap created width:66 height:96 bitmap id is 280
[ERROR] :  MoreInfoHPW_ViewGroup: Parent view is not a TextView
[DEBUG] :  skia: GFXPNG PNG bitmap created width:144 height:144 bitmap id is 281
[DEBUG] :  skia: GFXPNG PNG bitmap created width:144 height:144 bitmap id is 282
[DEBUG] :  skia: GFXPNG PNG bitmap created width:18 height:18 bitmap id is 283
[DEBUG] :  skia: GFXPNG PNG bitmap created width:18 height:18 bitmap id is 284
[DEBUG] :  skia: GFXPNG PNG bitmap created width:18 height:18 bitmap id is 285
[DEBUG] :  ProgressBar: setProgressDrawable drawableHeight = 18
[DEBUG] :  skia: GFXPNG PNG bitmap created width:27 height:15 bitmap id is 286
[DEBUG] :  skia: GFXPNG PNG bitmap created width:27 height:15 bitmap id is 287
[DEBUG] :  skia: GFXPNG PNG bitmap created width:27 height:15 bitmap id is 288
[DEBUG] :  skia: GFXPNG PNG bitmap created width:27 height:15 bitmap id is 289
[DEBUG] :  skia: GFXPNG PNG bitmap created width:102 height:102 bitmap id is 290
[DEBUG] :  skia: GFXPNG PNG bitmap created width:144 height:144 bitmap id is 291
[INFO] :   PersonaManager: getPersonaService() name persona_policy
[DEBUG] :  skia: GFXPNG PNG bitmap created width:128 height:128 bitmap id is 292
[DEBUG] :  skia: GFXPNG PNG bitmap created width:30 height:30 bitmap id is 293
[DEBUG] :  skia: GFXPNG PNG bitmap created width:3 height:3 bitmap id is 294
[ERROR] :  dalvikvm: Could not find class 'com.google.android.maps.MapView', referenced from method com.soasta.android.touchtest.recording.TTRecorder.recordSetMapRegion
[WARN] :   dalvikvm: VFY: unable to resolve check-cast 997 (Lcom/google/android/maps/MapView;) in Lcom/soasta/android/touchtest/recording/TTRecorder;
[DEBUG] :  dalvikvm: VFY: replacing opcode 0x1f at 0x0011
[DEBUG] :  skia: GFXPNG PNG bitmap created width:46 height:43 bitmap id is 295
[DEBUG] :  skia: GFXPNG PNG bitmap created width:15 height:15 bitmap id is 296
[DEBUG] :  skia: GFXPNG PNG bitmap created width:144 height:144 bitmap id is 297
[DEBUG] :  skia: GFXPNG PNG bitmap created width:90 height:90 bitmap id is 298
[DEBUG] :  skia: GFXPNG PNG bitmap created width:90 height:90 bitmap id is 299
[DEBUG] :  skia: GFXPNG PNG bitmap created width:90 height:90 bitmap id is 300
[DEBUG] :  skia: GFXPNG PNG bitmap created width:90 height:90 bitmap id is 301
[DEBUG] :  skia: GFXPNG PNG bitmap created width:90 height:90 bitmap id is 302
[DEBUG] :  skia: GFXPNG PNG bitmap created width:90 height:90 bitmap id is 303
[DEBUG] :  skia: GFXPNG PNG bitmap created width:46 height:43 bitmap id is 304
[INFO] :   I/System.out: ActivityRecorder: after org.appcelerator.titanium.TiActivity@430c28c8_onCreate(), launchUrl = null
[INFO] :   I/System.out: ActivityRecorder: after org.appcelerator.titanium.TiActivity@430c28c8_onCreate(), launchUrl = null
[DEBUG] :  Activity: setTransGradationMode to true
[INFO] :   I/        : PLATFORM VERSION : JB-MR-2
[DEBUG] :  OpenGLRenderer: Enabling debug mode 0
[DEBUG] :  skia: GFXPNG PNG bitmap created width:96 height:96 bitmap id is 305
[DEBUG] :  skia: GFXPNG PNG bitmap created width:3 height:3 bitmap id is 306
[ERROR] :  dalvikvm: dvmResumeGc(0x5e01, 0) called (f=0x1)
[WARN] :   TiVerify: (Timer-0) [5002,5002] Verifying module licenses...
[DEBUG] :  dalvikvm: Trying to load lib /data/data/com.app.hippotest/files/com.crittercism/lib/libcrittercism-ndk.so 0x42901ff8
[DEBUG] :  dalvikvm: Added shared lib /data/data/com.app.hippotest/files/com.crittercism/lib/libcrittercism-ndk.so 0x42901ff8
[DEBUG] :  dalvikvm: No JNI_OnLoad found in /data/data/com.app.hippotest/files/com.crittercism/lib/libcrittercism-ndk.so 0x42901ff8, skipping init
[INFO] :   TiAnalyticsSvc: (Thread-1418) [30818,35820] Analytics Service Started
[INFO] :   I/System.out: pool-3-thread-1 calls detatch()
[INFO] :   I/System.out: Timer-0 calls detatch()
[WARN] :   TiVerify: (Timer-0) [9235,45055] Error Verifying License
[INFO] :   I/System.out: pool-5-thread-1 calls detatch()
[DEBUG] :  Activity: setTransGradationMode to true
[INFO] :   ScaleGestureDetector: TwScaleGestureDetector
[INFO] :   ScaleGestureDetector: TwScaleGestureDetector
[INFO] :   I/System.out: Thread-1418 calls detatch()
[ERROR] :  TiAnalyticsSvc: (Thread-1418) [30863,75918] Error posting events: Unable to resolve host "api.appcelerator.net": No address associated with hostname
[INFO] :   TiAnalyticsSvc: (Thread-1418) [0,75918] Stopping Analytics Service
[INFO] :   TiAnalyticsSvc: (Thread-1419) [16514,92432] Analytics Service Started
[DEBUG] :  TabGroup: Tabgroup is closed normally.
[ERROR] :  dalvikvm: dvmPauseGc(AppLaunch) called - cookie=0xdeaf (f=0x1)
[INFO] :   I/System.out: ActivityRecorder: before com.app.hippotest.HippotestActivity@432e4668_onCreate(), launchUrl = null
[INFO] :   TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null
[INFO] :   I/System.out: ActivityRecorder: before com.app.hippotest.HippotestActivity@432e4668_onCreate(), launchUrl = null
[INFO] :   I/System.out: ActivityRecorder: before com.app.hippotest.HippotestActivity@432e4668_onCreate(), launchUrl = null
[WARN] :   V8Object: Runtime disposed, cannot set property 'userAgent'
[WARN] :   TiApplication: (KrollRuntimeThread) [69,69] Registering module with name already in use.
[DEBUG] :  ProgressBar: setProgressDrawable drawableHeight = 0
[INFO] :   I/System.out: ActivityRecorder: after com.app.hippotest.HippotestActivity@432e4668_onCreate(), launchUrl = null
[INFO] :   I/System.out: ActivityRecorder: after com.app.hippotest.HippotestActivity@432e4668_onCreate(), launchUrl = null
[INFO] :   I/System.out: ActivityRecorder: after com.app.hippotest.HippotestActivity@432e4668_onCreate(), launchUrl = null
[INFO] :   TiRootActivity: (main) [0,0] checkpoint, on root activity resume. activity = com.app.hippotest.HippotestActivity@432e4668
[ERROR] :  ViewSystem: ViewRootImpl #2 Surface is not valid.
[INFO] :   I/System.out: ActivityRecorder: before org.appcelerator.titanium.TiActivity@4330d918_onCreate(), launchUrl = null
[INFO] :   I/System.out: ActivityRecorder: before org.appcelerator.titanium.TiActivity@4330d918_onCreate(), launchUrl = null
[ERROR] :  MoreInfoHPW_ViewGroup: Parent view is not a TextView
[DEBUG] :  ProgressBar: setProgressDrawable drawableHeight = 18
[DEBUG] :  skia: GFXPNG PNG bitmap created width:46 height:43 bitmap id is 310
[DEBUG] :  skia: GFXPNG PNG bitmap created width:46 height:43 bitmap id is 311
[INFO] :   I/System.out: ActivityRecorder: after org.appcelerator.titanium.TiActivity@4330d918_onCreate(), launchUrl = null
[INFO] :   I/System.out: ActivityRecorder: after org.appcelerator.titanium.TiActivity@4330d918_onCreate(), launchUrl = null
[DEBUG] :  Activity: setTransGradationMode to true
[ERROR] :  dalvikvm: dvmResumeGc(0xdeaf, 0) called (f=0x1)
[DEBUG] :  dalvikvm: GC_CONCURRENT freed 7828K, 33% free 19440K/28596K, paused 3ms+5ms, total 27ms
[DEBUG] :  TabGroup: Tabgroup is closed normally.
[WARN] :   TiVerify: (Timer-1) [5008,5008] Verifying module licenses...
[ERROR] :  dalvikvm: dvmPauseGc(AppLaunch) called - cookie=0xf415 (f=0x1)
[INFO] :   I/System.out: ActivityRecorder: before com.app.hippotest.HippotestActivity@42a09a58_onCreate(), launchUrl = null
[INFO] :   TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null
[INFO] :   I/System.out: ActivityRecorder: before com.app.hippotest.HippotestActivity@42a09a58_onCreate(), launchUrl = null
[INFO] :   I/System.out: ActivityRecorder: before com.app.hippotest.HippotestActivity@42a09a58_onCreate(), launchUrl = null
[WARN] :   V8Object: Runtime disposed, cannot set property 'userAgent'
[WARN] :   TiApplication: (KrollRuntimeThread) [73,73] Registering module with name already in use.
[DEBUG] :  ProgressBar: setProgressDrawable drawableHeight = 0
[DEBUG] :  skia: GFXPNG PNG bitmap created width:36 height:30 bitmap id is 314
[DEBUG] :  skia: GFXPNG PNG bitmap created width:36 height:30 bitmap id is 315
[DEBUG] :  skia: GFXPNG PNG bitmap created width:36 height:30 bitmap id is 316
[DEBUG] :  skia: GFXPNG PNG bitmap created width:480 height:800 bitmap id is 317
[INFO] :   I/dalvikvm-heap: Grow heap (frag case) to 26.337MB for 6144016-byte allocation
[INFO] :   I/System.out: ActivityRecorder: after com.app.hippotest.HippotestActivity@42a09a58_onCreate(), launchUrl = null
[INFO] :   I/System.out: ActivityRecorder: after com.app.hippotest.HippotestActivity@42a09a58_onCreate(), launchUrl = null
[INFO] :   I/System.out: ActivityRecorder: after com.app.hippotest.HippotestActivity@42a09a58_onCreate(), launchUrl = null
[INFO] :   TiRootActivity: (main) [0,0] checkpoint, on root activity resume. activity = com.app.hippotest.HippotestActivity@42a09a58
[ERROR] :  ViewSystem: ViewRootImpl #2 Surface is not valid.
[INFO] :   I/System.out: ActivityRecorder: before org.appcelerator.titanium.TiActivity@42941d98_onCreate(), launchUrl = null
[INFO] :   I/System.out: ActivityRecorder: before org.appcelerator.titanium.TiActivity@42941d98_onCreate(), launchUrl = null
[ERROR] :  MoreInfoHPW_ViewGroup: Parent view is not a TextView
[DEBUG] :  ProgressBar: setProgressDrawable drawableHeight = 18
[DEBUG] :  skia: GFXPNG PNG bitmap created width:27 height:15 bitmap id is 318
[DEBUG] :  skia: GFXPNG PNG bitmap created width:27 height:15 bitmap id is 319
[DEBUG] :  skia: GFXPNG PNG bitmap created width:27 height:15 bitmap id is 320
[DEBUG] :  skia: GFXPNG PNG bitmap created width:27 height:15 bitmap id is 321
[DEBUG] :  skia: GFXPNG PNG bitmap created width:144 height:144 bitmap id is 322
[DEBUG] :  skia: GFXPNG PNG bitmap created width:46 height:43 bitmap id is 323
[DEBUG] :  skia: GFXPNG PNG bitmap created width:15 height:15 bitmap id is 324
[DEBUG] :  skia: GFXPNG PNG bitmap created width:144 height:144 bitmap id is 325
[DEBUG] :  skia: GFXPNG PNG bitmap created width:90 height:90 bitmap id is 326
[DEBUG] :  skia: GFXPNG PNG bitmap created width:90 height:90 bitmap id is 327
[DEBUG] :  skia: GFXPNG PNG bitmap created width:46 height:43 bitmap id is 328
[INFO] :   I/System.out: ActivityRecorder: after org.appcelerator.titanium.TiActivity@42941d98_onCreate(), launchUrl = null
[INFO] :   I/System.out: ActivityRecorder: after org.appcelerator.titanium.TiActivity@42941d98_onCreate(), launchUrl = null
[DEBUG] :  Activity: setTransGradationMode to true
[DEBUG] :  skia: GFXPNG PNG bitmap created width:96 height:96 bitmap id is 329
[ERROR] :  dalvikvm: dvmResumeGc(0xf415, 0) called (f=0x1)
[WARN] :   TiVerify: (Timer-2) [5000,5000] Verifying module licenses...
[INFO] :   ScaleGestureDetector: TwScaleGestureDetector
[INFO] :   I/System.out: Timer-1 calls detatch()
[WARN] :   TiVerify: (Timer-1) [10116,15116] Error Verifying License
[WARN] :   TiVerify: java.net.SocketTimeoutException
[WARN] :   TiVerify: 	at java.net.PlainSocketImpl.read(PlainSocketImpl.java:491)
[WARN] :   TiVerify: 	at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46)
[WARN] :   TiVerify: 	at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:240)
[WARN] :   TiVerify: 	at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:103)
[WARN] :   TiVerify: 	at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:191)
[WARN] :   TiVerify: 	at org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:82)
[WARN] :   TiVerify: 	at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:174)
[WARN] :   TiVerify: 	at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:180)
[WARN] :   TiVerify: 	at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:235)
[WARN] :   TiVerify: 	at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:259)
[WARN] :   TiVerify: 	at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:279)
[WARN] :   TiVerify: 	at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121)
[WARN] :   TiVerify: 	at org.apache.http.impl.client.DefaultRequestDirector.executeOriginal(DefaultRequestDirector.java:1296)
[WARN] :   TiVerify: 	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:677)
[WARN] :   TiVerify: 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
[WARN] :   TiVerify: 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:509)
[WARN] :   TiVerify: 	at org.appcelerator.titanium.TiVerify.run(Unknown Source)
[WARN] :   TiVerify: 	at java.util.Timer$TimerImpl.run(Timer.java:284)
[INFO] :   I/System.out: Timer-2 calls detatch()
[WARN] :   TiVerify: (Timer-2) [4906,20022] Error Verifying License
[WARN] :   TiVerify: org.apache.http.conn.ConnectTimeoutException: Connect to /54.214.252.38:80 timed out
[WARN] :   TiVerify: 	at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:121)
[WARN] :   TiVerify: 	at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:188)
[WARN] :   TiVerify: 	at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:167)
[WARN] :   TiVerify: 	at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:125)
[WARN] :   TiVerify: 	at org.apache.http.impl.client.DefaultRequestDirector.executeOriginal(DefaultRequestDirector.java:1227)
[WARN] :   TiVerify: 	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:677)
[WARN] :   TiVerify: 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
[WARN] :   TiVerify: 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:509)
[WARN] :   TiVerify: 	at org.appcelerator.titanium.TiVerify.run(Unknown Source)
[WARN] :   TiVerify: 	at java.util.Timer$TimerImpl.run(Timer.java:284)
[INFO] :   TiAnalyticsSvc: (main) [10011,30033] Send already in progress, skipping intent
[INFO] :   TiAnalyticsSvc: (Thread-1426) [1,30034] Analytics Service Started
[INFO] :   I/System.out: Thread-1426 calls detatch()
[ERROR] :  TiAnalyticsSvc: (Thread-1426) [5069,35103] Error posting events: Connect to /54.214.252.38:443 timed out
[ERROR] :  TiAnalyticsSvc: org.apache.http.conn.ConnectTimeoutException: Connect to /54.214.252.38:443 timed out
[ERROR] :  TiAnalyticsSvc: 	at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:121)
[ERROR] :  TiAnalyticsSvc: 	at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:188)
[ERROR] :  TiAnalyticsSvc: 	at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:167)
[ERROR] :  TiAnalyticsSvc: 	at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:125)
[ERROR] :  TiAnalyticsSvc: 	at org.apache.http.impl.client.DefaultRequestDirector.executeOriginal(DefaultRequestDirector.java:1227)
[ERROR] :  TiAnalyticsSvc: 	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:677)
[ERROR] :  TiAnalyticsSvc: 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
[ERROR] :  TiAnalyticsSvc: 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:653)
[ERROR] :  TiAnalyticsSvc: 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:627)
[ERROR] :  TiAnalyticsSvc: 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:616)
[ERROR] :  TiAnalyticsSvc: 	at org.appcelerator.titanium.analytics.TiAnalyticsService$1.run(TiAnalyticsService.java:143)
[ERROR] :  TiAnalyticsSvc: 	at java.lang.Thread.run(Thread.java:841)
[INFO] :   TiAnalyticsSvc: (Thread-1426) [3,35106] Stopping Analytics Service
[INFO] :   I/System.out: Thread-1419 calls detatch()
[ERROR] :  TiAnalyticsSvc: (Thread-1419) [23194,58300] Error posting events: No peer certificate
[ERROR] :  TiAnalyticsSvc: javax.net.ssl.SSLPeerUnverifiedException: No peer certificate
[ERROR] :  TiAnalyticsSvc: 	at com.android.org.conscrypt.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:146)
[ERROR] :  TiAnalyticsSvc: 	at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:93)
[ERROR] :  TiAnalyticsSvc: 	at org.apache.http.conn.ssl.SSLSocketFactory.createSocket(SSLSocketFactory.java:388)
[ERROR] :  TiAnalyticsSvc: 	at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:214)
[ERROR] :  TiAnalyticsSvc: 	at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:167)
[ERROR] :  TiAnalyticsSvc: 	at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:125)
[ERROR] :  TiAnalyticsSvc: 	at org.apache.http.impl.client.DefaultRequestDirector.executeOriginal(DefaultRequestDirector.java:1227)
[ERROR] :  TiAnalyticsSvc: 	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:677)
[ERROR] :  TiAnalyticsSvc: 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
[ERROR] :  TiAnalyticsSvc: 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:653)
[ERROR] :  TiAnalyticsSvc: 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:627)
[ERROR] :  TiAnalyticsSvc: 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:616)
[ERROR] :  TiAnalyticsSvc: 	at org.appcelerator.titanium.analytics.TiAnalyticsService$1.run(TiAnalyticsService.java:143)
[ERROR] :  TiAnalyticsSvc: 	at java.lang.Thread.run(Thread.java:841)
[INFO] :   TiAnalyticsSvc: (Thread-1419) [1,58301] Stopping Analytics Service
[INFO] :   TiAnalyticsSvc: (Thread-1427) [109408,167709] Analytics Service Started
[INFO] :   I/System.out: Thread-1427 calls detatch()
[INFO] :   TiAnalyticsSvc: (Thread-1427) [823,168532] Stopping Analytics Service
[DEBUG] :  Activity: setTransGradationMode to true
[INFO] :   TiAnalyticsSvc: (Thread-1428) [31661,200193] Analytics Service Started
[INFO] :   I/System.out: Thread-1428 calls detatch()
[INFO] :   TiAnalyticsSvc: (Thread-1428) [482,200675] Stopping Analytics Service

Expected Result:

1. We should not see any timeout errors & the analytics events should be sent successfully.

Comments

  1. Sergio Gutierrez 2014-07-03

    I got the same error trying to run my HelloWorld Application using classic mode. D a t a : Titanium Studio, build: 3.2.3.201404290739 (c) Copyright 2012-2013 by Appcelerator, Inc. All rights reserved. Build: jenkins-titanium-rcp-master-100 (origin/master) Date: 29 April 2014, 07:40:01 *) running behind a proxy. *) Android Emulator: AndroidVersion.ApiLevel=10 Platform.Version=2.3.3 Intel AtomX86 480x800mpdi RAM 512 VM Heap 16 Internal Storage 100MiB SD Card 50 MiB E R R O R : [INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity resume. activity = com.test.uanr11.Uanr11Activity@b75ea3e0 [INFO] : TiAnalyticsSvc: (Thread-16) [33095,33095] Analytics Service Started [ERROR] : TiAnalyticsSvc: (Thread-16) [5337,38432] Error posting events: Connect to /54.214.252.38:443 timed out [ERROR] : TiAnalyticsSvc: org.apache.http.conn.ConnectTimeoutException: Connect to /54.214.252.38:443 timed out [ERROR] : TiAnalyticsSvc: at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:121) [ERROR] : TiAnalyticsSvc: at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:143) [ERROR] : TiAnalyticsSvc: at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164) [ERROR] : TiAnalyticsSvc: at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119) [ERROR] : TiAnalyticsSvc: at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:359) [ERROR] : TiAnalyticsSvc: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555) [ERROR] : TiAnalyticsSvc: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:653) [ERROR] : TiAnalyticsSvc: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:627) [ERROR] : TiAnalyticsSvc: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:616) [ERROR] : TiAnalyticsSvc: at org.appcelerator.titanium.analytics.TiAnalyticsService$1.run(TiAnalyticsService.java:143) [ERROR] : TiAnalyticsSvc: at java.lang.Thread.run(Thread.java:1019) [INFO] : TiAnalyticsSvc: (Thread-16) [20,38452] Stopping Analytics Service
  2. Sergio Gutierrez 2014-07-03

    Code: win1 = Titanium.UI.createWindow({backgroundColor:"white",title:"Hola al mundo!"}); label1 = Titanium.UI.createLabel({text:"Saludos!!!",color:"black"}); win1.add(label1); win1.open();

JSON Source