Skip to content

Commit 583acd8

Browse files
committed
update faq related to chrome 142
1 parent 5158ef5 commit 583acd8

File tree

4 files changed

+38
-29
lines changed

4 files changed

+38
-29
lines changed

_articles/faq/chromium-142-local-network-access-issue.md

Lines changed: 37 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,78 +7,87 @@ keywords: Dynamic Web TWAIN, Error Troubleshooting, CORS, unknown address space,
77
breadcrumbText: Error message - Permission was denied for this request to access the unknown address space
88
description: CORS unknown address space
99
date: 2025-11-04 17:21:42 +0800
10-
last_modified: 2025-11-04 17:21:42 +0800
10+
last_modified: 2025-11-05 17:26:42 +0800
1111
---
1212

1313
# Error Troubleshooting
1414

1515
> [!IMPORTANT]
1616
> This is a newly developing issue, and as such the information in this article may change over time.
1717
18-
## Error message - Access to fetch at `https://127.0.0.1:18623` or `http://127.0.0.1:18622` has been blocked by CORS policy: Permission was denied for this request to access the unknown address space.
18+
## Error message - CORS Errors caused by local network access permissions when using Chromium 142 and later
1919

20-
### Symptom
20+
### Overview
2121

22-
When using Chromium-based browsers version 142 or later (released on October 28th, 2025), including Chrome, Edge, Brave, and Opera, the Dynamsoft Web TWAIN Service may fail to function properly:
22+
Starting in **Chromium-based browsers v142+** (released Oct 28, 2025)including Chrome, Edge, Brave, and OperaDynamsoft Web TWAIN Service may not work as expected due to new local-network security rules.
2323

24-
- Phenomenon 1: the browser prompts users to download the service installer even though it is already installed.
24+
### Symptoms
2525

26-
![DWT_installer.png](/assets/imgs/DWT_installer.png)
26+
You may experience one or more of the following:
27+
28+
***1. Service installer repeatedly prompted***
2729

28-
- Phenomenon 2: the initialization succeeds, but scanning or loading images results in blank images.
30+
The browser prompts you to download/install the service even though it is already installed.
31+
![DWT_installer.png](/assets/imgs/DWT_installer.png)
2932

30-
Open the browser console (press F12, then go to the Console tab), you should see the following error message:
33+
***2. Initialization succeeds, but scan/load shows blank images***
3134

35+
The browser console (F12 → Console) shows a CORS rejection similar to:
3236
```shell
3337
Access to fetch at 'https://127.0.0.1:18623/fa/VersionInfo?ts=1761893667670' from origin 'https://your-domain.com' has been blocked by CORS policy: Permission was denied for this request to access the `unknown` address space.
3438
```
3539

36-
### Cause
40+
### Root Cause
3741

38-
In Chromium 142 Google introduced a new [Local Network Access security policy](https://chromestatus.com/feature/5152728072060928). Requests from web pages to local addresses such as 127.0.0.1 or localhost get blocked unless explicit permission is granted.
42+
Chromium 142 introduces a new [Local Network Access security policy](https://chromestatus.com/feature/5152728072060928) requirement.
43+
Requests from web pages to loopback addresses such as `localhost` / `127.0.0.1` are blocked unless the user (or an admin policy) explicitly grants access.
3944

40-
This affects the Dynamic Web TWAIN Service which relies on local services for communication.
45+
Because Dynamic Web TWAIN communicates with a local service, these restrictions can prevent normal operation.
4146

4247
### Resolution
4348

44-
***Step 1: (For All End Users)***
45-
46-
- Navigate to your Dynamic Web TWAIN web interface
47-
48-
- Click the lock icon (or settings icon) next to your site URL in the browser’s address bar.
49+
***1. To Manually Correct This in Chrome***
4950

51+
- Navigate to your Dynamic Web TWAIN page.
52+
- Click the lock/settings icon in the browser address bar.
5053
- Ensure that **Local Network Access** is enabled.
5154

5255
![local-network.png](/assets/imgs/local-network.png)
5356

5457
> [!NOTE]
5558
> If you're unable to restore functionality after enabling 'Local Network Access,' please contact [Dynamsoft](https://www.dynamsoft.com/contact/).
5659
57-
***Step 2: (For Developers Only)***
60+
***2. (For Admins) To Apply This Setting Across an Enterprise***
61+
62+
Enterprise administrators can deploy a Chrome and/or Edge policy to set the "Local Network Access" setting to "Allow" for your website.
5863

59-
**Option 1:**
64+
Please refer to:
65+
* [Chrome Enterprise Policy List & Management Documentation](https://chromeenterprise.google/policies/#LocalNetworkAccessAllowedForUrls)
66+
* [Microsoft Edge Browser Policy Documentation](https://learn.microsoft.com/en-us/deployedge/microsoft-edge-browser-policies/localnetworkaccessallowedforurls)
6067

61-
You can check the permission programmatically:
68+
***3. Developer Notes***
69+
70+
**a) Check Permission Programmatically**
6271

6372
```javascript
6473
let status = await navigator.permissions.query({ name: "local-network-access" });
6574
console.log(status.state);
6675
```
6776

68-
If the permission is not granted, prompt users to manually enable it (Chrome settings → Privacy and security → Site settings → Local network access).
77+
If not granted, guide users to:
78+
79+
Chrome → Settings → Privacy and Security → Site Settings → Local network access
80+
81+
**b) If Running Inside an `iframe`**
6982

70-
> [!WARNING]
71-
> If Dynamic Web TWAIN is running in an iframe, ensure the iframe element includes the following attribute:
83+
> [!IMPORTANT]
84+
> If your site is embedded in an iframe, you MUST explicitly allow local-network access.
7285
86+
Please explicitly allow `local-network-access` in the attributes of the iframe:
7387
```html
7488
<iframe src="..." allow="local-network-access *"></iframe>
7589
```
7690

77-
**Option 2: (For Enterprise Users)**
78-
79-
Enterprise administrators can allow specified URLs to access local resources through Chrome’s Enterprise Policy configuration.
80-
Refer to: [Chrome Enterprise Policy List & Management | Documentation](https://chromeenterprise.google/policies/#LocalNetworkAccessAllowedForUrls)
81-
82-
### Planning
91+
### Roadmap
8392

8493
Dynamsoft plans to add a feature that automatically detects local service connectivity and permission status. If the connection is blocked, users will be prompted with a message and directed to this FAQ page.

_articles/faq/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ description: Dynamic Web TWAIN SDK Documentation FAQ
206206
30. [How to debug on Dynamic Web TWAIN online demo?](/_articles/faq/debug-on-online-demo.md)
207207
31. [Dynamic Web TWAIN prompts the .deb installer for Windows](/_articles/faq/incorrect-installer-for-windowsARM64.md)
208208
32. [Why am I unable to load the TIFF file into Dynamic Web TWAIN?](/_articles/faq/unable-to-load-4-bit-tiff.md)
209-
33. [Error message - Permission was denied for this request to access the unknown address space](/_articles/faq/chromium-142-local-network-access-issue.md)
209+
33. [Error message - CORS Errors caused by local network access permissions when using Chromium 142 and later](/_articles/faq/chromium-142-local-network-access-issue.md)
210210

211211
## Licensing and Purchase
212212

assets/imgs/DWT_installer.png

5.23 KB
Loading

assets/imgs/local-network.png

-23.2 KB
Loading

0 commit comments

Comments
 (0)