kompot / nhl-tv-geeky-streams

Best way to download NHL games. NHL.TV, NHL LIVE, or WatchESPN account is required.
MIT License
35 stars 7 forks source link

self signed certificate #24

Closed kovalivan96 closed 2 years ago

kovalivan96 commented 6 years ago

Hi! After I choose a stream to download I get the message:

self signed certificate Done in xx.xxs

And that's all What can be the problem?

kompot commented 6 years ago

Well, right now no idea what may be the problem.

Could you paste everything that's output on the screen.

kovalivan96 commented 6 years ago

PS D:\nhl-tv-geeky-streams-master> docker-compose run --rm nhltv yarn run v1.3.2 $ ./node_modules/.bin/ts-node src/index.ts ? Choose game to download ⤺ one day back ? Choose game to download Vegas Golden Knights @ Washington Capitals ? Choose feed to watch HOME, NBCS-WA self signed certificate Done in 10.76s. PS D:\nhl-tv-geeky-streams-master>

kompot commented 6 years ago

Ok, not much ;)

Please post everything about your environment that could help. Windows version, docker version.

kompot commented 6 years ago

Actually, i might have found something related. https://github.com/axios/axios/issues/535

Try adding NODE_TLS_REJECT_UNAUTHORIZED=0 line to .env file

kompot commented 6 years ago

Also you can try to change this line https://github.com/kompot/nhl-tv-geeky-streams/blob/master/src/index.ts#L118 to cdnName: CDN.LEVEL3

As AKAMAI CDN is hardcoded until this issue https://github.com/kompot/nhl-tv-geeky-streams/issues/8 is fixed

kovalivan96 commented 6 years ago

Well... If I add NODE_TLS_REJECT_UNAUTHORIZED=0 line to .env file I get the message "Request failed with status code 404"

Editing line #118 in index.ts changes nothing

kompot commented 6 years ago

Are you using latest version of this repository with docker image based on node:alpine? https://github.com/kompot/nhl-tv-geeky-streams/blob/master/Dockerfile

kovalivan96 commented 6 years ago

Yes

kompot commented 6 years ago

Can you try previous version, before switching to alpine based docker image https://github.com/kompot/nhl-tv-geeky-streams/archive/c73a09013af056c57487ff5548241de94c4b43c2.zip

kovalivan96 commented 6 years ago

Nothing changed :(

Redmax87 commented 6 years ago

Go to C:\Windows\System32\drivers\etc Open hosts file with notepad and delete any line with ...nhl.com. Save hosts file.

kompot commented 6 years ago

@kovalivan96 any luck?

rseanhall commented 2 years ago

I think it's fair to assume that this a user-specific issue. No one else has reported it and the hosts file sounds like a likely root cause.