idans

Members
  • Posts

    3
  • Joined

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

idans's Achievements

Noob

Noob (1/14)

0

Reputation

  1. Thanks, but the previous syntax was working as well, the limit was indeed 2G and I took it from the docker documentation. Anyway, I changed it to your syntax but the exception still occurs. I'm lost and don't know how to continue, anyone has an idea?
  2. I tried, I set a memory limit of 2Gb (--memory="2g") but the issue still happens. Any other suggestions? P.S: my unifi controller version is 7.0.25
  3. Hi, I'm getting a MongoDB exception after running the Unifi Controller for like a day or two, It keeps happening all the time. Only a restart to the container solves it temporarily till it happens again. I'm using the latest version. Did it happen to anyone? Anyone have any idea what to do? Exception in thread "RefreshSsoTokens" com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting for a server that matches ReadPreferenceServerSelector{readPreference=primary}. Client view of cluster state is {type=UNKNOWN, servers=[{address=localhost:27117, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused (Connection refused)}}] at com.mongodb.connection.BaseCluster.createTimeoutException(BaseCluster.java:377) at com.mongodb.connection.BaseCluster.selectServer(BaseCluster.java:104) at com.mongodb.binding.ClusterBinding$ClusterBindingConnectionSource.<init>(ClusterBinding.java:75) at com.mongodb.binding.ClusterBinding$ClusterBindingConnectionSource.<init>(ClusterBinding.java:71) at com.mongodb.binding.ClusterBinding.getReadConnectionSource(ClusterBinding.java:63) at com.mongodb.operation.OperationHelper.withConnection(OperationHelper.java:406) at com.mongodb.operation.FindOperation.execute(FindOperation.java:510) at com.mongodb.operation.FindOperation.execute(FindOperation.java:81) at com.mongodb.Mongo.execute(Mongo.java:836) at com.mongodb.Mongo$2.execute(Mongo.java:823) at com.mongodb.DBCursor.initializeCursor(DBCursor.java:870) at com.mongodb.DBCursor.hasNext(DBCursor.java:142) at com.ubnt.service.system.n.Ò00000(Unknown Source) at com.ubnt.service.sso.ooOO.new(Unknown Source) at com.ubnt.service.sso.ooOO.o00000(Unknown Source) at com.ubnt.service.sso.ooOO$_o.run(Unknown Source) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505)