Search Issue Tracker
Won't Fix
Won't Fix in 2023.2.X
Votes
0
Found in
2021.3.29f1
2022.3.6f1
2023.1.6f1
2023.2.0b2
Issue ID
UUM-44327
Regression
No
“Curl error 56: Recv failure: Connection was reset“ error when running tests with UnityWebRequest against a web server
How to reproduce:
1. Open the attached “WebServerTest.zip“ project
2. Open the “SampleScene“ Scene
3. Open the Test Runner window (Window>General>Test Runner)
4. Select the “PlayMode“ tab and press “Run All“ (this step usually needs to be repeated up to 20 times for the error to appear)
Expected result: No errors in the Console
Actual result: “Curl error 56: Recv failure: Connection was reset“ error in the Console
Reproducible with: 2021.3.29f1, 2022.3.6f1, 2023.1.6f1, 2023.2.0b2
Reproduced on: Windows 10
Not reproducible on: macOS 13.4.1 (Intel)
Notes:
- Not reproducible in a test Player
- Running tests using Flask and a standalone C# application as the web server didn’t result in the error
- The server implementation can be changed by removing the “ListenOriginalWebServer” Script from the “Server“ GameObject and adding the “ListenOriginalWebServer“ Script (Task implementation) or the “SimpleWebServerAlt“ Script (Coroutine implementation)
- Also there is a standalone visual studio “StandaloneServer“ project attached with code similar to the task implementation that works without encountering the error (the project needs to be compiled and any server component removed from the “Server” GameObject to test it)
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
This is not a bug that we will be able to correct. Our long term goal is to move away from Mono to CoreCLR as a runtime for .NET in Unity, where this does not occur.
Resolution Note (2023.2.X):
This is not a bug that we will be able to correct. Our long term goal is to move away from Mono to CoreCLR as a runtime for .NET in Unity, where this does not occur.