HISUI
使用Chrome94登录iMedical一直提示
2021年11月05日 16时28分

一、使用Chrome94登录iMedical一直提示下载医为客户端

使用chrome94及以上版本访问iMedical系统时,一直提示下载医为客户端。使用开发工具调试,Chrome报错如下:

Access to XMLHttpRequest at 'http://localhost:xxxxx/websys/mgr/mgr' from origin 'http://xxx.xxx.xxx.xxx' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space `local`.

不允许跨域访问,但以前是可以的。

原因

查看Chrome日志发现,最新的谷歌和edge升级到94版本后对公网上的http请求下的非同域的http请求进行了拦截。也就是说局域网服务器不受影响,但公网环境下服务都需求升到https才可以跨域。

解决办法

第一种,公网上的HTTP服务升级成HTTPS服务,即可永久解决此问题。
第二种、修改Chrome Flags网络请求配置
  • 1、在Chrome浏览器输入chrome://flags/
  • 2、搜索Block insecure private network requests
  • 3、将选项从DefaultEnabled改为Disabled
  • 4、点击右下角的Relaunch按钮重启Chrome浏览器

二、使用Chrome104版本进入iMedical一直提示下载医为客户端

使用chrome104及以上版本访问iMedical系统时,一直提示下载医为客户端。

原因:

104版本默认开启了本地网络服务检查功能,禁用此功能后才可以与本地服务连接。

解决办法

通过Chrome Flags临时关闭检查
  • 1、在Chrome地址栏输入:chrome://flags/#local-network-access-check
  • 2、将选项从DefaultEnable改为Disabled
  • 3、点击右下角的Relaunch按钮重启Chrome浏览器
上一篇: 下一篇:

这是一个默认的广告位。

Leave a comment

您的邮箱地址不会被公开。 必填项已用 * 标注

访问量: 881498