Well, interestingly, after some more troubleshooting, I am finding that indeed, Celery is somehow opening up a HTTP request to Bonsai ES for some odd reason. I don't know why, and I don't know how, but it is impacting me from saving to the Heroku Postgres. but I believe it is...
I've submitted a ticket to Heroku about this odd issue. - Rise On Monday, April 7, 2014 7:50:22 PM UTC-7, Rise Riyo wrote: > > Hi, all, > > Django==1.6.2 > PIL==1.1.7 > Pillow==2.3.0 > celery==3.1.9 > django-celery==3.1.9 > pyelasticsearch==0.6.1 > > From within one of my celery tasks when making thumbnails, I noticed the > following error: > > 2014-04-08T01:15:32.046053+00:00 app[celery.1]: [2014-04-07 18:15:32,045: > INFO/Worker-1] Resetting dropped connection: > pepper-671931.us-east-1.bonsai.io > > The odd thing is when this error occurs (which apparently is my connection > to my Bonsai ElasticSearch add-on), my thumbnails URLs fail to be saved to > my Heroku Postgres database from within the Celery task. So far, this is > the only case scenario that I've seen it occur. > > Most likely there are a number of issues involved, and I have been > researching some possible ones: timing, transactions within Django view and > Celery tasks, etc. But I am wondering why is this particular error > occurring in the first place with Bonsai Elasticsearch? Is Celery handling > this error, and if so, why? I have no code in my Celery task that involves > ES at all. > > I've googled, searched through StackOverflow, and searched this google > group as well, and will continue to search. I've submitted a support ticket > to Heroku as well. > > Any assistance or explanation would be greatly appreciated. Thanks well in > advance. - Rise > -- -- You received this message because you are subscribed to the Google Groups "Heroku" group. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/heroku?hl=en_US?hl=en --- You received this message because you are subscribed to the Google Groups "Heroku Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to heroku+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.