-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
High
-
None
-
Affects Version/s: 9.0.1
-
Component/s: Server - EAP
-
Severity 2 - Major
-
CtB - Improve Existing
Hi Atlassian Team,
In recent versions of Confluence 9 (also the last one), some of our resources randomly do not load in Chrome with the error ERR_INVALID_CHUNKED_ENCODING. These scripts are loaded dynamically depending on what is executed in the application GUI by loading them on demand. The same files opened in a new tab load correctly.
This problem also affects some built-in resources.
1) I get an error on various resources, sometimes it's js, sometimes it's a page etc.
In case of an error on the page, I am able to get it almost every time - I go to edit any page, when the page in edit mode is ready, I click "back" in the browser.
2) I don't use any proxy, I have a clean installation of macOS, the environment is deployed directly on this machine (atlas-run)
3) In the case of my additional js files, the error is also random. I load them very simply by adding them to the head element via javascript. Basically, these JS scripts are available to everyone from all possible places through the appropriate URL for this add-on
//Loading our JS var scriptElement = document.createElement("script"); scriptElement.type = "text/javascript"; scriptElement.id = id; scriptElement.src = baseUrl + ourResourcesUrl + filePathAndName; AJS.$("head").append(scriptElement);
atlassian-plugin.xml
<resource type="download" name="appjs/" location="js/appjs/"/>
I performed the above tests on this configuration:
<confluence.version>9.0.0-m97</confluence.version> <platform.version>7.0.8</platform.version> ATLAS Version: 8.2.10 ATLAS Home: /Applications/Atlassian/atlassian-plugin-sdk ATLAS Scripts: /Applications/Atlassian/atlassian-plugin-sdk/bin ATLAS Maven Home: /Applications/Atlassian/atlassian-plugin-sdk/apache-maven-3.9.5 AMPS Version: 8.14.3 -------- Executing: /Applications/Atlassian/atlassian-plugin-sdk/apache-maven-3.9.5/bin/mvn --version -gs /Applications/Atlassian/atlassian-plugin-sdk/apache-maven-3.9.5/conf/settings.xml Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546) Maven home: /Applications/Atlassian/atlassian-plugin-sdk/apache-maven-3.9.5 Java version: 17.0.11, vendor: Eclipse Adoptium, runtime: /Library/Java/JavaVirtualMachines/jdk-17.0.11+9/Contents/Home Default locale: en_PL, platform encoding: UTF-8 OS name: "mac os x", version: "14.5", arch: "aarch64", family: "mac"
When running version 8.9 on the same machine, with the same configurations, the same browser, everything loads every time.
<confluence.version>8.9.0</confluence.version> <platform.version>NOT USED</platform.version> ATLAS Version: 8.2.10 ATLAS Home: /Applications/Atlassian/atlassian-plugin-sdk ATLAS Scripts: /Applications/Atlassian/atlassian-plugin-sdk/bin ATLAS Maven Home: /Applications/Atlassian/atlassian-plugin-sdk/apache-maven-3.9.5 AMPS Version: 8.14.3 -------- Executing: /Applications/Atlassian/atlassian-plugin-sdk/apache-maven-3.9.5/bin/mvn --version -gs /Applications/Atlassian/atlassian-plugin-sdk/apache-maven-3.9.5/conf/settings.xml Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546) Maven home: /Applications/Atlassian/atlassian-plugin-sdk/apache-maven-3.9.5 Java version: 11.0.23, vendor: Eclipse Adoptium, runtime: /Library/Java/JavaVirtualMachines/jdk-11.0.23+9/Contents/Home Default locale: en_PL, platform encoding: UTF-8 OS name: "mac os x", version: "14.5", arch: "aarch64", family: "mac"
I also checked other versions of the application on the same machine, here are the results:
- Version: 9.0.0-m108 - does not work properly
- Version: 9.0.0-m97 - does not work properly
- Version: 9.0.0-m81 - does not work properly
- Version: 9.0.0-m72 - unable to check, problem with dependencies in the repo
- Version: 9.0.0-m57 - works correctly
- Version: 9.0.0-m41 - works correctly
- Version: 8.9.0 - works correctly
I am adding screenshots to points 1 and 3 in the attachment.
Cheers
Adam Labus