Egress is located in different country to app

Hey, I recently setup a static egress ip (due to external app whitelist). My app is in frankfurt. However the egress was assigned in the US.

This fly.io forum post says its just the IP lookup misrepresenting the region, however this definitely isn’t the case. The website i’m making requests to, region bans the US, and after adding the static egress it started failing (it didn’t in Frankfurt).

Is there anything I can do here? Our app is latency sensitive and adding this static egress adds ~300ms.

Our IP addresses sometimes have incorrect GeoIP data. The IPs themselves are actually located in that region—so your traffic isn’t being routed all the way to the US—but they may appear otherwise due to outdated records. We’re aware of the issue and plan to fix it a some point.

This doesn’t seem right. We hit a german based external API that when using the static IP increased latency by 300ms. Seems like its doing a big re-route.

Any ETA on the updating of the geo IP data?

Can you do a traceroute from your Fly machine to the API endpoint you’re hitting and share it?

mtr -bzo "LSD NABWV" -rw ENDPOINT should do it.

(let’s just hope they’re not hosted on AWS because AWS eats ICMP and it makes debugging routing issues hell).

Thanks!

With static egress:

root@185947ea4522e8:/# mtr -bzo “LSD NABWV” -rw “api.binance.com”
Start: 2025-10-11T01:14:04+0000
HOST: 185947ea4522e8                                                   Loss%   Snt Drop   Last   Avg  Best  Wrst StDev
 1. AS???    172.19.15.121                                             0.0%    10    0    0.4   0.4   0.3   0.5   0.0
 2. AS???    10.124.2.231                                              0.0%    10    0    1.4   1.4   1.4   1.5   0.0
 3. AS30081  unknown.servercentral.net (50.31.197.253)                 0.0%    10    0    2.2   7.8   2.0  57.2  17.3
 4. AS???    decix2.amazon.com (80.81.195.152)                         0.0%    10    0   12.7   5.8   2.4  16.5   5.1
 5. AS???    ???                                                      100.0    10   10    0.0   0.0   0.0   0.0   0.0
 6. AS???    ???                                                      100.0    10   10    0.0   0.0   0.0   0.0   0.0
 7. AS???    ???                                                      100.0    10   10    0.0   0.0   0.0   0.0   0.0
 8. AS???    ???                                                      100.0    10   10    0.0   0.0   0.0   0.0   0.0
 9. AS???    ???                                                      100.0    10   10    0.0   0.0   0.0   0.0   0.0
10. AS???    ???                                                      100.0    10   10    0.0   0.0   0.0   0.0   0.0
11. AS???    ???                                                      100.0    10   10    0.0   0.0   0.0   0.0   0.0
12. AS16509  server-3-174-53-45.fra60.r.cloudfront.net (3.174.53.45)   0.0%    10    0    2.5   2.3   2.3   2.5   0.1

Machine without static egress:

root@908072e4a65678:/# mtr -bzo “LSD NABWV” -rw “api.binance.com”
Start: 2025-10-11T01:17:20+0000
HOST: 908072e4a65678                                                   Loss%   Snt Drop   Last   Avg  Best  Wrst StDev

 1. AS???    172.19.9.241                                              0.0%    10    0    0.2   0.2   0.2   0.2   0.0
 2. AS23352  unknown.servercentral.net (50.31.197.253)                 0.0%    10    0   28.8   4.6   0.9  28.8   9.0
 3. AS???    decix2.amazon.com (80.81.195.152)                         0.0%    10    0    1.6   4.0   1.3  12.9   3.8
 4. AS???    ???                                                      100.0    10   10    0.0   0.0   0.0   0.0   0.0
 5. AS???    ???                                                      100.0    10   10    0.0   0.0   0.0   0.0   0.0
 6. AS???    ???                                                      100.0    10   10    0.0   0.0   0.0   0.0   0.0
 7. AS???    ???                                                      100.0    10   10    0.0   0.0   0.0   0.0   0.0
 8. AS???    ???                                                      100.0    10   10    0.0   0.0   0.0   0.0   0.0
 9. AS???    ???                                                      100.0    10   10    0.0   0.0   0.0   0.0   0.0
10. AS???    ???                                                      100.0    10   10    0.0   0.0   0.0   0.0   0.0
11. AS16509  server-3-174-53-45.fra60.r.cloudfront.net (3.174.53.45)   0.0%    10    0    1.2   1.2   1.2   1.3   0.0

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.