Hi,
it seems that the attached error has nothing to do with Syncope nor with HA.

A quick search for

websocket HTTP upgrade is not supported by this protocol

e.g. the attached error message, brings to:

https://stackoverflow.com/questions/30667429/websockets-through-apache-and-tomcat-http-upgrade-is-not-supported-by-the-ajp-p

It seems you need to configure properly the web proxy sitting in front of the 
Console component(s) to support websockets.

HTH
Regards.

On 17/03/25 12:40, Bergmann, Clemens wrote:

Hi,

we are currently configuring syncope in our test environment. In this environment 
there are two servers each running tomcat 9. Each of the tomcats has core and console 
deployed. These installations share a common Database in a separate Mariadb cluster. 
In core.properties of each node the following line is configured as shown in the 
HA-Section of the documentation [1]: 
”persistence.remoteCommitProvider=tcp(Addresses=<ip of other 
node>,TransmitPersistedObjectIds=true)”. Tcpdump shows that packages are coming in 
on the other node when logging in and out. Logging in works on both nodes and we can 
work like this. There is an external hardware-LB with both of the nodes configured as 
backend Servers. Logging in via the LB works initially. After some requests I am 
logged out with the error message “Session expired: please login again”. In the 
core.log file I can see the attached exception.

Is there something I am missing in regards of the clustered operation of 
console or core?

[1] https://syncope.apache.org/docs/3.0/reference-guide.html#high-availability

Mit freundlichen Grüßen

Clemens (Bergmann)

--

Clemens Bergmann

[er/ihm; he/him]

Gruppe Nutzermanagement und Entwicklung

Technische Universität Darmstadt

Hochschulrechenzentrum, Alexanderstraße 2, 64283 Darmstadt

Tel. +49 6151 16 71184

http://www.hrz.tu-darmstadt.de/ <http://www.hrz.tu-darmstadt.de/>


--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/

Reply via email to