You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the NanopubClient._query_grlc_try_servers method, all available grlc servers are tried by checking if they don't return HTTP 502. This breaks on other types of failures, like timeouts. If one of the server times out (and currently https://openphacts.cs.man.ac.uk/nanopub/grlc/api/local/local/ does), the method raises an exception and everything falls apart.
A workaround is to modify the grlc_urls field to exclude the server producing timeouts.
A permanent solution would be to probably rewrite this method, including shorter timeouts (the default one is very long) and handling for more HTTP status (anything that isn't 200 = error?).
The text was updated successfully, but these errors were encountered:
In the
NanopubClient._query_grlc_try_servers
method, all available grlc servers are tried by checking if they don't return HTTP 502. This breaks on other types of failures, like timeouts. If one of the server times out (and currentlyhttps://openphacts.cs.man.ac.uk/nanopub/grlc/api/local/local/
does), the method raises an exception and everything falls apart.A workaround is to modify the
grlc_urls
field to exclude the server producing timeouts.A permanent solution would be to probably rewrite this method, including shorter timeouts (the default one is very long) and handling for more HTTP status (anything that isn't 200 = error?).
The text was updated successfully, but these errors were encountered: