invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

Itgenase294: The connection asks for Invantive application authentication, but that is not supported

Replies happen on the forum.

Go to source

Question

When loading Supabase PostgreSQL via Invantive Credentials Server on Invantive Cloud I get the following error message:

09:13:27.193 itgenlom019: itgenase294: Er kon geen verbinding worden gemaakt met de database 'acme\acme-exact-online-acme'.
09:13:27.210 Fout itgenase294: Er kon geen verbinding worden gemaakt met de database 'acme\acme-exact-online-acme'.
De verbinding vraagt om Invantive applicatie-authenticatie, maar dat wordt niet ondersteund.
Schakel over naar database-authenticatie of gebruik een andere connector. Database-authenticatie kan worden geconfigureerd in uw instellingen*.xml-bestand.
09:13:27.215 Vraag itgencun002: Toon details? Vraag? [j/N]

The settings*.xml is:

<?xml version="1.0" encoding="utf-8"?>
<settings version="5">
  <group name="acme">
    <connection name="acme-exact-online-acme" authentication="Application" >
      <credentials
       order="10"
        database="acme-exact-online-acme"
        datacontainers="*"
        userLogonCodeMode="Hidden"
        passwordMode="Hidden"
        defaultUserLogonCode="john.doe@acme.eu"
        defaultPassword="secret"
       />
    </connection>
  </group>
</settings>

The Exact Online connection is established, but PostgreSQL gives the error. Connection string:

Server=aws-0-eu-central-1.pooler.supabase.com;Port=5432;Database=postgres;SslMode=Require;Trust Server Certificate=true

Accepted answer

This database connection uses the “Application” authentication mode. This is a historical facility for use with Invantive Producer on Oracle RDBMS. In this case, however, the data containers come in via Invantive Credentials Server instead of via a direct definition, and afterwards a check is performed whether the database connection is actually addressed correctly.

An analyst will investigate the issue.

As a workaround, it is advised specifically not to request PostgreSQL via Invantive Credentials Server. This can be done by specifying only the required data containers, for example as follows:

...
    <connection
     name="sample"
     authentication="Database"
    >
      <!--
           Verbind met Exact Online datacontainer met token ontvangen via
           Invantive Credentials Server.
      -->
      <credentials
       order="10"
       database="database-url-segment"
       datacontainers="eol"
       userLogonCodeMode="Hidden"
       passwordMode="Hidden"
       defaultUserLogonCode="john.doe.service.user@acme.eu"
       defaultPassword="secret"
      />
      <!--
           Verbind met Supabase met lokale definitie.
      -->
      <database
       order="20"
       alias="pg"
       provider="PostgreSql"
       userLogonCodeMode="Hidden"
       passwordMode="Hidden"
       connectionString="Server=1.2.3.4;Port=12345;Database=getmyreport;User Id=user;Password=secret;Trust Server Certificate=true;SSL Mode=Require;Include Error Detail=true"
       AllowConnectionStringRewrite="false"
      />
    </connection>
...

Reply 3

This question was automatically closed after 1 week of inactivity. The last answer provided has been marked as the solution.

Please ask a new question in a separate thread if the problem reoccurs. Please include a link to this thread in the new question by pasting its URL into the text.

Reply on the forum