Search Issue Tracker

Won't Fix

Votes

0

Found in

2018.2.16f1

Issue ID

1101448

Regression

No

[Android] UnityWebRequest.SendWebRequest() produces EOF Exception on Android 4

Mobile

-

Steps to reproduce:
1. Open user attached project
2. Build & Run on to an Android 4 device
3. Click the button and observe the logcat

Expected result: UnityWebRequest.SendWebRequest() should not produce EOF Exception on Android 4

Reproduced in: 2019.1.0a10, 2018.3.0b12, 2018.2.17f1, 2017.4.16f1, 2017.3.2f1 with .Net 4.6 and .Net 3.5 on Mono and IL2CPP

Tested devices:
Reproduced on :
VLNQA00016, Samsung Galaxy S4 Mini (GT-I9195), Android 4.4.2, CPU: Snapdragon S4 Plus MSM8960, GPU: Adreno (TM) 305
VLNQA00141, Htc Droid DNA (HTC6435LVW), Android 4.1.1, CPU: NOT FOUND, GPU: Adreno (TM) 320
Not reproduced:
VLNQA00217, Razer Phone 2 (Phone 2), Android 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
VLNQA00031, Lge Nexus 5 (Nexus 5), Android 6.0.1, CPU: Snapdragon 800 MSM8974, GPU: Adreno (TM) 330
N/A, Amazon UNKNOWN (KFDOWI), Android 5.1.1, CPU: NOT FOUND, GPU: Mali-T720
VLNQA00043, Samsung Galaxy S3 Mini Value Edition (GT-I8200N), Android 4.2.2, CPU: Marvell PXA988, GPU: GC1000 Graphics Engine - Error: Cannot resolve destination host

  1. Resolution Note:

    This is a known bug in Android 4.x.
    Can be worked around by setting a request header Accept-Encoding to empty string, see https://stackoverflow.com/questions/17638398/androids-httpurlconnection-throws-eofexception-on-head-requests

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.