typhon-project / typhondl

http://www.typhon-project.org
Eclipse Public License 2.0
1 stars 0 forks source link

We cannot connect #42

Closed G10rg0s closed 4 years ago

G10rg0s commented 4 years ago

This is the error we get : typhon-polystore-service_1 | DB: Host: null, port: 0, user: username, pass: password typhon-polystore-service_1 | java.lang.IllegalArgumentException: The connection string contains an invalid host 'null:0'. The port '0' is not a valid, it must be an integer between 0 and 65535 typhon-polystore-service_1 | at com.mongodb.ConnectionString.validatePort(ConnectionString.java:1020) typhon-polystore-service_1 | at com.mongodb.ConnectionString.parseHosts(ConnectionString.java:1000) typhon-polystore-service_1 | at com.mongodb.ConnectionString.(ConnectionString.java:344) typhon-polystore-service_1 | at com.mongodb.MongoClientURI.(MongoClientURI.java:256) typhon-polystore-service_1 | at com.mongodb.MongoClientURI.(MongoClientURI.java:238) typhon-polystore-service_1 | at com.clms.typhonapi.utils.DbUtils.getMongoDBConnection(DbUtils.java:219) typhon-polystore-service_1 | at com.clms.typhonapi.utils.DbUtils.updateDbConnections(DbUtils.java:124) typhon-polystore-service_1 | at com.clms.typhonapi.utils.ServiceRegistry.load(ServiceRegistry.java:142) typhon-polystore-service_1 | at com.clms.typhonapi.utils.ServiceRegistry.load(ServiceRegistry.java:42)

and the tdl xmi file tdl_model.xmi.txt

OrfenCLMS commented 4 years ago

@G10rg0s please pull the latest polystore api image and try again. If the error persists please GET http://api-url/api/services and paste the results here. Thanks

MarieSaphira commented 4 years ago

Is this still an issue @G10rg0s ?