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

HTTP code 0 #68

Open
klikevil opened this issue May 15, 2019 · 1 comment
Open

HTTP code 0 #68

klikevil opened this issue May 15, 2019 · 1 comment

Comments

@klikevil
Copy link

Hi,

I've tried resetting cookies and enabling ssl i'm on plex 1.14

This is what I am seeing in the error logs.

2019-05-15 03:41:11,789 (7fe82a7fc700) : INFO (interface:533) - Headers: {'Referer': 'https://fmovies.to', 'X-Requested-With': 'XMLHttpRequest', 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.99 Safari/537.36'}
2019-05-15 03:41:11,837 (7fe82a7fc700) : CRITICAL (runtime:1128) - Exception in thread named 'SiteCookieRoutine' (most recent call last):
File "/usr/lib64/plexmediaserver/Resources/Plug-ins-cc260c476/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1126, in _start_thread
f(*args, **kwargs)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/FMoviesPlus.bundle/Contents/Code/main.py", line 123, in SiteCookieRoutine
fmovies.setTokenCookie(use_debug=Prefs["use_debug"], reset=reset, dump=dump, quiet=quiet)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/FMoviesPlus.bundle/Contents/Code/fmovies.py", line 494, in setTokenCookie
TOKEN_KEY.append(PAIRS[0]["None"])
TypeError: argument of type 'NoneType' is not iterable

2019-05-15 03:41:16,790 (7fe82b7fe700) : INFO (datakit:131) - Saved the dictionary file
2019-05-15 03:41:21,798 (7fe828ff9700) : DEBUG (runtime:88) - Sending packed state data (112 bytes)
2019-05-15 03:41:21,799 (7fe828ff9700) : DEBUG (runtime:924) - Response: [200] MessageContainer, 172 bytes
2019-05-15 03:41:31,518 (7fe828ff9700) : DEBUG (runtime:717) - Handling request GET /video/fmoviesplus/showMenu?session=4E756P005441&title=Movies+%26+TV-Series
2019-05-15 03:41:31,520 (7fe828ff9700) : DEBUG (runtime:814) - Found route matching /video/fmoviesplus/showMenu
2019-05-15 03:41:31,523 (7fe828ff9700) : DEBUG (runtime:88) - Sending packed state data (112 bytes)
2019-05-15 03:41:31,523 (7fe828ff9700) : DEBUG (runtime:924) - Response: [200] MediaContainer, 2050 bytes
2019-05-15 03:41:33,493 (7fe828ff9700) : DEBUG (runtime:717) - Handling request GET /video/fmoviesplus/showcategory?session=4E756P005441&title=Movies
2019-05-15 03:41:33,496 (7fe828ff9700) : DEBUG (runtime:814) - Found route matching /video/fmoviesplus/showcategory
2019-05-15 03:41:33,497 (7fe828ff9700) : ERROR (common:1097) - Cookie not set ! Please try Reset Cookies under the Options menu.
2019-05-15 03:41:33,497 (7fe828ff9700) : INFO (common:1097) -
2019-05-15 03:41:33,498 (7fe828ff9700) : INFO (common:1097) - Using SSL Alternate Option
2019-05-15 03:41:33,498 (7fe828ff9700) : INFO (common:1097) - Url: https://fmovies.to/movies?page=1
2019-05-15 03:41:33,498 (7fe828ff9700) : DEBUG (interface:504) - Requesting (via Interface) : https://fmovies.to/movies?page=1
2019-05-15 03:41:33,499 (7fe828ff9700) : INFO (interface:506) - Headers: {'Referer': 'https://fmovies.to/movies?page=1', 'User-Agent': 'Mozilla/5.0 (Windows NT 6.0; Win64; IA64; rv:19.0) Gecko/20100101 Firefox/19.0'}
2019-05-15 03:41:33,535 (7fe828ff9700) : DEBUG (interface:504) - Requesting (via Interface) : https://fmovies.to/movies?page=1
2019-05-15 03:41:33,535 (7fe828ff9700) : INFO (interface:506) - Headers: {'Accept-Language': 'en-US', 'Referer': 'https://fmovies.to/movies?page=1', 'User-Agent': 'Mozilla/5.0 (Windows NT 6.0; Win64; IA64; rv:19.0) Gecko/20100101 Firefox/19.0'}
2019-05-15 03:41:33,572 (7fe828ff9700) : INFO (common:1105) - ERROR common.py>GetPageAsString: ("'NoneType' object has no attribute 'iter'",) URL: https://fmovies.to/movies?page=1
2019-05-15 03:41:33,572 (7fe828ff9700) : INFO (common:940) - ERROR common.py>GetPageElements: Error: Cookie not set ! Please try Reset Cookies under the Options menu. URL: https://fmovies.to/movies?page=1 DATA: None
2019-05-15 03:41:33,572 (7fe828ff9700) : INFO (main:1929) - HTTP Error: HTTP Code 0 for https://fmovies.to/movies?page=1. Try Enabling SSL option in Channel Prefs.
2019-05-15 03:41:33,574 (7fe828ff9700) : DEBUG (runtime:88) - Sending packed state data (112 bytes)
2019-05-15 03:41:33,574 (7fe828ff9700) : DEBUG (runtime:924) - Response: [200] MessageContainer, 191 bytes

@JamminR
Copy link
Collaborator

JamminR commented May 15, 2019

@klikevil - It would seem only one base URL is active at this time - fmovies.taxi - Try using that as your base URL instead of fmovies.to
In my android client, I have enhanced icons enabled - From inside the plugin if I go into Options - Tools - Set base url, I have all broken red hearts beside all the sites except for fmovies.taxi

All that being said, if you've not been checking the discussion thread here over the past month or two (though not required, definitely recommended), I'd recommend seeing this current post.
#33 (comment)

Fmovies sites have been heavily engaged in preventing viewers (such as us) using Kodi/Plex plugins/other tools that bypass actual use of a web browser to view their sites, including captchas, and now, IP banning.
@coder-alpha has been doing what he can, but some things just overly difficult, so for now, he/we recommend using the external listings searches and sites instead of the 'whats hot' type menus.
And of course, ensure you have the latest FMP installed, as he's done great work in adding external (to non-working Fmovies site) search capabilities

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

2 participants