Search Issue Tracker
Won't Fix
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
- Shader Graph Create Node window cannot be resized or moved after maximizing and reopening it
- [Usability] Cannot toggle Scene checkboxes using TAB/Enter in Build Profiles’ > Open Scene List
- Installing HDRP package throws Shader Graph validation warning about Exposure node when installed in Universal 3D Template
- ShaderGraph “Create Node” menu’s resize icon overlaps with the menu's scrollbar
- ShaderGraph “Create Node” menu’s Search bar's typing cursor is barely visible since it's black on a dark background
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.