Network timeout on Android

Discuss any general programming issues here
User avatar
airsoftsoftwair
Posts: 3027
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Network timeout on Android

Post by airsoftsoftwair » Sun Sep 18, 2016 3:37 pm

Ok, please test the build from http://www.softwarefailure.de/tmp/Hollywood-release.apk and post the debug output. Please use the code I posted above!

I get the following output:

Code: Select all

I/LogTag  ( 4489): *** OPEN CONNECTION: www.airsoftsoftwair.de
I/LogTag  ( 4489): *** APP_CMD_WINDOW_RESIZED
I/LogTag  ( 4489): *** GOT0: 0
I/LogTag  ( 4489): *** SEND REQUEST: GET /images/products/hollywood/47_shot1.jpg HTTP/1.1
I/LogTag  ( 4489):
I/LogTag  ( 4489): *** GOT1: 0
I/LogTag  ( 4489): *** SEND REQUEST: TE: trailers
I/LogTag  ( 4489): Connection: close, TE
I/LogTag  ( 4489): Host: www.airsoftsoftwair.de
I/LogTag  ( 4489): User-Agent: Hollywood 6.1
I/LogTag  ( 4489):
I/LogTag  ( 4489):
I/LogTag  ( 4489): *** GOT2: 0
I/LogTag  ( 4489): *** GETTING STATUS
I/LogTag  ( 4489): *** GOT3: 0 STATUS: 200
I/LogTag  ( 4489): *** GETTING HTTP HEADERS
I/LogTag  ( 4489): *** GET NEXT LINE
I/LogTag  ( 4489): *** ERROR: 0 GOT LINE: Date: Sun, 18 Sep 2016 13:33:49 GMT
I/LogTag  ( 4489): *** GET NEXT LINE
I/LogTag  ( 4489): *** ERROR: 0 GOT LINE: Content-Type: image/jpeg
I/LogTag  ( 4489): *** GET NEXT LINE
I/LogTag  ( 4489): *** ERROR: 0 GOT LINE: Content-Length: 142147
I/LogTag  ( 4489): *** GET NEXT LINE
I/LogTag  ( 4489): *** ERROR: 0 GOT LINE: Connection: close
I/LogTag  ( 4489): *** GET NEXT LINE
I/LogTag  ( 4489): *** ERROR: 0 GOT LINE: Server: Apache
I/LogTag  ( 4489): *** GET NEXT LINE
I/LogTag  ( 4489): *** ERROR: 0 GOT LINE: Last-Modified: Fri, 23 Apr 2010 12:52:22 GMT
I/LogTag  ( 4489): *** GET NEXT LINE
I/LogTag  ( 4489): *** ERROR: 0 GOT LINE: ETag: "1be54d-22b43-484e6e5f18d80"
I/LogTag  ( 4489): *** GET NEXT LINE
I/LogTag  ( 4489): *** ERROR: 0 GOT LINE: Accept-Ranges: bytes
I/LogTag  ( 4489): *** GET NEXT LINE
I/LogTag  ( 4489): *** ERROR: 0 GOT LINE:
I/LogTag  ( 4489): *** GOT4: 0
I/LogTag  ( 4489): *** NOW DOWNLOADING 142147 BYTES
I/LogTag  ( 4489): *** GOT5: 0

zylesea
Posts: 200
Joined: Tue Feb 16, 2010 12:50 am
Location: Westfalen/Germany
Contact:

Re: Network timeout on Android

Post by zylesea » Mon Sep 19, 2016 12:26 am

The little script stll fails here with the message "Receive timeout reached! Here's the log which differs quite a bit from yours:

Code: Select all

I/LogTag  ( 9565): And Action!
I/LogTag  ( 9565):
I/LogTag  ( 9565): *** OPEN CONNECTION: www.airsoftsoftwair.de
I/LogTag  ( 9565): *** APP_CMD_WINDOW_RESIZED
I/LogTag  ( 9565): *** GOT0: 0
I/LogTag  ( 9565): *** SEND REQUEST: GET /images/products/hollywood/47_shot1.jpg HTTP/1.1
I/LogTag  ( 9565):
I/LogTag  ( 9565): *** GOT1: 0
I/LogTag  ( 9565): *** SEND REQUEST: TE: trailers
I/LogTag  ( 9565): Connection: close, TE
I/LogTag  ( 9565): Host: www.airsoftsoftwair.de
I/LogTag  ( 9565): User-Agent: Hollywood 6.1
I/LogTag  ( 9565):
I/LogTag  ( 9565):
I/LogTag  ( 9565): *** GOT2: 0
I/LogTag  ( 9565): *** GETTING STATUS
E/WifiStateMachine(  471): WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=0,30 rxSuccessRate=0,31 targetRoamBSSID=00:00:00:00:00:00 RSSI=-60
I/LogTag  ( 9565): *** GOT3: 1422 STATUS: -1
V/WindowManager(  471): not Base app: Adding window Window{3bdd83e9 u0 com.airsoftsoftwair.hollywood/com.airsoftsoftwair.hollywood.HollywoodActivity} at 7 of 13
I/LogTag  ( 9565): *** APP_CMD_LOST_FOCUS
I/LogTag  ( 9565): *** APP_CMD_GAINED_FOCUS
W/InputMethodManagerService(  471): Window already focused, ignoring focus gain
of: com.android.internal.view.IInputMethodClient$Stub$Proxy@37158d7a attribute=null, token = android.os.BinderProxy@2730e6c3
W/ActivityManager(  471): Activity pause timeout for ActivityRecord{e21992f u0 com.airsoftsoftwair.hollywood/.HollywoodActivity t24 f}
I/ActivityManager(  471): Killing 7561:com.android.keychain/1000 (adj 15): empty #17
I/LogTag  ( 9565): *** APP_CMD_LOST_FOCUS
I/LogTag  ( 9565): *** APP_CMD_PAUSE
W/OpenGLRenderer( 1025): Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
W/OpenGLRenderer( 1025): Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
W/ResourceType(  685): No package identifier when getting value for resource number 0x00000000
W/PackageManager(  685): Failure retrieving resources for com.airsoftsoftwair.hollywood: Resource ID #0x0
I/LogTag  ( 9565): *** APP_CMD_STOP
I/LogTag  ( 9565): *** APP_CMD_TERM_WINDOW
I/Process ( 9565): Sending signal. PID: 9565 SIG: 9
I/WindowState(  471): WIN DEATH: Window{13f3db40 u0 com.airsoftsoftwair.hollywood/com.airsoftsoftwair.hollywood.HollywoodActivity}
I/ActivityManager(  471): Process com.airsoftsoftwair.hollywood  (pid 9565) has died                 


Trouble seems to start when looking up the Wifi state device and from got3 when it looks for the http header it gets the first bad return value (-1 instead of 200 in your log).
It all breaks down then at this line I guess: W/ResourceType( 685): No package identifier when getting value for resource number 0x00000000.

User avatar
airsoftsoftwair
Posts: 3027
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Network timeout on Android

Post by airsoftsoftwair » Mon Sep 19, 2016 4:27 pm

Ok, please try the new build I've just uploaded to the URL posted above and post the new debug output.

zylesea
Posts: 200
Joined: Tue Feb 16, 2010 12:50 am
Location: Westfalen/Germany
Contact:

Re: Network timeout on Android

Post by zylesea » Tue Sep 20, 2016 12:08 am

The debug output is quite massive and I cut many, many repeating lines away (I hope I haven't overseen something while cutting)

Code: Select all

I/LogTag  ( 9950): And Action!
I/LogTag  ( 9950): 
I/LogTag  ( 9950): *** OPEN CONNECTION: www.airsoftsoftwair.de
I/LogTag  ( 9950): *** APP_CMD_WINDOW_RESIZED
I/LogTag  ( 9950): *** GOT0: 0
I/LogTag  ( 9950): *** SEND REQUEST: GET /images/products/hollywood/47_shot1.jpg HTTP/1.1
I/LogTag  ( 9950): 
I/LogTag  ( 9950): *** GOT1: 0
I/LogTag  ( 9950): *** SEND REQUEST: TE: trailers
I/LogTag  ( 9950): Connection: close, TE
I/LogTag  ( 9950): Host: www.airsoftsoftwair.de
I/LogTag  ( 9950): User-Agent: Hollywood 6.1
I/LogTag  ( 9950): 
I/LogTag  ( 9950): 
I/LogTag  ( 9950): *** GOT2: 0
I/LogTag  ( 9950): *** GETTING STATUS
I/LogTag  ( 9950): *** BUFFER_GET
I/LogTag  ( 9950): *** RECV: -1 GOT: 0
I/LogTag  ( 9950): *** RETURN --> ERROR: -1 COUNT: 0
I/LogTag  ( 9950): *** GOT IO_TIMEOUT
I/LogTag  ( 9950): *** TRY AGAIN                     

*** this block repeats about a gazillion times ***

I/LogTag  ( 9950): *** BUFFER_GET
I/LogTag  ( 9950): *** RECV: -1 GOT: 0
I/LogTag  ( 9950): *** RETURN --> ERROR: -1 COUNT: 0
I/LogTag  ( 9950): *** GOT IO_TIMEOUT
I/LogTag  ( 9950): *** TRY AGAIN
I/LogTag  ( 9950): *** BUFFER_GET
I/LogTag  ( 9950): *** RECV: -1 GOT: 0
I/LogTag  ( 9950): *** RETURN --> ERROR: -1 COUNT: 0
I/LogTag  ( 9950): *** GOT IO_TIMEOUT
I/LogTag  ( 9950): *** NETWORK TIMEOUT THRESHOLD REACHED (10000) -- ERRORING
I/LogTag  ( 9950): *** GOT3: 1422 STATUS: -1
V/WindowManager(  471): not Base app: Adding window Window{57c1d16 u0 com.airsoftsoftwair.hollywood/com.airsoftsoftwair.hollywood.HollywoodActivity} at 9 of 15
I/LogTag  ( 9950): *** APP_CMD_LOST_FOCUS
I/LogTag  ( 9950): *** APP_CMD_GAINED_FOCUS
W/InputMethodManagerService(  471): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@141b533 attribute=null, token = android.os.BinderProxy@3b0d4e66
W/ActivityManager(  471): Activity pause timeout for ActivityRecord{36c8bb6 u0 com.airsoftsoftwair.hollywood/.HollywoodActivity t37 f}
I/LogTag  ( 9950): *** APP_CMD_LOST_FOCUS
I/LogTag  ( 9950): *** APP_CMD_PAUSE
W/OpenGLRenderer( 1025): Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
W/OpenGLRenderer( 1025): Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
W/ResourceType(  685): No package identifier when getting value for resource number 0x00000000
W/PackageManager(  685): Failure retrieving resources for com.airsoftsoftwair.hollywood: Resource ID #0x0
D/ConnectivityService(  471): updateNetworkScore for NetworkAgentInfo [WIFI () - 103] to 57
D/ConnectivityService(  471): rematching NetworkAgentInfo [WIFI () - 103]
D/ConnectivityService(  471): Network NetworkAgentInfo [WIFI () - 103] was already satisfying request 1. No change.
D/ConnectivityService(  471): notifyType AVAILABLE for NetworkAgentInfo [WIFI () - 103]
D/ConnectivityManager.CallbackHandler(  685): CM callback handler got msg 524290
D/ConnectivityManager.CallbackHandler(28310): CM callback handler got msg 524290
D/ConnectivityManager.CallbackHandler( 2238): CM callback handler got msg 524290
D/ConnectivityManager.CallbackHandler( 1624): CM callback handler got msg 524290
I/LogTag  ( 9950): *** APP_CMD_STOP
I/LogTag  ( 9950): *** APP_CMD_TERM_WINDOW
I/Process ( 9950): Sending signal. PID: 9950 SIG: 9
I/WindowState(  471): WIN DEATH: Window{3b71a5a7 u0 com.airsoftsoftwair.hollywood/com.airsoftsoftwair.hollywood.HollywoodActivity}
I/ActivityManager(  471): Process com.airsoftsoftwair.hollywood (pid 9950) has died


User avatar
airsoftsoftwair
Posts: 3027
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Network timeout on Android

Post by airsoftsoftwair » Tue Sep 20, 2016 4:45 pm

New build uploaded, log please :) After that I should be able to hazard a guess...

zylesea
Posts: 200
Joined: Tue Feb 16, 2010 12:50 am
Location: Westfalen/Germany
Contact:

Re: Network timeout on Android

Post by zylesea » Tue Sep 20, 2016 9:30 pm

Here we go:

Code: Select all

