I thought that was the file to edit but adding this to the server.prefs file does nothing:
httpaddr: 192.168.1.100
I still get this in the logs:
[22-01-22 12:09:25.9103] Slim::Plugin::CLI::Plugin::cli_socket_accept (250) Access to CLI is restricted to the local network or localhost: <tailscale ip here>
I'm thinking I am not entering the correct cmd.
Thx.
Results 121 to 127 of 127
Thread: Forbidden: settings/index.html
-
2022-01-22, 10:14 #121
- Join Date
- Jan 2021
- Posts
- 11
-
2022-01-23, 09:16 #122
Forbidden: settings/index.html
> -[22-01-22 12:09:25.9103] Slim::Plugin::CLI::Plugin::cli_socket_accept
> (250) Access to CLI is restricted to the local network or localhost:
> <tailscale ip here>-
Can you tell us a little more about your environment? Tailscale would
not run in the container, would it? What IP networks are being used
where (inside and outside the container)?
-
2022-01-24, 09:08 #123
- Join Date
- Jan 2021
- Posts
- 11
I've decided to uninstall Tailscale for the time being, but to answer the above, I was running Tailscale in a docker container (https://github.com/ido1990/tailscale-relay) on an Ubuntu server.
Thanks for your help. I'll have to troubleshoot another time.
-
2022-02-10, 12:31 #124
- Join Date
- Nov 2009
- Posts
- 4
servus michael,
i'm having the same or similar issue as the last poster.
running LMS on a raspi4 (raspbian 10) in a docker container which is connected to the host network. so i can access it with 192.168.1.11 (ip of raspi) on the LMS port. which works fine and i did so on several machines yet.
recently i installed tailscale (which plain rocks) so the raspi got another network device with the ip of the tailscale network (100.70.x.x) and can be accessed from anywhere. i can access LMS fine with this IP - but get a 'forbidden' for the settings page. which is kind of expected.
additionally i figured it would make sense to set this raspi as a relay node on the tailscale network https://tailscale.com/kb/1019/subnets/ (which rocks even more). that way one can access any internal ip (192.168.1.x) from anywhere in the tailscale network without running the tailscale client on every device on the network. so i can use 192.168.1.11:9000 from anywhere - which works - but again i get a 403 for the settings page. annoyingly - set up this way - also when accessing LMS via the local ip on the local network.
checking the logs:
Code:Slim::Web::HTTP::generateHTTPResponse (1022) Access to settings pages is restricted to the local network or localhost: 100.76.xxx.xxx -> 192.168.1.11 (settings/index.html)
thanks,
markus.
-
2022-02-10, 23:08 #125
Forbidden: settings/index.html
> but get a 'forbidden' for the settings page. which is kind of expected.
You currently have two options to deal with the situation:
* enable password protection (and optionally add your networks to the IP
allow list)
* disable the check by setting the protectSettings value to a falsy
value (vi is your UI to this setting :-))
-
2022-05-11, 12:14 #126
Replying to an old issue.
After every update of LMS i was facing the same problem and needed to add --httpaddr
I've found aout that the parameters of /etc/sysconfig/squeezeboxserver were not loaded somehow
After investigating the startup file i found a type in the systems startup file which i think is in the compiled package
in "/etc/systemd/system/multi-user.target.wants/squeezeboxserver.service"
Code:EnvironmentFile=-/etc/sysconfig/squeezeboxserver
Code:EnvironmentFile=/etc/sysconfig/squeezeboxserver
now the squeezeboxserver is starting up correctlyLast edited by madpatrick; 2022-05-11 at 14:59.
-
Patrick
-
2022-05-12, 08:18 #127
forget my previous post.
Some how it is starting good , but after a few minutes is see the following in the log
Code:May 12 16:57:06 pdebrabander squeezeboxserver: [22-05-12 16:50:48.9289] Slim::Web::JSONRPC::handleURI (213) Access to settings is restricted to the local network or localhost: 192.168.1.238 {"id":0,"method":"slim.request","params":["",["pref","language","?"]]} May 12 16:57:06 pdebrabander squeezeboxserver: [22-05-12 16:50:48.9381] Slim::Web::JSONRPC::handleURI (213) Access to settings is restricted to the local network or localhost: 192.168.1.238 {"id":0,"method":"slim.request","params":["",["pref","language","?"]]} May 12 16:57:06 pdebrabander squeezeboxserver: [22-05-12 16:50:48.9428] Slim::Web::JSONRPC::handleURI (213) Access to settings is restricted to the local network or localhost: 192.168.1.238 {"id":0,"method":"slim.request","params":["",["pref","language","?"]]} May 12 16:57:06 pdebrabander squeezeboxserver: [22-05-12 16:50:48.9464] Slim::Web::JSONRPC::handleURI (213) Access to settings is restricted to the local network or localhost: 192.168.1.238 {"id":0,"method":"slim.request","params":["",["pref","language","?"]]} May 12 16:57:06 pdebrabander squeezeboxserver: [22-05-12 16:50:48.9515] Slim::Web::JSONRPC::handleURI (213) Access to settings is restricted to the local network or localhost: 192.168.1.238 {"id":0,"method":"slim.request","params":["",["pref","language","?"]]} May 12 16:57:06 pdebrabander squeezeboxserver: [22-05-12 16:55:49.0012] Slim::Web::JSONRPC::handleURI (213) Access to settings is restricted to the local network or localhost: 192.168.1.238 {"id":0,"method":"slim.request","params":["",["pref","plugin.musicartistinfo:browseArtistPictures","?"]]} May 12 16:57:06 pdebrabander squeezeboxserver: [22-05-12 16:55:49.0084] Slim::Web::JSONRPC::handleURI (213) Access to settings is restricted to the local network or localhost: 192.168.1.238 {"id":0,"method":"slim.request","params":["",["pref","plugin.onlinelibrary:enableServiceEmblem","?"]]} May 12 16:57:06 pdebrabander squeezeboxserver: [22-05-12 16:55:49.0207] Slim::Web::JSONRPC::handleURI (213) Access to settings is restricted to the local network or localhost: 192.168.1.238 {"id":0,"method":"slim.request","params":["",["pref","plugin.state:DontStopTheMusic","?"]]}
added --httpaddr=MYIP in /etc/systemd/system/multi-user.target.wants/squeezeboxserver.service and the errors are gone
This in only a temp fix since this file is change after every LMS update-
Patrick