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

Trouble logging onto Webtools #543

Closed
2 of 4 tasks
Da-Old-Master opened this issue Aug 12, 2019 · 23 comments
Closed
2 of 4 tasks

Trouble logging onto Webtools #543

Da-Old-Master opened this issue Aug 12, 2019 · 23 comments
Assignees
Labels

Comments

@Da-Old-Master
Copy link

Da-Old-Master commented Aug 12, 2019

Environment

  • PMS Platform(s) OS: Synology
  • PMS Version: 1.16.3.1402
  • Name of Browser: Chrome

Error shown

  • Symptom:
    When trying to log into Webtools after entering in my plex.tv credentials I get stuck in a log in loop, with the cog infinitely spinning.

Steps to reproduce

  1. When I click the Webtools icon on my desktop enviroment it takes me to log in screen and then I get stuck in log in loop.
    2.When I try to access it via Plex, I go to a page where it tells my to enter an IP address I do not recognize and that I'm not using on my server.

Expected behaviour

  1. To log into Webtools.

Actual behaviour

  1. Is stuck in log in loop after entering in credentials.
    com.plexapp.plugins.WebTools.log

Additional Info

Checklist

  • Listed environment
  • Included PMS log zip and WebTools log (THIS IS MANDATORY!)
  • Included screenshots (where appropriate)
  • Checked that this isn't already an issue
@ukdtom
Copy link
Owner

ukdtom commented Aug 12, 2019

Log sadly doesn't show any errors, so one Q for you....

Are you using google or facebook login against plex.tv?

See Q8 of: https://github.com/ukdtom/WebTools.bundle/wiki/FAQ

@ukdtom ukdtom added the Support label Aug 12, 2019
@ukdtom ukdtom self-assigned this Aug 12, 2019
@Da-Old-Master
Copy link
Author

I am not good sir

@Da-Old-Master
Copy link
Author

Just to note I have also tried uninstalling, reinstalling Webtools, and then restarting the server, but to no avail.

@ukdtom
Copy link
Owner

ukdtom commented Aug 12, 2019

For a start, it would be nice if you answered my questions

Without that, I simply can't help

@Da-Old-Master
Copy link
Author

For a start, it would be nice if you answered my questions

Without that, I simply can't help

Check my first comment

@ukdtom
Copy link
Owner

ukdtom commented Aug 13, 2019

I repeat, are you using a native plex account, or Google authentication or siml?

@Da-Old-Master
Copy link
Author

I REPEAT, I AM NOT GOOD SIR

Capture

@ukdtom
Copy link
Owner

ukdtom commented Aug 13, 2019

I see that WebTools only picks up 127.0.0.1 as the IP Address, and nothing else, which is strange.
What's the IP Address of your Synology box?

@trumpy81
Copy link
Collaborator

Silly question time.

Are you sure you are using the correct credentials to log in with?

You must use the same credentials you use when logging into your Plex server on the NAS, otherwise WebTools will try to login endlessly.

Also, it would probably help if you reboot the modem/router and everything connected to it, including any wireless devices.

That should clear any DNS cache issues that may be preventing you from signing in.

@ukdtom
Copy link
Owner

ukdtom commented Aug 13, 2019

Small Q here....
Are you using Chrome as a browser?
Since just noticed, that latest version fails!

Firefox works nicely though!

@ukdtom
Copy link
Owner

ukdtom commented Aug 20, 2019

Ping

@azariah001
Copy link

Just came here trying to find out what credentials to use to login. Can confirm logging in with Chrome works fine as of current date.

@Da-Old-Master
Copy link
Author

I use the regular plex log in method of email/password, and ive tried chrome and firefox with no luck.
127.0.0.1 is a loopback address, no int on my network uses it :(

@ukdtom
Copy link
Owner

ukdtom commented Aug 26, 2019

127.0.0.1 is the loopback address of your Synology box.
Normally, WebTools during startup will find the used IP address, but in your case it doesn't

So I repeat my Q: "What's the IP of your Synology" ?

@Da-Old-Master
Copy link
Author

10.0.0.85

@ukdtom
Copy link
Owner

ukdtom commented Aug 26, 2019

So odd, and never ever seen that before, since the IP address is handed over by PMS framework...

But try this:

Browse to : http://10.0.0.85:33400

Attempt to logon, and when the cog starts to spin, notice that the url changes....
Alter it to http://10.0.0.85:33400 and press enter

Does that work?

@Da-Old-Master
Copy link
Author

Nope, it just sends me back to the log in screen

@ukdtom
Copy link
Owner

ukdtom commented Aug 26, 2019

Are you having some kinda antivira/http inscpection tool or plugin running in your browser, and if so, try and disable for a short test

@Da-Old-Master
Copy link
Author

YOU DA MAN, thanks so much to everybody for helping out!

@ukdtom
Copy link
Owner

ukdtom commented Aug 26, 2019

Can I humbly ask, what kinda thing was preventing login?

@Da-Old-Master
Copy link
Author

Da-Old-Master commented Aug 26, 2019 via email

@ronniemerino
Copy link

Hi, I already desactivated my antovirus (AVAST and Windows), I have tried all (Mozilla firefox, Chrome, etc..) and always have the same error: "Wrong username and/or password"

I attach you the log file:


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,990 (3e3c) : ERROR (logkit:22) - Bad credentials detected, denying access
2023-05-06 13:51:35,109 (3e3c) : INFO (logkit:16) - No Basic Auth header, so looking for params
2023-05-06 13:51:35,109 (3e3c) : INFO (logkit:16) - User is: user1234
2023-05-06 13:51:35,111 (3e3c) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/identity'
2023-05-06 13:51:35,117 (3e3c) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400'
2023-05-06 13:51:35,125 (3e3c) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/identity'
2023-05-06 13:51:35,128 (3e3c) : INFO (logkit:16) - Start to auth towards plex.tv
2023-05-06 13:51:35,130 (3e3c) : DEBUG (networking:143) - Requesting 'https://plex.tv/users/sign_in.json'
2023-05-06 13:51:35,135 (3e3c) : CRITICAL (core:574) - Login error: unknown error (_ssl.c:2938) (most recent call last):


Please, I need your help

@trumpy81
Copy link
Collaborator

trumpy81 commented May 6, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants