You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a Redis server can not be started due to occupied port, the error message logs the wrong port.
The Redis server is created for settings.connection.port but the error message wants to log settings.port which does not exist so it logs the hard-coded default 9001 instead. While the real port is different (19001) for me, it is strange to see an error for 9001. While 9001 is free, i get the error because 19001 seems to be occupied.
`${this.namespace} Cannot start inMem-objects on port ${settings.port||9001}: ${e.message}`,
Reproduction instruction
No response
JS-controller version
7.0.6
Node version
20.18.3
Log
Shows that the logging in objectsInRedisClient.js logs the correct port, while objectsInMemServerRedis.js not.
Server Data File: /tmp/test-iobroker.mhi-wfrac/iobroker-data/objects.jsonl inMemFileDB.js:90
Server Redis inMem-objects listening on port 9001 objectsInMemServerRedis.js:68
Redis Objects: Use Redis connection: 127.0.0.1:19001 objectsInRedisClient.js:175
The text was updated successfully, but these errors were encountered:
No existing issues.
Description
If a Redis server can not be started due to occupied port, the error message logs the wrong port.
The Redis server is created for
settings.connection.port
but the error message wants to logsettings.port
which does not exist so it logs the hard-coded default9001
instead. While the real port is different (19001
) for me, it is strange to see an error for9001
. While9001
is free, i get the error because19001
seems to be occupied.ioBroker.js-controller/packages/db-objects-jsonl/src/lib/objects/objectsInMemServerRedis.js
Line 93 in 3b082b9
Reproduction instruction
No response
JS-controller version
7.0.6
Node version
20.18.3
Log
Shows that the logging in
objectsInRedisClient.js
logs the correct port, whileobjectsInMemServerRedis.js
not.The text was updated successfully, but these errors were encountered: