kitodo / kitodo-production

Kitodo.Production is a workflow management tool for mass digitization and is part of the Kitodo Digital Library Suite.
http://www.kitodo.org/software/kitodoproduction/
GNU General Public License v3.0
58 stars 65 forks source link

Unable to save changes to an existing workflow draft using HTTPS #4869

Open solth opened 2 years ago

solth commented 2 years ago

On several Kitodo.Production installations using HTTPS, I have observed that saving changes to an existing workflow draft does not work. After clicking the save button, the green popup message appears telling the user that he will be redirected after the saving process is completed, but then nothing happens. Neither the JavaScript console nor the server side logs contain any error messages and the browsers network analysis also doesn't show any problems.

Note: whether this is really related to accessing Kitodo.Production via HTTPS I do not know, but I only encountered this problem on installations with secure connections.

https://user-images.githubusercontent.com/19183925/145003974-26344747-c4a2-4436-ac87-8a455c98cd16.mov

matthias-ronge commented 2 years ago

I can't find any problem here, connected via HTTPS too, that works fine for me. How is your HTTPS setup structured? We connected Tomcat via AJP (mod_jk) from Apache, and Apache handles HTTPS encryption and certificates.

The setup is like here (even if the instructions are for version 2, nothing changes on the part of the Apache web server): Installation instructions for Kitodo.Production 2.3.1: Set up an Apache

henning-gerhardt commented 2 years ago

I can not reproduce this behavior too. I tested this with a complete new workflow in draft mode and every time on save click I was re-directed to the workflow oversee site.

We are using a Apache 2.4 with mod_proxy instead of mod_jk (mod_jk can not handle needed WebSockets) as application proxy which is forwarding the requests to Tomcat 9. Apache 2.4.x and Tomcat 9.0.x are configured to use the well-signed HTTPS certificate for this system.