-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
为什么国内就不能访问呢,即使我是搭建在国外VPS上的 #20
Comments
本应用默认直连 Google API,请仔细阅读 README 说明配置反代,方可在中国使用 |
我也遇到了这个情况。docker部署在美国vps上,然后nginx反向代理到dockers容器的网络和端口。不知道怎么修改才能直接使用。 |
服务器端口确保是开的吧?有的服务器,需要提交工单到服务商那里,注明要开通放行某个端口的。
…On Wed, Feb 21, 2024 at 3:59 PM Mackerly ***@***.***> wrote:
我也遇到了这个情况。docker部署在美国vps上,然后nginx反向代理到dockers容器的网络和端口。不知道怎么修改才能直接使用。
—
Reply to this email directly, view it on GitHub
<#20 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB7TGF7KSKSXMKAN7ELKRUDYUWSMVAVCNFSM6AAAAABDFZ3OIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJWGA4DAMZTGQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
|
后来发现是我的VPS的问题,我那个vps就是连不上谷歌api,换了一个vps就可以了,nginx配置可参考 |
[GoogleGenerativeAI Error]: Error fetching from https://generativelanguage.googleapis.com/v1/models/gemini-pro:streamGenerateContent?alt=sse: [400 ] User location is not supported for the API use.
难道只能使用代理访问?
The text was updated successfully, but these errors were encountered: