Re: [SlimDevices: Plugins] Spotty - timed out Waiting for a Token

2020-05-04 Thread Bronsky


pavowren wrote: 
> Ogg has been disabled for Spotty.
> no token timeout errors.
> but playback is a problem; when a track is selected, sqzlite shows
> "Connecting..."
> yesterday, i saw that at least on the LMS web page, after about 2
> minutes, the progress bar
> jumped back to zero point and i could hear normal audio.
> after that track stopped, then again no audio.


My squeezebox radio behaves the same way. The music starts playing on
web interface (selected ist Sqeezebox radio), but there is no music on
the Squeezebox radio. On the Squeezebox Radio "Connection ..." appears
for a very long time and after a minute the playback on the Squeezebox
radio starts and on web interface the progress bar is set to 0 and
starts counting again...

What's the behavior of your squeezebox, when you deactivate "token
refresh" in spotty v4.0.6.  Do you get the token error again?

Oliver



Bronsky's Profile: http://forums.slimdevices.com/member.php?userid=70123
View this thread: http://forums.slimdevices.com/showthread.php?t=112084

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Spotty - timed out Waiting for a Token

2020-05-04 Thread Bronsky


mherger wrote: 
> > I'm a little bit confused now. I wanted to run through the setup
> above
> > again and note the corresponding times. Now I suddenly get the token
> > error message again.
> 
> With or without that new option set? That would (unfortunately) prove 
> there's a problem outside our control :-(
> 
> I might have asked that before: what ISP are you using?
> -- 
> 
> Michael

The error has occured by not using the new option. So the error-log was
expected, but in my try before, the new option wasn't set either, but I
was able to connect to spotify, that's what's a little bit confusing. My
ISP ist Unitymedia.

Oliver



Bronsky's Profile: http://forums.slimdevices.com/member.php?userid=70123
View this thread: http://forums.slimdevices.com/showthread.php?t=112084

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Spotty - timed out Waiting for a Token

2020-05-04 Thread Bronsky

mherger wrote: 
> > Here are some "fresh" log-files with V4.0.6 and NOT set the new
> option.
> > New logs start at 07:38. Everything works the same as with the new
> 
> No more timeouts? Then that setting is moot, because it was just... 
> whatever? Argh...
> 
> > option set. I'm able to walk through menu on
> Squeezebox-Server-Website.
> > If I choose a song from my playlist and start playing on squeezebox
> > radio it takes up to a minute until the songs starts. At 08:02:11 I
> > added a second song to playlist. After the first song finished
> playing,
> > there was another gap from about 1 minute until the second song
> starts
> > at squeezebox player.
> 
> When was that? From the log it seems as if the other song continued to 
> play all the time. Or do you have multiple players?
> 
> And what UIs are you using? Material? Something must be polling status 
> information every second or something.
> 
> -- 
> 
> Michael


I'm a little bit confused now. I wanted to run through the setup above
again and note the corresponding times. Now I suddenly get the token
error message again. I tried to access Spotty at 09:02. There is only
one Squeezebox radio and the server in the network. I get an error
message on web interface (Konnte keinen Access Token erhalten. Bitte
überprüfen Sie Einstellungen/Erweitert/Spotty Spotify für Squeezebox im
Web Interface) and on Squeezebox radio (konnte keinen Access token
erhalten. Bitte überprüfen Sie Einstellungen/Erweitert/Spotty/Spotify
für Squeezebox im Webinterface), the new logs are uploaded. Normally I'm
using ipeng on Iphone as UI, but it's disabled at the time, I'm using
Web Interface for testing...

https://cloud.bronsky.net/index.php/s/C7WYCjEoDZaY2co

Oliver



Bronsky's Profile: http://forums.slimdevices.com/member.php?userid=70123
View this thread: http://forums.slimdevices.com/showthread.php?t=112084

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Spotty - timed out Waiting for a Token

2020-05-04 Thread Bronsky


mherger wrote: 
> > It happens with the old (but customized Version of spotty) and the
> > aktuell spotty (V4.06). The server.log is taken with the customized
> 
> Is some of this latest log file with v4.0.6 and the default token 
> refresh behaviour (the new option NOT set)?
> 
> -- 
> 
> Michael

