dbpedia / databus

A digital factory platform for managing files online with stable IDs, high-quality metadata, powerful API and tools for building on data: find, access, make interoperable, re-use
Apache License 2.0
36 stars 16 forks source link

502 Proxy error during upload to databus #157

Open jlareck opened 6 months ago

jlareck commented 6 months ago

When I uploaded data I got error

 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>502 Proxy Error</title>
</head><body>
<h1>Proxy Error</h1>
<p>The proxy server received an invalid
response from an upstream server.<br />
The proxy server could not handle the request <em><a href="/api/publish">POST&nbsp;/api/publish</a></em>.<p>
Reason: <strong>Error reading from remote server</strong></p></p>
<hr>
<address>Apache/2.4.29 (Ubuntu) Server at databus.dbpedia.org Port 443</address>
</body></html>

Status code is 502

manonthegithub commented 6 months ago

Hey @jlareck, could you describe more in detail what exactly you do and how?

jlareck commented 6 months ago

I executed post request on https://databus.dbpedia.org/api/publish in the loop in python script and I received that error 2 times out of 44 times

manonthegithub commented 6 months ago

@jlareck this could be due to a file size (body of the post request) being too big.... maybe we need to adjust configs of Apache for that... could you check if it is due to a file size? How big is the upload data size for the requests which fail? Do the random requests fail when you execute the loop or particular ones?