question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Source: IMAP - Can't select Mailbox

See original GitHub issue

Describe the bug It’s not possible to get Mailboxes from IMAP email account.

  • With Port 143 the following error appear: 139819960051584:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:
  • With Port 993: Error, please try again

Feedback from email provider:

You can use TLS 1.2 and TLS 1.3 on the server. The error message indicates an outdated SSL version.

To Reproduce Steps to reproduce the behavior:

  1. Got to Accounts
  2. Add a imap account with port 993 or 143
  3. Got Source
  4. Add a new IMAP Source (choose “New Email”)
  5. Select IMAP Account
  6. Try to select mailbox --> see error

Expected behavior Possibility to choose a mailbox

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Firefox 105.0.1, Chrome 106.0.5249.62

Additional context email provider support has been requested Feedback from email provider:

You can use TLS 1.2 and TLS 1.3 on the server. The error message indicates an outdated SSL version.

Feeback from Piere in Pipedream support forum with an assumption (https://pipedream.com/community/t/imap-connection-error-ssl3-get-record-wrong-version-number/3374/4)

It may be that the underlying NPM package for connecting to mailboxes has an issue: PipedreamHQ/pipedream/blob/master/components/imap/imap.app.mjs#L1

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
DilanAthukoralacommented, Oct 4, 2022

Hi @david-novafacile I am not able to reproduce the error, the source is working with other email providers (gmail, outlook). It could be a mismatch with the underlying server’s TLS version. I will add this to our backlog and prioritize it so our dev team can further investigate this and confirm the root cause. Please follow this ticket for updates.

0reactions
david-novafacilecommented, Oct 3, 2022

Hi, no the error is still there.

I just tested as wished with gmail but with the other hosting provider (as described) it doesn’t work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot issues with IMAP mailbox migration - Exchange
Troubleshoots issues with migrating a mailbox from an on-premises or third-party IMAP system to Exchange Online.
Read more >
IMAP mail error: Message contains invalid… - Apple Community
IMAP mail error: Message contains invalid header. · Select the mailbox under "MAILBOXES". · Chose the "Mailbox -> Export Mailbox..." menu option.
Read more >
2835 Unable to open this mailbox ERROR. Using IMAP.
I'm getting error: ERROR: Could not complete request. Query: SELECT "INBOX" Reason Given: Unable to open this mailbox.
Read more >
[bug-mailutils] cannot move mail to imap mailbox - GNU mailing lists
[bug-mailutils] cannot move mail to imap mailbox ... [READ-WRITE] Select completed (0.000 secs). movemail: number of messages in source mailbox: 1 movemail: ...
Read more >
Fails to copy or move multiple selected messages from IMAP ...
Reproducible: Always Steps to Reproduce: 1. Open IMAP folder (message headers download) 2. Select multiple messages using Shift-click or Ctrl-click or Ctrl-A 3....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found