Premiere Pro 25.6.3 UXP Issue: Unable to Make Requests with HTTP URLs (vs. HTTPS)
Unable to Make Requests with HTTP URLs (vs. HTTPS) while the same request works with InDesign (v21.02) UXP
App: Premiere Pro 25.6.3
OS: Mac (no data for Windows)
Priority:) Very urgent
Steps to reproduce:
1. Enable the network access in the manifest (v5)
"requiredPermissions": {
"network": {
"domains": "all"
}
2. Open the panel's debug console and run the following code
async function getDocs() {
try {
const response = await fetch(
"http://example.com/"
);
if (!response.ok) {
throw new Error(
`HTTP error ${response.status}: ${response.statusText}`
);
}
const data = await response.text();
console.log(data);
} catch (err) {
console.error(err);
}
}
await getDocs();
Expected Result (taken from the same code output in InDesign UXP):
<!doctype html><html lang="en"><head><title>Example Domain</title><meta name=.....
Actual Result:
(index):16 TypeError: Network request failed
at o.onerror (uxp://uxp-internal/netjs_scripts.js:2)
at z.m (uxp://uxp-internal/domjs_scripts.js:2)
at uxp://uxp-internal/domjs_scripts.js:2
at P (uxp://uxp-internal/domjs_scripts.js:2)
at uxp://uxp-internal/domjs_scripts.js:2
at D (uxp://uxp-internal/domjs_scripts.js:2)
at L (uxp://uxp-internal/domjs_scripts.js:2)
at i (uxp://uxp-internal/netjs_scripts.js:2)
getDocs @ (index):16
await (async)
(anonymous) @ (index):1