I have two OX3 servers, one for the Windows 10 hypervisor, the second on a separate nettop. InfluxDB is the default on both databases. Both have the same problem that I wrote about here.
And also, only on the nettop there is another problem:
When loading OH3, data is written to the database for several hours, after which the following errors begin to appear in the log:
2020-11-26 20:18:51.777 [ERROR] [.client.write.events.WriteErrorEvent] - The error occurred during writing of data
com.influxdb.exceptions.UnauthorizedException: unauthorized access
at com.influxdb.internal.AbstractRestClient.responseToError(AbstractRestClient.java:98) ~[bundleFile:?]
at com.influxdb.client.internal.AbstractWriteClient.toInfluxException(AbstractWriteClient.java:574) [bundleFile:?]
at com.influxdb.client.internal.AbstractWriteClient.lambda$new$12(AbstractWriteClient.java:181) [bundleFile:?]
at io.reactivex.internal.subscribers.LambdaSubscriber.onNext(LambdaSubscriber.java:65) [bundleFile:?]
at io.reactivex.internal.operators.flowable.FlowableDoFinally$DoFinallySubscriber.onNext(FlowableDoFinally.java:84) [bundleFile:?]
at io.reactivex.internal.operators.mixed.FlowableConcatMapMaybe$ConcatMapMaybeSubscriber.drain(FlowableConcatMapMaybe.java:284) [bundleFile:?]
at io.reactivex.internal.operators.mixed.FlowableConcatMapMaybe$ConcatMapMaybeSubscriber.onNext(FlowableConcatMapMaybe.java:137) [bundleFile:?]
at io.reactivex.internal.operators.mixed.FlowableConcatMapSingle$ConcatMapSingleSubscriber.drain(FlowableConcatMapSingle.java:279) [bundleFile:?]
at io.reactivex.internal.operators.mixed.FlowableConcatMapSingle$ConcatMapSingleSubscriber.innerSuccess(FlowableConcatMapSingle.java:179) [bundleFile:?]
at io.reactivex.internal.operators.mixed.FlowableConcatMapSingle$ConcatMapSingleSubscriber$ConcatMapSingleObserver.onSuccess(FlowableConcatMapSingle.java:317) [bundleFile:?]
at io.reactivex.internal.operators.single.SingleMap$MapSingleObserver.onSuccess(SingleMap.java:64) [bundleFile:?]
at io.reactivex.internal.operators.single.SingleMap$MapSingleObserver.onSuccess(SingleMap.java:64) [bundleFile:?]
at io.reactivex.internal.operators.flowable.FlowableCollectSingle$CollectSubscriber.onComplete(FlowableCollectSingle.java:119) [bundleFile:?]
at io.reactivex.internal.subscribers.BasicFuseableSubscriber.onComplete(BasicFuseableSubscriber.java:120) [bundleFile:?]
at io.reactivex.internal.subscribers.BasicFuseableConditionalSubscriber.onComplete(BasicFuseableConditionalSubscriber.java:119) [bundleFile:?]
at io.reactivex.internal.operators.flowable.FlowableGroupBy$State.checkTerminated(FlowableGroupBy.java:686) [bundleFile:?]
at io.reactivex.internal.operators.flowable.FlowableGroupBy$State.drainNormal(FlowableGroupBy.java:626) [bundleFile:?]
at io.reactivex.internal.operators.flowable.FlowableGroupBy$State.drain(FlowableGroupBy.java:558) [bundleFile:?]
at io.reactivex.internal.operators.flowable.FlowableGroupBy$State.onComplete(FlowableGroupBy.java:548) [bundleFile:?]
at io.reactivex.internal.operators.flowable.FlowableGroupBy$GroupedUnicast.onComplete(FlowableGroupBy.java:474) [bundleFile:?]
at io.reactivex.internal.operators.flowable.FlowableGroupBy$GroupBySubscriber.onComplete(FlowableGroupBy.java:213) [bundleFile:?]
at io.reactivex.processors.UnicastProcessor.checkTerminated(UnicastProcessor.java:430) [bundleFile:?]
at io.reactivex.processors.UnicastProcessor.drainRegular(UnicastProcessor.java:314) [bundleFile:?]
at io.reactivex.processors.UnicastProcessor.drain(UnicastProcessor.java:397) [bundleFile:?]
at io.reactivex.processors.UnicastProcessor.onComplete(UnicastProcessor.java:487) [bundleFile:?]
at io.reactivex.internal.operators.flowable.FlowableWindowBoundarySupplier$WindowBoundaryMainSubscriber.drain(FlowableWindowBoundarySupplier.java:254) [bundleFile:?]
at io.reactivex.internal.operators.flowable.FlowableWindowBoundarySupplier$WindowBoundaryMainSubscriber.innerNext(FlowableWindowBoundarySupplier.java:166) [bundleFile:?]
at io.reactivex.internal.operators.flowable.FlowableWindowBoundarySupplier$WindowBoundaryInnerSubscriber.onNext(FlowableWindowBoundarySupplier.java:316) [bundleFile:?]
at io.reactivex.processors.PublishProcessor$PublishSubscription.onNext(PublishProcessor.java:360) [bundleFile:?]
at io.reactivex.processors.PublishProcessor.onNext(PublishProcessor.java:243) [bundleFile:?]
at io.reactivex.internal.operators.flowable.FlowableFlatMap$MergeSubscriber.tryEmit(FlowableFlatMap.java:282) [bundleFile:?]
at io.reactivex.internal.operators.flowable.FlowableFlatMap$InnerSubscriber.onNext(FlowableFlatMap.java:668) [bundleFile:?]
at io.reactivex.subscribers.SerializedSubscriber.onNext(SerializedSubscriber.java:100) [bundleFile:?]
at io.reactivex.internal.operators.flowable.FlowableWindowTimed$WindowExactBoundedSubscriber.drainLoop(FlowableWindowTimed.java:498) [bundleFile:?]
at io.reactivex.internal.operators.flowable.FlowableWindowTimed$WindowExactBoundedSubscriber$ConsumerIndexHolder.run(FlowableWindowTimed.java:579) [bundleFile:?]
at io.reactivex.Scheduler$Worker$PeriodicTask.run(Scheduler.java:479) [bundleFile:?]
at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:66) [bundleFile:?]
at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:57) [bundleFile:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:834) [?:?]
After a reboot, the work is restored again, for an indefinite time, after which these errors appear again and there is no access to the database until the next reboot of OH3.
Both systems ubuntu 20.04.1
OH3 Build # 2030 installed via apt.
service influxdb status:
â—Ź influxdb2.service - InfluxDB 2.0 service file.
Loaded: loaded (/lib/systemd/system/influxdb2.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2020-11-28 18:47:35 +08; 16h ago
Docs: https://v2.docs.influxdata.com/v2.0/get-started/
Main PID: 598 (influxd)
Tasks: 11 (limit: 2270)
Memory: 109.3M
CGroup: /system.slice/influxdb2.service
└─598 /usr/local/bin/influxd
Nov 29 10:45:04 home-oh influxd[598]: ts=2020-11-29T02:45:04.132024Z lvl=info msg=Unauthorized log_id=0QkcLIKl000 error="session not found"
Nov 29 10:48:32 home-oh influxd[598]: ts=2020-11-29T02:48:32.268483Z lvl=info msg="Retention policy deletion check (start)" log_id=0QkcLIKl000 >
Nov 29 10:48:32 home-oh influxd[598]: ts=2020-11-29T02:48:32.268669Z lvl=info msg="Retention policy deletion check (end)" log_id=0QkcLIKl000 se>
Nov 29 10:49:04 home-oh influxd[598]: ts=2020-11-29T02:49:04.132333Z lvl=info msg=Unauthorized log_id=0QkcLIKl000 error="session not found"
Nov 29 10:52:04 home-oh influxd[598]: ts=2020-11-29T02:52:04.132097Z lvl=info msg=Unauthorized log_id=0QkcLIKl000 error="session not found"
Nov 29 10:54:04 home-oh influxd[598]: ts=2020-11-29T02:54:04.131576Z lvl=info msg=Unauthorized log_id=0QkcLIKl000 error="session not found"
Nov 29 10:56:04 home-oh influxd[598]: ts=2020-11-29T02:56:04.132089Z lvl=info msg=Unauthorized log_id=0QkcLIKl000 error="session not found"
Nov 29 11:04:04 home-oh influxd[598]: ts=2020-11-29T03:04:04.132747Z lvl=info msg=Unauthorized log_id=0QkcLIKl000 error="session not found"
Nov 29 11:05:04 home-oh influxd[598]: ts=2020-11-29T03:05:04.131296Z lvl=info msg=Unauthorized log_id=0QkcLIKl000 error="session not found"
Nov 29 11:06:04 home-oh influxd[598]: ts=2020-11-29T03:06:04.131965Z lvl=info msg=Unauthorized log_id=0QkcLIKl000 error="session not found"
What could be the problem? Has anyone else faced this problem?