SOAP Connection Timeout Issues
  • 08 Jan 2025
  • 2 Minutes à lire
  • Sombre
    Lumière
  • PDF

SOAP Connection Timeout Issues

  • Sombre
    Lumière
  • PDF

The content is currently unavailable in French. You are viewing the default English version.
Résumé de l’article

The OneSpan Authentication Server SOAP communicator has two timeout settings:

  • Connection-Timeout. This defines (in seconds) how long the SOAP communicator should wait for a SOAP client to acknowledge that a connection has been established. When undefined, this is set to 90 seconds.
  • Connection-Idle-Timeout. This defines (in seconds) how long the SOAP communicator should wait for data on an idle socket before closing the connection. To disable the Connection-Idle-Timeout, set it to 0. If only one socket is open, the SOAP communicator will not close it for being idle. The Connection-Idle-Timeout setting will only be used whenever multiple SOAP communicator sockets are open. When undefined, this is set to 90 seconds.

If you are experiencing connection problems with the SOAP communicator, you can try to adjust the connection timeout values by modifying the OneSpan Authentication Server configuration file (i.e. identikeyconfig.xml).

The XML configuration file identikeyconfig.xml is located in the following folders:

/etc/vasco/ias (Linux)

%PROGRAMFILES%\VASCO\IDENTIKEY Authentication Server\bin (Windows)

The timeout settings are specified within the SoapCommunicator settings group.

<SoapCommunicator>
  <Enabled type="bool" data="true"/>
  <Library-Path type="string" data="%PROGRAMFILES%\VASCO\IDENTIKEY Authentication Server\bin\ikcommsoap.dll"/>
  <DPX-Upload-Location type="string" data="%PROGRAMFILES%\VASCO\IDENTIKEY Authentication Server\dpx\"/>
  <Connection-Timeout type="unsigned" data="20"/> 
  <Connection-Idle-Timeout type="unsigned" data="5"/>
  <IP-Port type="unsigned" data="8888"/>
</SoapCommunicator>

The values in this example configure the following behavior:

  • After attempting to establish a connection with a SOAP client, the SOAP communicator will fail the attempt if the SOAP client does not respond within 20 seconds.
  • If more than one SOAP communication sockets are open, any sockets that are idle for more than 5 seconds are closed (until only one SOAP communication socket remains).

Configuring the SOAP connection timeout values requires a restart of the OneSpan Authentication Server service (see OneSpan Authentication Server configuration).

SOAP client connection check

The Connection-Idle-Timeout setting of the SOAP communicator controls the time in which OneSpan Authentication Server should close an idle SOAP communication socket.

This connection, however, is not automatically closed on the SOAP client end. As such, the Administration Web Interface verifies if a connection is still open at the OneSpan Authentication Server end before using that connection. If the Administration Web Interface detects that the SOAP communicator has already closed that connection, the Administration Web Interface will do the following:

  1. Close the connection at the Administration Web Interface end.
  2. Open a new connection to the OneSpan Authentication Server SOAP communicator.

This behavior is controlled by the following webadmin.properties setting:

com.vasco.webadmin.checkStaleConnections=true

With the default setting (true), the Administration Web Interface will perform the connection check. If the OneSpan Authentication Server SOAP communicator Connection-Idle-Timeout setting is set to zero (i.e. disabled), then you can configure the Administration Web Interface to skip the connection check by setting checkStaleConnections to false.

To configure Administration Web Interface settings via webadmin.properties file

  1. Navigate to the Apache Tomcat installation directory (typically %PROGRAMFILES%\VASCO\IAS Web Administration\tomcat on Windows).
  2. Navigate to \webapps\ROOT\WEB-INF\classes\.
  3. Edit the webadmin.properties file accordingly.

Cet article vous a-t-il été utile ?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Ozzy, facilitant la découverte de connaissances grâce à l’intelligence conversationnelle