mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #6258] [Question]: Difficulty entering Gemini even with warp #4251
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#4251
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @roseshayan on GitHub (Aug 18, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6258
What are you trying to do?
Hello, I recently had a problem when I logged into Gemini with a VPN location in Germany and it gave me the error
Gemini isn’t currently supported in your country. Stay tuned!
If it wasn’t like this before, Warp is also enabled on my panel! What can I do to fix this?
What have you already tried?
No response
3x-ui version
3.6.0
How did you install 3x-ui?
install.sh script
Operating system
Ubuntu 24
Screenshots or config snippets
No response
Before submitting
@github-actions[bot] commented on GitHub (Aug 18, 2026):
That message comes from Google's geolocation of the IP that actually reaches Gemini; there is no Gemini-specific handling anywhere in 3x-ui. What the panel controls is which outbound serves those domains, and therefore which IP Gemini sees.
Two things from the source worth checking before anything else:
UpdateWarpXraySetting(internal/web/service/xray_setting.go:121) only fills the private key, addresses,reservedbytes and peer endpoint into an outbound whose tag is exactlywarp. The shipped template (internal/web/service/config.json) contains only thedirectandblockedoutbounds plus rules for the api inbound, private IPs and bittorrent. Unless one of your routing rules matches Gemini with"outboundTag": "warp", that traffic never goes through WARP.Diagnosis in the panel:
gemini.google.comas the domain, port443, TCP, then Test Route. It asks the running core which outbound would handle the connection (/panel/api/xray/routeTest, backed byinternal/xray/api.go:343) and reports the matched outbound.https://cloudflare.com/cdn-cgi/traceand shows the exit country and whether WARP is on (internal/web/service/outbound/probe_http.go:63and:675). That country is what Gemini geolocates, not the country of your server.Depending on the outcome:
warpand step 2 shows an exit country Gemini does not serve, add a rule above the WARP rule so those domains leave through the server directly:direct, WARP is not involved at all and it is the server's own IP that Gemini rejects. Routing those domains towarpis then the thing to try, but it only helps if the exit country reported in step 2 is one Gemini serves.The WARP exit country is chosen by Cloudflare and is not settable from the panel: the WARP endpoint (
internal/web/controller/xray_setting.go:47) exposes onlyget,del,config,reg,changeIP,licenseandupdateInterval. Changing the WARP IP can land on a different exit, so re-running step 2 after a rotation is worth doing.Finally, confirm the traffic really leaves via the server: if your client application has its own routing or split-tunnel rules, Gemini may bypass the tunnel entirely. Checking your apparent IP in the same browser profile you use for Gemini settles that.
Routing reference: docs/content/docs/en/operations/outbounds-routing.mdx.
If this does not resolve it, please post:
routingblock and thetaglist of youroutboundsfrom Xray Settings (redact keys), so the matching rule can be identified.gemini.google.comand the exit country shown by the outbound test.This reply was generated automatically; a maintainer may follow up.
@9en9i commented on GitHub (Sep 8, 2026):
I ran into the same issue. What worked for me was running a separate WARP client on the server in proxy mode and creating an outbound that points to it.
Interestingly, the built-in WARP worked fine for me on another server, but this time I couldn’t get the built-in implementation to work.