Search Issue Tracker
By Design
By Design in 2023.2.X
Votes
0
Found in
2021.3.23f1
2023.1.0b13
2023.2.0a11
Issue ID
UUM-34399
Regression
No
“Curl error 56: Recv failure: Connection was reset“ connection error occurs arbitrarily when using UnityWebRequest.SendWebRequest
Reproduction steps:
1. Open the “CurlErrorStripped.zip” project
2. Open Test Runner and click “PlayMode”
3. Run the “UnityRestOperatorTests” test a few times
Expected result: The test passes every time
Actual result: The test fails sometimes with “Curl error 56: Recv failure: Connection was reset“ in Console
Reproduced in: 2021.3.23f1, 2023.1.0b13, 2023.2.0a11
Could not test in: 2020.3.47f1, 2022.2.16f1 (dependency errors)
Reproduced using: Windows 10 (by reporter), Windows 11
Not reproduced using: macOS 13.2.1 (Intel)
Notes:
1. Test fails more often in 2021.3 (~50%) than in 2023.2 (~10%)
2. Also reproduced in a test Player
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
I was only able to reproduce it once despite a lot of attempts using latest 2021.3.
This error mean an issue in the connection between server and Unity. It occasionally happens, network is not 100% reliable. Without a repro that gives a high failure rate, I don't see an issue here.
For testing purposes it is advised to run test server on the same machine, so that networking problems don't affect the tests.
Resolution Note (2023.2.X):
I was only able to reproduce it once despite a lot of attempts using latest 2021.3.
This error mean an issue in the connection between server and Unity. It occasionally happens, network is not 100% reliable. Without a repro that gives a high failure rate, I don't see an issue here.
For testing purposes it is advised to run test server on the same machine, so that networking problems don't affect the tests.