I/LogTag  ( 4875): And Action!
I/LogTag  ( 4875): 
I/LogTag  ( 4875): *** OPEN CONNECTION: www.airsoftsoftwair.de
I/LogTag  ( 4875): *** APP_CMD_WINDOW_RESIZED
I/LogTag  ( 4875): *** GOT0: 0
I/LogTag  ( 4875): *** SEND REQUEST: GET /images/products/hollywood/47_shot1.jpg HTTP/1.1
I/LogTag  ( 4875): 
I/LogTag  ( 4875): *** GOT1: 0
I/LogTag  ( 4875): *** SEND REQUEST: TE: trailers
I/LogTag  ( 4875): Connection: close, TE
I/LogTag  ( 4875): Host: www.airsoftsoftwair.de
I/LogTag  ( 4875): User-Agent: Hollywood 6.1
I/LogTag  ( 4875): 
I/LogTag  ( 4875): 
I/LogTag  ( 4875): *** GOT2: 0
I/LogTag  ( 4875): *** GETTING STATUS
I/LogTag  ( 4875): *** BUFFER_GET
I/LogTag  ( 4875): *** TAKEN: -1
I/LogTag  ( 4875): *** ERRNO: 11
I/LogTag  ( 4875): *** WAITFD --- BLOCK: 0 TOTAL: 0 START: 1474398291.1442
I/LogTag  ( 4875): *** RECV: -1 GOT: 0
I/LogTag  ( 4875): *** RETURN --> ERROR: -1 COUNT: 0
I/LogTag  ( 4875): *** GOT IO_TIMEOUT
I/LogTag  ( 4875): *** TRY AGAIN
I/LogTag  ( 4875): *** BUFFER_GET
I/LogTag  ( 4875): *** TAKEN: -1
I/LogTag  ( 4875): *** ERRNO: 11
I/LogTag  ( 4875): *** WAITFD --- BLOCK: 0 TOTAL: 0 START: 1474398291.1442
I/LogTag  ( 4875): *** RECV: -1 GOT: 0
I/LogTag  ( 4875): *** RETURN --> ERROR: -1 COUNT: 0
I/LogTag  ( 4875): *** GOT IO_TIMEOUT
I/LogTag  ( 4875): *** TRY AGAIN
I/LogTag  ( 4875): *** BUFFER_GET
I/LogTag  ( 4875): *** TAKEN: -1
I/LogTag  ( 4875): *** ERRNO: 11
I/LogTag  ( 4875): *** WAITFD --- BLOCK: 0 TOTAL: 0 START: 1474398291.1442
I/LogTag  ( 4875): *** RECV: -1 GOT: 0
I/LogTag  ( 4875): *** RETURN --> ERROR: -1 COUNT: 0
I/LogTag  ( 4875): *** GOT IO_TIMEOUT

**** skiped an impressing repetion block of nearly 35 000 lines

I/LogTag  ( 4875): *** BUFFER_GET 
I/LogTag  ( 4875): *** TAKEN: -1
I/LogTag  ( 4875): *** BUFFER_GET

**** a few hundered repetions later:

I/LogTag  ( 4875): *** BUFFER_GET
I/LogTag  ( 4875): *** TAKEN: -1
I/LogTag  ( 4875): *** ERRNO: 11
(...)
I/LogTag  ( 4875): *** BUFFER_GET
I/LogTag  ( 4875): *** GOT IO_TIMEOUT
(...)
I/LogTag  ( 4875): *** BUFFER_GET
I/LogTag  ( 4875): *** TAKEN: -1
I/LogTag  ( 4875): *** RETURN --> ERROR: -1 COUNT: 0
(...)
I/LogTag  ( 4875): *** BUFFER_GET
I/LogTag  ( 4875): *** TAKEN: -1
I/LogTag  ( 4875): *** ERRNO: 11
I/LogTag  ( 4875): *** WAITFD --- BLOCK: 0 TOTAL: 0 START: 1474398291.1442
I/LogTag  ( 4875): *** RECV: -1 GOT: 0
I/LogTag  ( 4875): *** RETURN --> ERROR: -1 COUNT: 0
I/LogTag  ( 4875): *** GOT IO_TIMEOUT
I/LogTag  ( 4875): *** TRY AGAIN
I/LogTag  ( 4875): *** BUFFER_GET
I/LogTag  ( 4875): *** TAKEN: -1
I/LogTag  ( 4875): *** ERRNO: 11
I/LogTag  ( 4875): *** WAITFD --- BLOCK: 0 TOTAL: 0 START: 1474398291.1442
I/LogTag  ( 4875): *** RECV: -1 GOT: 0
I/LogTag  ( 4875): *** RETURN --> ERROR: -1 COUNT: 0
I/LogTag  ( 4875): *** GOT IO_TIMEOUT
(...)
I/LogTag  ( 4875): *** BUFFER_GET
I/LogTag  ( 4875): *** TAKEN: -1
I/LogTag  ( 4875): *** ERRNO: 11
I/LogTag  ( 4875): *** BUFFER_GET
I/LogTag  ( 4875): *** BUFFER_GET
V/WindowManager(  468): not Base app: Adding window Window{29f41e16 u0 com.airsoftsoftwair.hollywood/com.airsoftsoftwair.hollywood.HollywoodActivity} at 4 of 9
I/LogTag  ( 4875): *** APP_CMD_LOST_FOCUS
E/WifiStateMachine(  468): WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=25,26 rxSuccessRate=49,01 targetRoamBSSID=c8:0e:14:fa:33:72 RSSI=-68
E/WifiStateMachine(  468): WifiStateMachine starting scan for "Lillifee"WPA_PSK with 2412
I/Finsky  ( 1529): [1] com.google.android.vending.verifier.PackageVerificationReceiver.onReceive(2102): Skipping verification because own installation
D/PackageManager(  468): /data/app/vmdl803755498.tmp already staged; skipping copy
W/PackageParser(  468): Unknown element under <application>: enable-feature at /data/app/vmdl803755498.tmp/base.apk Binary XML file line #157
W/PackageParser(  468): No actions in intent filter at /data/app/vmdl803755498.tmp/base.apk Binary XML file line #228
I/art     (  468): Background partial concurrent mark sweep GC freed 174838(7MB) AllocSpace objects, 16(3MB) LOS objects, 33% free, 23MB/34MB, paused 2.655ms total 147.933ms
I/LogTag  ( 4875): *** APP_CMD_GAINED_FOCUS
W/InputMethodManagerService(  468): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@256ca6fa attribute=null, token = android.os.BinderProxy@3b0953f9
W/ActivityManager(  468): Activity pause timeout for ActivityRecord{782b689 u0 com.airsoftsoftwair.hollywood/.HollywoodActivity t15 f}
I/LogTag  ( 4875): *** APP_CMD_PAUSE
W/OpenGLRenderer( 1041): Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
W/OpenGLRenderer( 1041): Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
I/GrammarCompilationSvcCt( 5085): #startService for null, APP_NAMES.
W/ResourceType(  700): No package identifier when getting value for resource number 0x00000000
W/PackageManager(  700): Failure retrieving resources for com.airsoftsoftwair.hollywood: Resource ID #0x0
I/LogTag  ( 4875): *** APP_CMD_LOST_FOCUS
I/LogTag  ( 4875): *** APP_CMD_STOP
I/LogTag  ( 4875): *** APP_CMD_TERM_WINDOW
I/Process ( 4875): Sending signal. PID: 4875 SIG: 9
I/WindowState(  468): WIN DEATH: Window{2624cf3e u0 com.airsoftsoftwair.hollywood/com.airsoftsoftwair.hollywood.HollywoodActivity}
I/ActivityManager(  468): Process com.airsoftsoftwair.hollywood (pid 4875) has died
If you need more testing, I am warmed up now...

User avatar
airsoftsoftwair
Posts: 3027
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Network timeout on Android

Post by airsoftsoftwair » Wed Sep 21, 2016 3:31 pm

Hmm, weird. Build updated. Next log please :)

zylesea
Posts: 200
Joined: Tue Feb 16, 2010 12:50 am
Location: Westfalen/Germany
Contact:

Re: Network timeout on Android

Post by zylesea » Wed Sep 21, 2016 7:07 pm

At your service.
This time with much lesser debug output:

Code: Select all

