I've installed Meetings on a K8s 1.17 cluster on it's own physical node. I can open the application at https://meetings.ourdomain.local:32443/meeting. This will show me the login screen, however it fails when logging in.
This is log from the auth container:
FetchError: invalid json response body at https://sametime.ourdomain.local:8443/stwebapi/user/connect reason: Unexpected end of JSON input
2020-10-14T17:41:25.235905615Z at /node_modules/node-fetch/lib/index.js:272:32
2020-10-14T17:41:25.235909935Z at processTicksAndRejections (internal/process/task_queues.js:85:5) {
2020-10-14T17:41:25.235913157Z message: 'invalid json response body at https://sametime.ourdomain.local:8443/stwebapi/user/connect reason: Unexpected end of JSON input',
2020-10-14T17:41:25.235916364Z type: 'invalid-json'
2020-10-14T17:41:25.235919241Z }
We are also prevented from logging into our web based Sametime interface. In the browser I can see that when the connect endpoint is queried with a correct username/password, I get a 404 back. The endpoint is present and I've tested this by using an incorrect username/password in, to which I get the appropriate response and not a 404...
This is our stproxyconfig.xml. I've had to comment out the Meetings part for the moment so that Sametime Web chat works. The jwtSecret is copied from helm/templates/meetings-secrets.yaml.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configuration>
<server>
<host>sametime.ourdomain.local</host>
<port>1516</port>
<clusterlist/>
<maxconnections>-1</maxconnections>
<SAMLAuth/>
</server>
<httponlyexception/>
<secureexception/>
<IDPUrl/>
<!--<jwtSecret>
****************************************************************************************==
</jwtSecret>
<refreshJwt>
<enabled>true</enabled>
<path>/meeting-auth/api/v1/refresh</path>
</refreshJwt>
<meeting>
<host>meetings.ourdomain.local</host>
<port>32443</port>
<isSecure>false</isSecure>
</meeting>
<tokenDomain>.ourdomain.local</tokenDomain>
-->
</configuration>
This is the relevant part of our sametime.ini:
[ST_BB_NAMES]
ST_CHAT_DATABASE=mongodb
NWAY_PRIMARY_KEY=OrigSId
ST_CHAT_LOG=MongoDB
FLEXNET_URL=
#;ST_AUTH_TOKEN=notes
ST_AUTH_TOKEN=Fork:Jwt,notes
[Config]
JWT_SECRET=***************************************************************************************==
I've also installed the latest Microsoft C++ Runtime as mentioned in other threads, copied the dll into the c:\domino directory and rebooted the server.
I cannot find anything obvious in the trace file either...
I StUsers 14/Oct/20, 19:20:12 Sametime token authentication forking library version [SAMETIME10.0_20200722-1107]
I StUsers 14/Oct/20, 19:20:12 Sametime token authentication JWT library version [SAMETIME10.0_20200825-1211]
I StUsers 14/Oct/20, 19:20:12 Sametime StAuthTokenNotes Library SAMETIME10.0_20200722-1107
The only error being:
E StUsers 14/Oct/20, 19:49:08 Anonymous authentication manager was not initialized!