# Failed to connect: Gateway Time-out issue when restoring

**URL:** https://forum.duplicati.com/t/failed-to-connect-gateway-time-out-issue-when-restoring/12666
**Category:** Support
**Created:** [July 2, 2021, 10:04pm UTC](https://forum.duplicati.com/t/failed-to-connect-gateway-time-out-issue-when-restoring/12666 "2021-07-02T22:04:24Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)
#### Post date: [July 4, 2021, 9:53pm UTC](https://forum.duplicati.com/t/failed-to-connect-gateway-time-out-issue-when-restoring/12666/11 "2021-07-04T21:53:44Z")

</div>

> [@the1](#):
>
> It goes to listing backup dates than this

Same question – how long, and did `dlist` file analysis finish before that or was error during downloads?

> [@the1](#):
>
> any ideas?

Do you know how to look at requests and responses with browser web developer tools, commonly F12?

It would be useful to know how far things got. On a similar note, the nginx error log might have some info.  
`/var/log/nginx/error.log` is said to be the standard spot, but it can be moved. Note I don’t run nginx.

[How to Fix 500 Internal Server Error in NGINX](https://ubiq.co/tech-blog/fix-500-internal-server-error-nginx/) has some other ideas. Google finds a huge number of hits.

Although I’m not quite sure how nginx fits into the below (is this on Apapche?), the only previous report is:

> [@Failure to restore](https://forum.duplicati.com/t/failure-to-restore/9912/18):
>
> Ok, i have found the problem.
> 
> In fact, this came from apache2 with mod\_proxy.  
> Before, the apache config file contains :
> 
> > ProxyPass / [http://localhost:8200/](http://localhost:8200/)  
> > ProxyPassReverse / [http://localhost:8200/](http://localhost:8200/)
> 
> I had this line
> 
> > AllowEncodedSlashes On
> 
> And now it works 🙂
> 
> See this post : [Reverse Proxy on NGINX](https://forum.duplicati.com/t/reverse-proxy-on-nginx/1936/7)

The below are some people trying to reverse proxy Duplicati. You can see configurations and the issues.

[Reverse Proxy on NGINX](https://forum.duplicati.com/t/reverse-proxy-on-nginx/1936)

[Support reverse proxying the WebUI #1932](https://github.com/duplicati/duplicati/issues/1932)

EDIT:

These are the requests I got starting from Connect, and stopping when it moves off Listing backup dates:

 ![image](https://forum.duplicati.com/uploads/default/original/2X/6/650e56db03e7f5e74ed60697287e5f559f3c3055.png)

You can see the slow `filesets`. This is from Edge (Chromium-based), but most browsers have similar.

---

_[View the full topic](https://forum.duplicati.com/t/failed-to-connect-gateway-time-out-issue-when-restoring/12666)._
