@adastmin
1: Check firewall settings.
2: Check ports! Network issue. Probably there is a misconfiguration at Network level. The Public IP was not responding to any traffic coming.
3: authToken not implemented. see on py script.
Code:
'''.format(get_params['USERNO']).encode('utf-8'))
if self.path.startswith('/api/v0_9/AuthenticateByToken.xml?'):
get_params = parse_qs(urlparse(self.path).query)
self.send_response(200)
self.end_headers()
self.wfile.write('''
<AuthenticateByToken>
<api>
<code>100</code>
</api>
<result bdo_access="user">
<user key="{}"/>
</result>
</AuthenticateByToken>
'''.format(get_params['token'][0]).encode('utf-8'))