RabbitMQ and Azure function

229 views
Skip to first unread message

Gilles Pol

unread,
Nov 18, 2021, 10:02:03 AM11/18/21
to rabbitmq-users
Hi All,
I'm new to RabbitMQ and new to Azure Functions and i can use some help.

We use cloudAMQP for our RabbitMQ hosting. I've got a python script that can read from a queue and write it to a json file and store it on azure blob.

Now I want an Azure function to be triggered by new messages on the queue and then write it to a json and store it on a blob.

My Azure function keeps failing:
[2021-11-18T14:55:10.565Z] Microsoft.Azure.WebJobs.Host: Error indexing method 'Functions.order_receive_trigg'. RabbitMQ.Client: None of the specified endpoints were reachable. RabbitMQ.Client: ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.
[2021-11-18T14:55:10.576Z] Error indexing method 'Functions.order_receive_trigg'
[2021-11-18T14:55:10.578Z] Microsoft.Azure.WebJobs.Host: Error indexing method 'Functions.order_receive_trigg'. RabbitMQ.Client: None of the specified endpoints were reachable. RabbitMQ.Client: ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.
[2021-11-18T14:55:10.579Z] Function 'Functions.order_receive_trigg' failed indexing and will be disabled.
[2021-11-18T14:55:10.580Z] No job functions found. Try making your job classes and methods public. If you're using binding extensions (e.g. Azure Storage, ServiceBus, Timers, etc.) make sure you've called the registration method for the extension(s) in your startup code (e.g. builder.AddAzureStorage(), builder.AddServiceBus(), builder.AddTimers(), etc.).
[2021-11-18T14:55:10.598Z] The 'order_receive_trigg' function is in error: Microsoft.Azure.WebJobs.Host: Error indexing method 'Functions.order_receive_trigg'. RabbitMQ.Client: None of the specified endpoints were reachable. RabbitMQ.Client: ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.

Any help would be very  much appreciated!
Kind regards,
Gilles

an...@84codes.com

unread,
Nov 18, 2021, 3:35:34 PM11/18/21
to rabbitmq-users

Hi Gilles, 

Send us an email with your instance name at sup...@cloudamqp.com and we can have a look.

Best,
Annie

Gilles Pol

unread,
Nov 19, 2021, 9:35:27 AM11/19/21
to rabbitmq-users
Dear Annie,
I have sent an email to support! Thanks in advance!
Regards,
Gilles
Reply all
Reply to author
Forward
0 new messages