-
Bug
-
Resolution: Fixed
-
Normal
-
2.6.0b1
-
None
-
Firefox 86.0
Tested with Windows and Linux
Since the changes to PICARD-2126 the tagger button on my Firefox on Ubuntu Linux reacty very slowly. I click the button, Firefox also shows a started request in the console, but the response only comes > 4 seconds later.
Adding logging to Picard shows that also request processing happens with this delay.
Now the strange things:
- I cannot reproduce this with Chrome, Chromium or Edge
- This only happens when clicking the tagger button
- Entering the tagger URL directly into Firefox resolves quickly
- Simulating what mb.org does when clicking this link in the console works very quickly.
If you click the tagger button the website basically runs this code:
var tagger = new Image();
tagger.src = 'http://127.0.0.1:8000/openalbum?id=d504970c-abf5-4d67-b472-a1b350523439&t=1614779620';
If I run the above in the browsers console it performs the request quickly. But if it is performed by clicking on the button it resolves very slowly, even though the request starts quickly, which indicates the code ran.
Running Picard with the old browser code is working as expected, indicating that it is related to the new server code.
- is related to
-
PICARD-2126 Allow cross origin access to browser integration
- Closed