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

Lack of permissions on the server doesn't show an error message #865

Open
nomis opened this issue Jan 27, 2019 · 0 comments
Open

Lack of permissions on the server doesn't show an error message #865

nomis opened this issue Jan 27, 2019 · 0 comments

Comments

@nomis
Copy link
Contributor

nomis commented Jan 27, 2019

If no password is provided, MPDroid can connect and go into a loop in the background sending the idle command. There's no explanation for why it's not working unless you look at the logs:

01-27 10:54:17.752 E/MPDStatusMonitor(25055): Exception caught while looping.
01-27 10:54:17.752 E/MPDStatusMonitor(25055): org.a0z.mpd.exception.MPDException: ACK [4@0] {idle} you don't have permission for "idle"
01-27 10:54:17.752 E/MPDStatusMonitor(25055): 	at org.a0z.mpd.connection.MPDConnection$CommandProcessor.read(MPDConnection.java:602)
01-27 10:54:17.752 E/MPDStatusMonitor(25055): 	at org.a0z.mpd.connection.MPDConnection$CommandProcessor.call(MPDConnection.java:396)
01-27 10:54:17.752 E/MPDStatusMonitor(25055): 	at org.a0z.mpd.connection.MPDConnection$CommandProcessor.call(MPDConnection.java:364)
01-27 10:54:17.752 E/MPDStatusMonitor(25055): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
01-27 10:54:17.752 E/MPDStatusMonitor(25055): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
01-27 10:54:17.752 E/MPDStatusMonitor(25055): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
01-27 10:54:17.752 E/MPDStatusMonitor(25055): 	at java.lang.Thread.run(Thread.java:764)
01-27 10:54:17.753 E/MPDConnectionMonoSocket(25080): Command idle failed after 4 attempts.
01-27 10:54:17.753 E/MPDConnectionMonoSocket(25080): org.a0z.mpd.exception.MPDException: ACK [4@0] {idle} you don't have permission for "idle"
01-27 10:54:17.753 E/MPDConnectionMonoSocket(25080): 	at org.a0z.mpd.connection.MPDConnection$CommandProcessor.read(MPDConnection.java:602)
01-27 10:54:17.753 E/MPDConnectionMonoSocket(25080): 	at org.a0z.mpd.connection.MPDConnection$CommandProcessor.call(MPDConnection.java:396)
01-27 10:54:17.753 E/MPDConnectionMonoSocket(25080): 	at org.a0z.mpd.connection.MPDConnection$CommandProcessor.call(MPDConnection.java:364)
01-27 10:54:17.753 E/MPDConnectionMonoSocket(25080): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
01-27 10:54:17.753 E/MPDConnectionMonoSocket(25080): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
01-27 10:54:17.753 E/MPDConnectionMonoSocket(25080): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
01-27 10:54:17.753 E/MPDConnectionMonoSocket(25080): 	at java.lang.Thread.run(Thread.java:764)
01-27 10:54:17.754 E/MPDStatusMonitor(25080): Exception caught while looping.
01-27 10:54:17.754 E/MPDStatusMonitor(25080): org.a0z.mpd.exception.MPDException: ACK [4@0] {idle} you don't have permission for "idle"
01-27 10:54:17.754 E/MPDStatusMonitor(25080): 	at org.a0z.mpd.connection.MPDConnection$CommandProcessor.read(MPDConnection.java:602)
01-27 10:54:17.754 E/MPDStatusMonitor(25080): 	at org.a0z.mpd.connection.MPDConnection$CommandProcessor.call(MPDConnection.java:396)
01-27 10:54:17.754 E/MPDStatusMonitor(25080): 	at org.a0z.mpd.connection.MPDConnection$CommandProcessor.call(MPDConnection.java:364)
01-27 10:54:17.754 E/MPDStatusMonitor(25080): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
01-27 10:54:17.754 E/MPDStatusMonitor(25080): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
01-27 10:54:17.754 E/MPDStatusMonitor(25080): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
01-27 10:54:17.754 E/MPDStatusMonitor(25080): 	at java.lang.Thread.run(Thread.java:764)
01-27 10:54:17.764 E/MPDConnectionMonoSocket(25080): Command idle failed after 4 attempts.
01-27 10:54:17.764 E/MPDConnectionMonoSocket(25080): org.a0z.mpd.exception.MPDException: ACK [4@0] {idle} you don't have permission for "idle"
01-27 10:54:17.764 E/MPDConnectionMonoSocket(25080): 	at org.a0z.mpd.connection.MPDConnection$CommandProcessor.read(MPDConnection.java:602)
01-27 10:54:17.764 E/MPDConnectionMonoSocket(25080): 	at org.a0z.mpd.connection.MPDConnection$CommandProcessor.call(MPDConnection.java:396)
01-27 10:54:17.764 E/MPDConnectionMonoSocket(25080): 	at org.a0z.mpd.connection.MPDConnection$CommandProcessor.call(MPDConnection.java:364)
01-27 10:54:17.764 E/MPDConnectionMonoSocket(25080): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
01-27 10:54:17.764 E/MPDConnectionMonoSocket(25080): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
01-27 10:54:17.764 E/MPDConnectionMonoSocket(25080): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
01-27 10:54:17.764 E/MPDConnectionMonoSocket(25080): 	at java.lang.Thread.run(Thread.java:764)
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

1 participant