We are seeing the same issue as you are at 10.5.1. We did have problems with webgisdr at 10.5 as well, but the the error message was a little different. For version 10.5 it was: Failed to generate the ArcGIS Server token from the portal https://myhost.example.com/portal/sharing. Failed to get the configuration of the web GIS. Stopping the webgisdr utility. One difference between your log and ours is that in our the “tokenServicesURL” is empty (“”). I am in working with Esri support trying to solve this.
... View more