Hello! You might be hitting our throttling limits [1]. But that throttling should result in an HTTP 429 (too many requests) and not in a ECONNRESET. So there is something fishy here. I assume that your application is following our usual policies [2] and that you are using a custom user agent string to identify it. If that's the case, can you tell us what UA you're using, and I can have a look into the logs.
Thanks! Guillaume [1] https://www.mediawiki.org/wiki/Wikidata_Query_Service/Implementation#Usage_constraints [2] https://wikitech.wikimedia.org/wiki/Robot_policy#User_agent On Fri, Feb 22, 2019 at 9:57 AM Matthew Moy de Vitry <[email protected]> wrote: > > Hello everyone, > I am developing an application that requires many SPARQL queries to the > wikidata server (1k-2k each time I test it). The application front-end is > visible here: https://beta.water-fountains.org > > I am just making SPARQL queries from a nodeJS server to get information about > fountains. > This has been working fine for about a year, until yesterday, when the > connection started returning ECONNRESET or "Socket hang up". If I run the > query from the browser instead of the server it works fine, and if I use a > vpn, the NodeJS server is able perform the queries without issue. Here is an > example query: link > > Has anyone else had such an issue? Thanks! > Matthew > _______________________________________________ > Wikidata mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikidata -- Guillaume Lederrey Operations Engineer, Search Platform Wikimedia Foundation UTC+1 / CET _______________________________________________ Wikidata mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata
