t=2024-04-29T16:41:01+0300 lvl=warn msg="invalid tunnel configuration" pg=/api/tunnels id=5e6b1826c955a2a3 err="yaml: unmarshal errors:\n line 1: field auth_token not found in type config.HTTPv2Tunnel"
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/pyngrok/ngrok.py", line 518, in api_request
response = urlopen(request, encoded_data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 563, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 400: Bad Request
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Bigbro/start.py", line 50, in
osintsan()
File "/Bigbro/start.py", line 40, in osintsan
from menu2 import location
File "/Bigbro/menu2.py", line 200, in
location()
File "/Bigbro/menu2.py", line 141, in location
deafult_server()
File "/Bigbro/menu2.py", line 130, in deafult_server
a = ngrok.connect(8767, "http", auth_token=ngrok.set_auth_token)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pyngrok/ngrok.py", line 320, in connect
tunnel = NgrokTunnel(api_request(f"{api_url}/api/tunnels", method="POST", data=options,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pyngrok/ngrok.py", line 539, in api_request
raise PyngrokNgrokHTTPError(f"ngrok client exception, API returned {status_code}: {response_data}",
pyngrok.exception.PyngrokNgrokHTTPError: ngrok client exception, API returned 400: {"error_code":102,"status_code":400,"msg":"invalid tunnel configuration","details":{"err":"yaml: unmarshal errors:\n line 1: field auth_token not found in type config.HTTPv2Tunnel"}}