Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2020.3.X, 2021.1.X

Votes

7

Found in

2020.1.0a8

2020.1.17f1

2020.2

2021.1

2021.2

Issue ID

1313205

Regression

Yes

Setting HttpClient.Timeout to a value greater than the default value of 100 seconds has no effect

Mono

-

Reproduction steps:
1. Open user's project "Timeout.zip"
2. Open "SampleScene" Scene
3. Enter Play mode
4. Wait for 3 minutes

Expected result: Console logs out "Status: OK" after 3 minutes
Actual result: Console logs out error: "Error after 40: System.Net.Http.HttpRequestException: An error occurred while sending the request ---> System.Net.WebException: The operation has timed out." after 100 seconds (full error in edits)

Reproducible with: 2020.1.0a8, 2020.2.6f1, 2021.1.0b9, 2021.2.0a7
Not reproducible with: 2018.4.32f1, 2019.4.21f1, 2020.1.0a7

Note: Setting HttpClient.Timeout to a lower value than 100 seconds has an effect, but setting it over 100 seconds doesn't

  1. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a11

  2. Response avatar

    Resolution Note (fix version 2021.1):

    Fixed in 2021.1.9f1

  3. Response avatar

    Resolution Note (fix version 2020.3):

    Fixed in: 2020.3.12f1

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.