Closed Monofin closed 1 year ago
Further occurrence if the above set is removed (for reference):
/usr/lib/node_modules/homebridge-smtp-motion/node_modules/smtp-server/lib/smtp-connection.js:325
this._parser.closed = true;
^
TypeError: Cannot set property closed of #
Updating the package smtp-server
to the latest version (3.11.0) seems to fix the problem on my side. 🧐
I’ll try to push a new release with that package updated soon.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
After updating to Node 18.xx with Homebridge v1.5.1 (HAP v0.10.4), I get a crash on receipt of an email: previously this was all working well:
/usr/lib/node_modules/homebridge-smtp-motion/node_modules/smtp-server/lib/smtp-stream.js:34 this.closed = false; ^ TypeError: Cannot set property closed of # which has only a getter
at new SMTPStream (/usr/lib/node_modules/homebridge-smtp-motion/node_modules/smtp-server/lib/smtp-stream.js:34:21)
at new SMTPConnection (/usr/lib/node_modules/homebridge-smtp-motion/node_modules/smtp-server/lib/smtp-connection.js:55:24)
at SMTPServer.connect (/usr/lib/node_modules/homebridge-smtp-motion/node_modules/smtp-server/lib/smtp-server.js:93:26)
at /usr/lib/node_modules/homebridge-smtp-motion/node_modules/smtp-server/lib/smtp-server.js:84:26
at Immediate. (/usr/lib/node_modules/homebridge-smtp-motion/node_modules/smtp-server/lib/smtp-server.js:345:39)
at processImmediate (node:internal/timers:471:21)
[31/10/2022, 19:58:35] [SMTP Motion] Child bridge process ended
[31/10/2022, 19:58:35] [SMTP Motion] Process Ended. Code: 1, Signal: null
[31/10/2022, 19:58:42] [SMTP Motion] Restarting Process...
[31/10/2022, 19:58:43] [SMTP Motion] Launched child bridge with PID 1945966
[31/10/2022, 19:58:43] Registering platform 'homebridge-smtp-motion.smtpMotion'
[31/10/2022, 19:58:43] [SMTP Motion] Loaded homebridge-smtp-motion v1.2.1 child bridge successfully
[31/10/2022, 19:58:43] Loaded 0 cached accessories from cachedAccessories.0EDE28255D8B.
[31/10/2022, 19:58:43] Homebridge v1.5.1 (HAP v0.10.4) (SMTP Motion) is running on port 39693.