I/LogTag  (29135): And Action!
I/threaded_app(29135): NativeWindowResized: 0x420b2bb0 -- 0x5a4f0fb8
I/LogTag  (29135): *** OPEN CONNECTION: www.airsoftsoftwair.de
I/LogTag  (29135): *** APP_CMD_WINDOW_RESIZED
I/LogTag  (29135): *** GOT0: 0
I/LogTag  (29135): *** SEND REQUEST: GET /images/products/hollywood/47_shot1.jpg HTTP/1.1
I/LogTag  (29135): 
I/LogTag  (29135): *** GOT1: 0
I/LogTag  (29135): *** SEND REQUEST: TE: trailers
I/LogTag  (29135): Connection: close, TE
I/LogTag  (29135): Host: www.airsoftsoftwair.de
I/LogTag  (29135): User-Agent: Hollywood 6.1
I/LogTag  (29135): 
I/LogTag  (29135): 
I/LogTag  (29135): *** GOT2: 0
I/LogTag  (29135): *** GETTING STATUS
I/LogTag  (29135): *** BUFFER_GET
I/LogTag  (29135): *** TAKEN: -1
I/LogTag  (29135): *** ERRNO: 11
I/LogTag  (29135): *** NEW WAITFD --- BLOCK: 0 TOTAL: 0 START: 1474472422.1387
I/LogTag  (29135): *** NOW RUNNING SELECT WITH TIMEOUT: 10 0
D/ConnectivityService(  468): updateNetworkScore for NetworkAgentInfo [WIFI () - 102] to 56
D/ConnectivityService(  468): rematching NetworkAgentInfo [WIFI () - 102]
D/ConnectivityService(  468): Network NetworkAgentInfo [WIFI () - 102] was already satisfying request 1. No change.
D/ConnectivityService(  468): notifyType AVAILABLE for NetworkAgentInfo [WIFI () - 102]
D/ConnectivityManager.CallbackHandler(  700): CM callback handler got msg 524290
D/ConnectivityManager.CallbackHandler( 1331): CM callback handler got msg 524290
D/ConnectivityManager.CallbackHandler(23153): CM callback handler got msg 524290
D/ConnectivityManager.CallbackHandler(28690): CM callback handler got msg 524290
D/ConnectivityManager.CallbackHandler( 6009): CM callback handler got msg 524290
D/ConnectivityService(  468): updateNetworkScore for NetworkAgentInfo [WIFI () - 102] to 60
D/ConnectivityService(  468): rematching NetworkAgentInfo [WIFI () - 102]
D/ConnectivityService(  468): Network NetworkAgentInfo [WIFI () - 102] was already satisfying request 1. No change.
D/ConnectivityService(  468): notifyType AVAILABLE for NetworkAgentInfo [WIFI () - 102]
D/ConnectivityManager.CallbackHandler(  700): CM callback handler got msg 524290
D/ConnectivityManager.CallbackHandler( 1331): CM callback handler got msg 524290
D/ConnectivityManager.CallbackHandler(23153): CM callback handler got msg 524290
D/ConnectivityManager.CallbackHandler(28690): CM callback handler got msg 524290
D/ConnectivityManager.CallbackHandler( 6009): CM callback handler got msg 524290
I/LogTag  (29135): *** RETURN FROM SELECT WITH: 0 11 ---- THIS TOOK: 10 10092
I/LogTag  (29135): *** EXIT: 0
I/LogTag  (29135): *** RECV: -1 GOT: 0
I/LogTag  (29135): *** RETURN --> ERROR: -1 COUNT: 0
I/LogTag  (29135): *** GOT IO_TIMEOUT
I/LogTag  (29135): *** NETWORK TIMEOUT THRESHOLD REACHED (10000) -- ERRORING
I/LogTag  (29135): *** GOT3: 1422 STATUS: -1
V/WindowManager(  468): not Base app: Adding window Window{35091124 u0 com.airsoftsoftwair.hollywood/com.airsoftsoftwair.hollywood.HollywoodActivity} at 7 of 13
D/ConnectivityService(  468): updateNetworkScore for NetworkAgentInfo [WIFI () - 102] to 56
D/ConnectivityService(  468): rematching NetworkAgentInfo [WIFI () - 102]
D/ConnectivityService(  468): Network NetworkAgentInfo [WIFI () - 102] was already satisfying request 1. No change.
D/ConnectivityService(  468): notifyType AVAILABLE for NetworkAgentInfo [WIFI () - 102]
D/ConnectivityManager.CallbackHandler(  700): CM callback handler got msg 524290
D/ConnectivityManager.CallbackHandler( 1331): CM callback handler got msg 524290
D/ConnectivityManager.CallbackHandler(23153): CM callback handler got msg 524290
D/ConnectivityManager.CallbackHandler( 6009): CM callback handler got msg 524290
D/ConnectivityManager.CallbackHandler(28690): CM callback handler got msg 524290
I/LogTag  (29135): *** APP_CMD_LOST_FOCUS
I/LogTag  (29135): *** APP_CMD_GAINED_FOCUS
W/InputMethodManagerService(  468): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@1149cc89 attribute=null, token = android.os.BinderProxy@99bccc7
W/ActivityManager(  468): Activity pause timeout for ActivityRecord{33613fd7 u0 com.airsoftsoftwair.hollywood/.HollywoodActivity t28 f}
I/LogTag  (29135): *** APP_CMD_LOST_FOCUS
I/LogTag  (29135): *** APP_CMD_PAUSE
W/OpenGLRenderer( 1041): Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
W/OpenGLRenderer( 1041): Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
W/ResourceType(  700): No package identifier when getting value for resource number 0x00000000
W/PackageManager(  700): Failure retrieving resources for com.airsoftsoftwair.hollywood: Resource ID #0x0
I/LogTag  (29135): *** APP_CMD_STOP

