Open guo3561101 opened 2 years ago
docker exec -it st2actionrunner bash
/opt/stackstorm/st2/bin/st2sensorcontainer --config-file=/etc/st2/st2.docker.conf --sensor-ref=email.SMTPSensor
2022-05-30 08:36:15,808 ERROR [-] Traceback (most recent call last):
2022-05-30 08:36:15,808 ERROR [-] File "/opt/stackstorm/st2/lib/python3.8/site-packages/st2reactor/container/sensor_wrapper.py", line 449, in
2022-05-30 08:36:15,809 ERROR [-] 2022-05-30 08:36:15,809 ERROR [-] obj.run() 2022-05-30 08:36:15,809 ERROR [-]
2022-05-30 08:36:15,809 ERROR [-] File "/opt/stackstorm/st2/lib/python3.8/site-packages/st2reactor/container/sensor_wrapper.py", line 273, in run
2022-05-30 08:36:15,809 ERROR [-] 2022-05-30 08:36:15,809 ERROR [-] self._sensor_instance.setup() 2022-05-30 08:36:15,809 ERROR [-]
2022-05-30 08:36:15,809 ERROR [-] File "/opt/stackstorm/packs/email/sensors/smtp_sensor.py", line 33, in setup
2022-05-30 08:36:15,809 ERROR [-] 2022-05-30 08:36:15,809 ERROR [-] self._server = St2SMTPServer(localaddr=(self._listen_ip, self._listen_port), 2022-05-30 08:36:15,809 ERROR [-]
2022-05-30 08:36:15,809 ERROR [-] File "/opt/stackstorm/packs/email/sensors/smtp_sensor.py", line 58, in init
2022-05-30 08:36:15,809 ERROR [-] 2022-05-30 08:36:15,809 ERROR [-] smtpd.SMTPServer.init(self, localaddr, remoteaddr) # pylint: disable=no-member 2022-05-30 08:36:15,809 ERROR [-]
2022-05-30 08:36:15,809 ERROR [-] File "/usr/lib/python3.8/smtpd.py", line 645, in init
2022-05-30 08:36:15,810 ERROR [-] 2022-05-30 08:36:15,810 ERROR [-] gai_results = socket.getaddrinfo(*localaddr, 2022-05-30 08:36:15,810 ERROR [-]
2022-05-30 08:36:15,810 ERROR [-] TypeError 2022-05-30 08:36:15,810 ERROR [-] : 2022-05-30 08:36:15,810 ERROR [-] getaddrinfo() got an unexpected keyword argument 'type' 2022-05-30 08:36:15,810 ERROR [-]
docker exec -it st2actionrunner bash
/opt/stackstorm/st2/bin/st2sensorcontainer --config-file=/etc/st2/st2.docker.conf --sensor-ref=email.SMTPSensor
2022-05-30 08:36:15,808 ERROR [-] Traceback (most recent call last):
2022-05-30 08:36:15,808 ERROR [-] File "/opt/stackstorm/st2/lib/python3.8/site-packages/st2reactor/container/sensor_wrapper.py", line 449, in
2022-05-30 08:36:15,809 ERROR [-] 2022-05-30 08:36:15,809 ERROR [-] obj.run() 2022-05-30 08:36:15,809 ERROR [-]
2022-05-30 08:36:15,809 ERROR [-] File "/opt/stackstorm/st2/lib/python3.8/site-packages/st2reactor/container/sensor_wrapper.py", line 273, in run
2022-05-30 08:36:15,809 ERROR [-] 2022-05-30 08:36:15,809 ERROR [-] self._sensor_instance.setup() 2022-05-30 08:36:15,809 ERROR [-]
2022-05-30 08:36:15,809 ERROR [-] File "/opt/stackstorm/packs/email/sensors/smtp_sensor.py", line 33, in setup
2022-05-30 08:36:15,809 ERROR [-] 2022-05-30 08:36:15,809 ERROR [-] self._server = St2SMTPServer(localaddr=(self._listen_ip, self._listen_port), 2022-05-30 08:36:15,809 ERROR [-]
2022-05-30 08:36:15,809 ERROR [-] File "/opt/stackstorm/packs/email/sensors/smtp_sensor.py", line 58, in init
2022-05-30 08:36:15,809 ERROR [-] 2022-05-30 08:36:15,809 ERROR [-] smtpd.SMTPServer.init(self, localaddr, remoteaddr) # pylint: disable=no-member 2022-05-30 08:36:15,809 ERROR [-]
2022-05-30 08:36:15,809 ERROR [-] File "/usr/lib/python3.8/smtpd.py", line 645, in init
2022-05-30 08:36:15,810 ERROR [-] 2022-05-30 08:36:15,810 ERROR [-] gai_results = socket.getaddrinfo(*localaddr, 2022-05-30 08:36:15,810 ERROR [-]
2022-05-30 08:36:15,810 ERROR [-] TypeError 2022-05-30 08:36:15,810 ERROR [-] : 2022-05-30 08:36:15,810 ERROR [-] getaddrinfo() got an unexpected keyword argument 'type' 2022-05-30 08:36:15,810 ERROR [-]