Intermittent AJAX Atttachement Upload Failure in Firefox
(Firslty, thanks to all involved in this great product)
I'm running Redmine v2.3.2 under Windows Apache with ModSSPI (for NTLM) and thin.
The AJAX Document upload works perfect in IE and Chrome but intermittently fails in Firefox.
The first upload can succeed, then adding more documents results in 'error' appearing in the Optional Description element and the document fails to upload.
Looking at the Apache access logs it appears that the problem is related to authentication; with the working attempts logging user IDs and the failed attempts without. With Chrome you can see 2 attempts and the third attempt authenticating, in IE, you see nothing.
I've tried setting SSPIPerRequestAuth but that's made no difference. Help greatly appreciated.
#2 Updated by Thomas Löber almost 4 years ago
I have also experienced upload failures when there was too much time between two uploads.
The problem seems to be that the AJAX POST request (in contrast to GET) doesn't try to re-authenticate when the connection to the server was closed after some time of inactivity.
However I was able to build a workaround by issuing an AJAX GET request in case of failure and then try the upload (POST) again:
You will have to create an empty file
public for this to work.
#5 Updated by D G almost 4 years ago
Same problem here. Redmine 2.4.1 + Kerberos. Until this error is fixed we use included fallback form submission: