Skip to content

HttpSession "timeout" attribute not respected by HttpSender #9014

@MLenterman

Description

@MLenterman

Current Behavior

When I configure a timeout value of 60000 in the HttpSession, I get timeout exceptions on the HttpSenders using the HttpSession, stating it timed out after the default 10000 ms.

Confirmed in the Frank!Console "configuration" tab that the HttpSession is actually filled with the correct value for timeout.

Expected Behavior

HttpSession timeout attribtue should be respected by HttpSender.

Would also be nice to see what the combined attributes from HttpSession and on the HttpSender itself are. Currently I can't find any way to check if any of the HttpSession attributes are actually applied or not.

Environment Information

FF! 9.1.1-20250513.130355: ZaakBrug 1.24.5
Running on 56d544cb125f using Apache Tomcat/10.1.39
Java Version: OpenJDK Runtime Environment (21.0.6+7-LTS)
Heap size: 527.8 MiB, total JVM memory: 1.2 GiB
Free memory: 656.2 MiB, max memory: 11.5 GiB
Free disk space: 971.3 GiB, total disk space: 1006.9 GiB
Up since: 2025-05-14 12:50:12, timezone: Europe/Amsterdam

Steps To Reproduce

No response

Configuration

<SharedResources>
        <HttpSession
            name="zaken-api-connector" 
            timeout="${zaakbrug.zgw.zaken-api.timeout}"
            verifyHostname="${zaakbrug.zgw.zaken-api.verifyHostname}"
            allowSelfSignedCertificates="${zaakbrug.zgw.zaken-api.allowSelfSignedCertificates}"
            disableCookies="${zaakbrug.zgw.zaken-api.disableCookies}"
            ignoreCertificateExpiredException="${zaakbrug.zgw.zaken-api.ignoreCertificateExpiredException}"
            truststore="${zaakbrug.zgw.zaken-api.truststore.uri}"
            truststoreAuthAlias="${zaakbrug.zgw.zaken-api.truststore.authAlias}"
            truststoreType="${zaakbrug.zgw.zaken-api.truststore.type}" />
        <HttpSession
            name="catalogi-api-connector"
            timeout="${zaakbrug.zgw.catalogi-api.timeout}"
            verifyHostname="${zaakbrug.zgw.catalogi-api.verifyHostname}"
            allowSelfSignedCertificates="${zaakbrug.zgw.catalogi-api.allowSelfSignedCertificates}"
            disableCookies="${zaakbrug.zgw.catalogi-api.disableCookies}"
            ignoreCertificateExpiredException="${zaakbrug.zgw.catalogi-api.ignoreCertificateExpiredException}"
            truststore="${zaakbrug.zgw.catalogi-api.truststore.uri}"
            truststoreAuthAlias="${zaakbrug.zgw.catalogi-api.truststore.authAlias}"
            truststoreType="${zaakbrug.zgw.catalogi-api.truststore.type}" />
        <HttpSession
            name="documenten-api-connector"
            timeout="${zaakbrug.zgw.documenten-api.timeout}"
            verifyHostname="${zaakbrug.zgw.documenten-api.verifyHostname}"
            allowSelfSignedCertificates="${zaakbrug.zgw.documenten-api.allowSelfSignedCertificates}"
            disableCookies="${zaakbrug.zgw.documenten-api.disableCookies}"
            ignoreCertificateExpiredException="${zaakbrug.zgw.documenten-api.ignoreCertificateExpiredException}"
            truststore="${zaakbrug.zgw.documenten-api.truststore.uri}"
            truststoreAuthAlias="${zaakbrug.zgw.documenten-api.truststore.authAlias}"
            truststoreType="${zaakbrug.zgw.documenten-api.truststore.type}" />
        <HttpSession
            name="besluiten-api-connector"
            timeout="${zaakbrug.zgw.besluiten-api.timeout}"
            verifyHostname="${zaakbrug.zgw.besluiten-api.verifyHostname}"
            allowSelfSignedCertificates="${zaakbrug.zgw.besluiten-api.allowSelfSignedCertificates}"
            disableCookies="${zaakbrug.zgw.besluiten-api.disableCookies}"
            ignoreCertificateExpiredException="${zaakbrug.zgw.besluiten-api.ignoreCertificateExpiredException}"
            truststore="${zaakbrug.zgw.besluiten-api.truststore.uri}"
            truststoreAuthAlias="${zaakbrug.zgw.besluiten-api.truststore.authAlias}"
            truststoreType="${zaakbrug.zgw.catalogi-api.truststore.type}" />
    </SharedResources>

Input

No response

What database are you using?

No response

What browsers are you seeing the problem on?

No response

Relevant Log Output

Anything else?

No response

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions