Radarr / radarr.github.io

9 stars 5 forks source link

New v3 api docs not working #8

Open etetlow opened 3 years ago

etetlow commented 3 years ago

Trying to use the new v3 api docs today without success.

After entering the correct protocol, hostpath and apikey, I tried to get my diskspace. The server response came back as code undocumented and details of TypeError: Failed to fetch. Other responses were 200 Successful request and 401 Invalid API Key.

On copying and pasting the Request URL into another tab, my diskspace was shown straight away. It was much of the same when trying to access anything else.

On looking at the developer console there were a number of issues:

  1. Mixed Content: The page at 'https://radarr.video/docs/api/#/Disk%20Space/get-diskspace' was loaded over HTTPS, but requested an insecure resource 'http://192.168.0.25:7878/api/v3/diskspace?apikey****'. This request has been blocked; the content must be served over HTTPS. (anonymous) @ index.js:960
  2. TypeError: Failed to fetch (anonymous) @ actions.js:441
  3. [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/6662647093133312 preventDefault @ SytheticEvent.js:111

    • OS: Ubuntu 20.04.1 LTS
    • Docker: No
    • Mono or.NET Core Version: .Net Core 3.1.10
    • Browser and Version chrome 89.0.4358.2 (Official Build) canary (x86_64)
    • Radarr Version 3.0.0.4126
    • Radarr Branch nightly

AB#69

bakerboy448 commented 3 years ago

successfully reproduced

works fine over HTTPS; however if you do HTTP Chrome chokes due to the mixed content issue.

This issue would be better suited under https://github.com/Radarr/radarr.github.io

bakerboy448 commented 2 years ago

@Qstick this fixed by the prowlarr api doc updates at all?