Coder Social home page Coder Social logo

mtproto2json's People

Contributors

nikat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mtproto2json's Issues

[question] Can a session be active only on a single device (IP address) simultaneously?

Hi there again. Thanks for your program, it's really indispensable for the job I'm doing at the moment.

@milch @lattenwald
I need a little advice. I used the same session ID and auth key in production and on my local dev server and noticed that the production stopped working with these messages:

Timeout, no rpc_response, I am deleting this: {'_cons': 'account.updateStatus', 'offline': {'_cons': 'boolFalse'}}
Timeout, no rpc_response, I am deleting this: {'_cons': 'account.updateStatus', 'offline': {'_cons': 'boolFalse'}}
...

Seems like Telegram just started to ignore requests from the production server once I started to use this auth on the development one. Is this correct? If I generate a different token for development and use the separate tokens, should it work?

I just want to make sure I figured things out because unlike Bot API, the client API is somewhat more unexpected.

rpc_error (AUTH_KEY_UNREGISTERED)

Followed the instructions in README. After successful authentication, I'm trying to get the dialog list as you tell with {"message":{"_cons":"messages.getDialogs","offset_date":0,"offset_id":0,"offset_peer":{"_cons":"inputPeerEmpty"},"limit":0}}.

The result:

image

`bad_msg_notification` when using the same account simultaneously on multiple instances

I'm trying to get my development server working while the production is running. I'm using different tokens. On the development I'm getting these responses for any request:

{"id": 0, "message": {"_cons": "bad_msg_notification", "bad_msg_id": 6532164331258096284, "bad_msg_seqno": 3, "error_code": 17}}

Telegram docs suggest that error_code == 17 has something to do with msg_ids. They tell that "the client time has to be synchronized, and the message re-sent with the correct msg_id". Anyone knows what does it mean?

@milch @lattenwald

Stop receiving updates eventually

Hi,

First of all let me thank you for this project, it's helped me a lot in integrating Telegram in a personal project of mine.

My issue is, as the title says, that eventually I just stop receiving updates. Sometimes a message sent to my account will be delayed for 30s or more and arrive together with another message that was sent later. Do you know if there is any way to ensure that I can keep receiving updates? I tried sending a getDialogs every 60s or so but that doesn't always work.

req_msg_id not found

This error eventually appears when I stop my production server and launch the development one on my laptop. Have no idea what's the reason, but it usually disappears by itself after some time (i.e. 30 minutes).
Seems that it disappears after restarting my server like 8 times.

MTProto 2 support

README tells:

NOTE: mtproto2json will be updated to support MTProto2.0 in Jan 2018.

Is it already updated?

If not, how long will they support the old protocol?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.