Skip to content

IMAP email scrapping fails after running for some time #77

Description

@Kymer0615

Thank you for creating this project — it has been really helpful!

However, I’ve encountered an issue: email scraping works fine when the Docker container first starts, but after some time, IMAP starts failing. If I restart the container, it works again.

My current workaround is to restart the container every 30 minutes using crontab, but I’d like to understand what might be causing the IMAP connection to fail over time.

Here are some logs:

mkfd | [IMAP] Reconnecting in 10s... mkfd | [IMAP] Reconnecting in 10s... mkfd | [IMAP] Reconnecting in 10s... mkfd | [IMAP] Reconnecting in 10s... mkfd | [IMAP] Reconnecting in 10s... mkfd | [IMAP] Reconnecting in 10s... mkfd | [IMAP] Reconnecting in 10s... mkfd | [IMAP] Reconnecting in 10s... mkfd | [IMAP] Reconnecting in 10s... mkfd | [IMAP] Reconnecting in 10s... mkfd | [IMAP] Failed to start: Error: Timed out while connecting to server mkfd | [IMAP] Reconnecting in 10s... mkfd | [IMAP] Reconnecting in 10s... mkfd | [IMAP] Reconnecting in 10s... mkfd | at Timeout._onTimeout (/app/node_modules/node-imap/lib/Connection.js:273:19) mkfd | [IMAP] Reconnecting in 10s... mkfd | [IMAP] Failed to start: Error: Timed out while connecting to server mkfd | at Timeout._onTimeout (/app/node_modules/node-imap/lib/Connection.js:273:19) mkfd | [IMAP] Reconnecting in 10s... mkfd | [IMAP] Reconnecting in 10s... mkfd | [IMAP] Failed to start: Error: Timed out while connecting to server mkfd | [IMAP] Reconnecting in 10s... mkfd | at Timeout._onTimeout (/app/node_modules/node-imap/lib/Connection.js:273:19)

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