Bad gateway on query

I’m receiving

<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>

Any recent changes? No codebase changes on my end :thinking:

What are you doing to get that error?

It occurs on a simple await query.count({useMasterkey: true})

Where from you run that? Is the server working? Can you restart it?

1 Like

I’m running it from my local workstation in a dev environment, it’s a next.js project running on the server side using the masterKey. (Worked before in the past days :thinking:)

I can’t access the dashboard, seems like the server timed out. The detail overview under servers looks ok with all values green.

Restarted it now

Edit: Restarting worked (It seems like it updated something, took a 10 minutes or so) Thanks! :+1: