[SOLVED] REST server is not responding
#1
(18-Jun-2017, 09:36 PM)agent_kith Wrote:
(18-Jun-2017, 09:23 PM)m@jor Wrote: REST server is not responding.  Sad

My bad, missed out two more commands:
 
Code:
sudo chown root:root /usr/local/sbin/snakeoil-rest
sudo chmod 755 /usr/local/sbin/snakeoil-rest

After you run the above, it should be running again. Once the server is up and running, apply the 0.8.5 firmware file to get the latest web updates.  

Same problem here. After starting the snakeoil-os, dashboard used to work for a few minutes before " REST server is not responding" error occurs. After doing the chmod and chown, dashboard does not work at all. It keep generating the " REST server is not responding" from the get go.
Reply

#2
(24-Jul-2017, 06:57 AM)shashi Wrote: Same problem here. After starting the snakeoil-os, dashboard used to work for a few minutes before " REST server is not responding" error occurs. After doing the chmod and chown, dashboard does not work at all. It keep generating the " REST server is not responding" from the get go.
What version of ISO did you install from, and what version of snakeoil-rest are you using now?
Snakeoil Operating System - Music, your way!
Reply

#3
(24-Jul-2017, 07:43 AM)agent_kith Wrote:
(24-Jul-2017, 06:57 AM)shashi Wrote: Same problem here. After starting the snakeoil-os, dashboard used to work for a few minutes before " REST server is not responding" error occurs. After doing the chmod and chown, dashboard does not work at all. It keep generating the " REST server is not responding" from the get go.
What version of ISO did you install from, and what version of snakeoil-rest are you using now? 

ISO is 0.9.1 x64 and snakeoil-rest is default.  Downloaded the 0.9.4 upgrade but could not install it, web interface is not working due to to REST problem.
Reply

#4
(24-Jul-2017, 08:28 AM)shashi Wrote: ISO is 0.9.1 x64 and snakeoil-rest is default.  Downloaded the 0.9.4 upgrade but could not install it, web interface is not working due to to REST problem.
@shashi, I've split your issue into it's own thread as it seems specific to your setup. What motherboard are you using? Does it have more than 1 NIC?

Can you SSH into the machine, and run:
Code:
sudo netstat -an|grep 30511

And show me the results?
Snakeoil Operating System - Music, your way!
Reply

#5
(24-Jul-2017, 09:39 AM)agent_kith Wrote:
(24-Jul-2017, 08:28 AM)shashi Wrote: ISO is 0.9.1 x64 and snakeoil-rest is default.  Downloaded the 0.9.4 upgrade but could not install it, web interface is not working due to to REST problem.
@shashi, I've split your issue into it's own thread as it seems specific to your setup. What motherboard are you using? Does it have more than 1 NIC?

Can you SSH into the machine, and run:
Code:
sudo netstat -an|grep 30511

And show me the results? 

See attached screenshot.
[Image: IMG_2710.jpg]
Reply

#6
(25-Jul-2017, 10:47 AM)shashi Wrote: See attached screenshot.
Hmm..

Wipe out your old configuration files by running this:
Code:
sudo rm /var/www/html/config/* -f

Does that work now? Not entirely sure what is wrong at the moment.  Think
Snakeoil Operating System - Music, your way!
Reply

#7
(25-Jul-2017, 10:59 AM)agent_kith Wrote:
(25-Jul-2017, 10:47 AM)shashi Wrote: See attached screenshot.
Hmm..

Wipe out your old configuration files by running this:
Code:
sudo rm /var/www/html/config/* -f

Does that work now? Not entirely sure what is wrong at the moment.  Think 

it is not working. After the boot, the web interface works for only a few mins. Then all the information in the web interface disappears and. REST errors appear.

you want me cleanup the configuration and reboot and try again?
Reply

#8
(25-Jul-2017, 11:20 AM)shashi Wrote: it is not working. After the boot, the web interface works for only a few mins. Then all the information in the web interface disappears and. REST errors appear.

you want me cleanup the configuration and reboot and try again?

There's no need to reboot. Can you run these commands and show me the output?
Code:
sudo cat /tmp/stdout
sudo cat /tmp/stderr
Snakeoil Operating System - Music, your way!
Reply

#9
(25-Jul-2017, 12:12 PM)agent_kith Wrote:
(25-Jul-2017, 11:20 AM)shashi Wrote: it is not working. After the boot, the web interface works for only a few mins. Then all the information in the web interface disappears and. REST errors appear.

you want me cleanup the configuration and reboot and try again?

There's no need to reboot. Can you run these commands and show me the output?
Code:
sudo cat /tmp/stdout
sudo cat /tmp/stderr



[Image: IMG_2859.jpg]
Reply

#10
That picture tells me the REST server is running fine (and havn't crashed). Likewise with the netstat screencap, telling me there is an established network connection.

Are the two screencaps taken when the server is down, or up? I need the netstat info, and the stderr, stdout when the server is down.

Do you have the following on your network:
  • have a DHCP server giving out dynamic IP addresses to your computers
  • Have firewall/IDS in the network (layer 3 and above)
Snakeoil Operating System - Music, your way!
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  BubbleUPnP (Server) Not Working Snoopy8 2 604 24-Jun-2022, 08:37 PM
Last Post: agent_kith
  How to install server software JD1 8 1,832 26-Mar-2021, 10:43 AM
Last Post: JD1
  Snakeoil OS goes completely bonkers if you uninstall Logitech Media Server agent_kith 4 1,501 28-Oct-2020, 08:11 PM
Last Post: hkphantomgtr
  Roon Server + HQPlayer 4 alicenir 2 1,361 15-Apr-2020, 01:50 PM
Last Post: alicenir
  [SOLVEDRoon Server Not Installing Snoopy8 2 2,047 15-May-2019, 10:32 AM
Last Post: Snoopy8



Users browsing this thread:
2 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
ZimaBoard 2x NIC, 2x SATA, 2x USB, 1x PC...
Last Post: agent_kith
26-Mar-2024 12:04 PM
» Replies: 13
» Views: 612
LMS Upgrade ?
Last Post: uglymusic
15-Mar-2024 09:14 PM
» Replies: 7
» Views: 149
Squeezebox shutdown
Last Post: TripleX
13-Mar-2024 07:34 AM
» Replies: 4
» Views: 70
MP3 Not Playing
Last Post: Coacharnold
10-Mar-2024 10:25 AM
» Replies: 3
» Views: 52
Fail to install myMPD
Last Post: hkphantomgtr
03-Mar-2024 08:45 PM
» Replies: 9
» Views: 195
Intel HFI Driver Can "Save Tons Of CPU C...
Last Post: hkphantomgtr
28-Feb-2024 09:15 PM
» Replies: 0
» Views: 41
Announcing Snakeoil Measurements 1.3.0
Last Post: agent_kith
26-Feb-2024 10:02 PM
» Replies: 94
» Views: 4137
More Problems with Squeezelite in 1.3
Last Post: Coacharnold
17-Feb-2024 09:47 PM
» Replies: 2
» Views: 69
Snakeoil Music server & Snakeoil its own...
Last Post: Snoopy8
17-Feb-2024 11:20 AM
» Replies: 8
» Views: 365
RoonBridge (64 bit only)
Last Post: scrarfussi
15-Feb-2024 08:26 PM
» Replies: 3
» Views: 4125

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2024. Theme © Melroy van den Berg.