How to increase timeout for metadata reload?

Peter Schober peter.schober at univie.ac.at
Fri Mar 6 13:35:07 EST 2020


* Scott Gilbert <sgilbert at ucsb.edu> [2020-03-06 18:17]:
> I am getting the timeout error below on IdP v3.4.6. Is there a setting
> where I can increase the timeout? Going to check tomcat 9 docs but if
> anyone has run into this and have a quick fix let me know. Thanks.
> 
> http --verify=no
> https://localhost:443/idp/profile/admin/reload-service?id=shibboleth.MetadataResolverService

If you have to reload the metadata resolver you're probably doing
something wrong, such as adding a new metadata provider for each SP or
piece of metadata. Don't do that. Instead use one of the provided
alternatives, such as configuring /one/ metadata provider with a local
aggregate (i.e., put all SPs into a single file and reload that
specific metadata provider) or with localDynamic (i.e., put all SPs
into separate files and reload that specific metadata provider).

Unless you're trying to do just that?

What metadata provider causes the slowness, do you know?
What happens when you try to download all the remote metadata from all
the other metadata providers, e.g. using `curl -m30 $URL" for each URL?
Does that help identify the one being slow to respond?

-peter


More information about the users mailing list