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

Invalid adtag #3

Open
aa1008611 opened this issue Oct 22, 2023 · 10 comments
Open

Invalid adtag #3

aa1008611 opened this issue Oct 22, 2023 · 10 comments

Comments

@aa1008611
Copy link

aa1008611 commented Oct 22, 2023

adtag

@geovex
Copy link
Owner

geovex commented Oct 24, 2023

This mode is experimental. Can you provide full config?

@geovex
Copy link
Owner

geovex commented Oct 24, 2023

As unpleasant as it may sound, it "works for me". Your config seems correct (except obfuscate option is useless with adtag). I can only advise you to check all settings in MTProxybot (may be there are typos in IP or channel name) and also check stats so you can see whether clients' connections are active at all.

Since this mode has mediocre implementation under the hood it will be experimental for a long time. You can use official proxy server which is specifically designed for such scenario or this alternative client.

@geovex
Copy link
Owner

geovex commented Oct 25, 2023

Actually I tried your tag and desktop client shows sponsored channel. My key hypothesis is that this is some wired region-related issue.

@aa1008611
Copy link
Author

aa1008611 commented Oct 25, 2023

I can connect to the agent, but do not display sponsors, so is this my problem or the project's problem? Other projects can display label sponsors

@geovex
Copy link
Owner

geovex commented Oct 25, 2023

My last ridiculous assumption is that you already own/subscribed-to channel and test it from the same account, and that's why you don't see differences. Try check from other account of from friend's phone.

If I assume that everything you can, you did right, then it either some weird regional ban (unlikely for channel with 1-2k users) or some corner case that I can not catch (again, i see your advertised channel when I use your adtag in my config, this means you registered it correctly and it should work).

So far we established:
You registered proxy and sponsored channel.
Your sponsored channel works on all my test devices (means you did that part right).
At least one of your devices does not advertise or you can't see it for some reason.

Suggested solution: try check from different account and different device.

some technical details

Proxy does not know about sponsorship. It can push adtag upstream during connection and then it just forwards encrypted messages. The other notable fact is that with adtag tgp operates on very different algorithm because it has to connect to different upstream servers and distinguish separate messages. In layman's terms if connection established, everything should work and tgp only handles the connection.

Main goals of this particular software was to add multi-user support and ability to connect to upstream through proxy or anonymizer. Sponsored mode (requires connection through middle proxies) was added as a bonus in spare time and i rarely check this functionality.

If this functionality is critical for you, you can try other software implementations.

@aa1008611
Copy link
Author

I did a great job testing multiple accounts, but they didn't show up.. I don't know what happens when I connect to your agent

@geovex
Copy link
Owner

geovex commented Oct 25, 2023

I'm afraid a can not determine cause of the issue. I will left this open until something new comes up.

@aa1008611
Copy link
Author

aa1008611 commented Oct 25, 2023

Thank you for your answer. wish you good luck

@DzmitryKudrashou
Copy link

I've just checked it. It works well for me. Is it possible that it depends on some variables that we don't know about?

@aa1008611
Copy link
Author

I've just checked it. It works well for me. Is it possible that it depends on some variables that we don't know about?

Location of use in China

@geovex geovex mentioned this issue Jan 7, 2024
Closed
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

3 participants