Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

502 Proxy error during upload to databus #157

Open
jlareck opened this issue Jan 3, 2024 · 3 comments
Open

502 Proxy error during upload to databus #157

jlareck opened this issue Jan 3, 2024 · 3 comments

Comments

@jlareck
Copy link

jlareck commented Jan 3, 2024

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
Copy link
Collaborator

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

@jlareck
Copy link
Author

jlareck commented Jan 3, 2024

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
Copy link
Collaborator

manonthegithub commented Jan 3, 2024

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants