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

Cannot give permissions to plex user #1208

Closed
ghzgod opened this issue Mar 2, 2017 · 19 comments
Closed

Cannot give permissions to plex user #1208

ghzgod opened this issue Mar 2, 2017 · 19 comments

Comments

@ghzgod
Copy link

ghzgod commented Mar 2, 2017

Ombi Version:

V 2.1.1336

Update Branch:

Stable

Media Sever:

N/A

Media Server Version:

N/A

Operating System:

Mono

Mono Version (only if your not on windows)

4.2.1

Applicable Logs (from /logs/ directory or the Admin page):

System.Net.WebException: Error: ConnectFailure (The requested address is not valid in this context) ---> System.Net.Sockets.SocketException: The requested address is not valid in this context at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) <0x40b8b090 + 0x00293> in :0 at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) <0x40b8a260 + 0x0058b> in :0 --- End of inner exception stack trace --- at System.Net.HttpWebRequest.EndGetRequestStream (IAsyncResult asyncResult) <0x42001510 + 0x0013f> in :0 at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (IAsyncResult iar, System.Func`2 endFunction, System.Action`1 endAction, System.Threading.Tasks.Task`1 promise, Boolean requiresSynchronization) <0x40c06b70 + 0x00093> in :0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x42002620 + 0x0002b> in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x420022b0 + 0x000d3> in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x42002200 + 0x00097> in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x40c07ac0 + 0x0003b> in :0 at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () <0x40c07a40 + 0x00017> in :0 at Ombi.Helpers.Analytics.Analytics+d__15.MoveNext () <0x41ffc3c0 + 0x00397> in :0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x42002620 + 0x0002b> in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x420022b0 + 0x000d3> in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x42002200 + 0x00097> in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x40c07ac0 + 0x0003b> in :0 at System.Runtime.CompilerServices.TaskAwaiter.GetResult () <0x4103d570 + 0x00013> in :0 at Ombi.Helpers.Analytics.Analytics+d__11.MoveNext () <0x41ffb510 + 0x0045f> in :0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x42002620 + 0x0002b> in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x420022b0 + 0x000d3> in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x42002200 + 0x00097> in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x40c07ac0 + 0x0003b> in :0 at System.Runtime.CompilerServices.TaskAwaiter.GetResult () <0x4103d570 + 0x00013> in :0 at Ombi.Helpers.Analytics.Analytics+d__5.MoveNext () <0x41ffab90 + 0x00277> in :0

Problem Description:

I cannot allow plex users to request content. They can login just fine but get the error "Sorry, you do not have the correct permissions to request music"

I have "Request music" box checked for the user and the user is NOT a "Read only user". Any local users I have made can request content fine. Just not a plex user.

Reproduction Steps:

Deleted user/restarted server all resulted in the same error.

@Ombi-robot
Copy link

Hi!
Thanks for the issue report. Before a real human comes by, please make sure you used our bug report format.
Before posting make sure you also read our FAQ and known issues.
Make the title describe your issue. Having "not working" or "I get this bug" for 100 issues, isn't really helpful.
If we need more information or there is some progress we tag the issue or update the tag and keep you updated.
Cheers!
Ombi Support Team

@smcpeck
Copy link
Contributor

smcpeck commented Mar 2, 2017

If you go to "User Management," does each user actually have the permission to request music?

@ghzgod
Copy link
Author

ghzgod commented Mar 2, 2017

Yes sir, the plex user has permission to request music.

@smcpeck
Copy link
Contributor

smcpeck commented Mar 3, 2017

No idea here. Will have to wait for @tidusjar to offer some thoughts.

@tidusjar
Copy link
Member

tidusjar commented Mar 4, 2017

Cannot seem to reproduce this.

Can you send me a image of the permissions of that user?

@tidusjar
Copy link
Member

No response.

@ziggie216
Copy link

@tidusjar I'm having the same issue

screen shot 2017-03-16 at 8 26 03 pm
screen shot 2017-03-16 at 8 26 27 pm

@EnemyWithin
Copy link

Same problem when I login as a Plex user using the email address. If I login using the Plex name, then it works.

@tidusjar
Copy link
Member

tidusjar commented Mar 18, 2017 via email

@EnemyWithin
Copy link

No, usernames are unique. I have one local administrator account and the rest are Plex users imported from my friend's list during the install.

@EnemyWithin
Copy link

Also, User Type in blank and Last Logged In is "Jan 1, 0001 12:00 AM" for all imported Plex users.

@ziggie216
Copy link

ziggie216 commented Mar 18, 2017

@EnemyWithin do you have "REQUIRE EMAIL ADDRESS WHEN SIGNING IN" enabled in https://plex.tv/users/edit ? Mine was checked so I disabled it, wiped Ombi configuration (I tried without and didn't fix anything), reconfigure Ombi using Plex username (not email address), gave the plex user request permission, and now it's working.

Not sure this makes a difference but I have both Enable User Authentication and Require users to login with their passwords enabled.

@tidusjar Issue with using email address as the username?

@EnemyWithin
Copy link

@ziggie216 No, that wasn't enabled on my Plex account

@tidusjar tidusjar reopened this Mar 18, 2017
@leveraged7
Copy link

#1252

@tidusjar
Copy link
Member

tidusjar commented Mar 29, 2017

Is this still an issue with the latest version?

@EnemyWithin
Copy link

EnemyWithin commented Mar 29, 2017

Unfortunately, yes. Tested on 2.1.1564

1). User Type now shows correctly for "Plex User". The Last Logged In values are updated, but not current. It shows the administrator account as last logged in "March 18, 2017 9:12PM" even though I've logged in with that account multiple times while testing now. My main Plex account last logged in date has never been updated (regardless of where I login with username or email address).

2). Logging in with my Plex account using the username gives me the blue power icon next to my "Welcome User" message at the top. Logging in with my Plex email address doesn't show that icon.

@tidusjar
Copy link
Member

That icon is just a gravatar image http://en.gravatar.com/. If your email is associated with Gravatar we will show it. Your image must be blue :)

@EnemyWithin
Copy link

I'm not familiar with Gravatar. I tried resetting the password (in case I had signed up and forgot), but it didn't recognize my email address. Another bug?

@tidusjar
Copy link
Member

I don't think so, i just send the email, and I get an image back if there is an image associated with the email, and then I display it. Otherwise I don't get an image.

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

8 participants