get-iplayer / get_iplayer

A utility for downloading TV and radio programmes from BBC iPlayer and BBC Sounds
https://github.com/get-iplayer/get_iplayer/wiki
GNU General Public License v3.0
2.13k stars 229 forks source link

Response 500 from get_iplayer but browser loads json data fine #454

Closed Hi-ImKyle closed 8 months ago

Hi-ImKyle commented 8 months ago

Do not file a bug report if you are using get_iplayer outside the UK. If you do, your report will be ignored.

Do not file a bug report if you are using get_iplayer with a VPN or proxy from any location, including the UK. If you do, your report will be ignored.

Search the repository (search field at top left) to see if a report already exists for the bug in the issue tracker. Do not create a duplicate report. Duplicate reports will be ignored.

Review recent open and closed entries in the issue tracker to see if a report already exists for the bug. Do not create a duplicate report. Duplicate reports will be ignored.

Ensure that you are using get_iplayer 3.34 or higher. If not, your report will be ignored.

Identify the operating system and version where get_iplayer demonstrates the bug

Windows 10

Provide a clear and concise description of the bug. Do not paste get_iplayer output or screenshots into the field below. If you do, your report will be ignored.

Running get_iplayer on a program results in warnings about 500 response meaning it didn't connect. But if I open the link it's trying to download in a browser it loads just fine.

Provide the PID or URL of the programme you are attempting to download, if applicable. Provide the PID or URL for only one programme.

m001tfnl

Provide the complete get_iplayer command line that demonstrates the bug. Do not truncate or excerpt the command. If you do, your report will be ignored. If you are using the Web PVR, list the steps necessary to reproduce the bug, in as much detail as possible.

get_iplayer --tv-quality="fhd" --pid=m001tfnl

Drag your verbose log file into the field below to create an attachment. Your verbose log file must be added as an attachment. Do not paste its contents into the field below. If you do, your report will be ignored. You may enter a URL linking to your verbose log file on a pastebin site. If the bug prevents get_iplayer from running, enter "N/A" in the field below. If you enter any other text in the field below, your report will be ignored.

get_iplayer 3.34.0-MSWin32-x64
  Copyright (C) 2008-2010 Phil Lewis, 2010- get_iplayer contributors
  This program comes with ABSOLUTELY NO WARRANTY; for details use --warranty.
  This is free software, and you are welcome to redistribute it under certain
  conditions; use --conditions for details.

INFO: Start: 2023-12-25T19:00:16 (1703530816)
INFO: encodinglocale = cp1252
INFO: encodinglocalefs = cp1252
INFO: encodingconsoleout = cp850
INFO: encodingconsolein = cp850
INFO: encodingwebrequest = UTF-8
INFO: ${^UNICODE} = 0
INFO: Profile dir: C:\Users\i7\.get_iplayer
INFO: User options file: C:\Users\i7\.get_iplayer\options
INFO: System options file: C:\ProgramData\get_iplayer\options
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
Current options:
    encodingconsolein = cp850
    encodingconsoleout = cp850
    encodinglocale = cp1252
    encodinglocalefs = cp1252
    encodingwebrequest = UTF-8
    pid = m001tfnl
    tvmode = fhd
    verbose = 1

INFO: Search args: ''
INFO: Cleaning PID - old: 'm001tfnl' new: 'm001tfnl'

INFO: Downloading URL (1/3): https://www.bbc.co.uk/programmes/m001tfnl.json

WARNING: Failed to download URL (1/3): https://www.bbc.co.uk/programmes/m001tfnl.json
WARNING: Response: 500 Can't connect to www.bbc.co.uk:443 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)
WARNING: Ignore this warning if programme download is successful

INFO: Downloading URL (2/3): https://www.bbc.co.uk/programmes/m001tfnl.json

WARNING: Failed to download URL (2/3): https://www.bbc.co.uk/programmes/m001tfnl.json
WARNING: Response: 500 Can't connect to www.bbc.co.uk:443 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)
WARNING: Ignore this warning if programme download is successful

** I Ctrl+C here **

If you are using the Web PVR, provide your web browser name and version. This information typically can be found from the application menu via Chrome/Firefox/Safari->About... (macOS) or Help->About... (Linux/Windows)

No response