ukdtom / WebTools.bundle

WebTools is a collection of tools for Plex Media Server. Like the Unsupported AppStore (UAS)
https://forums.plex.tv/discussion/288191
Mozilla Public License 2.0
1.3k stars 170 forks source link

Wrong username/password with Webtools 3.0.0 #520

Closed Risca closed 6 years ago

Risca commented 6 years ago

Environment

Error shown

Steps to reproduce

  1. Go to http://:33400/
  2. Try to login (with valid credentials

Expected behaviour

  1. I get logged in

Actual behaviour

  1. I don't get logged in. The message "Wrong username and/or password" is shown with red text

Additional Info

The WebTools log show this error:

2018-09-10 21:55:31,725 (7f6cf7fff700) :  INFO (webSrv:186) - No Basic Auth header, so looking for params
2018-09-10 21:55:31,725 (7f6cf7fff700) :  INFO (webSrv:327) - User is: Risca
2018-09-10 21:55:31,726 (7f6cf7fff700) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/identity'
2018-09-10 21:55:31,733 (7f6cf7fff700) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400'
2018-09-10 21:55:31,813 (7f6cf7fff700) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/identity'
2018-09-10 21:55:31,912 (7f6cf7fff700) :  INFO (plextvhelper:38) - Start to auth towards plex.tv
2018-09-10 21:55:31,913 (7f6cf7fff700) :  DEBUG (networking:166) - Requesting 'https://plex.tv/users/sign_in.json'
2018-09-10 21:55:32,194 (7f6cf7fff700) :  ERROR (networking:219) - Error opening URL 'https://plex.tv/users/sign_in.json'
2018-09-10 21:55:32,194 (7f6cf7fff700) :  CRITICAL (plextvhelper:48) - Login error: HTTP Error 500: Internal Server Error (most recent call last):
  File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/WebTools.bundle/Contents/Code/plextvhelper.py", line 44, in login
    self.loginUrl + '.json', headers=self.myHeader, method='POST')['user']['authToken']
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-93c9f1259/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 145, in ObjectFromURL
    method=method,
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-93c9f1259/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/networkkit.py", line 67, in _http_request
    req = self._core.networking.http_request(url, *args, **kwargs)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-93c9f1259/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 370, in http_request
    return HTTPRequest(self._core, url, data, h, url_cache, encoding, errors, timeout, immediate, sleep, opener, follow_redirects, method)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-93c9f1259/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 141, in __init__
    self.load()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-93c9f1259/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 181, in load
    f = self._opener.open(req, timeout=self._timeout)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-93c9f1259/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 444, in open
    response = meth(req, response)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-93c9f1259/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 557, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-93c9f1259/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 482, in error
    return self._call_chain(*args)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-93c9f1259/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 416, in _call_chain
    result = func(*args)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-93c9f1259/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 565, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 500: Internal Server Error

2018-09-10 21:55:32,194 (7f6cf7fff700) :  ERROR (webSrv:322) - Bad credentials detected, denying access

Checklist

Risca commented 6 years ago

I tested with WebTools 2.4.1 and the same issue is there as well. This might also just be a glitch from plex.tv side

Risca commented 6 years ago

Nevermind, while creating this issue, the problem went away by itself. I guess it was just a glitch from plex.tv

ukdtom commented 6 years ago

It was: Error opening URL 'https://plex.tv/users/sign_in.json' :)

jaydenthorup commented 1 year ago

https://unraid-guides.com/2021/01/31/how-to-connect-plex-to-apps-that-dont-support-two-factor-authentication-2fa/

ronniemerino commented 1 year ago

I have the same problem, I need help, I always get the message "Wrong username and/or password"

