igdm-cli icon indicating copy to clipboard operation
igdm-cli copied to clipboard

Can't login to my account

Open enes3626 opened this issue 6 years ago • 6 comments

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.

enes3626 avatar Oct 22 '19 13:10 enes3626

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

burovytskyi avatar Dec 12 '19 08:12 burovytskyi

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

noook avatar Nov 06 '20 12:11 noook

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

AlanSyue avatar Aug 08 '22 03:08 AlanSyue

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

noook avatar Aug 22 '22 12:08 noook

@noook It works!

AlanSyue avatar Aug 25 '22 09:08 AlanSyue

@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.

HexagonWin avatar Nov 02 '22 16:11 HexagonWin