Skip to content

[O365] Connection fails with "no response" #134

Description

@attie-argentum

I've been using this to backup emails from outlook.office365.com for some time (thanks, great project!)

Unfortunately, a while ago, it started failing - looking in to it now, I run the setup subcommand, select the account, and use the "test connection" action... after a second or so it responds as follows:

Choose an action:
[...]
5. test connection
[...]
13. (q) return to main menu
?  5
No response
Press a key

Attempting to run a backup produces the following output:

I, [2022-10-07T16:22:28.218810 #9]  INFO -- : Running backup of account: xxx@xxx.xxx
/usr/local/lib/ruby/gems/3.1.0/gems/net-imap-0.2.3/lib/net/imap.rb:1245:in `get_tagged_response': LOGIN failed. (Net::IMAP::NoResponseError)
        from /usr/local/lib/ruby/gems/3.1.0/gems/net-imap-0.2.3/lib/net/imap.rb:1299:in `block in send_command'
        from /usr/local/lib/ruby/3.1.0/monitor.rb:202:in `synchronize'
        from /usr/local/lib/ruby/3.1.0/monitor.rb:202:in `mon_synchronize'
        from /usr/local/lib/ruby/gems/3.1.0/gems/net-imap-0.2.3/lib/net/imap.rb:1281:in `send_command'
        from /usr/local/lib/ruby/gems/3.1.0/gems/net-imap-0.2.3/lib/net/imap.rb:422:in `login'
        from /usr/local/lib/ruby/3.1.0/forwardable.rb:238:in `login'
        from /usr/local/bundle/gems/imap-backup-8.0.1/lib/imap/backup/account/connection/client_factory.rb:31:in `block in run'
        from /usr/local/bundle/gems/imap-backup-8.0.1/lib/retry_on_error.rb:4:in `retry_on_error'
        from /usr/local/bundle/gems/imap-backup-8.0.1/lib/imap/backup/account/connection/client_factory.rb:19:in `run'
        from /usr/local/bundle/gems/imap-backup-8.0.1/lib/imap/backup/account/connection.rb:114:in `client'
        from /usr/local/bundle/gems/imap-backup-8.0.1/lib/imap/backup/account/connection.rb:37:in `run_backup'
        from /usr/local/bundle/gems/imap-backup-8.0.1/lib/imap/backup/cli/backup.rb:17:in `block in run'
        from /usr/local/bundle/gems/imap-backup-8.0.1/lib/imap/backup/cli/helpers.rb:91:in `block in each_connection'
        from /usr/local/bundle/gems/imap-backup-8.0.1/lib/imap/backup/cli/helpers.rb:88:in `each'
        from /usr/local/bundle/gems/imap-backup-8.0.1/lib/imap/backup/cli/helpers.rb:88:in `each_connection'
        from /usr/local/bundle/gems/imap-backup-8.0.1/lib/imap/backup/cli/backup.rb:16:in `run'
        from /usr/local/bundle/gems/imap-backup-8.0.1/lib/imap/backup/cli.rb:58:in `backup'
        from /usr/local/bundle/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
        from /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
        from /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
        from /usr/local/bundle/gems/thor-1.2.1/lib/thor/base.rb:485:in `start'
        from /usr/local/bundle/gems/imap-backup-8.0.1/bin/imap-backup:12:in `block in <main>'
        from /usr/local/bundle/gems/imap-backup-8.0.1/lib/imap/backup/logger.rb:34:in `sanitize_stderr'
        from /usr/local/bundle/gems/imap-backup-8.0.1/bin/imap-backup:11:in `<main>'

I have updated to v8.0.1, and I've tried changing / confirming my password with no joy.

Any ideas? Happy to provide more info if it would be helpful!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions