Jump to content


Photo
- - - - -

Failed to load API definition


  • Please log in to reply
7 replies to this topic

#1 paul1965 OFFLINE  

paul1965

    Advanced Member

  • Members
  • 90 posts
  • Local time: 12:38 PM

Posted 28 September 2019 - 11:38 PM

I noticed tonight that I'm getting a lot of errors in SickChill that it can't update Emby. When I try to access the API, I get a fetch error from Swagger. I'm running version 4.2.1.0, any suggestions on how I can fix this?

 

Fetch error NetworkError when attempting to fetch resource. http://10.0.0.50:8096/emby/openapi
Fetch error Possible cross-origin (CORS) issue? The URL origin (http://10.0.0.50:8096) does not match the page (http://swagger.emby.media). Check the server returns the correct 'Access-Control-Allow-*' headers.

 



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 138223 posts
  • Local time: 01:38 PM

Posted 28 September 2019 - 11:39 PM

Strange, never seen that before. Is that ip going through a reverse proxy?



#3 paul1965 OFFLINE  

paul1965

    Advanced Member

  • Members
  • 90 posts
  • Local time: 12:38 PM

Posted 28 September 2019 - 11:43 PM

Strange, never seen that before. Is that ip going through a reverse proxy?

 

No, nothing like that is set up on this PC. I don't know if I ever changed anything since I moved from a Windows setup to the WD NAS though. But at the same time, I don't recall seeing the error message in SickChill that it can't connect to update Emby until recently.



#4 paul1965 OFFLINE  

paul1965

    Advanced Member

  • Members
  • 90 posts
  • Local time: 12:38 PM

Posted 28 September 2019 - 11:50 PM

I just hovered over the API link in Ebmy and saw a different key than what was in SickChill. I changed SC to the different key and it passed the Test Emby test, so I guess for now it's okay. I would still like to fix Swagger though, just not sure how to do that.



#5 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 138223 posts
  • Local time: 01:38 PM

Posted 29 September 2019 - 03:32 PM

I'm really not sure. I suppose the first thing to do would be to check the server log to see if the traffic is even reaching your emby server.



#6 paul1965 OFFLINE  

paul1965

    Advanced Member

  • Members
  • 90 posts
  • Local time: 12:38 PM

Posted 29 September 2019 - 09:41 PM

I should have a few new shows get moved tonight. If SickChill is able to correctly update Emby, I probably won't worry about this.



#7 paul1965 OFFLINE  

paul1965

    Advanced Member

  • Members
  • 90 posts
  • Local time: 12:38 PM

Posted 30 September 2019 - 07:05 PM

I have no clue what caused this issue. But after I changed the API key in SickChill, it's able to update Emby. And now when I click the API in Emby, I'm taken to the Swagger UI and no error messages are displayed.



#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 138223 posts
  • Local time: 01:38 PM

Posted 30 September 2019 - 09:14 PM

Thanks for the feedback.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users