-
Notifications
You must be signed in to change notification settings - Fork 158
Fix Google AI Studio geoblocking #36
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
base: main
Are you sure you want to change the base?
Conversation
Set hosts below to `8.137.102.117` which is in whitelist. ``` ai.google.dev makersuite.google.com alkalimakersuite-pa.clients6.google.com ``` Signed-off-by: 团子 <[email protected]>
为什么是这几个域名,ai.google.dev 用现在的规则就可以访问 |
ai.google.dev确实可以访问 解决的是aistudio.google.com的geoblocking aistudio会请求上面的三个域名 非服务地区的这仨的节点会部分403 然后跳转到无服务的界面 (现在的规则指向的是HK 但是HK不属于服务区 况且SJ也挺快的) |
参见 https://zhao.gg/blog/bypass-google-ai-geoblock/
|
我试了下用现在的规则访问好像没什么问题,aistudio.google.com 可以正常使用,makersuite.google.com 也可以正常访问 |
是吗我这边局部情况(GD-CMCC)是不加这一行规则会跳转到ai.google.dev的不在服务区的界面 |
你试试更新到最新的规则,1.1.4.20 修改了 gemini.google.com 的 ip,不知道这个改动对这个问题有没有影响 |
不行 还是403 加了这一行就能正常 |
1 similar comment
不行 还是403 加了这一行就能正常 |
感觉关键在于alkalimakersuite-pa那个域名 18:22:39 - 排查确实是alkalimakersuite-pa的问题 把他换成白名单区域的节点IP就行 |
这个问题是在用浏览器伪造时遇到的吗,还是在用全局伪造时遇到的 |
浏览器(全局我几乎不用) |
你试试登出谷歌账号或者给谷歌账号换个地区,谷歌不仅锁 ip 地区,也会锁账号地区,会不会是这个引起的 |
Set hosts below to
8.137.102.117
which is in whitelist.