Git Product home page Git Product logo

Comments (9)

Mrered avatar Mrered commented on July 24, 2024 2

我也遇到了这个问题,通过域名反代访问环境就不行了,后台没接收到数据,前台的点击事件没有被触发

同样的情况,直接用 Vercel 的域名就可以发送,用自己域名 CNAME 就无法发送

试一下解析域名的时候用这个方案:

A记录地址:76.223.126.88

CNAME 记录地址:cname-china.vercel-dns.com

测试过程:

  • 修改 CNAME 记录为 cname-china.vercel-dns.com ,无效
  • 修改 A 记录为 76.223.126.88 会导致 User location is not supported for the API use
  • 在已部署项目上添加自建的代理 API_BASE_URL 变量后重新部署会导致无法访问
  • 删掉旧的从头开始部署新项目,并添加 API_BASE_URL 变量,会导致回到最初的状态。使用隐私模式访问,也仅可通过 Vercel 给的域名访问,无法通过 CNAME 域名访问。

CF添加解析记录的时候,有设置代理模式吗?把代理模式去掉试试看,改为仅DNS.

from geminiprochat.

Mrered avatar Mrered commented on July 24, 2024 1

我也遇到了这个问题,通过域名反代访问环境就不行了,后台没接收到数据,前台的点击事件没有被触发

同样的情况,直接用 Vercel 的域名就可以发送,用自己域名 CNAME 就无法发送

from geminiprochat.

Mrered avatar Mrered commented on July 24, 2024 1

CF添加解析记录的时候,有设置代理模式吗?把代理模式去掉试试看,改为仅DNS.

回楼上: CF 代理模式关闭和打开都不行。


现在好了

from geminiprochat.

z50913 avatar z50913 commented on July 24, 2024

也没报错

from geminiprochat.

JinChengneng avatar JinChengneng commented on July 24, 2024

我也碰到了这个问题。

from geminiprochat.

xinstar-2021 avatar xinstar-2021 commented on July 24, 2024

我也遇到了这个问题,通过域名反代访问环境就不行了,后台没接收到数据,前台的点击事件没有被触发

from geminiprochat.

JinChengneng avatar JinChengneng commented on July 24, 2024

我也遇到了这个问题,通过域名反代访问环境就不行了,后台没接收到数据,前台的点击事件没有被触发

同样的情况,直接用 Vercel 的域名就可以发送,用自己域名 CNAME 就无法发送

是的,我也是这样

from geminiprochat.

babaohuang avatar babaohuang commented on July 24, 2024

我也遇到了这个问题,通过域名反代访问环境就不行了,后台没接收到数据,前台的点击事件没有被触发

同样的情况,直接用 Vercel 的域名就可以发送,用自己域名 CNAME 就无法发送

试一下解析域名的时候用这个方案:

A记录地址:76.223.126.88

CNAME 记录地址:cname-china.vercel-dns.com

from geminiprochat.

Mrered avatar Mrered commented on July 24, 2024

浏览器检查可以看到(已隐去域名)

gemini.xxx.top/:57 
 GET https://static.cloudflareinsights.com/beacon.min.js/v84a3a40… net::ERR_BLOCKED_BY_CLIENT
rocket-loader.min.js:1 A preload for 'https://gemini.xxx.top/_astro/hoisted.8bdc4fc1.js' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.
Generator.cf09d16f.js:45 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'nextSibling')
    at Generator.cf09d16f.js:45:630
    at Generator (Generator.cf09d16f.js:45:1958)
    at web.9c391a5e.js:1:5148
    at y (web.9c391a5e.js:1:1075)
    at ve (web.9c391a5e.js:1:5142)
    at d.renderId (client.0e663382.js:1:559)
    at web.9c391a5e.js:1:6461
    at B.r (web.9c391a5e.js:1:458)
    at A (web.9c391a5e.js:1:3298)
    at B (web.9c391a5e.js:1:499)
gemini.xxx.top/:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
gemini.xxx.top/:1 The resource https://gemini.xxx.top/_astro/hoisted.8bdc4fc1.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.

from geminiprochat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.