babaohuang / GeminiProChat

Minimal web UI for GeminiPro.
https://geminiprochat.com
MIT License
4.29k stars 12.36k forks source link

输入后无反馈,send按钮无反馈 #4

Closed z50913 closed 10 months ago

z50913 commented 10 months ago

What operating system are you using?

win2012

What browser are you using?

firefox edge

Describe the bug

image

What prompt did you enter?

搭建好可以访问页面,但是打字按enter没有发送出去,而是切换到下一行,按send也没反应,通用的环境浏览器测试博主的可以正常返回信息

Console Logs

Participation

z50913 commented 10 months ago

也没报错

JinChengneng commented 10 months ago

我也碰到了这个问题。

xinstar-2021 commented 10 months ago

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

Mrered commented 10 months ago

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

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

JinChengneng commented 10 months ago

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

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

是的,我也是这样

babaohuang commented 10 months ago

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

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

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

A记录地址:76.223.126.88

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

Mrered commented 10 months ago

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

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

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

A记录地址:76.223.126.88

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

测试过程:

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

Mrered commented 10 months ago

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

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.
Mrered commented 10 months ago

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

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


现在好了