mathdroid / igdm-cli

💻💬 Instagram Direct Messages in your terminal
129 stars 28 forks source link

Can't login to my account #12

Open enes3626 opened 4 years ago

enes3626 commented 4 years ago
igdm-cli v0.5.3
? Instagram Username:  enesdogan.py
? Instagram password:  [hidden]
⠙ Logging in as enesdogan.py(node:2319) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
⠧ Logging in as enesdogan.py(node:2319) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
⠴ Logging in as enesdogan.py[RequestError] {
  name: 'RequestError',
  message: '',
  json: { message: '', status: 'fail' }
}
can't login

I tried different accounts but i still can't login.

burovytskyi commented 4 years ago

Ubuntu

[CheckpointError: Instagram call checkpoint for this action!] 
json: 
   { message: 'challenge_required',
     challenge: 
      { url: 'https://i.instagram.com/challenge/21064053499/gwpROFClkI/',
        api_path: '/challenge/21064053499/gwpROFClkI/',
        hide_webview_header: true,
        lock: true,
        logout: false,
        native_flow: true },
     status: 'fail',
     error_type: 'checkpoint_challenge_required' },
  name: 'CheckpointError',
  message: 'Instagram call checkpoint for this action!',
  url: 'https://i.instagram.com/challenge/21064053499/gwpROFClkI/',
  session: 
   Session {
     _device: 
      Device {
        username: 'mylogin1576140718726',
        _md5int: 293131284193970,
        _api: 18,
        _release: '4.0.4',
        _dpi: '576',
        _resolution: '2560x1440',
        _info: [Object],
        _language: 'en_US' },
     _cookiesStore: 
      CookieMemoryStorage {
        storage: { idx: { 'i.instagram.com': 
   { '/': 
      { csrftoken: Cookie="csrftoken=3TGrnYgoe9J30wX2mggvrXAVRgm2CbSV; Expires=Thu, 10 Dec 2020 08:52:05 GMT; Max-Age=31449600; Path=/; Secure; hostOnly=true; aAge=22ms; cAge=22ms",
        rur: Cookie="rur=VLL; Path=/; Secure; HttpOnly; hostOnly=true; aAge=22ms; cAge=22ms",
        mid: Cookie="mid=XfH_tAABAAFzEIdx7LLd2nd-Ze5w; Expires=Sun, 09 Dec 2029 08:52:05 GMT; Max-Age=315360000; Path=/; Secure; hostOnly=true; aAge=22ms; cAge=22ms",
        urlgen: Cookie="urlgen="{\"212.79.122.115\": 202538}:1ifKCb:qy0DaMPormaUQEZ9ZFMqJdR9E8A"; Path=/; Secure; HttpOnly; hostOnly=true; aAge=22ms; cAge=22ms" } } } } },
     _jar: RequestJar { _jar: [Object] } } }
can't login
noook commented 3 years ago

This is due to the challenge, it should await while we click on the link to login...

AlanSyue commented 2 years ago

Can't login too

igdm-cli v0.5.3
? Instagram Username:  alansyue
? Instagram password:  [hidden]
⠋ Logging in as alansyue(node:12802) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use `node --trace-warnings ...` to show where the warning was created)
⠼ Logging in as alansyue(node:12802) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
[CheckpointError: Instagram call checkpoint for this action!] {
  json: {
    message: 'challenge_required',
    challenge: {
      url: 'https://i.instagram.com/challenge/AXHB5nnHW82nEFIyyvPtjOv3RqrViii4bmgJsIzCraj5POX3IdSEVyJEGihsmArF660PvQ/Afy_WnhE1rQjpgWadJBgyPlp5R40KkldkuJX4Sk4rvVsweQQjf8oxaXJsHxQaQzn4F5HfSor6seBhQ/',
      api_path: '/challenge/AXHB5nnHW82nEFIyyvPtjOv3RqrViii4bmgJsIzCraj5POX3IdSEVyJEGihsmArF660PvQ/Afy_WnhE1rQjpgWadJBgyPlp5R40KkldkuJX4Sk4rvVsweQQjf8oxaXJsHxQaQzn4F5HfSor6seBhQ/',
      hide_webview_header: true,
      lock: true,
      logout: false,
      native_flow: true,
      flow_render_type: 0
    },
    status: 'fail',
    error_type: 'checkpoint_challenge_required',
    exception_name: 'ChallengeRequired'
  },
  url: 'https://i.instagram.com/challenge/AXHB5nnHW82nEFIyyvPtjOv3RqrViii4bmgJsIzCraj5POX3IdSEVyJEGihsmArF660PvQ/Afy_WnhE1rQjpgWadJBgyPlp5R40KkldkuJX4Sk4rvVsweQQjf8oxaXJsHxQaQzn4F5HfSor6seBhQ/',
  session: Session {
    _device: Device {
      username: 'alansyue1659929832860',
      _md5int: 191834322127629,
      _api: 22,
      _release: '6.0.1',
      _dpi: '424',
      _resolution: '1080x1920',
      _info: [Object],
      _language: 'en_US'
    },
    _cookiesStore: CookieMemoryStorage {
      storage: { idx: {
        'i.instagram.com': {
          '/': {
            csrftoken: Cookie="csrftoken=DUw0NobDCxVjIzOVJtNdrxTP8LfsPzZt; Expires=Mon, 07 Aug 2023 03:37:17 GMT; Max-Age=31449600; Path=/; Secure; hostOnly=true; aAge=9ms; cAge=9ms",
            mid: Cookie="mid=YvCE6gABAAEfs7s2BbI2ULf79cUW; Expires=Wed, 07 Aug 2024 03:37:17 GMT; Max-Age=63072000; Path=/; Secure; hostOnly=true; aAge=17ms; cAge=17ms"
          }
        }
      } }
    },
    _jar: RequestJar { _jar: [CookieJar] }
  }
}
can't logi
noook commented 2 years ago

I forgot this repository existed, and I remember know why I did my own version, feel free to check this one out: https://github.com/noook/igdm-cli

AlanSyue commented 2 years ago

@noook It works!

HexagonWin commented 1 year ago

@noook While your client works it doesn't auto fetch the chats while being inside the chatroom so it is impossible for me to use it :( Is it possible to fix the login for this client, or make auto refreshing work on your client? The official client is plain unusable for me, while both clients seems great this one's broken and your's missing this one single functions. Not to offend you or anybody, thanks for developing good program.