lindas-uc / lindas-issues

Share our issues and questions about http://lindas-data.ch/
0 stars 0 forks source link

404 from SPARQL Endpoint #6

Open retog opened 8 years ago

retog commented 8 years ago

I'm having a hard time understanding the reason for this response, other POST requests to the same URI and even with identical headers and payload succeed.

172.017.000.002.41234-081.018.018.068.00080: POST /sparql HTTP/1.1
Content-Length: 396
Content-Type: application/x-www-form-urlencoded
Host: test.lindas-data.ch
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.4 (Java 1.5 minimum; Java/1.8.0_66)
Accept-Encoding: gzip,deflate

query=PREFIX+blv%3A+%3Chttp%3A%2F%2Fblv.ch%2F%3E%0APREFIX+xsd%3A+++++%3Chttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23%3E%0ASELECT+DISTINCT+%3FT+FROM+%3Chttp%3A%2F%2Ftest.lindas-data.ch%2Fresource%2Fanimaltransports%3E+WHERE+%7B++++%3FM+blv%3AtoFarm+%3Chttp%3A%2F%2Ffoodsafety.data.admin.ch%2Fbusiness%2F40081%3E+.+++%3FM+blv%3AfromFarm+%3FT.+++%3FM+blv%3Adate+%222006-07-19%22%5E%5Exsd%3Adate.%7D

081.018.018.068.00080-172.017.000.002.41234: HTTP/1.1 404 File not found
Server: nginx
Date: Wed, 06 Jan 2016 19:48:30 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Content-Encoding: gzip

c0
=0w~'2%SGL@JKQ&)^2]F.S.Xa7**4i(Z+="GC VuJ>?9b~~uvZqNom
0
martin-voigt commented 8 years ago

I've tested it right now and works for me. Have yous till the problem?

jonasch commented 8 years ago

Test also worked for me. Result set is empty, because the date format is not correct. Maybe this produces the error depending on what software you use to do the POST request.