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

when i try to build apk with ngrok I got this error #357

Open
plemyashkin01 opened this issue Jun 24, 2024 · 7 comments
Open

when i try to build apk with ngrok I got this error #357

plemyashkin01 opened this issue Jun 24, 2024 · 7 comments

Comments

@plemyashkin01
Copy link

plemyashkin01 commented Jun 24, 2024

C:\Users\user\AndroRAT>python androRAT.py --build --ngrok -p 8888
Traceback (most recent call last):
File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyngrok\ngrok.py", line 518, in api_request
response = urlopen(request, encoded_data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 215, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 521, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 630, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 559, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 492, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\urllib\request.py", line 639, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 502: Bad Gateway

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\user\AndroRAT\androRAT.py", line 48, in
tcp_tunnel = ngrok.connect(port, "tcp")
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyngrok\ngrok.py", line 320, in connect
tunnel = NgrokTunnel(api_request(f"{api_url}/api/tunnels", method="POST", data=options,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-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 502: {"error_code":103,"status_code":502,"msg":"failed to start tunnel","details":{"err":"failed to start tunnel: You must add a credit or debit card before you can use TCP endpoints on a free account. We require a valid card as a way to combat abuse and keep the internet a safe place. This card will NOT be charged.\nAdd a card to your account here:

@infamouskoala
Copy link

read the error lmao, it is mentioned in the last line what the error is

@HackerX0070922
Copy link

[ERROR] pyngrok not found
[INFO] Run pip3 install -r requirements.txt
Can someone help me

@PirateProxy9
Copy link

PirateProxy9 commented Aug 25, 2024

[ERROR] pyngrok not found [INFO] Run pip3 install -r requirements.txt Can someone help me

u can clearly see the [INFO] telling u to install the requirements using pip install -r requirements.txt

@malik7568044
Copy link

Ngrok is no longer supported

@Dimmmo281
Copy link

how can I fix this problem?

@Shuaibabdi21
Copy link

Shuaibabdi21 commented Oct 1, 2024 via email

@Dimmmo281
Copy link

Also, it doesn't work exactly what is related to ngrok, tell me what to do, I've tried almost everything, is it possible to integrate with something similar to it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants