Adding a Gateway Service

  1. On the Gateway Services tab of the AcuToWeb control panel, click New. The Gateway Services Properties dialog box appears.
  2. Using the table below, complete the details of the service:
    Field Description
    Gateway .conf file The name the file that controls the service. Specify a full path and filename for a new file, or browse to an existing file.
    Note: If you browse to an existing file, you should not alter the gateway port number if it is already in use and specified on the Gateway Services tab, otherwise you will not be able to edit or remove the existing entry; we recommend that you remove any redundant services/ports using the Remove option beforehand.
    AcuConnect host The instance of AcuRCL that will start new runtimes.
    AcuConnect port The port on which AcuConnect is listening. Defaults to 5632.
    Max Package Size The maximum size of packages exchanged between the client and the server (in bytes). Messages bigger than the default will be split; messages smaller than the default will be sent immediately without waiting for the buffer to be filled (and therefore this setting would have no effect). The default is 64000 (bytes).
    TCP Port The port that the Gateway is listening on, and uniquely identifies the service.
    Handshake Timeout The interval (in seconds) after which the handshake between the Gateway and AcuConnect will time out. This setting has no effect on other communications. The default value is 3 (seconds). Increase the value if the Gateway and AcuConnect are on different machines and/or there are network issues.
    Web Server Port The port that receives HTTP requests and routes them to the AcuToWeb Gateway
    Public Root Directory The location of the cascade style sheets; you can browse to find a suitable directory.
    File Cache Directory The location of cached files, which needs to be a writable directory; you can browse to find a suitable directory.
    Log Level The level of logging that is carried out. Permissible values are:
    Logs startup/connection information, and the loaded gateway configuration.
    Logs startup/connection information, tracing, and generic error reporting.
    Logs protocol information, tracing, and protocol error reporting.
    Logs detailed protocol information, tracing, and specific acuthin message handler information tracing (TC_W_BITMAP, TC_W_ICON…)
    Logs a hexdump of the transmission data.

    To specify more than one level, add the values together; for example, to log protocol info(4) and transmission data(8), specify a value of 12.

    Log filename The file in which the logging is recorded; you can browse to find a suitable file.
    Request Username/Password Always

    When checked, the web page prompts for a username and password before trying to connect. These details are verified in the AcuConnect access file.

    Use WebSock compression

    When checked, WebSocket compression is enabled.

    Use SSL Check to apply SSL authentication to your web pages. See Configuring SSL Authentication for more information.
    Note: You must have created the SSL Key and Certificate files already.
    SSL Key File The name of the SSL Key file (.key) if Use SSL is checked; you can browse to find a suitable file.
    SSL Certification File The name of the SSL Certificate file (.crt) if Use SSL is checked; you can browse to find a suitable file.
    Dependencies The names of other services to start before the AcuToWeb Gateway starts. Click Add to add a new dependency, or Delete to remove a selected dependency.
    Themes Enables you to access the Themes dialog box, where you can manage cascading style sheets. You can name themes and browse for a suitable CSS file that defines the theme.
  3. Click OK. The service is saved, and displayed on the main Gateway Services tab.