По какой причине может приходить ответ 405 Not Allowed? Вайтлистинг IP выключен. Ниже лог запроса и ответа:
2021-03-08 17:23:46,154:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): adm.tools:443
2021-03-08 17:23:46,188:DEBUG:urllib3.connectionpool:
Вход "POST /action/dns/list/ HTTP/1.1" 405 150
send: b'POST /action/dns/list/ HTTP/1.1\r\nHost: adm.tools\r\nUser-Agent: python-requests/2.25.1\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nConnection: keep-alive\r\nAuthorization: Bearer <token removed>\r\nContent-Length: 0
'
reply: 'HTTP/1.1 405 Not Allowed\r\n'
header: Server: nginx
header: Date: Mon, 08 Mar 2021 15:23:46 GMT
header: Content-Type: text/html
header: Content-Length: 150
header: Connection: keep-alive
header: x-ray: wn2147:0.000/