<p>I have an issue in the CraftCMS back office when I try to export all entries.</p>
<p>When I try to export all the entries in expanded mode</p>
<p><a href="https://i.sstatic.net/BObK5.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/BObK5.png" alt="enter image description here" /></a></p>
<p>it takes ~1min but every minute the back office send another request <strong>bundle-office/actions/users/session-info</strong>,</p>
<p><a href="https://i.sstatic.net/VAe0r.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/VAe0r.png" alt="enter image description here" /></a></p>
<p>when this second request is sent, the export request is timing out and return a 502 Bad Gateway.</p>
<p><a href="https://i.sstatic.net/Qu73W.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Qu73W.png" alt="enter image description here" /></a></p>
<p><strong>Does anyone know how craft / nginx handle those requests and how could I fix this issue ?</strong></p>
<p>Thanks</p>

CC BY-SA 4.0
2021-06-15T18:01:02.700Z
What's the error log saying? 502 is usually a sign that FPM didn't return any data because of an error... you might be hitting PHP's ``max_execution_time``, the default is 30 seconds.
RitterKnight
CC BY-SA 4.0
2021-06-16T15:20:30.763Z
I don't have logs access :/
In the request timings, the request stops at 2min
In my php_info I have php `max_execution_time` set to 360s
Antoine Maillard
CC BY-SA 4.0
2021-06-18T19:56:22.123Z
``memory_limit`` perhaps?
RitterKnight
<error><nginx><request>
Need help: multiple request throttling
# Need help: multiple request throttling

(Asked by: username_0 on 2021-06-15)

I have an issue in the CraftCMS back office when I try to export all entries.

When I try to export all the entries in expanded mode

[![enter image description here](https://i.sstatic.net/BObK5.png)](https://i.sstatic.net/BObK5.png)

it takes ~1min but every minute the back office send another request **bundle-office/actions/users/session-info**,

[![enter image description here](https://i.sstatic.net/VAe0r.png)](https://i.sstatic.net/VAe0r.png)

when this second request is sent, the export request is timing out and return a 502 Bad Gateway.

[![enter image description here](https://i.sstatic.net/Qu73W.png)](https://i.sstatic.net/Qu73W.png)

**Does anyone know how craft / nginx handle those requests and how could I fix this issue ?**

Thanks

**Tags:** error, nginx, request

> **Comments:**
> **username_1**: What's the error log saying? 502 is usually a sign that FPM didn't return any data because of an error... you might be hitting PHP's ``max_execution_time``, the default is 30 seconds.  
> **username_0**: I don't have logs access :/ In the request timings, the request stops at 2min In my php_info I have php `max_execution_time` set to 360s  
> **username_1**: ``memory_limit`` perhaps?  

---

## 0 answers

