Skip to content

Preflight to /upload is blocked by Chrome v104+ #724

Closed
@mabraidot

Description

@mabraidot

Describe the problem

Starting with Chrome v104, requests to private networks will be blocked if they don't respond with the header:
Access-Control-Allow-Private-Network: true
Please, read about at developer.chrome.com

To reproduce

Update Chrome to the latest.
Make a POST request to http://localhost:{AGENT_PORT}/upload

Expected behavior

Response code: 200
Header: Access-Control-Allow-Private-Network: true

Arduino Create Agent version

1.2.6

Operating system

Windows

Operating system version

11

Browser

Chrome

Browser version

105.0.5195.125

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest version
  • My report contains all necessary details

Metadata

Metadata

Labels

topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions