Jump to content

Is the http request to api.ipify.org crucial?


Go to solution Solved by Luke,

Recommended Posts

Posted

I'm running Emby on a remote server that only has ipv6.
While some plugins don't work (tvdb, fanart, etc...) because their api only resolves to ipv4, Emby itself works fine.
I use TMDB (they support ipv6) as the sole metadata and image provider and its all good.

Anyways, in the logs, I notice this error that keeps coming up:

System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: Network is unreachable (api.ipify.org:443)

api.ipify.org only resolves to ipv4 address, so it doesn't work, but they do provide ipv6 on api64.ipify.org

So my question: is the get request to api.ipify.org crucial to the functioning of Emby? If yes, maybe implement a way to detect if the Emby host server is ipv6 only and then use api64.ipify.org instead?

  • Solution
Posted

HI, it's what the server uses to determine it's remote ip address so that it can report this information to Emby apps. We can add their api64 version as a fallback. Thanks.

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...