# Curl error 52: Empty reply from server

**URL:** <https://forum.infinityfree.com/t/curl-error-52-empty-reply-from-server/66880>\
**Category:** Hosting Support\
**Created:** [October 4, 2022, 5:09pm UTC](https://forum.infinityfree.com/t/curl-error-52-empty-reply-from-server/66880 "2022-10-04T17:09:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon16245407](https://forum.infinityfree.com/letter_avatar/anon16245407/32/6_22734026db12803ebb3e059622ac3534.png) [@anon16245407](https://forum.infinityfree.com/u/anon16245407)\
**Post date:** [October 4, 2022, 5:09pm UTC](https://forum.infinityfree.com/t/curl-error-52-empty-reply-from-server/66880/1 "2022-10-04T17:09:48Z")

</div>

### valentin56610

[http://valentinstudio.great-site.net](http://valentinstudio.great-site.net)

### Error Message

Curl error 52: Empty reply from server

### Other Information

I am making a game using unity (C#) and currently trying to get a response from the server.  
I create a very simple .php script that I uploaded here using FTP  
the php script as shown in screenshot only displays a simple message  
I am trying to execute the request through a web request from within unity

Can I use InfinityFree to interact with a database and simply executes php scripts to handle databases?  
I have tried many things but always end up with this empty response from the server..  
Whenever I go to the link however the message is shown, like it displays just fine  
So, is the problem coming from the fact that I am trying to execute it from outside the web? Meaning an external app?

 ![Capture d’écran 2022-10-04 à 20.04.54](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/6/4/64b4ab473b3aa671a578991bcc97d0f22189295e.jpeg)

---

<div class="post-metadata">

**Author:** ![anon16245407](https://forum.infinityfree.com/letter_avatar/anon16245407/32/6_22734026db12803ebb3e059622ac3534.png) [@anon16245407](https://forum.infinityfree.com/u/anon16245407)\
**Post date:** [October 4, 2022, 5:11pm UTC](https://forum.infinityfree.com/t/curl-error-52-empty-reply-from-server/66880/2 "2022-10-04T17:11:17Z")

</div>

This is what I am trying to get from my app: [http://valentinstudio.great-site.net/Scripts/GetDate.php](http://valentinstudio.great-site.net/Scripts/GetDate.php)

---

<div class="post-metadata">

**Author:** ![YT\_Xaos](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/yt_xaos/32/45201_2.png) [@YT\_Xaos](https://forum.infinityfree.com/u/YT_Xaos)\
**Post date:** [October 4, 2022, 5:13pm UTC](https://forum.infinityfree.com/t/curl-error-52-empty-reply-from-server/66880/3 "2022-10-04T17:13:11Z")

</div>

I believe the problem you are running into is a direct cause of this.

> [@Ensuring only web browsers can access your website](https://forum.infinityfree.com/t/ensuring-only-web-browsers-can-access-your-website/49353):
>
> InfinityFree is a website hosting service. That means that the hosting accounts we provided are intended for hosting websites. Websites contain pages that are accessed through web browsers. InfinityFree is not intended to be used for file sharing, API hosting, database hosting or background tasks/tools. To help enforce this, free hosting enforces a security system that makes sure that anyone trying to access your website is using a normal web browser. This is done by checking whether the web br…

---

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [October 4, 2022, 5:14pm UTC](https://forum.infinityfree.com/t/curl-error-52-empty-reply-from-server/66880/4 "2022-10-04T17:14:01Z")

</div>

Sorry, but you cannot do that here. We are a website hosting service, not a file hosting service.

> [@Ensuring only web browsers can access your website](https://forum.infinityfree.com/t/ensuring-only-web-browsers-can-access-your-website/49353):
>
> InfinityFree is a website hosting service. That means that the hosting accounts we provided are intended for hosting websites. Websites contain pages that are accessed through web browsers. InfinityFree is not intended to be used for file sharing, API hosting, database hosting or background tasks/tools. To help enforce this, free hosting enforces a security system that makes sure that anyone trying to access your website is using a normal web browser. This is done by checking whether the web br…

---

<div class="post-metadata">

**Author:** ![anon16245407](https://forum.infinityfree.com/letter_avatar/anon16245407/32/6_22734026db12803ebb3e059622ac3534.png) [@anon16245407](https://forum.infinityfree.com/u/anon16245407)\
**Post date:** [October 4, 2022, 5:14pm UTC](https://forum.infinityfree.com/t/curl-error-52-empty-reply-from-server/66880/5 "2022-10-04T17:14:40Z")

</div>

Thank you so much guys I believe that would be the issue 🙂

Will buy a subscription somewhere else! Was trying to use infinity free for trials before paying some website

Have a great evening!

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [October 11, 2022, 5:15pm UTC](https://forum.infinityfree.com/t/curl-error-52-empty-reply-from-server/66880/6 "2022-10-11T17:15:14Z")

</div>

Closed on October 11, 2022, 5:15pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
