Open jorcapla opened 2 years ago
I'm afraid the information in the logs is not providing too much information about the cause of the problem... just "AuthenticationFailed".
A couple of things you can try:
Question: when did you dowloaded Perseo-FE from dockerhub? The :latest
tag doesn't provide a precise version information...
Side-note: the Orion version you are using (2.2.0) is pretty old (February 2019). I'd recommend you to use the newest one (3.7.0).
Question: when did you dowloaded Perseo-FE from dockerhub? The
:latest
tag doesn't provide a precise version information...
Related with this, note that in the dockerhub FIWARE organization:
while in the telefonicaiot organization
Thus, the image in telefonicaiot is up to date, but the one in FIWARE organization isn't.
Maybe @jason-fox or somebody else from FIWARE Foundation could provide some information about why the Perseo-FE image is not being updated, please.
Hello,
I'm trying to connect perseo-fe with mongodb (with authentication enabled) and always raise AuthenticationFailed error. Other components like orion,cygnus,... works Ok but perseo-fe fail. May you help me?
Error
(node:1) [MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor. (node:1) [MONGODB DRIVER] Warning: Warning: no saslprep library specified. Passwords will not be sanitized time=2022-08-03T13:05:29.151Z | lvl=ERROR | corr=n/a | trans=n/a | op=checkDB | comp=perseo-fe | msg=connect failed to connect to server [mongo-db:27017] on first connect [MongoError: Authentication failed. at Connection.messageHandler (/opt/perseo-fe/node_modules/mongodb/lib/core/connection/connection.js:359:19) at Connection.emit (events.js:314:20) at Connection.EventEmitter.emit (domain.js:506:15) at processMessage (/opt/perseo-fe/node_modules/mongodb/lib/core/connection/connection.js:451:10) at Socket. (/opt/perseo-fe/node_modules/mongodb/lib/core/connection/connection.js:620:15)
at Socket.emit (events.js:314:20)
at Socket.EventEmitter.emit (domain.js:506:15)
at addChunk (_stream_readable.js:297:12)
at readableAddChunk (_stream_readable.js:272:9)
at Socket.Readable.push (_stream_readable.js:213:10) {
ok: 0,
code: 18,
codeName: 'AuthenticationFailed'
}]
This is my docker-compose