2023-05-06 13:51:51,470 (3e3c) : ERROR (logkit:22) - Bad credentials detected, denying access 2023-05-06 13:51:51,604 (3e3c) : INFO (logkit:16) - No Basic Auth header, so looking for params 2023-05-06 13:51:51,605 (3e3c) : INFO (logkit:16) - User is: ronnie.merino 2023-05-06 13:51:51,605 (3e3c) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/identity' 2023-05-06 13:51:51,611 (3e3c) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400' 2023-05-06 13:51:51,624 (3e3c) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/identity' 2023-05-06 13:51:51,628 (3e3c) : INFO (logkit:16) - Start to auth towards plex.tv 2023-05-06 13:51:51,631 (3e3c) : DEBUG (networking:143) - Requesting 'https://plex.tv/users/sign_in.json' 2023-05-06 13:51:51,638 (3e3c) : CRITICAL (core:574) - Login error: unknown error (_ssl.c:2938) (most recent call last): File "C:\Users\EAS\AppData\Local\Plex Media Server\Plug-ins\WebTools.bundle\Contents\Code\plextvhelper.py", line 44, in login self.loginUrl + '.json', headers=self.myHeader, method='POST')['user']['authToken'] File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\parsekit.py", line 145, in ObjectFromURL method=method, File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\networkkit.py", line 67, in _http_request req = self._core.networking.http_request(url, *args, *kwargs) File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 346, in http_request return HTTPRequest(self._core, url, data, h, url_cache, encoding, errors, timeout, immediate, sleep, opener, follow_redirects, method) File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 118, in init self.load() File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 158, in load f = self._opener.open(req, timeout=self._timeout) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 429, in open response = self._open(req, data) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 447, in _open '_open', req) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 407, in _call_chain result = func(args) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 1241, in https_open context=self._context) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 1167, in do_open h = http_class(host, timeout=req.timeout, **http_conn_args) File "C:\Program Files\Plex\Plex Media Server\python27.zip\httplib.py", line 1274, in init context = ssl._create_default_https_context() File "C:\Program Files\Plex\Plex Media Server\python27.zip\ssl.py", line 445, in create_default_context context.load_default_certs(purpose) File "C:\Program Files\Plex\Plex Media Server\python27.zip\ssl.py", line 412, in load_default_certs self._load_windows_store_certs(storename, purpose) File "C:\Program Files\Plex\Plex Media Server\python27.zip\ssl.py", line 404, in _load_windows_store_certs self.load_verify_locations(cadata=certs) SSLError: unknown error (_ssl.c:2938)

2023-05-06 13:51:51,640 (3e3c) : ERROR (logkit:22) - Bad credentials detected, denying access


2023-05-06 13:51:33,210 (3e3c) : INFO (logkit:16) - Start to auth towards plex.tv 2023-05-06 13:51:33,210 (3e3c) : DEBUG (networking:143) - Requesting 'https://plex.tv/users/sign_in.json' 2023-05-06 13:51:33,230 (3e3c) : CRITICAL (core:574) - Login error: unknown error (_ssl.c:2938) (most recent call last): File "C:\Users\EAS\AppData\Local\Plex Media Server\Plug-ins\WebTools.bundle\Contents\Code\plextvhelper.py", line 44, in login self.loginUrl + '.json', headers=self.myHeader, method='POST')['user']['authToken'] File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\parsekit.py", line 145, in ObjectFromURL method=method, File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\networkkit.py", line 67, in _http_request req = self._core.networking.http_request(url, *args, *kwargs) File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 346, in http_request return HTTPRequest(self._core, url, data, h, url_cache, encoding, errors, timeout, immediate, sleep, opener, follow_redirects, method) File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 118, in init self.load() File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 158, in load f = self._opener.open(req, timeout=self._timeout) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 429, in open response = self._open(req, data) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 447, in _open '_open', req) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 407, in _call_chain result = func(args) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 1241, in https_open context=self._context) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 1167, in do_open h = http_class(host, timeout=req.timeout, **http_conn_args) File "C:\Program Files\Plex\Plex Media Server\python27.zip\httplib.py", line 1274, in init context = ssl._create_default_https_context() File "C:\Program Files\Plex\Plex Media Server\python27.zip\ssl.py", line 445, in create_default_context context.load_default_certs(purpose) File "C:\Program Files\Plex\Plex Media Server\python27.zip\ssl.py", line 412, in load_default_certs self._load_windows_store_certs(storename, purpose) File "C:\Program Files\Plex\Plex Media Server\python27.zip\ssl.py", line 404, in _load_windows_store_certs self.load_verify_locations(cadata=certs) SSLError: unknown error (_ssl.c:2938)

