Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

400 Client Error: Bad request for url #99

Open
cjohnson12 opened this issue Jan 2, 2022 · 4 comments
Open

400 Client Error: Bad request for url #99

cjohnson12 opened this issue Jan 2, 2022 · 4 comments

Comments

@cjohnson12
Copy link

Hi @tarkah

My /etc/hosts are correct and everything should be working as expected, but I'm getting HTTP 400 client error on mf.svc.nhl.com. I've restarted my mac os x machine but same error.

Hope you can help.

etc/hosts:
13.224.237.6 mf.svc.nhl.com
52.84.90.52 playback.svcs.mlb.com
62.253.72.42 hlslive-akc.med2.med.nhl.com

lazystream --date 20220101 play select

| \ __ /\ \ / | _| _ \ | \ \ |
| _ \ / \ /_
\ | | | __| _ \ |/ |
| ___ \ / | | | __ < | ___ \ | |
_____|
/ _
| | _____/ | | __
|_/ __| _|

Pick a game for 2022-01-01...

  1. 6:00 PM - Buffalo Sabres @ Boston Bruins
  2. 6:00 PM - Carolina Hurricanes @ Columbus Blue Jackets
  3. 6:00 PM - Montréal Canadiens @ Florida Panthers
  4. 7:00 PM - Chicago Blackhawks @ Nashville Predators
  5. 7:00 PM - Edmonton Oilers @ New York Islanders
  6. 12:00 AM - Ottawa Senators @ Toronto Maple Leafs
  7. 12:00 AM - St. Louis Blues @ Minnesota Wild
  8. 3:00 AM - Vancouver Canucks @ Seattle Kraken
  9. 3:30 AM - Philadelphia Flyers @ Los Angeles Kings

7

Pick a stream...

  1. NATIONAL
  2. FRENCH

1

Passing game to player...

============================

