Giter Site home page Giter Site logo

Comments (2)

Necoro avatar Necoro commented on June 20, 2024

Short background: feed2imap-go opens multiple connections to the IMAP-server, so that whenever a feed has finished pulling, parsing and checking against the cache, it can grab a connection and make it do its bidding.

At first, only one connection is established (to check that server is reachable, credentials fit, etc). The other connections are then opened in the background (and added to the pool as they come).

From what I can figure, feed2imap-go was still in the process of establishing those connections when the main program was done and issued the Disconnect-command. Reason: The error says that the channel that adds new connections to the connection pool has been closed.

So, this is indeed a bug: feed2imap-go should handle this more graceful.

Could you check running with the -v flag to see whether this diagnosis fits? In regular cases you should see 5 "connected" messages and one "disconnected". In your error case there should be less than 5 "connected" and the error message should be around the "Disconnect"

I also opened #98 to make the number of parallel connections configurable, so that it can be reduced when the mail server does not support multiple connections.

from feed2imap-go.

nomeata avatar nomeata commented on June 20, 2024

This only happens rarely, so running the command with -v on the command line I only see the regular behavior you describe, unfortunately.

from feed2imap-go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.