Sametime meetings jwt issue

After upgrade to sametime community 11.0 FP2, added the StAuthTokenJwt.dll file in the domino program directory modifying the sametime.ini with ST_AUTH_TOKEN=Fork:Jwt,notes and retrieve the GENERATED_SECRET from the meetings server, we get this error in the sametime log

I StUsers 18/Sep/20, 08:22:25 Sametime token authentication forking library version [SAMETIME10.0_20200722-1107]
E StUsers 18/Sep/20, 08:22:25 Error loading token authentication delegate [0] [StAuthTokenJwt]
E StUsers 18/Sep/20, 08:22:25 Error: authToken.initFunc failed. [3]
W StUsers 18/Sep/20, 08:22:25 Authentication module is not available in this session

Additionaly, we can't login anymore to the sametime chat web client.

Something wrong in the configuration?

Hi.

I was just to write about the same problem.

Same error on our setup.

OS - CentOS 8.2
Domino - 11.0.1
Sametime - 11 FP2
STproxy - 11 FP2
Meetings - 11.5 (Rancher RKE Kubernetes)

AUTH via Active directory - LDAP

in localhost.xxx.log we can see, that stproxy is connected to Domino server, and then in disconnects as soon as someone tries to login and then reconnects.

18-Sep-2020 10:05:44.363 INFO [Chuck the postman's dispatching thread.12] com.ibm.rtc.stproxy.cluster.ClusterManager.serverLoggedIn CLFRX0006I: Sametime Proxy server is successfully connected to the Sametime community, server name is xxxxxxxxxxxxxxxxxx server id is 0 0c0a80169
18-Sep-2020 10:05:44.363 INFO [Chuck the postman's dispatching thread.12] com.ibm.rtc.stproxy.cluster.ClusterManager.serverLoggedIn CLFRX0001I: local community is connected
18-Sep-2020 10:12:43.649 FINE [https-jsse-nio-8443-exec-10] com.ibm.rtc.stproxy.servlet.STLoginServlet.doLogin Storing login type: 5344
18-Sep-2020 10:12:43.652 INFO [pool-1-thread-5] com.ibm.rtc.stproxy.services.ExecutorServiceManager.lambda$registerExecutorService$0 ThreadPool[pool-1-thread-5] registered for service[Status-Thread-Pool]
18-Sep-2020 10:12:43.703 SEVERE [Chuck the postman's dispatching thread.12] com.ibm.rtc.stproxy.cluster.ClusterManager.getServerForNewRequestByHomeCluster CLFRX0009E: There is no Sametime community Server available.
18-Sep-2020 10:12:43.703 INFO [Chuck the postman's dispatching thread.12] com.ibm.collaboration.realtime.stproxy.services.community.CommunityService.callLoginService loginMethod: byPassword, SID: b7030b93-2b97-4391-b3b9-3f7ef322603d
18-Sep-2020 10:12:43.703 INFO [Chuck the postman's dispatching thread.12] com.ibm.collaboration.realtime.stproxy.services.community.CommunityService.callLoginService lightLoginService invoked, SID: b7030b93-2b97-4391-b3b9-3f7ef322603d
18-Sep-2020 10:12:43.705 WARNING [132] com.ibm.collaboration.realtime.stproxy.services.community.CommunityService.loggedOut, SID: b7030b93-2b97-4391-b3b9-3f7ef322603d CLFRX0027E: User [user] is logged out from 0 0c0a80169 Reason: 80000214
18-Sep-2020 10:12:43.705 WARNING [132] com.ibm.collaboration.realtime.stproxy.services.community.CommunityService.loginToOtherServer, SID: b7030b93-2b97-4391-b3b9-3f7ef322603d CLFRX0028E: Sametime Community Server is not available.
18-Sep-2020 10:12:43.705 INFO [132] com.ibm.collaboration.realtime.stproxy.services.conference.ConferenceManager.removeConference conferenceList size: 0
18-Sep-2020 10:12:43.706 WARNING [132] com.ibm.rtc.stproxy.server.login.ConnectionManager.serverLoggedOut CLFRX0002W: Sametime Proxy server is disconnected from the server on host xxxxxxxxxxxxx with the error 80000207.
18-Sep-2020 10:12:43.706 WARNING [132] com.ibm.rtc.stproxy.cluster.ClusterManager.serverLoggedOut warn_community_disconnected
18-Sep-2020 10:12:43.706 WARNING [132] com.ibm.rtc.stproxy.cluster.ClusterManager.serverLoggedOut CLFRX0002W: Sametime Proxy server is disconnected from the server on host xxxxxxxxxxxxxxxxxxxxxxx with the error 80000207.
18-Sep-2020 10:12:43.706 WARNING [132] com.ibm.rtc.stproxy.cluster.ServerLogin.loggedOut CLFRX0011W: Unable to log in to the Sametime community server xxxxxxxxxxxxxxxxxx. Error message is 80000207
18-Sep-2020 10:12:43.707 INFO [https-jsse-nio-8443-exec-10] com.ibm.collaboration.realtime.stproxy.services.community.CommunityService.pollLogin clientId: 5344, total login time: 56 ms, SID: null
18-Sep-2020 10:12:43.707 WARNING [https-jsse-nio-8443-exec-10] com.ibm.collaboration.realtime.stproxy.services.community.CommunityService.doService doService, SID[null] error.user.login[{"error":{"returnCode":503,"error":"4"}}]
18-Sep-2020 10:13:43.718 FINE [White Rabbit (Timer). 8] com.ibm.rtc.stproxy.cluster.ServerLogin.connect Connecting to ST server: Server name: xxxxxxxxxxxxxxxxxxxxxxxxx Cluster name: xxxxxxxxxxxxxxxxxxxxT, Server URL: sametimetst.xxx, serverID: 0 0c0a80169, Sametime session: null
18-Sep-2020 10:13:43.977 INFO [Chuck the postman's dispatching thread.14] com.ibm.rtc.stproxy.cluster.ClusterManager.serverLoggedIn CLFRX0006I: Sametime Proxy server is successfully connected to the Sametime community, server name is xxxxxxxxxxxxxxxx, server id is 0 0c0a80169

in catalina.out we get the following error:

18-Sep-2020 10:19:02.433 WARNING [Aunt Zelma's VP Listener 16] com.lotus.sametime.core.util.connection.RC2Receiver.run Exception on Receiver:
java.lang.NullPointerException
at com.lotus.sametime.community.kernel.VpKernel.diffieEncryptAuth(VpKernel.java:756)
at com.lotus.sametime.community.kernel.VpKernel.handleHandshakeAck(VpKernel.java:3499)
at com.lotus.sametime.community.kernel.VpKernel.onReceive(VpKernel.java:3150)
at com.lotus.sametime.community.kernel.connhandler.ConnectionHandler.dispatchMessage(ConnectionHandler.java:846)
at com.lotus.sametime.community.kernel.connhandler.ConnectionHandler.onReceive(ConnectionHandler.java:615)
at com.lotus.sametime.core.util.connection.Connection.onReceive(Connection.java:450)
at com.lotus.sametime.core.util.connection.Receiver.run(Receiver.java:158)
at java.lang.Thread.run(Thread.java:821)
18-Sep-2020 10:19:02.434 WARNING [Aunt Zelma's VP Listener 16] com.lotus.sametime.core.util.connection.RC2Receiver.run Buffer [1] that caused exception:
18-Sep-2020 10:19:02.434 WARNING [Aunt Zelma's VP Listener 16] com.lotus.sametime.core.util.connection.RC2Receiver.run Read data from input stream: true
18-Sep-2020 10:19:02.434 WARNING [Aunt Zelma's VP Listener 16] com.lotus.sametime.throwable.ThrowableReporter.caughtThrowable Notifying listeners about caught throwable: java.lang.NullPointerException
18-Sep-2020 10:19:02.434 WARNING [Aunt Zelma's VP Listener 16] Connection.send The receiver was stopped because of an error.
18-Sep-2020 10:19:02.450 INFO [Chuck the postman's dispatching thread.14] com.lotus.sametime.awareness.AwarenessImpl.channelClosed WIO channel was closed, reason [0]

So .. reading a bit more into documentation I started Domino and ST with ststart script instead of Nash's script.

And voila.. now login works.

Hi Aleksander,

What documentation you are talking about?

 

Bottom of this page.

https://help.hcltechsw.com/sametime/11.0.2/admin/enable_sametime_meeting.html?hl=ststart



I now added /opt/hcl/domino/notes/11000100/linux/STOpenSSL:/opt/hcl/domino/notes/11000100/linux/sticc to nashd's script and can now start it with that. Will have to fix to /opt/hcl/domino/notes/latest/linux for future Domino upgrades.

By starting Domino without nash's script, Sametime doesn't find STOpenSSL.

Thank you Aleksander but in my case I am using Windows so I think my problem is not the same

Just guessing here as I only have Linux version. Perhaps you missed this step?

This file is present in the domino directory but there is an error when loading it:

E StUsers 18/Sep/20, 08:22:25 Error loading token authentication delegate [0] [StAuthTokenJwt]
E StUsers 18/Sep/20, 08:22:25 Error: authToken.initFunc failed. [3]

@Jacques Pineau

This would be best handled in a case with support as we will probably need to review your configuration and will need the data to be uploaded and reviewed.

Same error here. Windows server, STAuthTokenJWT.dll is present but sametime.log has the error:

E StUsers 28/Sep/20, 12:33:58 Error loading token authentication delegate [0] [StAuthTokenJwt]
E StUsers 28/Sep/20, 12:33:58 Error: authToken.initFunc failed. [3]
W StUsers 28/Sep/20, 12:33:58 Authentication module is not available in this session
E StUsers 28/Sep/20, 12:33:58 Failed to initialize one or more directory access modules, exiting
I StUsers 28/Sep/20, 12:33:58 Terminated

I have the same exact problem.

If anybody has the solution, it would be great if he could post it in this thread.

In the meantime I will open a case with HCL.

I got the solution from HCL Support:

You need to install the latest Microsoft Visual C++ Runtime for Windows: https://aka.ms/vs/16/release/vc_redist.x64.exe

After the installation and a reboot of the Machine, everything works! :)

The documentation will be updated to include a hint for installing the latest MS VC Runtime.

Thanks for info!

Great It works for me!

Thanks Florian

FYI

There is a technote for this issue

Configuring JWT_SECRET for the Sametime Community Server requires latest Microsoft Visual C++ Runtime for Windows

https://support.hcltechsw.com/csm?id=kb_article&sysparm_article=KB0082613