mtprotoproxy icon indicating copy to clipboard operation
mtprotoproxy copied to clipboard

Error

Open kalizzaadeh opened this issue 4 years ago • 9 comments

Hi ..I am get bellow error

mtprotoproxy_1 | Traceback (most recent call last): mtprotoproxy_1 | File "mtprotoproxy.py", line 1952, in mtprotoproxy_1 | main() mtprotoproxy_1 | File "mtprotoproxy.py", line 1916, in main mtprotoproxy_1 | servers.append(loop.run_until_complete(task)) mtprotoproxy_1 | File "/usr/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete mtprotoproxy_1 | return future.result() mtprotoproxy_1 | File "/usr/lib/python3.7/asyncio/streams.py", line 114, in start_server mtprotoproxy_1 | return await loop.create_server(factory, host, port, **kwds) mtprotoproxy_1 | File "/usr/lib/python3.7/asyncio/base_events.py", line 1378, in create_server mtprotoproxy_1 | % (sa, err.strerror.lower())) from None mtprotoproxy_1 | PermissionError: [Errno 13] error while attempting to bind on address ('0.0.0.0', 443): permission denied

kalizzaadeh avatar Sep 04 '19 09:09 kalizzaadeh

Hi, are you launching inside Docker or not?

If not, then you should have the root rights to listen on ports that less than 1024

alexbers avatar Sep 04 '19 09:09 alexbers

Does this mean that my server error is less than 1024 because of RAM?

kalizzaadeh avatar Sep 04 '19 09:09 kalizzaadeh

The port number shouldn't depend on RAM. There is a PermissionError in the traceback. If it be RAM the error world be MemoryError

alexbers avatar Sep 04 '19 09:09 alexbers

Do I need to change my port number 443?

kalizzaadeh avatar Sep 04 '19 09:09 kalizzaadeh

You can either to change your port on, say 4430, either to run the program as administrator

alexbers avatar Sep 04 '19 09:09 alexbers

How do I run the application as an administrator?

kalizzaadeh avatar Sep 04 '19 09:09 kalizzaadeh

now this error

mtprotoproxy_1 | PermissionError: [Errno 13] error while attempting to bind on address ('0.0.0.0', 443): permission denied mtprotoproxy_1 | tg: tg://proxy?server=207.182.144.68&port=1024&secret=ee000000000000000001100000000000113230372e3138322e3134342e3638 (new) mtprotoproxy_1 | The MASK_HOST 207.182.144.68 is refusing connections, this is not recommended

kalizzaadeh avatar Sep 04 '19 09:09 kalizzaadeh

This is just is warning about not recommended settings. Your mask host is refusing connections, which can make the proxy more detectable.

alexbers avatar Sep 04 '19 10:09 alexbers

واسه اینکه با پرت های کمتر از 1024 برنامرو اجرا کنی باید دسترسی root داشته باشی یا اینکه با پرت بیشتر از 1024 اجرا کنی (translation: use ports higher than 1024 or run as root)

ارور دوم هم مربوط به اینه که mask host درستی انتخاب نکردی سعی کن یه سایت https دار بهش بدی تا درست کار کنه (translation: change mask host to a dummy website)

erfantkerfan avatar Sep 06 '19 08:09 erfantkerfan