2023-05-06 13:51:33,230 (3e3c) : ERROR (logkit:22) - Bad credentials detected, denying access 2023-05-06 13:51:33,963 (3e3c) : INFO (logkit:16) - No Basic Auth header, so looking for params 2023-05-06 13:51:33,964 (3e3c) : INFO (logkit:16) - User is: ronnie.merino 2023-05-06 13:51:33,966 (3e3c) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/identity' 2023-05-06 13:51:33,970 (3e3c) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400' 2023-05-06 13:51:33,977 (3e3c) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/identity' 2023-05-06 13:51:33,982 (3e3c) : INFO (logkit:16) - Start to auth towards plex.tv 2023-05-06 13:51:33,983 (3e3c) : DEBUG (networking:143) - Requesting 'https://plex.tv/users/sign_in.json' 2023-05-06 13:51:33,989 (3e3c) : CRITICAL (core:574) - Login error: unknown error (_ssl.c:2938) (most recent call last): File "C:\Users\EAS\AppData\Local\Plex Media Server\Plug-ins\WebTools.bundle\Contents\Code\plextvhelper.py", line 44, in login self.loginUrl + '.json', headers=self.myHeader, method='POST')['user']['authToken'] File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\parsekit.py", line 145, in ObjectFromURL method=method, File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\networkkit.py", line 67, in _http_request req = self._core.networking.http_request(url, *args, *kwargs) File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 346, in http_request return HTTPRequest(self._core, url, data, h, url_cache, encoding, errors, timeout, immediate, sleep, opener, follow_redirects, method) File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 118, in init self.load() File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 158, in load f = self._opener.open(req, timeout=self._timeout) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 429, in open response = self._open(req, data) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 447, in _open '_open', req) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 407, in _call_chain result = func(args) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 1241, in https_open context=self._context) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 1167, in do_open h = http_class(host, timeout=req.timeout, **http_conn_args) File "C:\Program Files\Plex\Plex Media Server\python27.zip\httplib.py", line 1274, in init context = ssl._create_default_https_context() File "C:\Program Files\Plex\Plex Media Server\python27.zip\ssl.py", line 445, in create_default_context context.load_default_certs(purpose) File "C:\Program Files\Plex\Plex Media Server\python27.zip\ssl.py", line 412, in load_default_certs self._load_windows_store_certs(storename, purpose) File "C:\Program Files\Plex\Plex Media Server\python27.zip\ssl.py", line 404, in _load_windows_store_certs self.load_verify_locations(cadata=certs) SSLError: unknown error (_ssl.c:2938)

