Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please solve this error while using ngrock #90

Closed
gitshubham12 opened this issue Sep 22, 2021 · 1 comment
Closed

please solve this error while using ngrock #90

gitshubham12 opened this issue Sep 22, 2021 · 1 comment
Labels
duplicate This issue or pull request already exists invalid-forum Adding this label will automatically comment, redirecting the user to support forums

Comments

@gitshubham12
Copy link

Traceback (most recent call last):
File "/usr/lib/python3.9/urllib/request.py", line 1346, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/lib/python3.9/http/client.py", line 1279, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1325, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1274, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1034, in _send_output
self.send(msg)
File "/usr/lib/python3.9/http/client.py", line 974, in send
self.connect()
File "/usr/lib/python3.9/http/client.py", line 1448, in connect
self.sock = self._context.wrap_socket(self.sock,
File "/usr/lib/python3.9/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/usr/lib/python3.9/ssl.py", line 1040, in _create
self.do_handshake()
File "/usr/lib/python3.9/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1129)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/pyngrok/installer.py", line 94, in install_ngrok
download_path = _download_file(url, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/pyngrok/installer.py", line 215, in _download_file
response = urlopen(url, **kwargs)
File "/usr/lib/python3.9/urllib/request.py", line 214, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.9/urllib/request.py", line 517, in open
response = self._open(req, data)
File "/usr/lib/python3.9/urllib/request.py", line 534, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
result = func(*args)
File "/usr/lib/python3.9/urllib/request.py", line 1389, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/usr/lib/python3.9/urllib/request.py", line 1349, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1129)>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/root/Storm-Breaker/Storm-Breaker.py", line 60, in
localhost.location()
File "/root/Storm-Breaker/modules/localhost.py", line 328, in location
a = ngrok.connect(8767,"http",auth_token=token)
File "/usr/local/lib/python3.9/dist-packages/pyngrok/ngrok.py", line 251, in connect
api_url = get_ngrok_process(pyngrok_config).api_url
File "/usr/local/lib/python3.9/dist-packages/pyngrok/ngrok.py", line 160, in get_ngrok_process
install_ngrok(pyngrok_config)
File "/usr/local/lib/python3.9/dist-packages/pyngrok/ngrok.py", line 98, in install_ngrok
installer.install_ngrok(pyngrok_config.ngrok_path)
File "/usr/local/lib/python3.9/dist-packages/pyngrok/installer.py", line 98, in install_ngrok
raise PyngrokNgrokInstallError("An error occurred while downloading ngrok from {}: {}".format(url, e))
pyngrok.exception.PyngrokNgrokInstallError: An error occurred while downloading ngrok from https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1129)>

@gitshubham12 gitshubham12 added the enhancement New feature or request label Sep 22, 2021
@alexdlaird alexdlaird added invalid-forum Adding this label will automatically comment, redirecting the user to support forums and removed enhancement New feature or request labels Sep 22, 2021
@github-actions
Copy link

This is a bug tracker and not a support forum.

While we'd love to be able to support every person on their projects, that would simply be infeasible. Luckily, that's what the helpful developer community over at Stack Overflow is for! Please create a question there with the "pyngrok" tag if what you're looking for is a programming question or you need help with an integration. You can refer to pyngrok's own documentation to help you write the best possible question.

@rikuru-to865 rikuru-to865 mentioned this issue Oct 16, 2021
4 tasks
@alexdlaird alexdlaird added the duplicate This issue or pull request already exists label Oct 16, 2021
Repository owner locked and limited conversation to collaborators Dec 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists invalid-forum Adding this label will automatically comment, redirecting the user to support forums
Projects
None yet
Development

No branches or pull requests

2 participants