Informatievlaanderen / VSDS-LDESServer4J

Linked Data Event Streams Server for Java
https://informatievlaanderen.github.io/VSDS-LDESServer4J
European Union Public License 1.2
10 stars 10 forks source link

Error ResourceAccessException: I/O error on POST request for "http://localhost:9411/api/v2/spans", when try to Geo-frag KBO data #454

Closed xdxxxdx closed 1 year ago

xdxxxdx commented 1 year ago

Describe the bug Error threw by LDES server : 2023-03-10 11:51:58 org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://localhost:9411/api/v2/spans": Failed to connect to localhost/127.0.0.1:9411

When try to Geo fragment KBO data: (please see: 0404.616.494.ttl) in Cegeka-KBO-GeoFragment.zip

To Reproduce Steps to reproduce the behavior:

  1. Unzip Cegeka-KBO-GeoFragment.zip
  2. Go inside this file and run docker compose up
  3. post 0404.616.494.ttl to the LDES server
  4. See error

Expected behavior Geo fragment should be applied to the KBO data based on the VIEWS_0_FRAGMENTATIONS_0_CONFIG_FRAGMENTERPROPERTY=http://www.opengis.net/ont/geosparql#asWKT

Current result 2023-03-10 11:51:58 org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://localhost:9411/api/v2/spans": Failed to connect to localhost/127.0.0.1:9411

Please see: ErrorKBOGeo.txt in Cegeka-KBO-GeoFragment.zip for the docker logs

The posted member is not processed to any fragment. image image image

Additional context Pagination works fine for KBO data

Please feel free to ping me if you need other info

Yalz commented 1 year ago

Hi @xdxxxdx,

Have you disabled the tracing as shown here? https://github.com/Informatievlaanderen/VSDS-LDESServer4J#local-tracing-and-metrics

xdxxxdx commented 1 year ago

@Yalz , Hello, I didn't disable the tracing. Cegeka-KBO-GeoFragment.zip I just run the docker compose file from this zip

Thanks

xdxxxdx commented 1 year ago

p.s.

FYI, the similar conformance testing were also done for substring and pagination. Both are working fine.

xdxxxdx commented 1 year ago

image The issue is solved by adding notation to the wkt value: geo:asWKT "POINT (4.406393329910549 51.212274300000004)"^^http://www.opengis.net/ont/geosparql#wktLiteral ;