2023-05-06 13:51:33,990 (3e3c) : ERROR (logkit:22) - Bad credentials detected, denying access 2023-05-06 13:51:34,295 (3e3c) : INFO (logkit:16) - No Basic Auth header, so looking for params 2023-05-06 13:51:34,295 (3e3c) : INFO (logkit:16) - User is: ronnie.merino 2023-05-06 13:51:34,296 (3e3c) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/identity' 2023-05-06 13:51:34,301 (3e3c) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400' 2023-05-06 13:51:34,309 (3e3c) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/identity' 2023-05-06 13:51:34,312 (3e3c) : INFO (logkit:16) - Start to auth towards plex.tv 2023-05-06 13:51:34,313 (3e3c) : DEBUG (networking:143) - Requesting 'https://plex.tv/users/sign_in.json' 2023-05-06 13:51:34,322 (3e3c) : CRITICAL (core:574) - Login error: unknown error (_ssl.c:2938) (most recent call last): File "C:\Users\EAS\AppData\Local\Plex Media Server\Plug-ins\WebTools.bundle\Contents\Code\plextvhelper.py", line 44, in login self.loginUrl + '.json', headers=self.myHeader, method='POST')['user']['authToken'] File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\parsekit.py", line 145, in ObjectFromURL method=method, File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\networkkit.py", line 67, in _http_request req = self._core.networking.http_request(url, *args, *kwargs) File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 346, in http_request return HTTPRequest(self._core, url, data, h, url_cache, encoding, errors, timeout, immediate, sleep, opener, follow_redirects, method) File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 118, in init self.load() File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 158, in load f = self._opener.open(req, timeout=self._timeout) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 429, in open response = self._open(req, data) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 447, in _open '_open', req) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 407, in _call_chain result = func(args) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 1241, in https_open context=self._context) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 1167, in do_open h = http_class(host, timeout=req.timeout, **http_conn_args) File "C:\Program Files\Plex\Plex Media Server\python27.zip\httplib.py", line 1274, in init context = ssl._create_default_https_context() File "C:\Program Files\Plex\Plex Media Server\python27.zip\ssl.py", line 445, in create_default_context context.load_default_certs(purpose) File "C:\Program Files\Plex\Plex Media Server\python27.zip\ssl.py", line 412, in load_default_certs self._load_windows_store_certs(storename, purpose) File "C:\Program Files\Plex\Plex Media Server\python27.zip\ssl.py", line 404, in _load_windows_store_certs self.load_verify_locations(cadata=certs) SSLError: unknown error (_ssl.c:2938)

2023-05-06 13:51:34,322 (3e3c) : ERROR (logkit:22) - Bad credentials detected, denying access 2023-05-06 13:51:34,474 (3e3c) : INFO (logkit:16) - No Basic Auth header, so looking for params 2023-05-06 13:51:34,474 (3e3c) : INFO (logkit:16) - User is: ronnie.merino 2023-05-06 13:51:34,476 (3e3c) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/identity' 2023-05-06 13:51:34,480 (3e3c) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400' 2023-05-06 13:51:34,489 (3e3c) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/identity' 2023-05-06 13:51:34,493 (3e3c) : INFO (logkit:16) - Start to auth towards plex.tv 2023-05-06 13:51:34,493 (3e3c) : DEBUG (networking:143) - Requesting 'https://plex.tv/users/sign_in.json' 2023-05-06 13:51:34,499 (3e3c) : CRITICAL (core:574) - Login error: unknown error (_ssl.c:2938) (most recent call last): File "C:\Users\EAS\AppData\Local\Plex Media Server\Plug-ins\WebTools.bundle\Contents\Code\plextvhelper.py", line 44, in login self.loginUrl + '.json', headers=self.myHeader, method='POST')['user']['authToken'] File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\parsekit.py", line 145, in ObjectFromURL method=method, File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\networkkit.py", line 67, in _http_request req = self._core.networking.http_request(url, *args, *kwargs) File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 346, in http_request return HTTPRequest(self._core, url, data, h, url_cache, encoding, errors, timeout, immediate, sleep, opener, follow_redirects, method) File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 118, in init self.load() File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 158, in load f = self._opener.open(req, timeout=self._timeout) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 429, in open response = self._open(req, data) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 447, in _open '_open', req) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 407, in _call_chain result = func(args) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 1241, in https_open context=self._context) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 1167, in do_open h = http_class(host, timeout=req.timeout, **http_conn_args) File "C:\Program Files\Plex\Plex Media Server\python27.zip\httplib.py", line 1274, in init context = ssl._create_default_https_context() File "C:\Program Files\Plex\Plex Media Server\python27.zip\ssl.py", line 445, in create_default_context context.load_default_certs(purpose) File "C:\Program Files\Plex\Plex Media Server\python27.zip\ssl.py", line 412, in load_default_certs self._load_windows_store_certs(storename, purpose) File "C:\Program Files\Plex\Plex Media Server\python27.zip\ssl.py", line 404, in _load_windows_store_certs self.load_verify_locations(cadata=certs) SSLError: unknown error (_ssl.c:2938)

2023-05-06 13:51:34,499 (3e3c) : ERROR (logkit:22) - Bad credentials detected, denying access 2023-05-06 13:51:34,645 (3e3c) : INFO (logkit:16) - No Basic Auth header, so looking for params 2023-05-06 13:51:34,647 (3e3c) : INFO (logkit:16) - User is: ronnie.merino 2023-05-06 13:51:34,648 (3e3c) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/identity' 2023-05-06 13:51:34,654 (3e3c) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400' 2023-05-06 13:51:34,660 (3e3c) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/identity' 2023-05-06 13:51:34,664 (3e3c) : INFO (logkit:16) - Start to auth towards plex.tv 2023-05-06 13:51:34,665 (3e3c) : DEBUG (networking:143) - Requesting 'https://plex.tv/users/sign_in.json' 2023-05-06 13:51:34,674 (3e3c) : CRITICAL (core:574) - Login error: unknown error (_ssl.c:2938) (most recent call last): File "C:\Users\EAS\AppData\Local\Plex Media Server\Plug-ins\WebTools.bundle\Contents\Code\plextvhelper.py", line 44, in login self.loginUrl + '.json', headers=self.myHeader, method='POST')['user']['authToken'] File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\parsekit.py", line 145, in ObjectFromURL method=method, File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\networkkit.py", line 67, in _http_request req = self._core.networking.http_request(url, *args, *kwargs) File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 346, in http_request return HTTPRequest(self._core, url, data, h, url_cache, encoding, errors, timeout, immediate, sleep, opener, follow_redirects, method) File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 118, in init self.load() File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 158, in load f = self._opener.open(req, timeout=self._timeout) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 429, in open response = self._open(req, data) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 447, in _open '_open', req) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 407, in _call_chain result = func(args) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 1241, in https_open context=self._context) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 1167, in do_open h = http_class(host, timeout=req.timeout, **http_conn_args) File "C:\Program Files\Plex\Plex Media Server\python27.zip\httplib.py", line 1274, in init context = ssl._create_default_https_context() File "C:\Program Files\Plex\Plex Media Server\python27.zip\ssl.py", line 445, in create_default_context context.load_default_certs(purpose) File "C:\Program Files\Plex\Plex Media Server\python27.zip\ssl.py", line 412, in load_default_certs self._load_windows_store_certs(storename, purpose) File "C:\Program Files\Plex\Plex Media Server\python27.zip\ssl.py", line 404, in _load_windows_store_certs self.load_verify_locations(cadata=certs) SSLError: unknown error (_ssl.c:2938)

