Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error connecting to redis queue instance #2660

Open
1 task done
yknevenky opened this issue Jan 17, 2025 · 2 comments
Open
1 task done

Error connecting to redis queue instance #2660

yknevenky opened this issue Jan 17, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@yknevenky
Copy link

Information about bug

Please make sure that Redis Queue runs @ redis://127.0.0.1:11002. Redis reported error: Error 61 connecting to 127.0.0.1:11002. Connection refused.

While running the following command I got the above error.

bench --site hiring.ap install-app hrms

Module

HR

Version

FrappeHR version - version "5.2.0"
Frappe version - version "4.3.2"

I think these are the versions. I don't know how to find the versions. So the above might be wrong.

Installation method

manual install

Relevant log output / Stack trace / Full Error Message.

Installing erpnext...
Updating DocTypes for erpnext       : [========================================] 100%
Please make sure that Redis Queue runs @ redis://127.0.0.1:11002. Redis reported error: Error 61 connecting to 127.0.0.1:11002. Connection refused.
Please make sure that Redis Queue runs @ redis://127.0.0.1:11002. Redis reported error: Error 61 connecting to 127.0.0.1:11002. Connection refused.
Please make sure that Redis Queue runs @ redis://127.0.0.1:11002. Redis reported error: Error 61 connecting to 127.0.0.1:11002. Connection refused.
Please make sure that Redis Queue runs @ redis://127.0.0.1:11002. Redis reported error: Error 61 connecting to 127.0.0.1:11002. Connection refused.
Please make sure that Redis Queue runs @ redis://127.0.0.1:11002. Redis reported error: Error 61 connecting to 127.0.0.1:11002. Connection refused.
An error occurred while installing hrms: Error 61 connecting to 127.0.0.1:11002. Connection refused.
Traceback with variables (most recent call last):
  File "apps/frappe/frappe/commands/site.py", line 501, in install_app
    _install_app(app, verbose=context.verbose, force=force)
      context = CliCtxObj(sites=['hiring.ap'], force=False, profile=False, verbose=False)
      apps = ('hrms',)
      force = False
      _install_app = <function install_app at 0x10ac41580>
      filelock = <function filelock at 0x10ac2aca0>
      exit_code = 0
      site = 'hiring.ap'
      app = 'hrms'
      err = ConnectionError('Error 61 connecting to 127.0.0.1:11002. Connection refused.')
  File "apps/frappe/frappe/installer.py", line 284, in install_app
    install_app(required_app, verbose=verbose)
      name = 'hrms'
      verbose = False
      set_as_patched = True
      force = False
      sync_jobs = <function sync_jobs at 0x10af3d300>
      sync_for = <function sync_for at 0x10af3e340>
      sync_customizations = <function sync_customizations at 0x106e4f2e0>
      sync_fixtures = <function sync_fixtures at 0x10af3e700>
      app_hooks = {'accounting_dimension_doctypes': ['Expense Claim', 'Expense Claim Detail', 'Expense Taxes and Charges', 'Payroll Entry'], 'add_to_apps_screen': [{'name': 'hrms', 'logo': '/assets/hrms/images/frappe-hr-logo.svg', 'title': 'Frappe HR', 'route': '/app/hr', 'has_permission': 'hrms.hr.utils.check_app_permission'}], 'advance_payment_payable_doctypes': ['Gratuity', 'Employee Advance'], 'after_app_install': ['hrms.setup.after_app_install'], 'after_install': ['hrms.install.after_install'], 'after_migrate': ['hrms.setup.update_select_perm_after_install'], 'app_description': ['Modern HR and Payroll Software'], 'app_email': ['[email protected]'], 'app_home': ['/app/hr'], 'app_include_css': ['hrms.bundle.css'], 'app_include_js': ['hrms.bundle.js'], 'app_license': ['GNU General Public License (v3)'], 'app_logo_url': ['/assets/hrms/images/frappe-hr-logo.svg'], 'app_name': ['hrms'], 'app_publisher': ['Frappe Technologies Pvt. Ltd.'], 'app_title': ['Frappe HR'], 'bank_reconciliation_doctypes': ['Expen...
      installed_apps = ['frappe']
      app = 'frappe/erpnext'
      required_app = 'erpnext'
  File "apps/frappe/frappe/installer.py", line 322, in install_app
    frappe.get_attr(after_install)()
      name = 'erpnext'
      verbose = False
      set_as_patched = True
      force = False
      sync_jobs = <function sync_jobs at 0x10af3d300>
      sync_for = <function sync_for at 0x10af3e340>
      sync_customizations = <function sync_customizations at 0x106e4f2e0>
      sync_fixtures = <function sync_fixtures at 0x10af3e700>
      app_hooks = {'accounting_dimension_doctypes': ['GL Entry', 'Payment Ledger Entry', 'Sales Invoice', 'Purchase Invoice', 'Payment Entry', 'Asset', 'Stock Entry', 'Budget', 'Delivery Note', 'Sales Invoice Item', 'Purchase Invoice Item', 'Purchase Order Item', 'Sales Order Item', 'Journal Entry Account', 'Material Request Item', 'Delivery Note Item', 'Purchase Receipt Item', 'Stock Entry Detail', 'Payment Entry Deduction', 'Sales Taxes and Charges', 'Purchase Taxes and Charges', 'Shipping Rule', 'Landed Cost Item', 'Asset Value Adjustment', 'Asset Repair', 'Asset Capitalization', 'Loyalty Program', 'Stock Reconciliation', 'POS Profile', 'Opening Invoice Creation Tool', 'Opening Invoice Creation Tool Item', 'Subscription', 'Subscription Plan', 'POS Invoice', 'POS Invoice Item', 'Purchase Order', 'Purchase Receipt', 'Sales Order', 'Subcontracting Order', 'Subcontracting Order Item', 'Subcontracting Receipt', 'Subcontracting Receipt Item', 'Account Closing Balance', 'Supplier Quotation', 'Supplier Quota...
      installed_apps = ['frappe']
      before_install = 'erpnext.setup.install.check_setup_wizard_not_completed'
      out = None
      after_install = 'erpnext.setup.install.after_install'
  File "apps/erpnext/erpnext/setup/install.py", line 24, in after_install
    set_single_defaults()
  File "apps/erpnext/erpnext/setup/install.py", line 74, in set_single_defaults
    doc.save()
      dt = 'Selling Settings'
      default_values = (('customer_group', None), ('customer_defaults_section', None), ('dn_required', None), ('blanket_order_allowance', None), ('sales_update_frequency', 'Each Transaction'), ('cust_master_name', 'Customer Name'), ('allow_negative_rates_for_items', '0'), ('item_price_settings_section', None), ('validate_selling_price', '0'), ('column_break_4', None), ('column_break_15', None), ('allow_sales_order_creation_for_expired_quotation', '0'), ('role_to_override_stop_action', None), ('allow_multiple_items', '0'), ('editable_price_list_rate', '0'), ('sales_transactions_settings_section', None), ('enable_discount_accounting', '0'), ('hide_tax_id', '0'), ('so_required', None), ('territory', None), ('maintain_same_rate_action', 'Stop'), ('experimental_section', None), ('editable_bundle_item_rates', '0'), ('use_server_side_reactivity', '1'), ('enable_cutoff_date_on_bulk_delivery_note_creation', '0'), ('column_break_5', None), ('dont_reserve_sales_order_qty_on_sales_return', '0'), ('maintain_same_sales_ra...
      doc = <SellingSettings: doctype=Selling Settings Selling Settings>
      fieldname = 'selling_price_list'
      value = None
  File "apps/frappe/frappe/model/document.py", line 123, in wrapper
    return func(self, *args, **kwargs)
      self = <SellingSettings: doctype=Selling Settings Selling Settings>
      args = ()
      kwargs = {}
      func = <function Document.save at 0x1075aa2a0>
  File "apps/frappe/frappe/model/document.py", line 448, in save
    return self._save(*args, **kwargs)
      self = <SellingSettings: doctype=Selling Settings Selling Settings>
      args = ()
      kwargs = {}
  File "apps/frappe/frappe/model/document.py", line 123, in wrapper
    return func(self, *args, **kwargs)
      self = <SellingSettings: doctype=Selling Settings Selling Settings>
      args = ()
      kwargs = {}
      func = <function Document._save at 0x1075aa3e0>
  File "apps/frappe/frappe/model/document.py", line 502, in _save
    self.run_post_save_methods()
      self = <SellingSettings: doctype=Selling Settings Selling Settings>
      ignore_permissions = None
      ignore_version = None
  File "apps/frappe/frappe/model/document.py", line 1284, in run_post_save_methods
    self.run_method("on_update")
      self = <SellingSettings: doctype=Selling Settings Selling Settings>
  File "apps/frappe/frappe/model/document.py", line 1095, in run_method
    out = Document.hook(fn)(self, *args, **kwargs)
      self = <SellingSettings: doctype=Selling Settings Selling Settings>
      method = 'on_update'
      args = ()
      kwargs = {}
      fn = <function Document.run_method.<locals>.fn at 0x151c55d00>
  File "apps/frappe/frappe/model/document.py", line 1483, in composer
    return composed(self, method, *args, **kwargs)
      self = <SellingSettings: doctype=Selling Settings Selling Settings>
      args = ()
      kwargs = {}
      hooks = [<function clear_doctype_notifications at 0x10ec644a0>, <function process_workflow_actions at 0x10ec67740>, <function attach_files_to_document at 0x106dcc7c0>, <function apply at 0x10ec82c00>, <function update_due_date at 0x10ec82ca0>, <function apply_permissions_for_non_standard_user_type at 0x10ec90b80>, <function make_perm_log at 0x10ec90f40>]
      method = 'on_update'
      doc_events = {'*': {'on_update': ['frappe.desk.notifications.clear_doctype_notifications', 'frappe.workflow.doctype.workflow_action.workflow_action.process_workflow_actions', 'frappe.core.doctype.file.utils.attach_files_to_document', 'frappe.automation.doctype.assignment_rule.assignment_rule.apply', 'frappe.automation.doctype.assignment_rule.assignment_rule.update_due_date', 'frappe.core.doctype.user_type.user_type.apply_permissions_for_non_standard_user_type', 'frappe.core.doctype.permission_log.permission_log.make_perm_log'], 'after_rename': ['frappe.desk.notifications.clear_doctype_notifications'], 'on_cancel': ['frappe.desk.notifications.clear_doctype_notifications', 'frappe.workflow.doctype.workflow_action.workflow_action.process_workflow_actions', 'frappe.automation.doctype.assignment_rule.assignment_rule.apply'], 'on_trash': ['frappe.desk.notifications.clear_doctype_notifications', 'frappe.workflow.doctype.workflow_action.workflow_action.process_workflow_actions'], 'on_update_after_submit': ...
      handler = 'frappe.core.doctype.permission_log.permission_log.make_perm_log'
      composed = <function Document.hook.<locals>.compose.<locals>.runner at 0x151c57920>
      compose = <function Document.hook.<locals>.compose at 0x151c54c20>
      f = <function Document.run_method.<locals>.fn at 0x151c55d00>
  File "apps/frappe/frappe/model/document.py", line 1461, in runner
    add_to_return_value(self, fn(self, *args, **kwargs))
      self = <SellingSettings: doctype=Selling Settings Selling Settings>
      method = 'on_update'
      args = ()
      kwargs = {}
      add_to_return_value = <function Document.hook.<locals>.add_to_return_value at 0x151c577e0>
      fn = <function Document.run_method.<locals>.fn at 0x151c55d00>
      hooks = (<function clear_doctype_notifications at 0x10ec644a0>, <function process_workflow_actions at 0x10ec67740>, <function attach_files_to_document at 0x106dcc7c0>, <function apply at 0x10ec82c00>, <function update_due_date at 0x10ec82ca0>, <function apply_permissions_for_non_standard_user_type at 0x10ec90b80>, <function make_perm_log at 0x10ec90f40>)
  File "apps/frappe/frappe/model/document.py", line 1092, in fn
    return method_object(*args, **kwargs)
      self = <SellingSettings: doctype=Selling Settings Selling Settings>
      args = ()
      kwargs = {}
      method_object = <bound method SellingSettings.on_update of <SellingSettings: doctype=Selling Settings Selling Settings>>
      method = 'on_update'
  File "apps/erpnext/erpnext/selling/doctype/selling_settings/selling_settings.py", line 48, in on_update
    self.toggle_hide_tax_id()
      self = <SellingSettings: doctype=Selling Settings Selling Settings>
  File "apps/erpnext/erpnext/selling/doctype/selling_settings/selling_settings.py", line 77, in toggle_hide_tax_id
    make_property_setter(
      self = <SellingSettings: doctype=Selling Settings Selling Settings>
      _hide_tax_id = 0
      doctype = 'Sales Order'
  File "apps/frappe/frappe/custom/doctype/property_setter/property_setter.py", line 96, in make_property_setter
    property_setter.insert()
      doctype = 'Sales Order'
      fieldname = 'tax_id'
      property = 'hidden'
      value = 0
      property_type = 'Check'
      for_doctype = False
      validate_fields_for_doctype = False
      property_setter = <PropertySetter: doctype=Property Setter Sales Order-tax_id-hidden>
  File "apps/frappe/frappe/model/document.py", line 123, in wrapper
    return func(self, *args, **kwargs)
      self = <PropertySetter: doctype=Property Setter Sales Order-tax_id-hidden>
      args = ()
      kwargs = {}
      func = <function Document.insert at 0x1075aa0c0>
  File "apps/frappe/frappe/model/document.py", line 399, in insert
    self.run_before_save_methods()
      self = <PropertySetter: doctype=Property Setter Sales Order-tax_id-hidden>
      ignore_permissions = None
      ignore_links = None
      ignore_if_duplicate = False
      ignore_mandatory = None
      set_name = None
      set_child_names = True
  File "apps/frappe/frappe/model/document.py", line 1247, in run_before_save_methods
    self.run_method("validate")
      self = <PropertySetter: doctype=Property Setter Sales Order-tax_id-hidden>
  File "apps/frappe/frappe/model/document.py", line 1095, in run_method
    out = Document.hook(fn)(self, *args, **kwargs)
      self = <PropertySetter: doctype=Property Setter Sales Order-tax_id-hidden>
      method = 'validate'
      args = ()
      kwargs = {}
      fn = <function Document.run_method.<locals>.fn at 0x151c554e0>
  File "apps/frappe/frappe/model/document.py", line 1483, in composer
    return composed(self, method, *args, **kwargs)
      self = <PropertySetter: doctype=Property Setter Sales Order-tax_id-hidden>
      args = ()
      kwargs = {}
      hooks = []
      method = 'validate'
      doc_events = {'*': {'on_update': ['frappe.desk.notifications.clear_doctype_notifications', 'frappe.workflow.doctype.workflow_action.workflow_action.process_workflow_actions', 'frappe.core.doctype.file.utils.attach_files_to_document', 'frappe.automation.doctype.assignment_rule.assignment_rule.apply', 'frappe.automation.doctype.assignment_rule.assignment_rule.update_due_date', 'frappe.core.doctype.user_type.user_type.apply_permissions_for_non_standard_user_type', 'frappe.core.doctype.permission_log.permission_log.make_perm_log'], 'after_rename': ['frappe.desk.notifications.clear_doctype_notifications'], 'on_cancel': ['frappe.desk.notifications.clear_doctype_notifications', 'frappe.workflow.doctype.workflow_action.workflow_action.process_workflow_actions', 'frappe.automation.doctype.assignment_rule.assignment_rule.apply'], 'on_trash': ['frappe.desk.notifications.clear_doctype_notifications', 'frappe.workflow.doctype.workflow_action.workflow_action.process_workflow_actions'], 'on_update_after_submit': ...
      composed = <function Document.hook.<locals>.compose.<locals>.runner at 0x151c55620>
      compose = <function Document.hook.<locals>.compose at 0x151c54e00>
      f = <function Document.run_method.<locals>.fn at 0x151c554e0>
  File "apps/frappe/frappe/model/document.py", line 1461, in runner
    add_to_return_value(self, fn(self, *args, **kwargs))
      self = <PropertySetter: doctype=Property Setter Sales Order-tax_id-hidden>
      method = 'validate'
      args = ()
      kwargs = {}
      add_to_return_value = <function Document.hook.<locals>.add_to_return_value at 0x151c553a0>
      fn = <function Document.run_method.<locals>.fn at 0x151c554e0>
      hooks = ()
  File "apps/frappe/frappe/model/document.py", line 1092, in fn
    return method_object(*args, **kwargs)
      self = <PropertySetter: doctype=Property Setter Sales Order-tax_id-hidden>
      args = ()
      kwargs = {}
      method_object = <bound method PropertySetter.validate of <PropertySetter: doctype=Property Setter Sales Order-tax_id-hidden>>
      method = 'validate'
  File "apps/frappe/frappe/custom/doctype/property_setter/property_setter.py", line 43, in validate
    delete_property_setter(self.doc_type, self.property, self.field_name, self.row_name)
      self = <PropertySetter: doctype=Property Setter Sales Order-tax_id-hidden>
  File "apps/frappe/frappe/custom/doctype/property_setter/property_setter.py", line 113, in delete_property_setter
    frappe.get_doc("Property Setter", ps).delete(ignore_permissions=True, force=True)
      doc_type = 'Sales Order'
      property = 'hidden'
      field_name = 'tax_id'
      row_name = None
      filters = {'doc_type': 'Sales Order', 'property': 'hidden', 'field_name': 'tax_id'}
      property_setters = (('Sales Order-tax_id-hidden',),)
      ps = ('Sales Order-tax_id-hidden',)
  File "apps/frappe/frappe/model/document.py", line 123, in wrapper
    return func(self, *args, **kwargs)
      self = <PropertySetter: doctype=Property Setter Sales Order-tax_id-hidden>
      args = ()
      kwargs = {'ignore_permissions': True, 'force': True}
      func = <function Document.delete at 0x1075abd80>
  File "apps/frappe/frappe/model/document.py", line 1218, in delete
    return frappe.delete_doc(
      self = <PropertySetter: doctype=Property Setter Sales Order-tax_id-hidden>
      ignore_permissions = True
      force = True
      delete_permanently = False
  File "apps/frappe/frappe/__init__.py", line 1349, in delete_doc
    return frappe.model.delete_doc.delete_doc(
      doctype = 'Property Setter'
      name = 'Sales Order-tax_id-hidden'
      force = True
      ignore_doctypes = None
      for_reload = False
      ignore_permissions = True
      flags = {'for_update': None, 'ignore_permissions': True}
      ignore_on_trash = False
      ignore_missing = True
      delete_permanently = False
      frappe = <module 'frappe' from 'apps/frappe/frappe/__init__.py'>
  File "apps/frappe/frappe/model/delete_doc.py", line 152, in delete_doc
    frappe.enqueue(
      doctype = 'Property Setter'
      name = 'Sales Order-tax_id-hidden'
      force = True
      ignore_doctypes = []
      for_reload = False
      ignore_permissions = True
      flags = {'for_update': None, 'ignore_permissions': True}
      ignore_on_trash = False
      ignore_missing = True
      delete_permanently = False
      is_virtual = 0
      names = ['Sales Order-tax_id-hidden']
      doc = <PropertySetter: doctype=Property Setter Sales Order-tax_id-hidden>
  File "apps/frappe/frappe/__init__.py", line 2262, in enqueue
    return frappe.utils.background_jobs.enqueue(*args, **kwargs)
      args = ('frappe.model.delete_doc.delete_dynamic_links',)
      kwargs = {'doctype': 'Property Setter', 'name': 'Sales Order-tax_id-hidden', 'now': False, 'enqueue_after_commit': True}
      frappe = <module 'frappe' from 'apps/frappe/frappe/__init__.py'>
  File "apps/frappe/frappe/utils/background_jobs.py", line 141, in enqueue
    q = get_queue(queue, is_async=is_async)
      method = 'frappe.model.delete_doc.delete_dynamic_links'
      queue = 'default'
      timeout = None
      event = None
      is_async = True
      job_name = None
      now = False
      enqueue_after_commit = True
      on_success = None
      on_failure = None
      at_front = False
      job_id = 'hiring.ap::e3b7031a-678b-4c4a-a2af-cc08c8e3a624'
      deduplicate = False
      kwargs = {'doctype': 'Property Setter', 'name': 'Sales Order-tax_id-hidden'}
      call_directly = False
  File "apps/frappe/frappe/utils/background_jobs.py", line 496, in get_queue
    return Queue(generate_qname(qtype), connection=get_redis_conn(), is_async=is_async)
      qtype = 'default'
      is_async = True
  File "env/lib/python3.13/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
      args = ()
      kw = {}
      f = <function get_redis_conn at 0x10af2ff60>
      self = <Retrying object at 0x10af34690 (stop=<tenacity.stop.stop_after_attempt object at 0x10af34550>, wait=<tenacity.wait.wait_fixed object at 0x10aece270>, sleep=<function sleep at 0x10aa25c60>, retry=<tenacity.retry.retry_if_exception_type object at 0x10ae87100>, before=<function before_nothing at 0x10aa27d80>, after=<function after_nothing at 0x10aa540e0>)>
  File "env/lib/python3.13/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
      self = <Retrying object at 0x10af34690 (stop=<tenacity.stop.stop_after_attempt object at 0x10af34550>, wait=<tenacity.wait.wait_fixed object at 0x10aece270>, sleep=<function sleep at 0x10aa25c60>, retry=<tenacity.retry.retry_if_exception_type object at 0x10ae87100>, before=<function before_nothing at 0x10aa27d80>, after=<function after_nothing at 0x10aa540e0>)>
      fn = <function get_redis_conn at 0x10af2ff60>
      args = ()
      kwargs = {}
      retry_state = <RetryCallState 5653298352: attempt #5; slept for 4.0; last result: failed (ConnectionError Error 61 connecting to 127.0.0.1:11002. Connection refused.)>
      do = <tenacity.DoAttempt object at 0x1518648a0>
  File "env/lib/python3.13/site-packages/tenacity/__init__.py", line 325, in iter
    raise retry_exc.reraise()
      self = <Retrying object at 0x10af34690 (stop=<tenacity.stop.stop_after_attempt object at 0x10af34550>, wait=<tenacity.wait.wait_fixed object at 0x10aece270>, sleep=<function sleep at 0x10aa25c60>, retry=<tenacity.retry.retry_if_exception_type object at 0x10ae87100>, before=<function before_nothing at 0x10aa27d80>, after=<function after_nothing at 0x10aa540e0>)>
      retry_state = <RetryCallState 5653298352: attempt #5; slept for 4.0; last result: failed (ConnectionError Error 61 connecting to 127.0.0.1:11002. Connection refused.)>
      fut = <Future at 0x151864b00 state=finished raised ConnectionError>
      is_explicit_retry = False
      retry_exc = RetryError(<Future at 0x151864b00 state=finished raised ConnectionError>)
  File "env/lib/python3.13/site-packages/tenacity/__init__.py", line 158, in reraise
    raise self.last_attempt.result()
      self = RetryError(<Future at 0x151864b00 state=finished raised ConnectionError>)
  File "/opt/homebrew/Cellar/python@3.13/3.13.1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/concurrent/futures/_base.py", line 449, in result
    return self.__get_result()
      self = None
      timeout = None
  File "/opt/homebrew/Cellar/python@3.13/3.13.1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
      self = None
  File "env/lib/python3.13/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
      self = <Retrying object at 0x10af34690 (stop=<tenacity.stop.stop_after_attempt object at 0x10af34550>, wait=<tenacity.wait.wait_fixed object at 0x10aece270>, sleep=<function sleep at 0x10aa25c60>, retry=<tenacity.retry.retry_if_exception_type object at 0x10ae87100>, before=<function before_nothing at 0x10aa27d80>, after=<function after_nothing at 0x10aa540e0>)>
      fn = <function get_redis_conn at 0x10af2ff60>
      args = ()
      kwargs = {}
      retry_state = <RetryCallState 5653298352: attempt #5; slept for 4.0; last result: failed (ConnectionError Error 61 connecting to 127.0.0.1:11002. Connection refused.)>
      do = <tenacity.DoAttempt object at 0x1518648a0>
  File "apps/frappe/frappe/utils/background_jobs.py", line 545, in get_redis_conn
    return get_redis_connection_without_auth()
      username = None
      password = ********
      conf = {'background_workers': 1, 'file_watcher_port': 6789, 'frappe_user': 'vc', 'gunicorn_workers': 17, 'live_reload': True, 'rebase_on_pull': False, 'redis_cache': 'redis://127.0.0.1:13002', 'redis_queue': 'redis://127.0.0.1:11002', 'redis_socketio': 'redis://127.0.0.1:13002', 'restart_supervisor_on_update': False, 'restart_systemd_on_update': False, 'serve_default_site': True, 'shallow_clone': True, 'socketio_port': 9002, 'use_redis_auth': False, 'webserver_port': 8002, 'db_name': '_2863df3081977761', 'db_password': '93p0AqtO0ouWDH3e', 'db_type': 'mariadb', 'db_user': '_2863df3081977761', 'db_socket': None, 'db_host': '127.0.0.1', 'db_port': 3306}
      cred = {}
  File "apps/frappe/frappe/utils/background_jobs.py", line 567, in get_redis_connection_without_auth
    _redis_queue_conn = RedisQueue.get_connection()
  File "apps/frappe/frappe/utils/redis_queue.py", line 36, in get_connection
    conn.ping()
      cls = <class 'frappe.utils.redis_queue.RedisQueue'>
      username = None
      password = ********
      conf = {'background_workers': 1, 'file_watcher_port': 6789, 'frappe_user': 'vc', 'gunicorn_workers': 17, 'live_reload': True, 'rebase_on_pull': False, 'redis_cache': 'redis://127.0.0.1:13002', 'redis_queue': 'redis://127.0.0.1:11002', 'redis_socketio': 'redis://127.0.0.1:13002', 'restart_supervisor_on_update': False, 'restart_systemd_on_update': False, 'serve_default_site': True, 'shallow_clone': True, 'socketio_port': 9002, 'use_redis_auth': False, 'webserver_port': 8002, 'db_name': '_2863df3081977761', 'db_password': '93p0AqtO0ouWDH3e', 'db_type': 'mariadb', 'db_user': '_2863df3081977761', 'db_socket': None, 'db_host': '127.0.0.1', 'db_port': 3306}
      conn = <redis.client.Redis(<redis.connection.ConnectionPool(<redis.connection.Connection(host=127.0.0.1,port=11002,db=0)>)>)>
  File "env/lib/python3.13/site-packages/redis/commands/core.py", line 1212, in ping
    return self.execute_command("PING", **kwargs)
      self = <redis.client.Redis(<redis.connection.ConnectionPool(<redis.connection.Connection(host=127.0.0.1,port=11002,db=0)>)>)>
      kwargs = {}
  File "env/lib/python3.13/site-packages/redis/client.py", line 559, in execute_command
    return self._execute_command(*args, **options)
      self = <redis.client.Redis(<redis.connection.ConnectionPool(<redis.connection.Connection(host=127.0.0.1,port=11002,db=0)>)>)>
      args = ('PING',)
      options = {}
  File "env/lib/python3.13/site-packages/redis/client.py", line 565, in _execute_command
    conn = self.connection or pool.get_connection(command_name, **options)
      self = <redis.client.Redis(<redis.connection.ConnectionPool(<redis.connection.Connection(host=127.0.0.1,port=11002,db=0)>)>)>
      args = ('PING',)
      options = {}
      pool = <redis.connection.ConnectionPool(<redis.connection.Connection(host=127.0.0.1,port=11002,db=0)>)>
      command_name = 'PING'
  File "env/lib/python3.13/site-packages/redis/connection.py", line 1422, in get_connection
    connection.connect()
      self = <redis.connection.ConnectionPool(<redis.connection.Connection(host=127.0.0.1,port=11002,db=0)>)>
      command_name = 'PING'
      keys = ********
      options = {}
      connection = <redis.connection.Connection(host=127.0.0.1,port=11002,db=0)>
  File "env/lib/python3.13/site-packages/redis/connection.py", line 363, in connect
    raise ConnectionError(self._error_message(e))
      self = <redis.connection.Connection(host=127.0.0.1,port=11002,db=0)>
redis.exceptions.ConnectionError: Error 61 connecting to 127.0.0.1:11002. Connection refused.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@yknevenky yknevenky added the bug Something isn't working label Jan 17, 2025
@yknevenky
Copy link
Author

@ruchamahabal Can you please look into this?

@asmitahase
Copy link
Collaborator

@yknevenky Did you have bench running in a separate terminal window while installing the app?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants