WS-Discovery went bye-bye

TimBaeten

Cadet
Joined
Jan 30, 2022
Messages
9
Greetings all, I had a SMB share setup and working, meaning I could find it from Win11 machines using its name, mount it and perform file operations to/from it. Now I can only get to it via IP address. I did some searching and I don't think anything matches, but I tried the various suggestions to no avail. I am running core 12.0-U7, can't say when it stopped but it was recently. Any thoughts. Thanks. Tim
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Try service wsdd restart.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Is the box for WS-Discovery still checked under Network->Global Configuration? How is your network set up under Network->Network Summary on the server, and on your client?
 

TimBaeten

Cadet
Joined
Jan 30, 2022
Messages
9
Is the box for WS-Discovery still checked under Network->Global Configuration? How is your network set up under Network->Network Summary on the server, and on your client?
It is. I think it's because it is on a different subnet. I can get to it via TCPIP, but WS-Discovery doesn't seem to be making it through the switch/router.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399

Does your network support multicast routing? Did your network admin either disable multicast, or filter out the multicast endpoint IPs and/or ports?
 

TimBaeten

Cadet
Joined
Jan 30, 2022
Messages
9
I'm the network admin. I did update the firmware, so maybe some behavior was changed from the previous firmware. Interesting thing is that I can still get to it via the UNC path, just can't see it in the network browse, I'm ok with that.

Thanks for the help
 

x130844

Dabbler
Joined
Oct 25, 2020
Messages
46
Try service wsdd restart.
Hi, TrueNas 13.0 now has the same issue, and "service wsdd restart" works. the network show again on windows10. but I have to run this very often. Any idea why I have to restart wsdd all the time? how to debug?
Note that it happens to ALL windows machines on the network. Is my wsdd crashing?
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
Hi, TrueNas 13.0 now has the same issue, and "service wsdd restart" works. the network show again on windows10. but I have to run this very often. Any idea why I have to restart wsdd all the time? how to debug?
Note that it happens to ALL windows machines on the network. Is my wsdd crashing?

There should be a wsdd log in /var/log. Maybe check there. Send me a debug and I'll take a look through it. IIRC in 12 I had to add a bunch of error handling for some invalid payloads being sent out by some IOT-style devices (Exception would raise and wsdd would exit). Might have forgotten to forward-port to SCALE/13.
 

x130844

Dabbler
Joined
Oct 25, 2020
Messages
46
There should be a wsdd log in /var/log. Maybe check there. Send me a debug and I'll take a look through it. IIRC in 12 I had to add a bunch of error handling for some invalid payloads being sent out by some IOT-style devices (Exception would raise and wsdd would exit). Might have forgotten to forward-port to SCALE/13.
awesome!
for whatever reason there's no wsdd* in /var/log
I did a find too, nothing in /var/log/* related to wsdd
Is that the right location for truenas 13? (freebsd 13.1/ truenas core)
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
awesome!
for whatever reason there's no wsdd* in /var/log
I did a find too, nothing in /var/log/* related to wsdd
Is that the right location for truenas 13? (freebsd 13.1/ truenas core)
Hmm.... I'll provide a replacement wsdd.py tomorrow some time that will be properly instrumented.
 
Top