We have moved! This forum is now read only. (June 03)

New community website: https://community.snakeoil-os.net (June 03)

Join us in the new community by Creating a new account. (June 04)


REST not responding (503 error)
#9
(28-Mar-2025, 04:39 PM)Primare11 Wrote: Sorry, but I don't remember.
The only thing I know for sure is that if Snakeoil try to mount an non accessible NAS share it take 2 minutes before the REST starts and if I remove the NAS share in Snakeoil it take 5 seconds for the REST to start.

I will fix that first problem. With the new re-write mounting network shares is a blocking call. i.e. the whole Snakeoil API will do nothing but mount the drives, and proceed to do other tasks only after mounting shares has stopped. This is why you lost access for 2 minutes.  Blush

Never seen this problem in my home setup before cause my NAS is always online.

That's an easy fix.. Just change it to an unblocking call. <- What this means is snakeoil will continue to mount the shares in the background, and continue to work on other tasks.

Let me know if you're listening to music halfway, and then music suddenly stop and resume... That is a sign that the API server has restarted.  <- This is the part I need to look at to make sure this restart is not happening on it's on.
Snakeoil Operating System - Music, your way!
Reply


Messages In This Thread
REST not responding (503 error) - by Primare11 - 27-Mar-2025, 12:11 AM
RE: REST not responding (503 error) - by agent_kith - 27-Mar-2025, 01:12 PM
RE: REST not responding (503 error) - by Primare11 - 27-Mar-2025, 03:35 PM
RE: REST not responding (503 error) - by agent_kith - 27-Mar-2025, 04:31 PM
RE: REST not responding (503 error) - by agent_kith - 27-Mar-2025, 08:37 PM
RE: REST not responding (503 error) - by Primare11 - 27-Mar-2025, 09:46 PM
RE: REST not responding (503 error) - by agent_kith - 28-Mar-2025, 12:45 PM
RE: REST not responding (503 error) - by Primare11 - 28-Mar-2025, 04:39 PM
RE: REST not responding (503 error) - by agent_kith - 29-Mar-2025, 10:22 AM
RE: REST not responding (503 error) - by Primare11 - 29-Mar-2025, 10:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Bind Mount in REST Coacharnold 3 521 09-Apr-2025, 03:13 PM
Last Post: agent_kith
  [SOLVEDArchive checksum error on installer 1.2.6 frednork 6 2,232 17-Jul-2023, 07:59 AM
Last Post: agent_kith
  error opening volume TEAC dac Tecko 1 1,075 28-Sep-2022, 07:15 AM
Last Post: agent_kith
  Repository Error nappyhead 8 4,175 30-Oct-2020, 11:03 PM
Last Post: nappyhead
  Connection Error Connection to myMPD failed. Trying to reconnect. luiswu 12 7,631 11-Jun-2020, 07:17 PM
Last Post: Snoopy8



Users browsing this thread: 1 Guest(s)
[-]
Our Sponsors
{myadvertisements[zone_4]}

[-]
Latest Threads
Android Firefox issues with forum
Last Post: agent_kith
10-Jun-2025 04:45 PM
» Replies: 21
» Views: 2037
[split] Possible To Load Snakeoil OS in ...
Last Post: Snoopy8
09-Jun-2025 06:43 AM
» Replies: 14
» Views: 1523
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
05-Jun-2025 03:58 PM
» Replies: 67
» Views: 8955
Snakeoil with Ubuntu Desktop ?
Last Post: Snoopy8
02-Jun-2025 09:38 AM
» Replies: 8
» Views: 903
Add IR remote control using Flirc USB in...
Last Post: Snoopy8
31-May-2025 03:50 PM
» Replies: 5
» Views: 656
Work In Progress: 1.4.4
Last Post: hkphantomgtr
29-May-2025 11:44 PM
» Replies: 44
» Views: 4983
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
27-May-2025 02:16 PM
» Replies: 42
» Views: 5425
Snakeoil 1.4.0 (High End)
Last Post: aabman
25-May-2025 11:35 AM
» Replies: 93
» Views: 14894
new install issues
Last Post: carlodim
23-May-2025 09:56 AM
» Replies: 42
» Views: 4400
Is this project still alive?
Last Post: agent_kith
20-May-2025 03:11 PM
» Replies: 10
» Views: 1172

[-]
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.