2023-05-06 13:51:34,674 (3e3c) : ERROR (logkit:22) - Bad credentials detected, denying access 2023-05-06 13:51:34,802 (3e3c) : INFO (logkit:16) - No Basic Auth header, so looking for params 2023-05-06 13:51:34,802 (3e3c) : INFO (logkit:16) - User is: ronnie.merino 2023-05-06 13:51:34,803 (3e3c) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/identity' 2023-05-06 13:51:34,812 (3e3c) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400' 2023-05-06 13:51:34,821 (3e3c) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/identity' 2023-05-06 13:51:34,825 (3e3c) : INFO (logkit:16) - Start to auth towards plex.tv 2023-05-06 13:51:34,828 (3e3c) : DEBUG (networking:143) - Requesting 'https://plex.tv/users/sign_in.json' 2023-05-06 13:51:34,836 (3e3c) : CRITICAL (core:574) - Login error: unknown error (_ssl.c:2938) (most recent call last): File "C:\Users\EAS\AppData\Local\Plex Media Server\Plug-ins\WebTools.bundle\Contents\Code\plextvhelper.py", line 44, in login self.loginUrl + '.json', headers=self.myHeader, method='POST')['user']['authToken'] File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\parsekit.py", line 145, in ObjectFromURL method=method, File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\networkkit.py", line 67, in _http_request req = self._core.networking.http_request(url, *args, *kwargs) File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 346, in http_request return HTTPRequest(self._core, url, data, h, url_cache, encoding, errors, timeout, immediate, sleep, opener, follow_redirects, method) File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 118, in init self.load() File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-a787c5a8e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 158, in load f = self._opener.open(req, timeout=self._timeout) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 429, in open response = self._open(req, data) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 447, in _open '_open', req) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 407, in _call_chain result = func(args) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 1241, in https_open context=self._context) File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 1167, in do_open h = http_class(host, timeout=req.timeout, **http_conn_args) File "C:\Program Files\Plex\Plex Media Server\python27.zip\httplib.py", line 1274, in init context = ssl._create_default_https_context() File "C:\Program Files\Plex\Plex Media Server\python27.zip\ssl.py", line 445, in create_default_context context.load_default_certs(purpose) File "C:\Program Files\Plex\Plex Media Server\python27.zip\ssl.py", line 412, in load_default_certs self._load_windows_store_certs(storename, purpose) File "C:\Program Files\Plex\Plex Media Server\python27.zip\ssl.py", line 404, in _load_windows_store_certs self.load_verify_locations(cadata=certs) SSLError: unknown error (_ssl.c:2938)

I will thanks any help please..

trumpy81 commented 1 year ago

The WebTools.bundle is no longer being developed and has been superseded.

I recommend that you try using WebTools-NG instead. WebTools-NG is a standalone program that runs on your PC/Laptop, independent of the Plex program.

You may find the latest release of WebTools-NG (Win/Mac/Linux) here: https://github.com/WebTools-NG/WebTools-NG/releases The WebTools-NG Help Wiki is located here: https://github.com/WebTools-NG/WebTools-NG/wiki

ronniemerino commented 1 year ago

Thanks a lot for your help, I wonder if you know where I can get the Spotify Plugin for Plex, because the new application of WebTools NG don´t have UnsupportedAppStore (UAS), thanks in advance.

Best Regards, Lic. Ronnie Merino Tel. (+34)635-748-598 Skype: ronnie.merino

El sáb, 6 may 2023 a las 20:06, trumpy81 @.***>) escribió:

The WebTools.bundle is no longer being developed and has been superseded.

I recommend that you try using WebTools-NG instead. WebTools-NG is a standalone program that runs on your PC/Laptop, independent of the Plex program.

You may find the latest release of WebTools-NG (Win/Mac/Linux) here: https://github.com/WebTools-NG/WebTools-NG/releases The WebTools-NG Help Wiki is located here: https://github.com/WebTools-NG/WebTools-NG/wiki

— Reply to this email directly, view it on GitHub https://github.com/ukdtom/WebTools.bundle/issues/520#issuecomment-1537193687, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7U3BUKUNUMBMGWINJLOY3LXE2HIVANCNFSM4FUIJ5JA . You are receiving this because you commented.Message ID: <ukdtom/WebTools. @.***>

trumpy81 commented 1 year ago

Plex no longer support plugins and they are earmarked for complete removal at some point in the future.

This was announced around 5 years ago. https://techcrunch.com/2018/09/26/plex-kills-off-support-for-cloud-sync-plugins-and-bookmarking-features/

The Spotify plugin no longer functions and is no longer recognised by Plex at all.

The only thing I can recommend is the Spotify app for your smart phone.

ukdtom commented 1 year ago

@ronniemerino: On Windows, there was a bug, that prevented 3rd. Party tools to use https That was corrected with the latest version of PMS

Ref: https://forums.plex.tv/t/plex-media-server/30447/576?u=dane22