User avatar
airsoftsoftwair
Posts: 3027
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Network timeout on Android

Post by airsoftsoftwair » Thu Sep 22, 2016 7:10 pm

New build uploaded. This is different than the ones before. After you've selected an applet, it will not run the applet but run some custom code instead and exit. So don't wonder why applets aren't shown. Just post the log please.

zylesea
Posts: 200
Joined: Tue Feb 16, 2010 12:50 am
Location: Westfalen/Germany
Contact:

Re: Network timeout on Android

Post by zylesea » Thu Sep 22, 2016 9:33 pm

Here's the latest debug output:

Code: Select all

I/LogTag  (20366): And Action!
I/LogTag  (20366):
I/LogTag  (20366): *** IP is 198.245.51.200
I/LogTag  (20366): *** Removing leading "/", converting / to
I/LogTag  (20366): *** Query is:
I/LogTag  (20366): <<START>>
I/LogTag  (20366): GET / HTTP/1.0
I/LogTag  (20366): Host: coding.debuntu.org
I/LogTag  (20366): User-Agent: HTMLGET 1.0
I/LogTag  (20366):
I/LogTag  (20366): <<END>>
I/LogTag  (20366): *** GOT 524 BYTES
I/LogTag  (20366): *** GOT 416 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 416 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 416 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 416 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 416 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 416 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 416 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 416 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 416 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 416 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 416 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 416 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 416 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 224 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 416 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 832 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 832 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 640 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 832 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 416 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 416 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 416 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 832 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 640 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 416 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 416 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 416 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 1024 BYTES
I/LogTag  (20366): *** GOT 352 BYTES
W/ActivityManager(  468): Activity pause timeout for ActivityRecord{213c1ccf u0 com.airsoftsoftwair.hollywood/.HollywoodActivity t36 f}
I/ActivityManager(  468): Killing 19427:com.google.android.partnersetup/u0a11 (adj 15): empty #17
I/LogTag  (20366): *** APP_CMD_WINDOW_RESIZED
I/LogTag  (20366): *** APP_CMD_LOST_FOCUS
I/LogTag  (20366): *** APP_CMD_PAUSE
W/OpenGLRenderer( 1041): Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
W/OpenGLRenderer( 1041): Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
W/ResourceType(  700): No package identifier when getting value for resource number 0x00000000
W/PackageManager(  700): Failure retrieving resources for com.airsoftsoftwair.hollywood: Resource ID #0x0
D/ConnectivityService(  468): updateNetworkScore for NetworkAgentInfo [WIFI () - 103] to 60
D/ConnectivityService(  468): rematching NetworkAgentInfo [WIFI () - 103]
D/ConnectivityService(  468): Network NetworkAgentInfo [WIFI () - 103] was already satisfying request 1. No change.
D/ConnectivityService(  468): notifyType AVAILABLE for NetworkAgentInfo [WIFI () - 103]
D/ConnectivityManager.CallbackHandler(  700): CM callback handler got msg 524290
D/ConnectivityManager.CallbackHandler( 6009): CM callback handler got msg 524290
D/ConnectivityManager.CallbackHandler( 1331): CM callback handler got msg 524290
D/ConnectivityManager.CallbackHandler(20076): CM callback handler got msg 524290
D/ConnectivityManager.CallbackHandler( 3806): CM callback handler got msg 524290
I/LogTag  (20366): *** APP_CMD_STOP      


Post Reply