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

Afreecatv not working again? #2203

Closed
1 task done
tenminute opened this issue Dec 19, 2018 · 17 comments · Fixed by #2204
Closed
1 task done

Afreecatv not working again? #2203

tenminute opened this issue Dec 19, 2018 · 17 comments · Fixed by #2204
Labels
plugin issue A Plugin does not work correctly

Comments

@tenminute
Copy link

Plugin Issue

  • This is a plugin issue and I have read the contribution guidelines.

Description

Seems to have stopped working some odd hours ago. It was working this morning but I've been getting an error the past hour. Maybe they're redoing stuff again?

Reproduction steps / Explicit stream URLs to test

http://play.afreeca.com/user best

Log output

C:\Users\User>streamlink http://play.afreeca.com/user best
[cli][info] Found matching plugin afreeca for URL http://play.afreeca.com/user
[cli][info] Available streams: sd (worst), hd, original (best)
[cli][info] Opening stream: original (hls)
[cli][error] Try 1/1: Could not open stream <HLSStream('http://live-hls-local-cf.afreecatv.com/livestream-east-04/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.SwKSrXv6ItOFi5pR1fJb8AIpawXGUhzWZWS0TZhvegqQUewAVNAFbTZYH0uIKZaRe9KCWUo--B9Cu7aZnQAyN1OqyPT4DTB362QBwR6wrVQ')> (Could not open stream: Unable to open URL: http://live-hls-local-cf.afreecatv.com/livestream-east-04/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.SwKSrXv6ItOFi5pR1fJb8AIpawXGUhzWZWS0TZhvegqQUewAVNAFbTZYH0uIKZaRe9KCWUo--B9Cu7aZnQAyN1OqyPT4DTB362QBwR6wrVQ (403 Client Error: Forbidden for url: http://live-hls-local-cf.afreecatv.com/livestream-east-04/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.SwKSrXv6ItOFi5pR1fJb8AIpawXGUhzWZWS0TZhvegqQUewAVNAFbTZYH0uIKZaRe9KCWUo--B9Cu7aZnQAyN1OqyPT4DTB362QBwR6wrVQ&aid=.A32.7bbT56vyHM9fKZk.SwKSrXv6ItOFi5pR1fJb8AIpawXGUhzWZWS0TZhvegqQUewAVNAFbTZYH0uIKZaRe9KCWUo--B9Cu7aZnQAyN1OqyPT4DTB362QBwR6wrVQ))
error: Could not open stream <HLSStream('http://live-hls-local-cf.afreecatv.com/livestream-east-04/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.SwKSrXv6ItOFi5pR1fJb8AIpawXGUhzWZWS0TZhvegqQUewAVNAFbTZYH0uIKZaRe9KCWUo--B9Cu7aZnQAyN1OqyPT4DTB362QBwR6wrVQ')>, tried 1 times, exiting

Additional comments, screenshots, etc.

Love Streamlink? Please consider supporting our collective. Thanks!

@ChocolateThunder69
Copy link

Same problem here also

@back-to back-to added the plugin issue A Plugin does not work correctly label Dec 19, 2018
@ZenWalk3r
Copy link

Same, cant load the stream

@tenminute
Copy link
Author

Couldn't get @back-to's commit to work, but Afreeca's server is/was messed up today. A lot of streams and functionality were not working on both the site and on mobile. There was supposed to be a larger scale update/change scheduled for the site today (or the 20th in Korea), but it's being postponed until next month. But then, the server issue happened. So not only will there maintenance some time in January, Afreeca will be down for maintenance/server reboot on the 20th, from 6am-7am (Korean time, which is in the next two hours of this post).

@sephadox
Copy link

@back-to's commit works. It messes with the login script but there's really no point in logging in unless you're watching questionable 19+ streams.

@back-to
Copy link
Collaborator

back-to commented Dec 19, 2018

Couldn't get ... commit to work, but Afreeca's server is/was messed up today.

@tenminute share your URL which won't work and a debug log.


It messes with the login script

@sephadox share a debug log, login works for me

make sure that there are no spaces or other characters added to your username/password

@tenminute
Copy link
Author

I just reinstalled the latest stable version on both my laptop and PC, but it's still not working. All I do is replace "afreeca.py" plugin with this one, correct? Or am I doing something wrong?
https://github.com/streamlink/streamlink/blob/8600b9a968c47892ca20eb7f2f5ec234a71717ce/src/streamlink/plugins/afreeca.py

WITHOUT the login, I get the same error on both laptop and PC. WITH the login, I can only log in on PC.

On my laptop without login (error):

C:\Users\User>streamlink play.afreeca.com/battle8807 best --loglevel debug
[cli][debug] OS:         Windows 10
[cli][debug] Python:     3.5.2
[cli][debug] Streamlink: 0.14.2
[cli][debug] Requests(2.19.1), Socks(1.6.7), Websocket(0.48.0)
[cli][info] Found matching plugin afreeca for URL play.afreeca.com/battle8807
[cli][info] Available streams: sd (worst), hd, original (best)
[cli][info] Opening stream: original (hls)
[stream.hls][debug] Reloading playlist
[cli][error] Try 1/1: Could not open stream <HLSStream('http://live-hls-local-cf.afreecatv.com/livestream-east-02/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.xpBD8nB_og7FlS_nQmJrgqycULZ-NIABA83ZTtUtTwpiFLykd1yW767UrJYp-jHf3peCo8fa0lF60RxuPXCeFJXWnTi0-speVEG5N0ChaXA')> (Could not open stream: Unable to open URL: http://live-hls-local-cf.afreecatv.com/livestream-east-02/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.xpBD8nB_og7FlS_nQmJrgqycULZ-NIABA83ZTtUtTwpiFLykd1yW767UrJYp-jHf3peCo8fa0lF60RxuPXCeFJXWnTi0-speVEG5N0ChaXA (403 Client Error: Forbidden for url: http://live-hls-local-cf.afreecatv.com/livestream-east-02/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.xpBD8nB_og7FlS_nQmJrgqycULZ-NIABA83ZTtUtTwpiFLykd1yW767UrJYp-jHf3peCo8fa0lF60RxuPXCeFJXWnTi0-speVEG5N0ChaXA&aid=.A32.7bbT56vyHM9fKZk.xpBD8nB_og7FlS_nQmJrgqycULZ-NIABA83ZTtUtTwpiFLykd1yW767UrJYp-jHf3peCo8fa0lF60RxuPXCeFJXWnTi0-speVEG5N0ChaXA))
error: Could not open stream <HLSStream('http://live-hls-local-cf.afreecatv.com/livestream-east-02/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.xpBD8nB_og7FlS_nQmJrgqycULZ-NIABA83ZTtUtTwpiFLykd1yW767UrJYp-jHf3peCo8fa0lF60RxuPXCeFJXWnTi0-speVEG5N0ChaXA')>, tried 1 times, exiting

On my laptop with login (error):

C:\Users\User>streamlink --afreeca-username=******** --afreeca-password=******** play.afreeca.com/battle8807 best --loglevel debug
[cli][debug] OS:         Windows 10
[cli][debug] Python:     3.5.2
[cli][debug] Streamlink: 0.14.2
[cli][debug] Requests(2.19.1), Socks(1.6.7), Websocket(0.48.0)
[cli][info] Found matching plugin afreeca for URL play.afreeca.com/battle8807
[cli][debug] Plugin specific arguments:
[cli][debug]  --afreeca-username=******** (username)
[cli][debug]  --afreeca-password=******** (password)
[plugin.afreeca][debug] Attempting login as ********
error: Unable to open URL: https://member.afreecatv.com:8111/login/LoginAction.php (404 Client Error: Not Found for url: https://member.afreecatv.com:8111/login/LoginAction.php)

On my PC with login (able to log in):

C:\Users\User>streamlink --afreeca-username=******** --afreeca-password=******** play.afreeca.com/battle8807 best --loglevel debug
[cli][debug] OS:         Windows 10
[cli][debug] Python:     3.5.2
[cli][debug] Streamlink: 0.14.2
[cli][debug] Requests(2.19.1), Socks(1.6.7), Websocket(0.48.0)
[cli][info] Found matching plugin afreeca for URL play.afreeca.com/battle8807
[cli][debug] Plugin specific arguments:
[cli][debug]  --afreeca-username=******** (username)
[cli][debug]  --afreeca-password=******** (password)
[plugin.afreeca][debug] Attempting login as ********
[plugin.afreeca][info] Successfully logged in as ********
[cli][info] Available streams: sd (worst), hd, original (best)
[cli][info] Opening stream: original (hls)
[stream.hls][debug] Reloading playlist
[cli][error] Try 1/1: Could not open stream <HLSStream('http://live-hls-local-cf.afreecatv.com/livestream-east-05/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.MtPFSMRGozqkVCvfUqtN4IKp-pwWKf4_VKtEDquZKwhNUryCnYZ-pQBbNgCXrE0LpmfxdU4OhgyST8n5UuBUKM9otVoRXYxXhV4zcd00wrU')> (Could not open stream: Unable to open URL: http://live-hls-local-cf.afreecatv.com/livestream-east-05/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.MtPFSMRGozqkVCvfUqtN4IKp-pwWKf4_VKtEDquZKwhNUryCnYZ-pQBbNgCXrE0LpmfxdU4OhgyST8n5UuBUKM9otVoRXYxXhV4zcd00wrU (403 Client Error: Forbidden for url: http://live-hls-local-cf.afreecatv.com/livestream-east-05/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.MtPFSMRGozqkVCvfUqtN4IKp-pwWKf4_VKtEDquZKwhNUryCnYZ-pQBbNgCXrE0LpmfxdU4OhgyST8n5UuBUKM9otVoRXYxXhV4zcd00wrU&aid=.A32.7bbT56vyHM9fKZk.MtPFSMRGozqkVCvfUqtN4IKp-pwWKf4_VKtEDquZKwhNUryCnYZ-pQBbNgCXrE0LpmfxdU4OhgyST8n5UuBUKM9otVoRXYxXhV4zcd00wrU))
error: Could not open stream <HLSStream('http://live-hls-local-cf.afreecatv.com/livestream-east-05/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.MtPFSMRGozqkVCvfUqtN4IKp-pwWKf4_VKtEDquZKwhNUryCnYZ-pQBbNgCXrE0LpmfxdU4OhgyST8n5UuBUKM9otVoRXYxXhV4zcd00wrU')>, tried 1 times, exiting

@nOLanSea
Copy link

Same, afreeca stopped worked.
Please fix it.

@back-to
Copy link
Collaborator

back-to commented Dec 20, 2018

@tenminute

I can't access afreeca.com it's afreecatv.com for me

could you confirm that it's afreeca.com for you or if you can access afreecatv.com


also could you check which domain is used for the other paths in your browser

api

CHANNEL_API_URL = "http://live.afreecatv.com:8057/afreeca/player_live_api.php"

login

login_url = "https://member.afreecatv.com:8111/login/LoginAction.php"

you can see them with the Network requests (press F12 and reload)

https://developer.mozilla.org/en-US/docs/Tools/Network_Monitor/request_list#Network_request_list

@ZenWalk3r
Copy link

Can confirm stream will load with afreecatv.com instead of afreeca.com

But login still fails to load.

[cli][info] Found matching plugin afreeca for URL afreecatv.com/user
error: Unable to open URL: https://member.afreecatv.com:8111/login/LoginAction.p
hp (404 Client Error: Not Found for url: https://member.afreecatv.com:8111/login
/LoginAction.php)

@tenminute
Copy link
Author

@back-to Hmmm... I've always used afreeca.com rather than afreecatv.com and never had a problem (since, I believe it was just afreeca.com back in the day).

Anyway... works! Login works, too. Appreciate it!

@back-to
Copy link
Collaborator

back-to commented Dec 20, 2018

@ZenWalk3r

your url is wrong it must be play.afreeca.com/user not afreecatv.com/user


I will update my PR where only play.afreecatv.com can be used and everything else is not allowed.

@ZenWalk3r
Copy link

@back-to And everything suddenly works perfectly. Thank man! You're the best!

Before this, I just typed afreeca.com/user and it would load. Now I found the error of my ways.

@nOLanSea
Copy link

So how to fix it ?

@tastyminerals
Copy link

tastyminerals commented Dec 24, 2018

Replacing afreeca.py does not fix the issue.
Please, invest 1 minute and explain how to do it.

@bastimeyer
Copy link
Member

Follow the instructions on the Streamlink website and install the latest unstable release / daily build.

@crunchor
Copy link

Doesn't work for me like a month so far, any idea how to fix this?

@bastimeyer
Copy link
Member

In case you're using the latest Streamlink version and it's still failing, please open a new plugin issue and fill in the necessary details.

@streamlink streamlink locked as resolved and limited conversation to collaborators Jan 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
plugin issue A Plugin does not work correctly
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants