Posted by Purple-Martyn
Henagon

Auto account assign doesn't work on TV12 Host for macOS

I'm encountering this issue on every mac I try to auto assign.  I've recreated the package and api token many times with the same errors

 

bash-3.2# ./TeamViewer_Assignment -apitoken "{XXXXXXX}" -datafile /Library/Application\ Support/TeamViewer\ Host/Custom\ Configurations/{XXXXXXXX}/AssignmentData.json -devicealias "${HOSTNAME}" -allowEasyAccess=true -wait=10 -verbose\TeamViewer_Assignment (r341)

 

WebAPI: GET 'devices?remotecontrol_id=XXXXXXXX'

=> Assignment failed with:

Get https://webapi.teamviewer.com/api/v1/devices?remotecontrol_id=XXXXXXXX: dial tcp: lookup webapi.teamviewer.com on [::1]:53: read udp [::1]:63427->[::1]:53: read: connection refused

... 3 (of 3) retries left, waiting 5 seconds ...

WebAPI: GET 'devices?remotecontrol_id=XXXXXXXX'

=> Assignment failed with:

Get https://webapi.teamviewer.com/api/v1/devices?remotecontrol_id=XXXXXXXX: dial tcp: lookup webapi.teamviewer.com on [::1]:53: read udp [::1]:54885->[::1]:53: read: connection refused

... 2 (of 3) retries left, waiting 5 seconds ...

WebAPI: GET 'devices?remotecontrol_id=XXXXXXXX'

=> Assignment failed with:

Get https://webapi.teamviewer.com/api/v1/devices?remotecontrol_id=XXXXXXXX: dial tcp: lookup webapi.teamviewer.com on [::1]:53: read udp [::1]:53437->[::1]:53: read: connection refused

... 1 (of 3) retries left, waiting 5 seconds ...

WebAPI: GET 'devices?remotecontrol_id=XXXXXXXX'

=> Assignment failed with:

Get https://webapi.teamviewer.com/api/v1/devices?remotecontrol_id=XXXXXXXX: dial tcp: lookup webapi.teamviewer.com on [::1]:53: read udp [::1]:50282->[::1]:53: read: connection refused

bash-3.2# 

 

 

 

Any Ideas what I should try next, we have an estate of around 1500 Macs which we need to assign, I don't relish the thought of doing each one manually.