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

jetty queryt timeout too short #27

Open
2 of 3 tasks
JJ-Author opened this issue Sep 26, 2022 · 5 comments
Open
2 of 3 tasks

jetty queryt timeout too short #27

JJ-Author opened this issue Sep 26, 2022 · 5 comments
Milestone

Comments

@JJ-Author
Copy link
Contributor

JJ-Author commented Sep 26, 2022

I have a problem with this query. I think it is a jetty problem (timeout or http resultset is not big enough)

  • please change that in the dev databus - priority
  • discuss increasing the defaults
  • maybe add an easy option to configure that

[query](https://dev.databus.dbpedia.org/sparql?query=PREFIX%20fn%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2Fxpath-functions%23%3E%0APREFIX%20dcat%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2Fns%2Fdcat%23%3E%0APREFIX%20foaf%3A%20%3Chttp%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2F%3E%0APREFIX%20dataid%3A%20%3Chttp%3A%2F%2Fdataid.dbpedia.org%2Fns%2Fcore%23%3E%0APREFIX%20dataidcv%3A%20%3Chttp%3A%2F%2Fdataid.dbpedia.org%2Fns%2Fcv%23%3E%0APREFIX%20owl%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl%23%3E%0APREFIX%20dct%3A%20%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0APREFIX%20rdf%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E%0APREFIX%20rdfs%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E%0A%0ASELECT%20%3FsourceNS%20%3FtargetNS%20%3Ftypes%20(%3Fsize%2F1024%2F1024%20as%20%3FMiB)%20%0A%7B%0A%20%20%09%3Fgroup%20dct%3Atitle%20%3Ftypes%20.%0A%20%20%20%20%3Fdataid%20dataid%3Agroup%20%3Fgroup%20.%0A%20%20%20%20%3Fdataid%20dct%3Apublisher%20%3Fpublisher%20.%0A%20%20%20%20%3Fdataid%20dataid%3Aartifact%3Fartifact%20.%0A%20%20%20%20GRAPH%20%3Fg2%20%7B%20%3Chttps%3A%2F%2Fdev.databus.dbpedia.org%2Fmarvin%3E%20foaf%3Amaker%20%3Fpublisher%20.%20%7D%0A%20%20%20%20%3Fdataid%20dcat%3Adistribution%20%3Fdistribution%20.%0A%20%20%20%20%3Fdistribution%20dataidcv%3Atarget%20%3FtargetNS%20.%0A%20%20%20%20%3Fdistribution%20dataidcv%3Asource%20%3FsourceNS%20.%0A%20%20%20%20%3Fdistribution%20dataid%3Afile%20%3Ffile%20.%0A%20%20%20%20%3Fdistribution%20dcat%3AbyteSize%20%3Fsize%20.%0A%20%20%20%20%23BIND(replace(str(%3Fartifact)%2C%22https%3A%2F%2Fdev.databus.dbpedia.org%2Fmarvin%2Fdbpedia.org--ontology--%5BA-Za-z%5D%2B%2F%22%2C%22%22)%20as%20%3FsourceNS)%20.%0A%20%20%20%20FILTER%20(STR(%3FtargetNS)%20!%3D%20%22NULL%22%20)%0A%20%20%20%20%23FILTER%20(STR(%3Ftarget)%20!%3D%20%22NULL%22%20%26%26%20regex(%3FsourceNS%2C%22%3F.dbpedia.org%22)%0A%20%20%20%20%7D%20)

@JJ-Author JJ-Author added the pick up first high priority label Sep 26, 2022
manonthegithub added a commit that referenced this issue Sep 26, 2022
@manonthegithub
Copy link
Collaborator

@JJ-Author please update to new version, check and close in case if fixed

@JJ-Author
Copy link
Contributor Author

no it is unfortunately still an issue

root@dbpedia:~# curl -i 'http://localhost:3002/sparql'   -H 'Accept: application/sparql-results+json,*/*;q=0.9'   -H 'Accept-Language: en-US,en;q=0.9,de;q=0.8'   -H 'Cache-Control: no-cache'   -H 'Connect
ion: keep-alive'   -H 'Content-Type: application/x-www-form-urlencoded'   -H 'DNT: 1'   -H 'Origin: https://yasgui.triply.cc'   -H 'Pragma: no-cache'   -H 'Referer: https://yasgui.triply.cc/'   -H 'Sec-Fe
tch-Dest: empty'   -H 'Sec-Fetch-Mode: cors'   -H 'Sec-Fetch-Site: cross-site'   -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36'   -H
 'sec-ch-ua: "Chromium";v="104", " Not A;Brand";v="99", "Google Chrome";v="104"'   -H 'sec-ch-ua-mobile: ?0'   -H 'sec-ch-ua-platform: "Linux"'   --data-raw $'query=PREFIX%20fn%3A%20%3Chttp%3A%2F%2Fwww.w3
.org%2F2005%2Fxpath-functions%23%3E%0APREFIX%20dcat%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2Fns%2Fdcat%23%3E%0APREFIX%20foaf%3A%20%3Chttp%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2F%3E%0APREFIX%20dataid%3A%20%3Chttp%3A%2F
%2Fdataid.dbpedia.org%2Fns%2Fcore%23%3E%0APREFIX%20dataidcv%3A%20%3Chttp%3A%2F%2Fdataid.dbpedia.org%2Fns%2Fcv%23%3E%0APREFIX%20owl%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl%23%3E%0APREFIX%20dct%3A
%20%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0APREFIX%20rdf%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E%0APREFIX%20rdfs%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%
23%3E%0A%0ASELECT%20%3FsourceNS%20%3FtargetNS%20%3Ftypes%20(%3Fsize%2F1024%2F1024%20as%20%3FMiB)%20%0A%7B%0A%20%20%09%3Fgroup%20dct%3Atitle%20%3Ftypes%20.%0A%20%20%20%20%3Fdataid%20dataid%3Agroup%20%3Fgro
up%20.%0A%20%20%20%20%3Fdataid%20dct%3Apublisher%20%3Fpublisher%20.%0A%20%20%20%20%3Fdataid%20dataid%3Aartifact%3Fartifact%20.%0A%20%20%20%20GRAPH%20%3Fg2%20%7B%20%3Chttps%3A%2F%2Fdev.databus.dbpedia.org%
2Fmarvin%3E%20foaf%3Amaker%20%3Fpublisher%20.%20%7D%0A%20%20%20%20%3Fdataid%20dcat%3Adistribution%20%3Fdistribution%20.%0A%20%20%20%20%3Fdistribution%20dataidcv%3Atarget%20%3FtargetNS%20.%0A%20%20%20%20%3
Fdistribution%20dataidcv%3Asource%20%3FsourceNS%20.%0A%20%20%20%20%3Fdistribution%20dataid%3Afile%20%3Ffile%20.%0A%20%20%20%20%3Fdistribution%20dcat%3AbyteSize%20%3Fsize%20.%0A%20%20%20%20%23BIND(replace(
str(%3Fartifact)%2C%22https%3A%2F%2Fdev.databus.dbpedia.org%2Fmarvin%2Fdbpedia.org--ontology--%5BA-Za-z%5D%2B%2F%22%2C%22%22)%20as%20%3FsourceNS)%20.%0A%20%20%20%20FILTER%20(STR(%3FtargetNS)%20\u0021%3D%2
0%22NULL%22%20)%0A%20%20%20%20%23FILTER%20(STR(%3Ftarget)%20\u0021%3D%20%22NULL%22%20%26%26%20regex(%3FsourceNS%2C%22%3F.dbpedia.org%22)%0A%20%20%20%20%7D%20'   --compressed > sparql.out
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  673k    0  672k  100  1824  11467     30  0:01:00  0:01:00 --:--:--  179k
curl: (18) transfer closed with outstanding read data remaining

seems to hit a timeout of one minute now

@manonthegithub
Copy link
Collaborator

@JJ-Author I cannot reproduce this, so really hard to help. Maybe you could send me the data for reproduction?

manonthegithub added a commit that referenced this issue Sep 29, 2022
@manonthegithub
Copy link
Collaborator

@JJ-Author try now, hope now works

@JJ-Author JJ-Author removed the pick up first high priority label Sep 29, 2022
@JJ-Author JJ-Author added this to the backlog milestone Sep 29, 2022
@JJ-Author
Copy link
Contributor Author

yes, great. it works now. thank you.

manonthegithub added a commit that referenced this issue Nov 16, 2023
manonthegithub added a commit that referenced this issue Nov 16, 2023
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