Connection refused error on CentOS 7.2
  • Trying to run Booktype on CentOS 7.2 (no other choice, that's what our university offers). Everything works, except for exporting the books. The logs show the following:

    [19/May/2016 12:24:03] ERROR [sputnik:180] [remote_publish_book] Unknown exception.
    [19/May/2016 12:24:03] ERROR [sputnik:181] [Errno 111] Connection refused
    Traceback (most recent call last):
      File "/home/mjeltsch/mybooktype/Booktype/lib/sputnik/views.py", line 165, in dispatcher
        ret = fnc(request, message, **a)
      File "/home/mjeltsch/mybooktype/Booktype/lib/booktype/apps/edit/channel.py", line 2059, in remote_publish_book
        formats=message["formats"]))
      File "/usr/lib/python2.7/site-packages/celery/app/task.py", line 565, in apply_async
        **dict(self._get_exec_options(), **options)
      File "/usr/lib/python2.7/site-packages/celery/app/base.py", line 354, in send_task
        reply_to=reply_to or self.oid, **options
      File "/usr/lib/python2.7/site-packages/celery/app/amqp.py", line 310, in publish_task
        **kwargs
      File "/usr/lib/python2.7/site-packages/kombu/messaging.py", line 172, in publish
        routing_key, mandatory, immediate, exchange, declare)
      File "/usr/lib/python2.7/site-packages/kombu/connection.py", line 457, in _ensured
        interval_max)
      File "/usr/lib/python2.7/site-packages/kombu/connection.py", line 369, in ensure_connection
        interval_start, interval_step, interval_max, callback)
      File "/usr/lib/python2.7/site-packages/kombu/utils/__init__.py", line 246, in retry_over_time
        return fun(*args, **kwargs)
      File "/usr/lib/python2.7/site-packages/kombu/connection.py", line 237, in connect
        return self.connection
      File "/usr/lib/python2.7/site-packages/kombu/connection.py", line 742, in connection
        self._connection = self._establish_connection()
      File "/usr/lib/python2.7/site-packages/kombu/connection.py", line 697, in _establish_connection
        conn = self.transport.establish_connection()
      File "/usr/lib/python2.7/site-packages/kombu/transport/pyamqp.py", line 116, in establish_connection
        conn = self.Connection(**opts)
      File "/usr/lib/python2.7/site-packages/amqp/connection.py", line 165, in __init__
        self.transport = self.Transport(host, connect_timeout, ssl)
      File "/usr/lib/python2.7/site-packages/amqp/connection.py", line 186, in Transport
        return create_transport(host, connect_timeout, ssl)
      File "/usr/lib/python2.7/site-packages/amqp/transport.py", line 299, in create_transport
        return TCPTransport(host, connect_timeout)
      File "/usr/lib/python2.7/site-packages/amqp/transport.py", line 95, in __init__
        raise socket.error(last_err)
    error: [Errno 111] Connection refused

    Any help is appreciated.


    Dr. Michael Jeltsch, group leader
    Wihuri Research Institute & Translational Cancer Biology Program
    University of Helsinki
    Haartmaninkatu 8 (Biomedicum Helsinki)
    FIN-00014 Helsinki
    +358-2941-25514 (work)
    +358-50-3200235 (mobile)
    michael@jeltsch.org
    http://lab.jeltsch.org
    http://jeltsch.org

    Follow my lab's Google+ page at https://plus.google.com/+TheJeltschLaboratoryHelsinki

  • 1 Comment sorted by
  • Hi Michael, 

    As discussed on the phone - get back to us as soon as you continue working on that.  

    Best,
    Julian