Repository navigation
added wait timeout to server start - #918
Conversation
|
I quickly tested it and it worked fine for me 🥳 The only downside i see is that we still lose the information why it failed |
Isn't that logged? |
|
hmm, I see, the timeout can have different reasons and in addition the Acceptor and endpoint are created in the constructor of the server. Would make this ticket bigger. |
|
Did you written your answer on purpose as edit on my comment? 😆 I mean i think this fix already brings value the way it is now but to fully fix it it probably should log the errors that happen. |
|
f872423 to
21ee6b7
Compare
21ee6b7 to
d566cb9
Compare
|
Invalid address strings are now logged, so mission complete. :) |
|
I found another case 🙈 where if the port is already used we also just see a timeout: But im not sure if we can check for that, and this version is already way better than before 🥳 |
This has to be handled inside of the server, I would propose to handle in a different issue - or maybe there are already some for this. |
f66f065 to
e31486d
Compare
fliiiix
left a comment
There was a problem hiding this comment.
Ran some manual tests against this latest version which worked fine for me
[100%] Built target radiopi
(2024-11-26 11:49:19) [INFO ] Playing some music
(2024-11-26 11:49:19) [ERROR ] Invalid argument - Can not create valid ip address from string: "0.0.0.a"
de64c1f to
8d6a100
Compare
440bb2e to
5f19a1f
Compare
… logged now, server runs into timeout in that case added testcase for invalid address
5f19a1f to
44bc055
Compare
No description provided.