Hi,
sorry for the late answer, I was on hollidays.
It doesn’t work on ubuntu18 running in a vm also:
20-08-24 10:09:59,075 140457947180528 ERROR (unknown file) [-] Traceback (most recent call last):
2020-08-24 10:09:59,075 140457947180528 ERROR (unknown file) [-] File
“/opt/stackstorm/st2/lib/python3.6/site-packages/st2reactor/container/sensor_wrapper.py”, line 361,
in
2020-08-24 10:09:59,075 140457947180528 ERROR (unknown file) [-]
2020-08-24 10:09:59,075 140457947180528 ERROR (unknown file) [-] obj.run()
2020-08-24 10:09:59,076 140457947180528 ERROR (unknown file) [-]
2020-08-24 10:09:59,076 140457947180528 ERROR (unknown file) [-] File
“/opt/stackstorm/st2/lib/python3.6/site-packages/st2reactor/container/sensor_wrapper.py”, line 218, in
run
2020-08-24 10:09:59,076 140457947180528 ERROR (unknown file) [-]
2020-08-24 10:09:59,076 140457947180528 ERROR (unknown file) [-] self._sensor_instance.setup()
2020-08-24 10:09:59,076 140457947180528 ERROR (unknown file) [-]
2020-08-24 10:09:59,076 140457947180528 ERROR (unknown file) [-] File
“/opt/stackstorm/packs/email/sensors/smtp_sensor.py”, line 37, in setup
2020-08-24 10:09:59,076 140457947180528 ERROR (unknown file) [-]
2020-08-24 10:09:59,076 140457947180528 ERROR (unknown file) [-] trigger=self._trigger)
2020-08-24 10:09:59,076 140457947180528 ERROR (unknown file) [-]
2020-08-24 10:09:59,076 140457947180528 ERROR (unknown file) [-] File
“/opt/stackstorm/packs/email/sensors/smtp_sensor.py”, line 58, in init
2020-08-24 10:09:59,077 140457947180528 ERROR (unknown file) [-]
2020-08-24 10:09:59,077 140457947180528 ERROR (unknown file) [-] smtpd.SMTPServer.init(self,
localaddr, remoteaddr) # pylint: disable=no-member
2020-08-24 10:09:59,077 140457947180528 ERROR (unknown file) [-]
2020-08-24 10:09:59,077 140457947180528 ERROR (unknown file) [-] File “/usr/lib/python3.6/smtpd.py”, line
646, in init
2020-08-24 10:09:59,077 140457947180528 ERROR (unknown file) [-]
2020-08-24 10:09:59,078 140457947180528 ERROR (unknown file) [-] type=socket.SOCK_STREAM)
2020-08-24 10:09:59,078 140457947180528 ERROR (unknown file) [-]
2020-08-24 10:09:59,078 140457947180528 ERROR (unknown file) [-] TypeError
2020-08-24 10:09:59,078 140457947180528 ERROR (unknown file) [-] :
2020-08-24 10:09:59,078 140457947180528 ERROR (unknown file) [-] getaddrinfo() got an unexpected keyword
argument ‘type’
2020-08-24 10:09:59,078 140457947180528 ERROR (unknown file) [-]
2020-08-24 10:09:59,078 140457947180528 INFO (unknown file) [-] Stopping trigger watcher
2020-08-24 10:09:59,079 140457947180528 INFO (unknown file) [-] Invoking cleanup on sensor
2020-08-24 10:10:01,434 140173923993752 INFO (unknown file) [-] Process for sensor email.SMTPSensor has
exited with code 1
2020-08-24 10:10:03,945 140173923994816 WARNING (unknown file) [-] “auth.api_url” configuration option
is not configured
2020-08-24 10:10:04,930 140222680661488 INFO (unknown file) [-] Found config for sensor “SMTPSensor”
2020-08-24 10:10:04,930 140222680661488 INFO (unknown file) [-] Watcher started
2020-08-24 10:10:04,930 140222680661488 INFO (unknown file) [-] Running sensor initialization code
2020-08-24 10:10:04,930 140222680661488 ERROR (unknown file) [-] Traceback (most recent call last):
2020-08-24 10:10:04,930 140222680661488 ERROR (unknown file) [-] File
“/opt/stackstorm/st2/lib/python3.6/site-packages/st2reactor/container/sensor_wrapper.py”, line 361,
in
2020-08-24 10:10:04,931 140222680661488 ERROR (unknown file) [-]
2020-08-24 10:10:04,931 140222680661488 ERROR (unknown file) [-] obj.run()
2020-08-24 10:10:04,931 140222680661488 ERROR (unknown file) [-]
2020-08-24 10:10:04,931 140222680661488 ERROR (unknown file) [-] File
“/opt/stackstorm/st2/lib/python3.6/site-packages/st2reactor/container/sensor_wrapper.py”, line 218, in
run
2020-08-24 10:10:04,931 140222680661488 ERROR (unknown file) [-]
2020-08-24 10:10:04,931 140222680661488 ERROR (unknown file) [-] self._sensor_instance.setup()
2020-08-24 10:10:04,931 140222680661488 ERROR (unknown file) [-]
2020-08-24 10:10:04,932 140222680661488 ERROR (unknown file) [-] File
“/opt/stackstorm/packs/email/sensors/smtp_sensor.py”, line 37, in setup
2020-08-24 10:10:04,932 140222680661488 ERROR (unknown file) [-]
2020-08-24 10:10:04,932 140222680661488 ERROR (unknown file) [-] trigger=self._trigger)
2020-08-24 10:10:04,932 140222680661488 ERROR (unknown file) [-]
2020-08-24 10:10:04,932 140222680661488 ERROR (unknown file) [-] File
“/opt/stackstorm/packs/email/sensors/smtp_sensor.py”, line 58, in init
2020-08-24 10:10:04,932 140222680661488 ERROR (unknown file) [-]
2020-08-24 10:10:04,932 140222680661488 ERROR (unknown file) [-] smtpd.SMTPServer.init(self,
localaddr, remoteaddr) # pylint: disable=no-member
2020-08-24 10:10:04,932 140222680661488 ERROR (unknown file) [-]
2020-08-24 10:10:04,932 140222680661488 ERROR (unknown file) [-] File “/usr/lib/python3.6/smtpd.py”, line
646, in init
2020-08-24 10:10:04,933 140222680661488 ERROR (unknown file) [-]
2020-08-24 10:10:04,933 140222680661488 ERROR (unknown file) [-] type=socket.SOCK_STREAM)
2020-08-24 10:10:04,933 140222680661488 ERROR (unknown file) [-]
2020-08-24 10:10:04,933 140222680661488 ERROR (unknown file) [-] TypeError
2020-08-24 10:10:04,933 140222680661488 ERROR (unknown file) [-] :
2020-08-24 10:10:04,933 140222680661488 ERROR (unknown file) [-] getaddrinfo() got an unexpected keyword
argument ‘type’
2020-08-24 10:10:04,933 140222680661488 ERROR (unknown file) [-]
2020-08-24 10:10:04,933 140222680661488 INFO (unknown file) [-] Stopping trigger watcher
2020-08-24 10:10:04,934 140222680661488 INFO (unknown file) [-] Invoking cleanup on sensor
2020-08-24 10:10:06,438 140173923993752 INFO (unknown file) [-] Process for sensor email.SMTPSensor has
exited with code 1
2020-08-24 10:10:11,448 140173923994664 WARNING (unknown file) [-] “auth.api_url” configuration option
is not configured
2020-08-24 10:10:12,465 139974111616496 INFO (unknown file) [-] Found config for sensor “SMTPSensor”
2020-08-24 10:10:12,466 139974111616496 INFO (unknown file) [-] Watcher started
2020-08-24 10:10:12,466 139974111616496 INFO (unknown file) [-] Running sensor initialization code
2020-08-24 10:10:12,466 139974111616496 ERROR (unknown file) [-] Traceback (most recent call last):
2020-08-24 10:10:12,467 139974111616496 ERROR (unknown file) [-] File
“/opt/stackstorm/st2/lib/python3.6/site-packages/st2reactor/container/sensor_wrapper.py”, line 361,
in
2020-08-24 10:10:12,467 139974111616496 ERROR (unknown file) [-]
2020-08-24 10:10:12,467 139974111616496 ERROR (unknown file) [-] obj.run()
2020-08-24 10:10:12,467 139974111616496 ERROR (unknown file) [-]
2020-08-24 10:10:12,468 139974111616496 ERROR (unknown file) [-] File
“/opt/stackstorm/st2/lib/python3.6/site-packages/st2reactor/container/sensor_wrapper.py”, line 218, in
run
2020-08-24 10:10:12,468 139974111616496 ERROR (unknown file) [-]
2020-08-24 10:10:12,468 139974111616496 ERROR (unknown file) [-] self._sensor_instance.setup()
2020-08-24 10:10:12,468 139974111616496 ERROR (unknown file) [-]
2020-08-24 10:10:12,469 139974111616496 ERROR (unknown file) [-] File
“/opt/stackstorm/packs/email/sensors/smtp_sensor.py”, line 37, in setup
2020-08-24 10:10:12,469 139974111616496 ERROR (unknown file) [-]
2020-08-24 10:10:12,469 139974111616496 ERROR (unknown file) [-] trigger=self._trigger)
2020-08-24 10:10:12,469 139974111616496 ERROR (unknown file) [-]
2020-08-24 10:10:12,469 139974111616496 ERROR (unknown file) [-] File
“/opt/stackstorm/packs/email/sensors/smtp_sensor.py”, line 58, in init
2020-08-24 10:10:12,470 139974111616496 ERROR (unknown file) [-]
2020-08-24 10:10:12,470 139974111616496 ERROR (unknown file) [-] smtpd.SMTPServer.init(self,
localaddr, remoteaddr) # pylint: disable=no-member
2020-08-24 10:10:12,470 139974111616496 ERROR (unknown file) [-]
2020-08-24 10:10:12,470 139974111616496 ERROR (unknown file) [-] File “/usr/lib/python3.6/smtpd.py”, line
646, in init
2020-08-24 10:10:12,471 139974111616496 ERROR (unknown file) [-]
2020-08-24 10:10:12,471 139974111616496 ERROR (unknown file) [-] type=socket.SOCK_STREAM)
2020-08-24 10:10:12,471 139974111616496 ERROR (unknown file) [-]
2020-08-24 10:10:12,471 139974111616496 ERROR (unknown file) [-] TypeError
2020-08-24 10:10:12,471 139974111616496 ERROR (unknown file) [-] :
2020-08-24 10:10:12,472 139974111616496 ERROR (unknown file) [-] getaddrinfo() got an unexpected keyword
argument ‘type’
2020-08-24 10:10:12,472 139974111616496 ERROR (unknown file) [-]
2020-08-24 10:10:12,472 139974111616496 INFO (unknown file) [-] Stopping trigger watcher
2020-08-24 10:10:12,473 139974111616496 INFO (unknown file) [-] Invoking cleanup on sensor
2020-08-24 10:10:16,444 140173923993752 INFO (unknown file) [-] Process for sensor email.SMTPSensor has
exited with code 1