berfenger / cam2mqtt

Control IP cameras through MQTT reliably. Supports ONVIF (motion) and HTTP (reolink) control APIs.
Apache License 2.0
47 stars 3 forks source link

permanent status "offline" with new firmware on RLC520A V2 #28

Open wspatgithub opened 1 year ago

wspatgithub commented 1 year ago

Hi, on my Reolink RLC520A V2 I was running firmware "v3.1.0.989_22081701" which worked as extected. After updating the firmware with IPC_523128M5MP_V2.2368_23062701.RLC-520A.OV05A10.5MP.REOLINK.pak the status stays on offline, nevertheless which parameter I choose in the settings. After re-installing to v3.1.0.989_22081701 it works again.

This is, what the log says:

2023-10-23 13:13:21 stdout [INFO ] 2023-10-23 13:13:21,949 akka://cam2mqtt/user/cameraman/cam_CamKEI/mod_reolink/reolinkAITracker - Message [net.bfgnet.cam2mqtt.camera.modules.reolink.ReolinkAIDetectionTrackingActor$GotAIStates] to Actor[akka://cam2mqtt/user/cameraman/cam_CamKEI/mod_reolink/reolinkAITracker#607064928] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
2023-10-23 13:13:19 stdout [INFO ] 2023-10-23 13:13:19,016 akka://cam2mqtt/user/cameraman/cam_CamFLI/mod_reolink - Message [scala.util.Success] wrapped in [akka.actor.typed.internal.AdaptMessage] to Actor[akka://cam2mqtt/user/cameraman/cam_CamFLI/mod_reolink#-1911425607] was not delivered. [5] dead letters encountered. If this is not an expected behavior then Actor[akka://cam2mqtt/user/cameraman/cam_CamFLI/mod_reolink#-1911425607] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
2023-10-23 13:13:18 stdout at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
2023-10-23 13:13:18 stdout at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
2023-10-23 13:13:18 stdout at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
2023-10-23 13:13:18 stdout at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
2023-10-23 13:13:18 stdout at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
2023-10-23 13:13:18 stdout at akka.dispatch.Mailbox.exec(Mailbox.scala:243)
2023-10-23 13:13:18 stdout at akka.dispatch.Mailbox.run(Mailbox.scala:231)
2023-10-23 13:13:18 stdout at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:270)
2023-10-23 13:13:18 stdout at akka.actor.ActorCell.invoke(ActorCell.scala:545)
2023-10-23 13:13:18 stdout at akka.actor.ActorCell.autoReceiveMessage(ActorCell.scala:562)
2023-10-23 13:13:18 stdout at akka.actor.ActorCell.receivedTerminated(ActorCell.scala:410)
2023-10-23 13:13:18 stdout at akka.actor.dungeon.DeathWatch.receivedTerminated$(DeathWatch.scala:69)
2023-10-23 13:13:18 stdout at akka.actor.dungeon.DeathWatch.receivedTerminated(DeathWatch.scala:70)
2023-10-23 13:13:18 stdout at scala.Option.foreach(Option.scala:437)
2023-10-23 13:13:18 stdout at akka.actor.dungeon.DeathWatch.$anonfun$receivedTerminated$1$adapted(DeathWatch.scala:70)
2023-10-23 13:13:18 stdout at akka.actor.dungeon.DeathWatch.$anonfun$receivedTerminated$1(DeathWatch.scala:79)
2023-10-23 13:13:18 stdout at akka.actor.ActorCell.receiveMessage(ActorCell.scala:579)
2023-10-23 13:13:18 stdout at akka.actor.typed.internal.adapter.ActorAdapter.aroundReceive(ActorAdapter.scala:91)
2023-10-23 13:13:18 stdout at akka.actor.typed.internal.adapter.ActorAdapter.handleSignal(ActorAdapter.scala:138)
2023-10-23 13:13:18 stdout at akka.actor.typed.Behavior$.interpretSignal(Behavior.scala:236)
2023-10-23 13:13:18 stdout at akka.actor.typed.Behavior$.interpret(Behavior.scala:273)
2023-10-23 13:13:18 stdout at akka.actor.typed.internal.InterceptorImpl.receiveSignal(InterceptorImpl.scala:92)
2023-10-23 13:13:18 stdout at akka.actor.typed.internal.RestartSupervisor.aroundSignal(Supervision.scala:263)
2023-10-23 13:13:18 stdout at akka.actor.typed.internal.AbstractSupervisor.aroundSignal(Supervision.scala:83)
2023-10-23 13:13:18 stdout at akka.actor.typed.internal.InterceptorImpl$anon$3.apply(InterceptorImpl.scala:67)
2023-10-23 13:13:18 stdout at akka.actor.typed.Behavior$.interpretSignal(Behavior.scala:236)
2023-10-23 13:13:18 stdout at akka.actor.typed.Behavior$.interpret(Behavior.scala:273)
2023-10-23 13:13:18 stdout at akka.actor.typed.internal.BehaviorImpl$ReceiveBehavior.receiveSignal(BehaviorImpl.scala:133)
2023-10-23 13:13:18 stdout at net.bfgnet.cam2mqtt.camera.Camera$anonfun$net$bfgnet$cam2mqtt$camera$Camera$routing$2.applyOrElse(Camera.scala:70)
2023-10-23 13:13:18 stdout at net.bfgnet.cam2mqtt.camera.Camera$anonfun$net$bfgnet$cam2mqtt$camera$Camera$routing$2.applyOrElse(Camera.scala:72)
2023-10-23 13:13:18 stdout java.lang.Exception: escalate failure
2023-10-23 13:13:18 stdout [ERROR] 2023-10-23 13:13:18,759 akka://cam2mqtt/user/cameraman/cam_CamFLI - Supervisor RestartSupervisor saw failure [5]: escalate failure
2023-10-23 13:13:18 stdout at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
2023-10-23 13:13:18 stdout at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
2023-10-23 13:13:18 stdout at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
2023-10-23 13:13:18 stdout at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
2023-10-23 13:13:18 stdout at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
2023-10-23 13:13:18 stdout at akka.dispatch.Mailbox.exec(Mailbox.scala:243)
2023-10-23 13:13:18 stdout at akka.dispatch.Mailbox.run(Mailbox.scala:231)
2023-10-23 13:13:18 stdout at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:270)
2023-10-23 13:13:18 stdout at akka.actor.ActorCell.invoke(ActorCell.scala:547)
2023-10-23 13:13:18 stdout at akka.actor.ActorCell.receiveMessage(ActorCell.scala:579)
2023-10-23 13:13:18 stdout at akka.io.TcpConnection.aroundReceive(TcpConnection.scala:33)
2023-10-23 13:13:18 stdout at akka.actor.Actor.aroundReceive$(Actor.scala:535)
2023-10-23 13:13:18 stdout at akka.actor.Actor.aroundReceive(Actor.scala:537)
2023-10-23 13:13:18 stdout at akka.io.TcpOutgoingConnection$anonfun$connecting$1.applyOrElse(TcpOutgoingConnection.scala:111)
2023-10-23 13:13:18 stdout at akka.io.TcpOutgoingConnection.akka$io$TcpOutgoingConnection$reportConnectFailure(TcpOutgoingConnection.scala:53)
2023-10-23 13:13:18 stdout at akka.io.TcpOutgoingConnection$anonfun$connecting$1.$anonfun$applyOrElse$4(TcpOutgoingConnection.scala:111)
2023-10-23 13:13:18 stdout at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:946)
2023-10-23 13:13:18 stdout at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
2023-10-23 13:13:18 stdout at java.base/sun.nio.ch.Net.pollConnect(Native Method)
2023-10-23 13:13:18 stdout Caused by: java.net.ConnectException: Connection refused
2023-10-23 13:13:18 stdout akka.stream.StreamTcpException: Tcp command [Connect(192.168.30.248/:8000,None,List(),Some(10 seconds),true)] failed because of java.net.ConnectException: Connection refused

Can you please take a look? Thanks

berfenger commented 1 year ago

Hi, the error is Connection refused at 192.168.30.248/:8000. Make sure the camera has the onvif server enabled on port 8000, and the IP address is valid (don't add slashes or points after the IP address). You can post your config file and I'll try to help.

wspatgithub commented 1 year ago

Hi, thanks for your reply. I've attached a screenshot of the cam parameters, onvif port shows to port 8000. As I mentioned, when installing earlier firmware (without changing any cam parameters) it works. Attached is the config file as well as the screenshot of the cam parameters.

Thanks for your support config_Kopie.txt

CamFLI