[cli][info] Found matching plugin hls for URL hlsvariant://https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1641174003~acl=/*~id=nhlGatewayId:7379308~data=2026745871~hmac=9f3f151e7aa43486765c467b24f55b5b0ce9b8592105711152a3b78ebe331236/99c7578338641f445340de06dc0299e2/va01/nhl/2022/01/02/NHL_GAME_VIDEO_STLMIN_M2_NATIONAL_20220102_1638210572341/master_wired60.m3u8 name_key=bitrate
[cli][info] Available streams: 670k (worst), 1000k, 1400k, 2100k, 2900k, 4100k, 6600k (best)
[cli][info] Opening stream: 6600k (hls)
[stream.hls][error] Failed to create decryptor: Unable to open URL: https://mf.svc.nhl.com/ws/media/mf/v2.3/key/silk/mediaid/2026745871/kid/70448504 (400 Client Error: Bad Request for url: https://mf.svc.nhl.com/ws/media/mf/v2.3/key/silk/mediaid/2026745871/kid/70448504)
[cli][error] Try 1/3: Could not open stream <HLSStream('https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1641174003~acl=/*~id=nhlGatewayId:7379308~data=2026745871~hmac=9f3f151e7aa43486765c467b24f55b5b0ce9b8592105711152a3b78ebe331236/99c7578338641f445340de06dc0299e2/va01/nhl/2022/01/02/NHL_GAME_VIDEO_STLMIN_M2_NATIONAL_20220102_1638210572341/5600K/5600_complete-trimmed.m3u8', 'https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1641174003~acl=/*~id=nhlGatewayId:7379308~data=2026745871~hmac=9f3f151e7aa43486765c467b24f55b5b0ce9b8592105711152a3b78ebe331236/99c7578338641f445340de06dc0299e2/va01/nhl/2022/01/02/NHL_GAME_VIDEO_STLMIN_M2_NATIONAL_20220102_1638210572341/master_wired60.m3u8')> (No data returned from stream)
[stream.hls][error] Failed to create decryptor: Unable to open URL: https://mf.svc.nhl.com/ws/media/mf/v2.3/key/silk/mediaid/2026745871/kid/70448504 (400 Client Error: Bad Request for url: https://mf.svc.nhl.com/ws/media/mf/v2.3/key/silk/mediaid/2026745871/kid/70448504)
[cli][error] Try 2/3: Could not open stream <HLSStream('https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1641174003~acl=/*~id=nhlGatewayId:7379308~data=2026745871~hmac=9f3f151e7aa43486765c467b24f55b5b0ce9b8592105711152a3b78ebe331236/99c7578338641f445340de06dc0299e2/va01/nhl/2022/01/02/NHL_GAME_VIDEO_STLMIN_M2_NATIONAL_20220102_1638210572341/5600K/5600_complete-trimmed.m3u8', 'https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1641174003~acl=/*~id=nhlGatewayId:7379308~data=2026745871~hmac=9f3f151e7aa43486765c467b24f55b5b0ce9b8592105711152a3b78ebe331236/99c7578338641f445340de06dc0299e2/va01/nhl/2022/01/02/NHL_GAME_VIDEO_STLMIN_M2_NATIONAL_20220102_1638210572341/master_wired60.m3u8')> (No data returned from stream)
[stream.hls][error] Failed to create decryptor: Unable to open URL: https://mf.svc.nhl.com/ws/media/mf/v2.3/key/silk/mediaid/2026745871/kid/70448504 (400 Client Error: Bad Request for url: https://mf.svc.nhl.com/ws/media/mf/v2.3/key/silk/mediaid/2026745871/kid/70448504)
[cli][error] Try 3/3: Could not open stream <HLSStream('https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1641174003~acl=/*~id=nhlGatewayId:7379308~data=2026745871~hmac=9f3f151e7aa43486765c467b24f55b5b0ce9b8592105711152a3b78ebe331236/99c7578338641f445340de06dc0299e2/va01/nhl/2022/01/02/NHL_GAME_VIDEO_STLMIN_M2_NATIONAL_20220102_1638210572341/5600K/5600_complete-trimmed.m3u8', 'https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1641174003~acl=/*~id=nhlGatewayId:7379308~data=2026745871~hmac=9f3f151e7aa43486765c467b24f55b5b0ce9b8592105711152a3b78ebe331236/99c7578338641f445340de06dc0299e2/va01/nhl/2022/01/02/NHL_GAME_VIDEO_STLMIN_M2_NATIONAL_20220102_1638210572341/master_wired60.m3u8')> (No data returned from stream)
error: Could not open stream <HLSStream('https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1641174003~acl=/*~id=nhlGatewayId:7379308~data=2026745871~hmac=9f3f151e7aa43486765c467b24f55b5b0ce9b8592105711152a3b78ebe331236/99c7578338641f445340de06dc0299e2/va01/nhl/2022/01/02/NHL_GAME_VIDEO_STLMIN_M2_NATIONAL_20220102_1638210572341/5600K/5600_complete-trimmed.m3u8', 'https://hlslive-akc.med2.med.nhl.com/hdnts=exp=1641174003~acl=/*~id=nhlGatewayId:7379308~data=2026745871~hmac=9f3f151e7aa43486765c467b24f55b5b0ce9b8592105711152a3b78ebe331236/99c7578338641f445340de06dc0299e2/va01/nhl/2022/01/02/NHL_GAME_VIDEO_STLMIN_M2_NATIONAL_20220102_1638210572341/master_wired60.m3u8')>, tried 3 times, exiting
[cli][info] Closing currently open stream...

ERROR: StreamLink failed

@tarkah
Copy link
Owner

tarkah commented Jan 2, 2022

Make sure all three entries in your hosts file have the same IP address as the one you get if you ping freesports.ddns.net

@neo-neo1
Copy link

neo-neo1 commented Jan 12, 2022

Do as tarkah said. Plus remove the hlslive-akc.med2.med.nhl.com line. You do NOT need to redirect it. If you do, it won't work.

@engkazim2000
Copy link

Hello,

looks like NHL url are not working from last few days is there any changes in host or anything also today i am trying to get the mlb urls and its also not working

@ovcrash
Copy link

ovcrash commented Oct 11, 2022

mlb and nhl don't work, even if the ip in the host file match the one from free sports.
Is all this still working ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants