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

No proxy binding #90

Open
Denys7814 opened this issue Oct 4, 2024 · 13 comments
Open

No proxy binding #90

Denys7814 opened this issue Oct 4, 2024 · 13 comments

Comments

@Denys7814
Copy link

Знімок екрана 2024-10-04 о 20 26 38

Whatever I write in the proxy field, this bot still works)) Please tell me how to connect the proxy correctly? Or should I wait for the source code update? I would be very grateful for your answer, thank you!

@AliCl0ner
Copy link

I fixed this problem. you can use notpixel script that i updated till author migrate

@Denys7814
Copy link
Author

I fixed this problem. you can use notpixel script that i updated till author migrate

Знімок екрана 2024-10-05 о 12 13 46

Launched your bot. Added proxy. Gives an error((

@AliCl0ner
Copy link

AliCl0ner commented Oct 5, 2024

you changed config.py wrongly
it must be in this format:
proxy = {
'http': 'http://user:pass@ip:port',
'https' : 'http://user:pass@ip:port'
}

@Denys7814
Copy link
Author

you changed config.py wrongly it must be in this format: proxy = { 'http': 'http://user:pass@ip:port', 'https' : 'http://user:pass@ip:port' }

Знімок екрана 2024-10-05 о 12 35 45

It worked. Thanks for your help! Everything works))

@Denys7814
Copy link
Author

you changed config.py wrongly it must be in this format: proxy = { 'http': 'http://user:pass@ip:port', 'https' : 'http://user:pass@ip:port' }

Please, tell me more. Is it possible to connect a specific proxy to a specific telegram account? How to do it?)

@AliCl0ner
Copy link

AliCl0ner commented Oct 5, 2024

It's not possible for now. I will try to add it later if author don't add it. But u can do a trick for now and make folders separately for each account then add only one account to each folder and add your proxy.
typically run script for each account in separate folders

@Denys7814
Copy link
Author

It's not possible for now. I will try to add it later if author don't add it. But u can do a trick for now and make folders separately for each account then add only one account to each folder and add your proxy. typically run script for each account in separate folders

Okay, I understand you, thanks for your answer.

@Denys7814
Copy link
Author

I fixed this problem. you can use notpixel script that i updated till author migrate

Знімок екрана 2024-10-05 о 20 46 11

Still the problem is not solved! Any inserted proxy (even fictitious), the bot says that everything is ok)))

@AliCl0ner
Copy link

AliCl0ner commented Oct 5, 2024

u still got the wrong format. i fixed it so it give error for that too.
u need both http and https in config.py. you need to add your proxy infront of them.
proxy = {
'http': 'http://user:pass@ip:port',
'https' : 'http://user:pass@ip:port'
}

@Denys7814
Copy link
Author

u still got the wrong format. i fixed it so it give error for that too. u need both http and https in config.py. you need to add your proxy infront of them. proxy = { 'http': 'http://user:pass@ip:port', 'https' : 'http://user:pass@ip:port' }

Thanks for your answer. I did it, the bot works! But still, if I specifically specify an incorrect proxy, the bot still works and writes "Proxy is working correctly."
Even if I specify the proxy as you said, it is not clear whether it works correctly or not, since in any case it will be "Proxy is working correctly."

@AliCl0ner
Copy link

send me the what u put in proxy so i could check it

@aDarkDev
Copy link
Owner

aDarkDev commented Oct 6, 2024

Thank you all for your responses!

@tkrajj
Copy link

tkrajj commented Oct 12, 2024

IMG_20241013_001259
IMG_20241013_001101
Dear sir, I am read all proxy related comments, but my proxy are not working, where I am wrong.
Pls reply.

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

4 participants