Here are some "fresh" log-files with V4.0.6 and NOT set the new option.
New logs start at 07:38. Everything works the same as with the new
option set. I'm able to walk through menu on Squeezebox-Server-Website.
If I choose a song from my playlist and start playing on squeezebox
radio it takes up to a minute until the songs starts. At 08:02:11 I
added a second song to playlist. After the first song finished playing,
there was another gap from about 1 minute until the second song starts
at squeezebox player.

https://cloud.bronsky.net/index.php/s/dHaAJYHH6PrWy6B

Oliver



Bronsky's Profile: http://forums.slimdevices.com/member.php?userid=70123
View this thread: http://forums.slimdevices.com/showthread.php?t=112084

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Spotty - timed out Waiting for a Token

2020-05-03 Thread Bronsky


mherger wrote: 
> > The file doesn't cover the non-working period, I updated the file in
> > nextcloud, now you can find log's from the non-working period, too:
> > 
> > https://cloud.bronsky.net/index.php/s/qtz7DHDZtH3qqtC
> 
> That links is not found.
> 
> > I've tested playing music with my squeezebox radio just a few minutes
> > ago. If I choose a song of my playlists and start playing it lasts up
> to
> > one minute until the song starts. I've put this logs there, too.
> 
> That's with the latest Spotty or old? If it takes Spotty that long to 
> connect to Spotify's servers, then the timeout probably was a valid 
> problem. The default async call would give up after 15s (IIRC), the 
> fallback doesn't.
> -- 
> 
> Michael



It happens with the old (but customized Version of spotty) and the
aktuell spotty (V4.06). The server.log is taken with the customized
version, but the server.log look similar to the new one. If it helps I
can get new logs.

Here's a new link to server.log that should work.

https://cloud.bronsky.net/index.php/s/C7WYCjEoDZaY2co

But if there's a general problem with spotify server.

Oliver



Bronsky's Profile: http://forums.slimdevices.com/member.php?userid=70123
View this thread: http://forums.slimdevices.com/showthread.php?t=112084

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Spotty - timed out Waiting for a Token

2020-05-03 Thread Bronsky


mherger wrote: 
> > I changed line 192 in file Token.pm in "elsif (0)", restarted
> squeezebox
> > server and  I'm able to access spotty again :-) I can surf through
> > "spotty-menu" and i'm able to choose my playlists.
> 
> That would be a great finding! Thanks a lot!
> 
> > https://cloud.bronsky.net/index.php/s/zA53bCr8kD3sTdm
> 
> That file doesn't cover the non-working period, does it?
> 
> -- 
> 
> Michael

The file doesn't cover the non-working period, I updated the file in
nextcloud, now you can find log's from the non-working period, too:

https://cloud.bronsky.net/index.php/s/qtz7DHDZtH3qqtC


I've tested playing music with my squeezebox radio just a few minutes
ago. If I choose a song of my playlists and start playing it lasts up to
one minute until the song starts. I've put this logs there, too.

Greets, Oliver



Bronsky's Profile: http://forums.slimdevices.com/member.php?userid=70123
View this thread: http://forums.slimdevices.com/showthread.php?t=112084

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Spotty - timed out Waiting for a Token

2020-05-03 Thread Bronsky


