Curl error 52: Empty reply from server

I have been getting this error: Curl error 52: Empty reply from server

It just started happening today after I imported 2 assets. When I clear the error, it goes away. After a couple of hours, it comes back.

What is this error and should I just ignore it?

1 Like

This error comes from UnityWebRequest (or WWW).
If you do any request in your project and that request fails, expect to see such error.
Otherwise you can ignore it (comes from Unity Services, Analytics, will be fixed in upcomming releases).

2 Likes

It happens to me too, pretty much the same as @LumoKvin described. However, I don’t do any HTTP requests in my scripts at all, and the bigger problem is that each such request crashes Unity (“Unity Editor has stopped working”). It doesn’t happen too often, but it’s still annoying. Is the crash a known bug?

I just got the error for the first time, but my Unity doesn’t crash. It just paused the editor, like with most errors that occur during editor play. Just like @lihail123 do I not have any HTTP requests in my scripts.

[Edit] Now I’m getting these error messages every few minutes, even though my editor isn’t in Play mode.

hi im uploading my game and i try 3 times and is the same when im publishing game

4 Likes

Getting this as well, noticing it after updating Visual Studio on Mac, maybe that has something to do with it?

1 Like

Its happening to me too i am restarting unity every like 7 minutes or so

1 Like

I just started seeing this error, with a new project so definitely not from our side.

Started appear today in my project few times in hour… yesterday didn’t… I didn’t update anything… just did some standard scripting…

2 Likes

Me Too… I keep getting this error as well.

1 Like

Not that it helps much, but I noticed when it happens. My laptop has a poor WiFi connection in the room I’m currently sitting in, and every few minutes my internet disconnects for a few seconds. That’s probably when the HTTP request error happens, and as I said, Unity crashes. If I move to a place with an excellent internet connection it stops from happening.

3 Likes

It just started for me today as well

I have also been getting this every so often today and don’t have any sort of web code that I know about in my project.

I think textmeshpro and the new input system preview are all I added to my project so I guess one of them causes it or is everyone is getting this error?

I’m currently following a tutorial making a very simple game (Just started with Unit) and I started getting that same error. My game only has 2 .png and 1 script. Seems like it’s just a bug with Unity that is causing this. BTW I’m connected via Ethernet to my modem so doubt it’s related to a connectivity issue.

Same here - haven’t seen this error so far ever.

I started to get this today, probably 20 - 30 times already.

Haven’t changed anything on my computer, nor have I updated Unity version (2018.4.18f1)

@Somewittyname I don’t know what these are (I don’t have them in my project) so you can be sure it’s not related to them, as I still get this error.

BTW I’m using Unity 2018.4.16f1

Same mistake today. This is the day that wants it. Nothing works properly with Unity since this morning

I’m getting “Curl error 52” as well. No HTTP activity in my code. Something’s up.

Yep… seems to be happening today, once again. Answers also has discussion about this.

I’m also getting “Curl error 52” since today. My version is 2019.3.0f6 Personal. My code doesn’t have any HTTP association at all.

I’ve been working on this version for few weeks and had no problem so far. And I don’t recall upgrading Unity Editor either. I wonder what’s wrong with it…