skip to Main Content

Amazon web services – Celery Not able to connect to SQS using boto3 credentials

I'm trying to use Celery with SQS with the below config. But I receive InvalidClientToken error. Could some one help me to resolve this? I'm using celery[sqs]==5.3.6, Kombu==5.3.7 # Celery configuration SQS_QUEUE_URL = f'https://sqs.us-east-2.amazonaws.com/{settings.aws_account}/{settings.celery_worker_queue}' result_backend = f'db+postgresql://{settings.pg_db_config.user}:{settings.pg_db_config.pwd}@{settings.pg_db_config.host}:5432/{settings.pg_db_config.db_name}' pg_db_conn_string = f"postgresql://{settings.pg_db_config.user}:{settings.pg_db_config.pwd}@{settings.pg_db_config.host}:{settings.pg_db_config.port}/{settings.pg_db_config.db_name}"…

VIEW QUESTION
Back To Top
Search