You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (Jira)" <ji...@apache.org> on 2020/03/11 13:09:00 UTC
[jira] [Assigned] (JENA-1854) 502 Bad Gateway with reverse proxy on
Fuseki
[ https://issues.apache.org/jira/browse/JENA-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Seaborne reassigned JENA-1854:
-----------------------------------
Assignee: Andy Seaborne
> 502 Bad Gateway with reverse proxy on Fuseki
> --------------------------------------------
>
> Key: JENA-1854
> URL: https://issues.apache.org/jira/browse/JENA-1854
> Project: Apache Jena
> Issue Type: Improvement
> Components: Fuseki
> Affects Versions: Jena 3.11.0, Jena 3.14.0
> Reporter: Mikael
> Assignee: Andy Seaborne
> Priority: Major
> Time Spent: 50m
> Remaining Estimate: 0h
>
> When posting 40k turtle data that results error
> {noformat}
> Error 400: Parse error: [line: 1, col: 34] Undefined prefix: ebucore
> {noformat}
> the response is sent before entire input data is received. That confuses proxy and instead of above Fuseki error, client receives proxy error
> {noformat}
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>502 Bad Gateway</title>
> </head><body>
> <h1>Bad Gateway</h1>
> <p>The proxy server received an invalid
> response from an upstream server.<br />
> </p>
> <hr>
> <address>Apache/2.4.18 (Ubuntu) Server at xxx.fi Port 443</address>
> </body></html>
> {noformat}
>
> Posting data:
> {noformat}
> curl -v -X POST -H "Content-type: text/turtle" --data-binary @/tmp/subtitle.ttl [https://xxx.fi/fuseki/ds?graph=https://resource.lingsoft.fi/graph/demo]
> {noformat}
>
> Proxy:
> [https://xxx.fi/fuseki/ds] is proxy address pointing to [http://127.0.0.1:3030/ds|http://127.0.0.1:3030/]
>
> Discussion:
> [https://mail-archives.apache.org/mod_mbox/jena-users/202003.mbox/%3c9b87af5d-cdbe-d611-37b4-0a981fa04747@lingsoft.fi%3e]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)