lokenx / plexrequests-meteor

Meteor version of the original Plex Requests
http://plexrequests.8bits.ca
Other
526 stars 136 forks source link

"Couldn't submit request, please try again!" All non-Plex admins #516

Closed jayqwellin closed 6 years ago

jayqwellin commented 6 years ago

I recently installed PlexRequests v1.21.0 on a Ubuntu 16.04.3 LTS VM, following instructions from https://github.com/lokenx/plexrequests-meteor/wiki/Installation for install, including the run as service steps. I enabled "Enable user authentication," "Require users to login with their passwords," and "Enable user permissions" under "Authentication" to ensure that requests come from my users. I can log into Plex Requests with both my Plex.tv admin as well as my friends/invited accounts, however only the Plex.tv admin account is able to make requests. Any non-admin account that requests a movie or TV show is greeted with a generic "Couldn't submit request, please try again!" I am using Sonarr for TV shows and CouchPotato for movies, and both appear to work fine under the Plex.tv admin account. If I disable all of the above settings in "Authentication" my users can then make requests without issue, however I do not want to leave my Plex Requests that wide open. For the Plex authorization token I have tested using:

  1. The "Get token" function
  2. My authentication_token generated from a HTTP POST request as instructed in the Plex forums (https://forums.plex.tv/discussion/129922/how-to-request-a-x-plex-token-token-for-your-app/p1) In both instances they appear to authenticate successfully (the "Users" tab populates properly in Plex requests), but again my standard users cannot make requests. I have tested granting users "No Approval" and "No Limit" individually as well as both permissions at the same time, no change.

As I just went through the install process (Saturday/Sunday) I believe I should be fully up to date. I've been scouring trying to find a solution but I have been unsuccessful. Is there a bug I'm not aware of, or have I configured something incorrectly?

RickyGrassmuck commented 6 years ago

It's a known issue that cropped up after adding the ability to login with email addresses. There's an open issue about it that I plan to address after the holidays.

Regular user accounts should be able login without any issues so as a work around you can convert the Plex home users into regular Plex.tv accounts and have them login with the username and password. This will be addressed by the end of next week though if that's not something you want to do in the meantime.

On Tue, Dec 26, 2017, 9:28 PM jayqwellin notifications@github.com wrote:

I recently installed PlexRequests v1.21.0 on a Ubuntu 16.04.3 LTS, following instructions from https://github.com/lokenx/plexrequests-meteor/wiki/Installation for install, including the run as service steps. I enabled "Enable user authentication," "Require users to login with their passwords," and "Enable user permissions" under "Authentication" to ensure Plex requests come from my users. I can log into Plex Requests with both my Plex.tv admin as well as my friends/invited accounts, however only the Plex.tv admin account is able to make requests. I am using Sonarr for TV shows and CouchPotato for movies, and both appear to work fine under the Plex.tv admin account. If I disable all of the above settings in "Authentication" my users can then make requests without issue, however I do not want to leave my Plex Requests that wide open. For the Plex authorization token I have tested using:

  1. The "Get token" function
  2. A HTTP POST request as instructed in the Plex forums ( https://forums.plex.tv/discussion/129922/how-to-request-a-x-plex-token-token-for-your-app/p1 ) In both instances they appear to authenticate successfully (the "Users" tab populates properly in Plex requests), but again my standard users cannot make requests. I have tested granting users "No Approval" and "No Limit" individually as well as both permissions at the same time, no change. As I just went through the install process (Saturday/Sunday) I believe I should be fully up to date. I've been scouring trying to find a solution but I have been unsuccessful. Is there a bug I'm not aware of, or have I configured something incorrectly?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lokenx/plexrequests-meteor/issues/516, or mute the thread https://github.com/notifications/unsubscribe-auth/AQbPDQ6TRB3S_DIdzIwezDV0H5IxAc7Oks5tEblBgaJpZM4RNJLb .

jayqwellin commented 6 years ago

Thank you for the very quick response, I will try that after work

EDIT: Using a Plex username worked. This was actually the very first thing I tried this at first but they were unable to log in. The Plex user had an underscore in the name, removing that from the username and having them log in with the Plex username vs their email worked.

Lesson learned, log in using usernames vs email accounts