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

Connection to www.showroom-live.com timed out. #12

Closed
zby1234 opened this issue Sep 23, 2017 · 8 comments
Closed

Connection to www.showroom-live.com timed out. #12

zby1234 opened this issue Sep 23, 2017 · 8 comments

Comments

@zby1234
Copy link

zby1234 commented Sep 23, 2017

Sorry to bother you. Download videos works but it shows connection error, i don't know how to fix it.
IP:French/China
Ubuntu 16.04 server/Windows 7
Python 3.6.2
ffmpeg
root:/home/showroom# python3.6 showroom.py
Show (S)chedule, Show (D)ownloads, Show (L)inks, (Q)uit
Current Time is 18:18
Scheduling Sakaki Miyu for 19:00
Watching Nishikawa Rei's Showroom
Watching Nara Miharu's Showroom
Downloading Nishikawa Rei's Showroom
Getting https://www.showroom-live.com/api/live/onlives failed: HTTPSConnectionPool(host='www.showroom-live.com', port=443): Max retries exceeded with url: /api/live/onlives (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9df0b928d0>, 'Connection to www.showroom-live.com timed out. (connect timeout=3.0)'))
Retrying in 0.5 seconds...
Downloading Nara Miharu's Showroom
Getting https://www.showroom-live.com/api/live/onlives failed: HTTPSConnectionPool(host='www.showroom-live.com', port=443): Read timed out. (read timeout=3.0)
Retrying in 0.5 seconds...
Getting https://www.showroom-live.com/api/live/onlives failed: HTTPSConnectionPool(host='www.showroom-live.com', port=443): Max retries exceeded with url: /api/live/onlives (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9debb60518>, 'Connection to www.showroom-live.com timed out. (connect timeout=3.0)'))
Retrying in 0.5 seconds...
Getting https://www.showroom-live.com/api/live/onlives failed: HTTPSConnectionPool(host='www.showroom-live.com', port=443): Max retries exceeded with url: /api/live/onlives (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9df0334dd8>, 'Connection to www.showroom-live.com timed out. (connect timeout=3.0)'))
Retrying in 0.5 seconds...
Getting https://www.showroom-live.com/api/live/onlives failed: HTTPSConnectionPool(host='www.showroom-live.com', port=443): Max retries exceeded with url: /api/live/onlives (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9df0334978>, 'Connection to www.showroom-live.com timed out. (connect timeout=3.0)'))
Retrying in 0.5 seconds...
Getting https://www.showroom-live.com/api/live/onlives failed: HTTPSConnectionPool(host='www.showroom-live.com', port=443): Max retries exceeded with url: /api/live/onlives (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9df0334fd0>, 'Connection to www.showroom-live.com timed out. (connect timeout=3.0)'))
Retrying in 0.5 seconds...
Getting https://www.showroom-live.com/api/live/onlives failed: HTTPSConnectionPool(host='www.showroom-live.com', port=443): Read timed out. (read timeout=3.0)
Retrying in 1.0 seconds...

@skeith
Copy link
Contributor

skeith commented Sep 23, 2017

Your IP is being blocked by showroom

@zby1234
Copy link
Author

zby1234 commented Sep 23, 2017

Thanks! IP limited only in Japan ? But it works well not long ago, and downloading still works. @skeith

@skeith
Copy link
Contributor

skeith commented Sep 23, 2017

Not just Japan, some providers are also being blocked

@zby1234
Copy link
Author

zby1234 commented Sep 23, 2017

So I have to change my IP or just ignore the error?

@wlerin
Copy link
Owner

wlerin commented Sep 24, 2017

Well ignoring the error won't fix it. You need to either change your IP or use a proxy. skeith knows more about the latter than I do. You do not need a Japanese IP, just one they haven't blocked. I think they've been range-banning some hosting providers due to malicious activity.

If you do use a proxy or VPN, be aware this script generates a lot of traffic throughout the day. Last I checked I think it averaged about 4 GB overhead daily, separate from actual video downloads. I've been meaning to reduce this, but short of connecting to a websocket on their end I'm not sure how.

Also consider using the development branch, not that it will help fix this specific error, but all future updates will be going there.

@skeith
Copy link
Contributor

skeith commented Sep 25, 2017

you don't need to change your current server for the proxy method, you just need a small server with unlimited or large bandwith for the proxy. You might want to explore which server has not been blocked yet, then setup a proxy there.

@zby1234
Copy link
Author

zby1234 commented Sep 25, 2017

Thank you for your advice! I have set a proxy on a Japanese server which has not been blocked yet and it has large bandwith. Thanks again for sharing and update this script, it helps me a lot!

@skeith
Copy link
Contributor

skeith commented Sep 25, 2017

glad you sorted it out.

@wlerin I think we can close this issue now

@wlerin wlerin closed this as completed Sep 25, 2017
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

3 participants