Menu

#67 Bug with latest version of chrome and iron middleware

closed
nobody
None
2016-05-03
2016-05-03
Anonymous
No

Originally created by: Rodrive

There is known bug with chrome and meteor that breaks mongoclient once you are connected. More precisely with iron middleware.

http://stackoverflow.com/questions/36031706/middleware-stack-js31-uncaught-error-handler-with-name-route-already-exists

I fixed it by doing as someone said on the thread:
meteor update iron:middleware-stack

It seems that didnt break anything :)

Discussion

  • Anonymous

    Anonymous - 2016-05-03

    Originally posted by: rsercano

    Thanks for sharing. I was about to create a FAQ section on wiki, will add this asap. Also after migrating 1.3+ [#37]. I guess this issue will be fixed automatically since it doesn't use iron router :)

     

    Related

    Tickets: #37

  • Anonymous

    Anonymous - 2016-05-03

    Originally posted by: Rodrive

    Yes it should. Well being in version 1.2 is good for me since i use phpstorm and the debugger seems to be broken with the latest version of meteor :p

     
  • Anonymous

    Anonymous - 2016-05-03

    Originally posted by: rsercano

    Oh I see :) Meteor 1.3 has a lot issues, I'm waiting a stable version to migrate

     
  • Anonymous

    Anonymous - 2016-05-03

    Originally posted by: Rodrive

    I'm totally new with meteor and nodejs driver. I have a question, if i understand right for each command you are opening a new connection?

     
  • Anonymous

    Anonymous - 2016-05-03

    Originally posted by: rsercano

    Yeah, that's correct, that's how drivers work. There's a connection pool that mongodb lets you to allow take one or more and then you have to close this connection to prevent further issues

     
  • Anonymous

    Anonymous - 2016-05-03

    Originally posted by: Rodrive

    Oh ok when you make a Meteor.npmRequire('mongodb').MongoClient if there is already a connection to this mongodb service then the driver will return you this connection instead of creating a 'real' new connection.

     
  • Anonymous

    Anonymous - 2016-05-03

    Originally posted by: rsercano

    Let's keep this talk on gitter :)

     
  • Anonymous

    Anonymous - 2016-05-03

    Ticket changed by: rsercano

    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB