Jump to content

Can't reach the Emby API Swagger


Recommended Posts

develguebil

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

Link to post
Share on other sites
PenkethBoy

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

Link to post
Share on other sites
develguebil

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>"
    }
  ],

......

Link to post
Share on other sites
Happy2Play

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.

Link to post
Share on other sites
Luke
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.

Link to post
Share on other sites
develguebil

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

 

Link to post
Share on other sites
Luke

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

Link to post
Share on other sites

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