Hi folks,
Today i upgraded xwiki 13.10.5 to 14.10.2. During the process i had to switch over to tomcat9 with openjdk-11.
Now i have several problems (in different topic).
On problem is the CORS Error i get if i want to update extensions.
Quellübergreifende (Cross-Origin) Anfrage blockiert: Die Gleiche-Quelle-Regel verbietet das Lesen der externen Ressource auf https://xwiki01.virt.contoso.de/xwiki/bin/get/XWiki/ExtensionUpdater?extensionSection=progress&extensionId=org.xwiki.contrib.editortool%3Aeditor-tool-highlighting-ui&extensionVersion=4.6.1&extensionNamespace=&xback=%2Fxwiki%2Fbin%2Fget%2FXWiki%2FExtensionUpdater%3Fsection%3DXWiki.ExtensionUpdater§ion=XWiki.ExtensionUpdater. (Grund: CORS-Anfrage schlug fehl). Statuscode: (null).
Similar i get a error in the red bar “Server not responding”. I already modified the web.xml without any luck.
I use a nginx-reverse proxy config
location / {
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $server_name;
proxy_set_header X-Scheme $scheme;
proxy_redirect off;
if (!-f $request_filename) {
proxy_pass http://127.0.0.1:8080;
break;
}
}
await fetch("https://xwiki01.virt.consoto.de/xwiki/bin/get/XWiki/ExtensionUpdater?extensionSection=progress&extensionId=org.xwiki.contrib.ldap%3Aldap-ui&extensionVersion=9.7.8&extensionNamespace=&xback=%2Fxwiki%2Fbin%2Fget%2FXWiki%2FExtensionUpdater%3Fsection%3DXWiki.ExtensionUpdater§ion=XWiki.ExtensionUpdater", {
"credentials": "omit",
"headers": {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0",
"Accept": "text/javascript, text/html, application/xml, text/xml, */*",
"Accept-Language": "de,en-US;q=0.7,en;q=0.3",
"X-Requested-With": "XMLHttpRequest",
"X-Prototype-Version": "1.7.3",
"Content-type": "application/x-www-form-urlencoded; charset=UTF-8",
"Sec-Fetch-Dest": "empty",
"Sec-Fetch-Mode": "cors",
"Sec-Fetch-Site": "same-origin"
},
"method": "GET",
"mode": "cors"
});
Could somebody help me ?