question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Configuration not persisted when using --config

See original GitHub issue

Hi all, I’m using the UniFi Protect Integration for Home Assistant and the Proxy Container – all seems to go well when manually adding cameras via config.json but cameras that are added via the Home Assistant integration seem to fail due to the URL format.

The cameras are added with rtsps URLs like rtsps://IP:7441/token?enableSrtp and the URL needs to be changed to rtsp://IP:7447/token to make things work – the port changes to 7447 and the protocal to rtsp. I already set channel_defaults to "insecure_skip_verify": true to ensure this is not causing any issues, too.

It would be awesome if new cameras would be either added to config.json (so people can manually edit them) or if there would be support for RTSP (or port and protocol remapping).

Thanks in advance and keep up the great work, Tim

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
allenportercommented, Feb 21, 2022

OK, lets use this to track the persistence issue. I made the dockerfile for this as well as the add-on so maybe its the same issue in both. When running from go, it is able to overwrite the config file correctly.

0reactions
SeraphimSerapiscommented, Feb 25, 2022

@azbutz You are right – that seems to be fine. Not sure why it didn’t work for me in the first attempt.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why are my user-settings not persisted after calling Properties ...
I made sure to set the scope for both Name and Password setting in Project Settings to 'User'. I tried calling Properties.Settings.Default.
Read more >
Configuration file / settings not persisted with IntelliJ IDEA ...
When I restart IntelliJ IDEA I only have the two default configurations. My own configuration (using Checkstyle 8.1) is lost.
Read more >
Configuration not saving [#3014292] | Drupal.org
I am running: Drupal 8.6.x Geocoder 8.x-2.0-beta7 When I navigate to ... the settings do not persist in the db config table nor...
Read more >
Changes in configuration manager not saved for Setup projects
Go to the configuration manager and remove all the unwanted SETUP configuration leaving only the RELEASE ones. Save the solution. Close the ...
Read more >
How to: Persist User Settings - Visual Basic - Microsoft Learn
You can use the My.Settings.Save method to persist changes to the user settings. Typically, applications are designed to persist the changes ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found