Jump to content

Recommended Posts

develguebil
Posted

Whenever I click the API link I get the following error message:

--------------------------------------------------------------------------------------------------------------------------------------

                                                            Failed to load API definition.

Errors

Fetch error

NetworkError when attempting to fetch resource. http://<ipaddress:port>/emby/openapi

Fetch error

Possible mixed-content issue? The page was loaded over https:// but a http:// URL was specified. Check that you are not attempting to load mixed content.

--------------------------------------------------------------------------------------------------------------------------------------

Am I missing something??

Thanks

PenkethBoy
Posted

working fine for me in .17 and .18 beta server via http

Posted

is the server url that it's trying to use reachable?

develguebil
Posted

Yes I get:

{
  "openapi": "3.0.1",
  "info": {
    "title": "Emby Server API",
    "description": "Explore the Emby Server API",
    "termsOfService": "https://emby.media/terms",
    "contact": {
      "name": "Emby Developers",
      "url": "https://emby.media/community/index.php?/forum/47-developer-api"
    },
    "version": "4.4.3.0"
  },
  "servers": [
    {
      "url": "http://<ipaddress:port>/emby",
      "description": "<name>"
    }
  ],

......

Happy2Play
Posted

Hmm I have no issue via LAN IP/Hostname or WAN https/(http/https online app) opening the Dashboard API link.  Only tested .17 beta.

Posted
2 hours ago, develguebil said:

Yes I get:

{
  "openapi": "3.0.1",
  "info": {
    "title": "Emby Server API",
    "description": "Explore the Emby Server API",
    "termsOfService": "https://emby.media/terms",
    "contact": {
      "name": "Emby Developers",
      "url": "https://emby.media/community/index.php?/forum/47-developer-api"
    },
    "version": "4.4.3.0"
  },
  "servers": [
    {
      "url": "http://<ipaddress:port>/emby",
      "description": "<name>"
    }
  ],

......

I mean your emby server url.

develguebil
Posted

Do you mean using the WAN address ? if so, that's a no ... is that the problem ?

 

Posted

Yes that is it then. You can change that to something that will work.

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...