Discussion:
Fuseki proxy settings for federated queries
Dominique Vandensteen
2017-03-09 11:12:58 UTC
Permalink
Hi,
While trying to run a sparql with "service" I'm getting timeout errors. It
seems fuseki is not picking up the default java proxy properties
(-Dhttp.proxyHost=... and such)

I can configure the proxy using the solution described here
http://stackoverflow.com/a/25690647 but this doesn't look very clean to me.
Is there a "fuseki way" of doing this? Or will fuseki pick up the java
proxy properties in a next version?

Tested with fuseki 2.5.0

D.
A. Soroka
2017-03-09 12:43:39 UTC
Permalink
This sounds like a bug here:

https://github.com/apache/jena/blob/master/jena-arq/src/main/java/org/apache/jena/riot/web/HttpOp.java#L208

because those system properties should be getting picked up. Can you file a ticket on this with a description? I will take a look at it straightaway.

---
A. Soroka
The University of Virginia Library
Post by Dominique Vandensteen
Hi,
While trying to run a sparql with "service" I'm getting timeout errors. It
seems fuseki is not picking up the default java proxy properties
(-Dhttp.proxyHost=... and such)
I can configure the proxy using the solution described here
http://stackoverflow.com/a/25690647 but this doesn't look very clean to me.
Is there a "fuseki way" of doing this? Or will fuseki pick up the java
proxy properties in a next version?
Tested with fuseki 2.5.0
D.
Dominique Vandensteen
2017-03-09 13:32:04 UTC
Permalink
The ticket has been created here:
https://issues.apache.org/jira/browse/JENA-1309

D.
Post by A. Soroka
https://github.com/apache/jena/blob/master/jena-arq/src/
main/java/org/apache/jena/riot/web/HttpOp.java#L208
because those system properties should be getting picked up. Can you file
a ticket on this with a description? I will take a look at it straightaway.
---
A. Soroka
The University of Virginia Library
Post by Dominique Vandensteen
Hi,
While trying to run a sparql with "service" I'm getting timeout errors.
It
Post by Dominique Vandensteen
seems fuseki is not picking up the default java proxy properties
(-Dhttp.proxyHost=... and such)
I can configure the proxy using the solution described here
http://stackoverflow.com/a/25690647 but this doesn't look very clean to
me.
Post by Dominique Vandensteen
Is there a "fuseki way" of doing this? Or will fuseki pick up the java
proxy properties in a next version?
Tested with fuseki 2.5.0
D.
--
Dominique Vandensteen
Head of development

+ 32 474 870856
***@cogni.zone
skype: domi.vds
A. Soroka
2017-03-10 15:12:56 UTC
Permalink
I've got a PR with what I hope is a fix linked at that ticket. Is it possible for you to confirm whether or not it does in fact fix your problem?

---
A. Soroka
The University of Virginia Library
Post by Dominique Vandensteen
https://issues.apache.org/jira/browse/JENA-1309
D.
Post by A. Soroka
https://github.com/apache/jena/blob/master/jena-arq/src/
main/java/org/apache/jena/riot/web/HttpOp.java#L208
because those system properties should be getting picked up. Can you file
a ticket on this with a description? I will take a look at it straightaway.
---
A. Soroka
The University of Virginia Library
Post by Dominique Vandensteen
Hi,
While trying to run a sparql with "service" I'm getting timeout errors.
It
Post by Dominique Vandensteen
seems fuseki is not picking up the default java proxy properties
(-Dhttp.proxyHost=... and such)
I can configure the proxy using the solution described here
http://stackoverflow.com/a/25690647 but this doesn't look very clean to
me.
Post by Dominique Vandensteen
Is there a "fuseki way" of doing this? Or will fuseki pick up the java
proxy properties in a next version?
Tested with fuseki 2.5.0
D.
--
Dominique Vandensteen
Head of development
+ 32 474 870856
skype: domi.vds
Loading...