mherger wrote: 
> >
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-custom
> > -n Squeezebox -c "/var/lib/squeezeboxserver/cache/spotty/097202c7"
> > --save-token ~/token.json has given the same output in token.json as
> > printed on screen a few days ago. I can send you the file token.json
> if
> > it helps.
> 
> Ok... that sounds good so far. But it still doesn't help me to 
> understand what is failing :-(
> 
> > 2. I changed "CAN_ASYNC_GET_TOKEN => 0", but a restart doesn't change
> > "server.log":
> > 
> > [20-05-02 18:02:30.2014] Slim::Networking::IO::Select::__ANON__ (130)
> > Error: Select task failed calling Slim::Web::HTTP::processHTTP: Not a
> > SCALAR reference at /usr/share/perl5/Slim/Web/HTTP.pm line 1793.
> > ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x9c9aea8)
> > [20-05-02 18:02:45.1994]
> Plugins::Spotty::API::Token::_killTokenHelper
> > (170) Timed out waiting for a token
> 
> Ok, that wasn't good enough. My bad. Please modify line 192 
> (https://github.com/michaelherger/Spotty-Plugin/blob/master/API/Token.pm#L192)
> 
> from
> 
> elsif (CAN_ASYNC_GET_TOKEN...) {
> 
> to just
> 
> elsif (0) {
> 
> This should effectively disable that block and go to the "else" branch.
> 
> Enable info logging for plugin.spotty, and give it yet another try.
> 
> -- 
> 
> Michael


Hello Michael,

I changed line 192 in file Token.pm in "elsif (0)", restarted squeezebox
server and  I'm able to access spotty again :-) I can surf through
"spotty-menu" and i'm able to choose my playlists.

I haven't tested playing music yet, because I'm not in my private
network at the time (I only changed file on VServer and restarted
squeezeserver on command-line). I will give you a feedback today
evening. You can find server.log here:

https://cloud.bronsky.net/index.php/s/zA53bCr8kD3sTdm

Greets
Oliver



Bronsky's Profile: http://forums.slimdevices.com/member.php?userid=70123
View this thread: http://forums.slimdevices.com/showthread.php?t=112084

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Spotty - timed out Waiting for a Token

2020-05-02 Thread Bronsky


mherger wrote: 
> >
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-custom
> > -n Squeezebox -c "/var/lib/squeezeboxserver/cache/spotty/097202c7"
> > --save-token ~/token.json has given the same output in token.json as
> > printed on screen a few days ago. I can send you the file token.json
> if
> > it helps.
> 
> Ok... that sounds good so far. But it still doesn't help me to 
> understand what is failing :-(
> 
> > 2. I changed "CAN_ASYNC_GET_TOKEN => 0", but a restart doesn't change
> > "server.log":
> > 
> > [20-05-02 18:02:30.2014] Slim::Networking::IO::Select::__ANON__ (130)
> > Error: Select task failed calling Slim::Web::HTTP::processHTTP: Not a
> > SCALAR reference at /usr/share/perl5/Slim/Web/HTTP.pm line 1793.
> > ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x9c9aea8)
> > [20-05-02 18:02:45.1994]
> Plugins::Spotty::API::Token::_killTokenHelper
> > (170) Timed out waiting for a token
> 
> Ok, that wasn't good enough. My bad. Please modify line 192 
> (https://github.com/michaelherger/Spotty-Plugin/blob/master/API/Token.pm#L192)
> 
> from
> 
> elsif (CAN_ASYNC_GET_TOKEN...) {
> 
> to just
> 
> elsif (0) {
> 
> This should effectively disable that block and go to the "else" branch.
> 
> Enable info logging for plugin.spotty, and give it yet another try.
> 
> -- 
> 
> Michael

OK, but I just can give it a try tomorrow. Shall I change Line 48 back?

Oliver



Bronsky's Profile: http://forums.slimdevices.com/member.php?userid=70123
View this thread: http://forums.slimdevices.com/showthread.php?t=112084

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Spotty - timed out Waiting for a Token

2020-05-02 Thread Bronsky


mherger wrote: 
> Argh... I don't understand why the token call would fail if you were
> able to authenticate. Thus just doesn't make sense...
> 
> Could you please try the following (based on your successful token call
> from a day or two ago):
> 
> > 
Code:

  >   > 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-custom
 -n Squeezebox -c "/var/lib/squeezeboxserver/cache/spotty/097202c7" 
--save-token ~/token.json

> > 
> 
> So instead of --get-token you'd use --save-token with a filename. This
> should store the token information in a file instead of printing it in
> the console. Please check the resulting file. Does it look good
> (similar to the output you got last time)?
> 
> And another test: please edit
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/API/Token.pm.
> Around line 48
> (https://github.com/michaelherger/Spotty-Plugin/blob/master/API/Token.pm#L48)
> there's the definition of "CAN_ASYNC_GET_TOKEN". Please change this
> to:
> 
> > 
Code:

  >   > use constant CAN_ASYNC_GET_TOKEN => 0;

> > 
> 
> Restart LMS and try again. Would that change anything?


Hello Michael,

thanks for your help an support. Here are the results:

1. The command
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-custom
-n Squeezebox -c "/var/lib/squeezeboxserver/cache/spotty/097202c7"
--save-token ~/token.json has given the same output in token.json as
printed on screen a few days ago. I can send you the file token.json if
it helps.

2. I changed "CAN_ASYNC_GET_TOKEN => 0", but a restart doesn't change
"server.log":

[20-05-02 18:02:30.2014] Slim::Networking::IO::Select::__ANON__ (130)
Error: Select task failed calling Slim::Web::HTTP::processHTTP: Not a
SCALAR reference at /usr/share/perl5/Slim/Web/HTTP.pm line 1793.
; fh=Slim::Web::HTTP::ClientConn=GLOB(0x9c9aea8)
[20-05-02 18:02:45.1994] Plugins::Spotty::API::Token::_killTokenHelper
(170) Timed out waiting for a token

Only the number changed (now 170 not 169), but I think this is because
of changing token.pm. I inserted a new line and uncommented the old line
with an #

Oliver



Bronsky's Profile: http://forums.slimdevices.com/member.php?userid=70123
View this thread: http://forums.slimdevices.com/showthread.php?t=112084

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Spotty - timed out Waiting for a Token

2020-05-02 Thread Bronsky


Hello Michael,

I deleted my credentials and re-authentifcates. I still got the follwing
error in server.log:

[20-05-02 15:58:01.1215] Slim::Networking::IO::Select::__ANON__ (130)
Error: Select task failed calling Slim::Web::HTTP::processHTTP: Not a
SCALAR reference at /usr/share/perl5/Slim/Web/HTTP.pm line 1793.
; fh=Slim::Web::HTTP::ClientConn=GLOB(0x8c46c08)
[20-05-02 15:58:16.1205] Plugins::Spotty::API::Token::_killTokenHelper
(169) Timed out waiting for a token

Here's what I have done:

I deinstalled spotty 4.0.3, deleted folder 097202c7 (with
credential.json), rebooted server, installed spotty (New version 4.0.4)
and re-authentificates (i used Login and passwort). After that I got
three folders in /var/lib/squeezeboxserver/cache/spotty (0004202e023e,
__AUTHENTICATE__ and 097202c7 with credential.json), but still the
errors above in server.log

After that I've rebooted server again, with no positive result

Oliver



Bronsky's Profile: http://forums.slimdevices.com/member.php?userid=70123
View this thread: http://forums.slimdevices.com/showthread.php?t=112084

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] [Announce] Spotty 4.0 - integrate local library with your Spotify collection (LMS 8+)

2020-05-01 Thread Bronsky


mherger wrote: 
> > of course, you are right about going back to previous version. it
> made
> > *no* difference.
> 
> Thanks for the confirmation :-)
> 
> > it seems rather draconian for Spotify to reject outright any
> > authentication request;
> 
> What I don't understand is why the token refresh only is an issue for "a
> 
> few" users - but consistently for them. I've been playing Spotify tracks
> 
> all day long. No problem so far...
> 
> -- 
> 
> Michael

Hello Michael,

I also have the token problem (I'm the starter of this thread:
https://forums.slimdevices.com/showthread.php?112084-Spotty-timed-out-Waiting-for-a-Token)

I use Spotty with a premium account, but this is part of a family
account. Maybe spotify is restricting this precisely due to the
increased streaming volume?

Maybe this is a possible explanation of why some are affected and others
are not. A downgrade to Spotty 3.1.3 and Spotty 4.0.2 (with which it
originally worked) did not solve the problem. I get the same errors in
the server.log

Oliver



Bronsky's Profile: http://forums.slimdevices.com/member.php?userid=70123
View this thread: http://forums.slimdevices.com/showthread.php?t=111923

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Spotty - timed out Waiting for a Token

2020-04-30 Thread Bronsky


Hmm... is Spotty using spotty-custom, too? You can check this in 
Settings/Advanced/Spotty.

And did you send the manually launched command from the same machine and

environment as where LMS is running?

-- 

Michael


Hello Michael,

LMS is running on V-Server with ubuntu 16.04, the clients are connected
via VPN. Spotty-custom is selected in settings/advanced/spotty and the
command is given on the same machine via SSH-login on command-line. I
apologize for the inconvenience

Greets, oliver



Bronsky's Profile: http://forums.slimdevices.com/member.php?userid=70123
View this thread: http://forums.slimdevices.com/showthread.php?t=112084

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Spotty - timed out Waiting for a Token

2020-04-30 Thread Bronsky


mherger wrote: 
> > root@h2772242:~#
> >
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64
> > -n Squeezebox -x
> > ok spotty v0.35.0
> >
> {"debug":false,"lms-auth":true,"ogg-direct":true,"podcasts":true,"save-token":true,"version":"0.35.0","volume-normalisation":true}
> 
> Could you please try this build:
> 
> https://www.dropbox.com/s/38xkn91tfeku8da/spotty-custom.zip?dl=0
> 
> Please also try the token request. Thanks!
> 
> -- 
> 
> Michael

Hello Michael,

I copied "spotty-custom" to
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux,
changed groups and restarts squeezebox server.

After that I tried the following command at command-Line:

root@h2772242:/#
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-custom
-n Squeezebox -c "/var/lib/squeezeboxserver/cache/spotty/097202c7"
--get-token
{"accessToken":"BQAu75BWfn6mAPqeGEIaFQFdE8b187NP34eJqp1nqb0Jm7DYzjFtCS48Esi0NCU2Vga75iPyD14W54vCTz-yOUmNetXHZANII8TXLsEsbZq9B0zvpaWgot38lqS0A4QRrarOqiBtQ0opkYZ-HrRHXQZsIkJn4u2w1os0pJQsA3Cf38gsFNjYfQSSePlXzvLKLQfU9XKb6s1Z7fVrICrZ3QcMA7pswbYUlPr8XtZhEOK0RpSnlQ6BC3A7vG1QRypeBPY2_IU_2TzQ3sqFH7oyUhK0NxH9qxk","expiresIn":3600,"tokenType":"Bearer","scope":["user-read-private","playlist-read-private","playlist-read-collaborative","playlist-modify-public","playlist-modify-private","user-follow-modify","user-follow-read","user-library-read","user-library-modify","user-top-read","user-read-recently-played"]}

Unfortunately I still get the following errors in server.log and I'm not
able to get access through spotify on squeezebox clients:

[20-04-30 09:25:29.2244] Slim::Networking::IO::Select::__ANON__ (130)
Error: Select task failed calling Slim::Web::HTTP::processHTTP: Not a
SCALAR reference at /usr/share/perl5/Slim/Web/HTTP.pm line 1793.
; fh=Slim::Web::HTTP::ClientConn=GLOB(0x95cfb68)
[20-04-30 09:25:44.2218] Plugins::Spotty::API::Token::_killTokenHelper
(169) Timed out waiting for a token
[20-04-30 09:26:44.2212] Slim::Networking::IO::Select::__ANON__ (130)
Error: Select task failed calling Slim::Web::HTTP::processHTTP: Not a
SCALAR reference at /usr/share/perl5/Slim/Web/HTTP.pm line 1793.
; fh=Slim::Web::HTTP::ClientConn=GLOB(0x952af30)
[20-04-30 09:26:59.2195] Plugins::Spotty::API::Token::_killTokenHelper
(169) Timed out waiting for a token
[20-04-30 09:27:23.8784] Slim::Networking::IO::Select::__ANON__ (130)
Error: Select task failed calling Slim::Web::HTTP::processHTTP: Not a
SCALAR reference at /usr/share/perl5/Slim/Web/HTTP.pm line 1793.
; fh=Slim::Web::HTTP::ClientConn=GLOB(0x5e93e30)
[20-04-30 09:27:38.8769] Plugins::Spotty::API::Token::_killTokenHelper
(169) Timed out waiting for a token

Regards, Oliver



Bronsky's Profile: http://forums.slimdevices.com/member.php?userid=70123
View this thread: http://forums.slimdevices.com/showthread.php?t=112084

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Spotty - timed out Waiting for a Token

2020-04-29 Thread Bronsky

mherger wrote: 
> > root@h2772242:~#
> >
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64
> > -n Squeezebox -x
> > ok spotty v0.35.0
> >
> {"debug":false,"lms-auth":true,"ogg-direct":true,"podcasts":true,"save-token":true,"version":"0.35.0","volume-normalisation":true}
> 
> Could you please try this build:
> 
> https://www.dropbox.com/s/38xkn91tfeku8da/spotty-custom.zip?dl=0
> 
> Please also try the token request. Thanks!
> 
> -- 
> 
> Michael

Hello Michael,

thanks a lot. I‘m Not at Home at the Moment, i‘ll give it a try tomorrow
and give you Feedback.

Oliver



Bronsky's Profile: http://forums.slimdevices.com/member.php?userid=70123
View this thread: http://forums.slimdevices.com/showthread.php?t=112084

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Spotty - timed out Waiting for a Token

2020-04-29 Thread Bronsky


That's the result:

root@h2772242:~#
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64
-n Squeezebox -x
ok spotty v0.35.0
{"debug":false,"lms-auth":true,"ogg-direct":true,"podcasts":true,"save-token":true,"version":"0.35.0","volume-normalisation":true}


Oliver



Bronsky's Profile: http://forums.slimdevices.com/member.php?userid=70123
View this thread: http://forums.slimdevices.com/showthread.php?t=112084

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Spotty - timed out Waiting for a Token

2020-04-29 Thread Bronsky


without "-i abcd" that's the output:

root@h2772242:~#
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64
-n Squeezebox -c "/var/lib/squeezeboxserver/cache/spotty/097202c7"
--get-token
Use --client-id to provide a CLIENT_ID

Oliver



Bronsky's Profile: http://forums.slimdevices.com/member.php?userid=70123
View this thread: http://forums.slimdevices.com/showthread.php?t=112084

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Spotty - timed out Waiting for a Token

2020-04-29 Thread Bronsky


Hello Michael,

I disabled Firewall just for the test, but the result ist the same:

root@h2772242:~#
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64
-n Squeezebox -c "/var/lib/squeezeboxserver/cache/spotty/097202c7" -i
abcdef1234567890 --get-token
error getting token MercuryError

regards, Oliver



Bronsky's Profile: http://forums.slimdevices.com/member.php?userid=70123
View this thread: http://forums.slimdevices.com/showthread.php?t=112084

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


[SlimDevices: Plugins] Spotty - timed out Waiting for a Token

2020-04-29 Thread Bronsky


Hello together,

two days ago I have installed spotty on my V-Server and got a little
Problem with the firewall:

https://forums.slimdevices.com/showthread.php?112074-Spotty-through-OpenVPN-firewall-routes

After the hint of a board member everything was OK. I was able to access
Spotify through all my Squeezebox clients (two radios and a duet).
Yesterday spotty starts with a bug (Nothing was changed at the system)

That's what I get in server.log:

[20-04-29 10:01:12.1352] Plugins::Spotty::API::Token::_killTokenHelper
(169) Timed out waiting for a token
[20-04-29 10:02:12.0864] Slim::Networking::IO::Select::__ANON__ (130)
Error: Select task failed calling Slim::Web::HTTP::processHTTP: Not a
SCALAR reference at /usr/share/perl5/Slim/Web/HTTP.pm line 1793

After that I checked spotify credentials. They are OK, spotty plugin is
connected, but it took a long time.

I changed to command line and tried to get a token manually:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64
-n Squeezebox -c "/var/lib/squeezeboxserver/cache/spotty/097202c7" -i
abcdef1234567890 --get-token
error getting token MercuryError

Any Idea what causes my problem?

Thanks for your help
Oliver



Bronsky's Profile: http://forums.slimdevices.com/member.php?userid=70123
View this thread: http://forums.slimdevices.com/showthread.php?t=112084

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Spotty through OpenVPN - firewall routes

2020-04-27 Thread Bronsky


d6jg wrote: 
> If your LMS was local on your Network it would have unrestricted
> outbound access - your V-Server needs the same.

Hello, thanks for the quick response. Everything works fine now.

Greets, Oliver



Bronsky's Profile: http://forums.slimdevices.com/member.php?userid=70123
View this thread: http://forums.slimdevices.com/showthread.php?t=112074

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


[SlimDevices: Plugins] Spotty through OpenVPN - firewall routes

2020-04-27 Thread Bronsky

Hello everyone,

in the last months I’ve been a “silent” reader of this forum, thanks a
lot for the help I just get by reading.

I‘m using a Squeezebox-Server on a V-Server in Internet with Ubuntu
16.04. The Squeezebox Players are connected through a OPENVPN-Tunnel
with the server. The stream between server and Player is routed by a
OPEN-VPN-Gateway. Everything works fine. I can stream Internet-radio and
I have access on my Music library which is stored on V-Server.

Yesterday I‘ve installed spotty. But Spotty only works, when I‘m
disabling firewall on V-Server, but this couldn‘t be the solution :-)

I‘ve tried to open port 4070 in firewall, but that doesn’t work at all.
I don’t know what ports to open in firewall. It’s working without
firewall, so it has to be a problem with denied ports. Who’s an idea
which could help me?

Thanks for your help
Oliver


+---+
|Filename: OpenVPN.png  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=30159|
+---+


Bronsky's Profile: http://forums.slimdevices.com/member.php?userid=70123
View this thread: http://forums.slimdevices.com/showthread.php?t=112074

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins