We are moving! New user registrations to this forum is now closed. Posting here will be disabled eventually. Please go to the new community for your Snakeoil OS support and other discussions. (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)


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
  REST not responding (503 error) Primare11 9 751 29-Mar-2025, 10:50 PM
Last Post: Primare11
  [SOLVEDArchive checksum error on installer 1.2.6 frednork 6 1,956 17-Jul-2023, 07:59 AM
Last Post: agent_kith
  error opening volume TEAC dac Tecko 1 970 28-Sep-2022, 07:15 AM
Last Post: agent_kith
  Repository Error nappyhead 8 3,849 30-Oct-2020, 11:03 PM
Last Post: nappyhead
  [SOLVEDnvme storage not found during installation steps - Intel NUC emptor 21 9,038 19-Oct-2020, 09:21 PM
Last Post: emptor



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
Android Firefox issues with forum
Last Post: agent_kith
Yesterday 04:45 PM
» Replies: 21
» Views: 1257
[split] Possible To Load Snakeoil OS in ...
Last Post: Snoopy8
09-Jun-2025 06:43 AM
» Replies: 14
» Views: 961
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
05-Jun-2025 03:58 PM
» Replies: 67
» Views: 6349
Snakeoil with Ubuntu Desktop ?
Last Post: Snoopy8
02-Jun-2025 09:38 AM
» Replies: 8
» Views: 589
Add IR remote control using Flirc USB in...
Last Post: Snoopy8
31-May-2025 03:50 PM
» Replies: 5
» Views: 424
Work In Progress: 1.4.4
Last Post: hkphantomgtr
29-May-2025 11:44 PM
» Replies: 44
» Views: 3452
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
27-May-2025 02:16 PM
» Replies: 42
» Views: 3754
Snakeoil 1.4.0 (High End)
Last Post: aabman
25-May-2025 11:35 AM
» Replies: 93
» Views: 11239
new install issues
Last Post: carlodim
23-May-2025 09:56 AM
» Replies: 42
» Views: 2828
Is this project still alive?
Last Post: agent_kith
20-May-2025 03:11 PM
» Replies: 10
» Views: 749

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