I am using Ignition 8 and trying to read the data from tags and send it to RabbitMQ queue using pika library.
But when I try to establish a connection using python Pika library it return error as
‘module’ object has no attribute ‘SOMAXCONN’
The script runs fine when executed independently outside the Ignition environment, but the same script fails when executed on Tag or Console script with above error.
Could you please suggest?
credentials = pika.PlainCredentials('xxxx', 'xxxx') parameters = pika.ConnectionParameters('xx.xxx.xxx.xxx',5672,'/',credentials) connection = pika.BlockingConnection(parameters)