Improving error handling when mounted partitions not found
#1
Am defining my library partitions using the ip address of my NAS.  During some tidying of network cables, I accidentally plugged my network cable into the 2nd network port of the NAS which has a different ip address to the first port.  During the startup of SnakeOil, it kept giving this error message in the browser.
Quote:REST server is not responding
It tried at least 50 times before finally showing up in the browser, but the music library partitions were not mounted.  Took me a while to realise what had happened and everything went back to normal when I switched the cable back to the 1st network port of the NAS.

Can the error handling be improved so that it tells this dumb user (me!) that the mounted partitions were not found, instead of chasing up on the REST server errors.
Reply

#2
(10-Nov-2019, 06:20 PM)Snoopy8 Wrote: Can the error handling be improved so that it tells this dumb user (me!) that the mounted partitions were not found, instead of chasing up on the REST server errors.
Hmm. It depends on the nature of the system operation (blocking vs non-blocking)... If it's a blocking call, and there's a problem, the front end (web client) can only see that the REST server is dead. I'll dig deeper into this when I can and see what's wrong.
Snakeoil Operating System - Music, your way!
[-] The following 1 user Likes agent_kith's post:
  • Snoopy8
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  [SOLVEDArchive checksum error on installer 1.2.6 frednork 6 1,448 17-Jul-2023, 07:59 AM
Last Post: agent_kith
  error opening volume TEAC dac Tecko 1 736 28-Sep-2022, 07:15 AM
Last Post: agent_kith
  Repository Error nappyhead 8 3,170 30-Oct-2020, 11:03 PM
Last Post: nappyhead
  [SOLVEDnvme storage not found during installation steps - Intel NUC emptor 21 7,374 19-Oct-2020, 09:21 PM
Last Post: emptor
  Connection Error Connection to myMPD failed. Trying to reconnect. luiswu 12 6,108 11-Jun-2020, 07:17 PM
Last Post: Snoopy8



Users browsing this thread:
1 Guest(s)

[-]
Our Sponsors

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

Username/Email:


Password:





[-]
Latest Threads
Can't get Roon bridge or UPNP renderer t...
Last Post: agent_kith
21-Feb-2025 04:38 PM
» Replies: 9
» Views: 231
Progress update on High End U1
Last Post: agent_kith
21-Feb-2025 10:43 AM
» Replies: 8
» Views: 527
Snakeoil OS 1.4 problem with Squeezelite...
Last Post: mloutfie
14-Feb-2025 07:00 AM
» Replies: 14
» Views: 614
Snakeoil 1.4.0 (High End)
Last Post: hkphantomgtr
11-Feb-2025 09:07 AM
» Replies: 60
» Views: 3716
fw: a letter to request Album Player(gen...
Last Post: clark8888
08-Feb-2025 03:44 PM
» Replies: 3
» Views: 521
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
06-Feb-2025 08:46 AM
» Replies: 13
» Views: 672
Using Ubuntu low latency & real time ker...
Last Post: agent_kith
05-Feb-2025 02:19 PM
» Replies: 9
» Views: 359
Music Players missing
Last Post: justme
31-Jan-2025 01:07 PM
» Replies: 2
» Views: 106
My Snakeoil-powered system
Last Post: petemac110
29-Jan-2025 03:46 AM
» Replies: 4
» Views: 491
Question about RAM Disk
Last Post: agent_kith
28-Jan-2025 10:01 AM
» Replies: 6
» Views: 178

[-]
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-2025. Theme © Melroy van den Berg.