Wsdd error after upgrade to Truenas 12.0

rolfhartmut

Dabbler
Joined
Oct 22, 2011
Messages
28
After upgrade there are wsdd-errors every 5 minutes in Console:
Nov 13 16:18:21 TrueNAS-test 1 2020-11-13T16:18:21.161301+01:00 TrueNAS-test.local daemon 1426 - - 2020-11-13 16:18:21,160:wsdd ERROR(pid 1427): error in main loop
Nov 13 16:18:21 TrueNAS-test 1 2020-11-13T16:18:21.161343+01:00 TrueNAS-test.local daemon 1426 - - Traceback (most recent call last):
Nov 13 16:18:21 TrueNAS-test 1 2020-11-13T16:18:21.161364+01:00 TrueNAS-test.local daemon 1426 - - File "/usr/local/bin/wsdd.py", line 809, in serve_wsd_requests
Nov 13 16:18:21 TrueNAS-test 1 2020-11-13T16:18:21.161379+01:00 TrueNAS-test.local daemon 1426 - - File "/usr/local/bin/wsdd.py", line 462, in handle_request
Nov 13 16:18:21 TrueNAS-test 1 2020-11-13T16:18:21.161394+01:00 TrueNAS-test.local daemon 1426 - - File "/usr/local/bin/wsdd.py", line 409, in wsd_handle_message
Nov 13 16:18:21 TrueNAS-test 1 2020-11-13T16:18:21.161400+01:00 TrueNAS-test.local daemon 1426 - - File "/usr/local/lib/python3.8/xml/etree/ElementTree.py", line 1320, in XML

in smb services: enable web service discovery=yes
if set to "no" or service wssd=onestop the messages stop but shares are not visible in WIN10 PC network.

Same behaviour on 3 supermicro servers and HP microserver Gen8!
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,543
After upgrade there are wsdd-errors every 5 minutes in Console:


in smb services: enable web service discovery=yes
if set to "no" or service wssd=onestop the messages stop but shares are not visible in WIN10 PC network.

Same behaviour on 3 supermicro servers and HP microserver Gen8!
Interesting. It appears to be a parsing error related to a message we're receiving from one of the clients on your network. Specifically, it's not xml.
 

rolfhartmut

Dabbler
Joined
Oct 22, 2011
Messages
28
Interesting. It appears to be a parsing error related to a message we're receiving from one of the clients on your network. Specifically, it's not xml.
What can I do??
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,543
Back up /usr/local/bin/wsdd.py, and replace with version is the zipped file and restart the service.
After 15 minutes or so of runtime, "cat /var/log/wsdd.log" and send me the output via private message.
 
Top