Hk-Gosuto / ChatGPT-Next-Web-LangChain

一键拥有你自己的 ChatGPT 网页服务。 One-Click to deploy your own ChatGPT web UI.(基于 langchain 实现的插件版本 Plugin version implemented based on langchain)
https://n3xt.chat
MIT License
1.14k stars 391 forks source link

[Bug] STT error #305

Closed DDMeaqua closed 3 weeks ago

DDMeaqua commented 4 weeks ago

📦 Deployment Method

Other

📌 Version

2.13

💻 Operating System

macOS

📌 System Version

14

🌐 Browser

Chrome

📌 Browser Version

128.0.6613.114

🐛 Bug Description

OpenAI whisper STT 手机上正常,电脑端使用 Safari 正常,但是 Chrome 有报错

📷 Recurrence Steps

image

image

🚦 Expected Behavior

No response

📝 Additional Information

No response

Hk-Gosuto commented 3 weeks ago

做了一些处理,可以试一下,手边没有 whisper 接口。

Issues-translate-bot commented 3 weeks ago

Bot detected the issue body's language is not English, translate it automatically.


After doing some processing, you can try it. There is no whisper interface at hand.

DDMeaqua commented 3 weeks ago

我测试了一下,还是没用,这个bug只会在电脑端chrome和edge里有,Firefox和safari是正常的,手机端的chrome也是正常,很奇怪(这次改动似乎出现了一个新bug)

image

Issues-translate-bot commented 3 weeks ago

Bot detected the issue body's language is not English, translate it automatically.


I tested it, but it still didn’t work. This bug only exists in Chrome and Edge on the computer. It is normal in Firefox and Safari, and it is also normal in Chrome on the mobile phone. It is very strange (this change seems to have caused a new bug)

image

Hk-Gosuto commented 3 weeks ago

可以再试试了 我用azure部署的whisper,测试了edge(128.0.2739.42)和chrome(128.0.6613.114)都正常了。

DDMeaqua commented 3 weeks ago

感谢大佬,辛苦了,但我试了下 openai 的,又出现新的问题了,不过查了下这个报错似乎是openai那边的问题? image

Issues-translate-bot commented 3 weeks ago

Bot detected the issue body's language is not English, translate it automatically.


Thank you for your hard work, but I tried openai and a new problem occurred. But after checking, this error seems to be a problem on openai? image

Hk-Gosuto commented 3 weeks ago

你这个报错看起来应该是上游接口出问题了

Issues-translate-bot commented 3 weeks ago

Bot detected the issue body's language is not English, translate it automatically.


It seems like your error is caused by a problem with the upstream interface.

DDMeaqua commented 3 weeks ago

但是接口报错按道理来说其他浏览器都应该调用失败...... 这个bug困扰我几天,因为我实在想不明白为什么同一套代码调用同一个接口,会出现电脑端Chrome浏览器和edge浏览器中失败,其他的浏览器正常😂(手机端调接口也正常)

Issues-translate-bot commented 3 weeks ago

Bot detected the issue body's language is not English, translate it automatically.


But the interface error is reported. Logically speaking, other browsers should fail to call... This bug has troubled me for a few days, because I really can't figure out why the same set of code calls the same interface, and there will be a Chrome browser on the computer and Failed in the edge browser, but works fine in other browsers😂(The mobile interface is also normal)

Hk-Gosuto commented 3 weeks ago

可以用postman单独调下接口试试,排除一下接口问题。

Issues-translate-bot commented 3 weeks ago

Bot detected the issue body's language is not English, translate it automatically.


You can use postman to adjust the interface separately and try to eliminate interface problems.

DDMeaqua commented 3 weeks ago

我用apifox测试过,应该能排除接口问题 image

Hk-Gosuto commented 3 weeks ago

什么浏览器和版本会出现上面的问题,顺便看下调用时接口form的数据是否有异常,比如空的之类。

Issues-translate-bot commented 3 weeks ago

Bot detected the issue body's language is not English, translate it automatically.


Which browser and version will cause the above problem? By the way, check whether there is any abnormality in the data of the interface form when calling, such as being empty.

Hk-Gosuto commented 3 weeks ago

你的密钥暴露了 记得换一个 你看下网络请求中的file有没有数据 image

Issues-translate-bot commented 3 weeks ago

Bot detected the issue body's language is not English, translate it automatically.


Your key is exposed. Remember to change it. Check the file in the network request to see if there is any data. image

DDMeaqua commented 3 weeks ago

有的 image

Issues-translate-bot commented 3 weeks ago

Bot detected the issue body's language is not English, translate it automatically.


有的 image

Hk-Gosuto commented 2 weeks ago

方便的话发我一下key和api地址吧,我跑一下测试。 可以发送到:gosuto@n3xt.chat 或者 在Q群里私聊我。

Issues-translate-bot commented 2 weeks ago

Bot detected the issue body's language is not English, translate it automatically.


If it's convenient, send me the key and api address, and I'll run a test. You can send it to: gosuto@n3xt.chat or chat with me privately in the Q group.

DDMeaqua commented 1 week ago

我手上也没key了😂

Issues-translate-bot commented 1 week ago

Bot detected the issue body's language is not English, translate it automatically.


I don’t have the key anymore😂

Hk-Gosuto commented 1 week ago

我手上也没key了😂

主要我用 Azure 部署的版本复现不了你的问题,或者你把详细的浏览器版本发我一下我再试试看。

Issues-translate-bot commented 1 week ago

Bot detected the issue body's language is not English, translate it automatically.


I don’t have the key anymore😂

The main reason is that I cannot reproduce your problem using the Azure deployed version, or you can send me the detailed browser version and I will try again.

DDMeaqua commented 1 week ago

image