Skip to content

Fix reachable and IP leak test#44

Merged
PCJones merged 2 commits intoPCJones:masterfrom
akuntsch:fix-reachable-and-ipleak-test
Oct 21, 2024
Merged

Fix reachable and IP leak test#44
PCJones merged 2 commits intoPCJones:masterfrom
akuntsch:fix-reachable-and-ipleak-test

Conversation

@akuntsch
Copy link
Contributor

Fix the instance reachable checks when Basic Authentication is enabled in the *arr instance by GETing /api?apikey=<ApiKey> instead of / without any authentication.
I'm not 100% sure that all supported *arrs return HTTP 200 when GETing /api, but it seems to work for Sonarr and Readarr on my end.

Also added a configuration option to disable the IP leak test. Setting IPLEAKTEST__ENABLED=false as docker environment variable will disable the check.

Fixes #40.

@akuntsch akuntsch changed the title Fix reachable and ipleak test Fix reachable and IP leak test Oct 19, 2024
@akuntsch akuntsch force-pushed the fix-reachable-and-ipleak-test branch 3 times, most recently from 44fd5fd to dd847b4 Compare October 19, 2024 18:28
Fixes failing reachable checks when Basic Authentication is enabled in
Sonarr, Radarr, etc.
@akuntsch akuntsch force-pushed the fix-reachable-and-ipleak-test branch from dd847b4 to 072828b Compare October 19, 2024 18:32
var app = builder.Build();

if (app.Configuration.GetValue<bool>("IpLeakTest:Enabled")) {
Helper.ShowLogo();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ich würde das Logo immer anzeigen lassen

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Da hast du absolut recht. Ist angepasst.

@akuntsch akuntsch force-pushed the fix-reachable-and-ipleak-test branch from 072828b to da8ba97 Compare October 21, 2024 05:40
@akuntsch akuntsch force-pushed the fix-reachable-and-ipleak-test branch from da8ba97 to 27b8eab Compare October 21, 2024 05:42
@PCJones PCJones self-requested a review October 21, 2024 12:25
@PCJones PCJones merged commit 3f5d7bb into PCJones:master Oct 21, 2024
PCJones added a commit that referenced this pull request Oct 21, 2024
PCJones added a commit that referenced this pull request Oct 21, 2024
@PCJones
Copy link
Owner

PCJones commented Oct 21, 2024

Bitte noch mal neu erstellen mit develop als branch Ziel

PCJones added a commit that referenced this pull request Jan 13, 2025
* Fix reachable and IP leak test (#44)

* Fix reachable check

Fixes failing reachable checks when Basic Authentication is enabled in
Sonarr, Radarr, etc.

* Add option to disable IP leak test

* Revert "Fix reachable and IP leak test (#44)" (#46)

This reverts commit 3f5d7bb.

* Release 0.6.1 (#48)

* Fix typo

* Fix typos

* Fix typos

* Fix typo

* Clarify error message

* Fix reachable and ipleak test (#47)

* Fix reachable check

Fixes failing reachable checks when Basic Authentication is enabled in
Sonarr, Radarr, etc.

* Add option to disable IP leak test

---------

Co-authored-by: Jonas F <github@pcjones.de>

* Add IpLeakTest environment variable to docker compose

---------

Co-authored-by: akuntsch <github@akuntsch.de>

* Create Dockerfile.arm64

---------

Co-authored-by: akuntsch <github@akuntsch.de>
PCJones added a commit that referenced this pull request Jan 13, 2025
* Merge master in develop (#55)

* Fix reachable and IP leak test (#44)

* Fix reachable check

Fixes failing reachable checks when Basic Authentication is enabled in
Sonarr, Radarr, etc.

* Add option to disable IP leak test

* Revert "Fix reachable and IP leak test (#44)" (#46)

This reverts commit 3f5d7bb.

* Release 0.6.1 (#48)

* Fix typo

* Fix typos

* Fix typos

* Fix typo

* Clarify error message

* Fix reachable and ipleak test (#47)

* Fix reachable check

Fixes failing reachable checks when Basic Authentication is enabled in
Sonarr, Radarr, etc.

* Add option to disable IP leak test

---------

Co-authored-by: Jonas F <github@pcjones.de>

* Add IpLeakTest environment variable to docker compose

---------

Co-authored-by: akuntsch <github@akuntsch.de>

* Create Dockerfile.arm64

---------

Co-authored-by: akuntsch <github@akuntsch.de>

* Add configurable cache duration

* Make proxy port configurable

* Make proxy port configurable

* Add API Key auth

* Add default settings to appsettings

---------

Co-authored-by: akuntsch <github@akuntsch.de>
PCJones added a commit that referenced this pull request Jan 13, 2025
* Merge master in develop (#55)

* Fix reachable and IP leak test (#44)

* Fix reachable check

Fixes failing reachable checks when Basic Authentication is enabled in
Sonarr, Radarr, etc.

* Add option to disable IP leak test

* Revert "Fix reachable and IP leak test (#44)" (#46)

This reverts commit 3f5d7bb.

* Release 0.6.1 (#48)

* Fix typo

* Fix typos

* Fix typos

* Fix typo

* Clarify error message

* Fix reachable and ipleak test (#47)

* Fix reachable check

Fixes failing reachable checks when Basic Authentication is enabled in
Sonarr, Radarr, etc.

* Add option to disable IP leak test

---------

Co-authored-by: Jonas F <github@pcjones.de>

* Add IpLeakTest environment variable to docker compose

---------

Co-authored-by: akuntsch <github@akuntsch.de>

* Create Dockerfile.arm64

---------

Co-authored-by: akuntsch <github@akuntsch.de>

* Add configurable cache duration

* Make proxy port configurable

* Make proxy port configurable

* Add API Key auth

* Add default settings to appsettings

* Fix too many Unauthorized access attempt warnings

---------

Co-authored-by: akuntsch <github@akuntsch.de>
PCJones added a commit that referenced this pull request Jan 13, 2025
* Merge master in develop (#55)

* Fix reachable and IP leak test (#44)

* Fix reachable check

Fixes failing reachable checks when Basic Authentication is enabled in
Sonarr, Radarr, etc.

* Add option to disable IP leak test

* Revert "Fix reachable and IP leak test (#44)" (#46)

This reverts commit 3f5d7bb.

* Release 0.6.1 (#48)

* Fix typo

* Fix typos

* Fix typos

* Fix typo

* Clarify error message

* Fix reachable and ipleak test (#47)

* Fix reachable check

Fixes failing reachable checks when Basic Authentication is enabled in
Sonarr, Radarr, etc.

* Add option to disable IP leak test

---------



* Add IpLeakTest environment variable to docker compose

---------



* Create Dockerfile.arm64

---------



* Add configurable cache duration

* Make proxy port configurable

* Make proxy port configurable

* Add API Key auth

* Add default settings to appsettings

* Fix too many Unauthorized access attempt warnings

---------

Co-authored-by: akuntsch <github@akuntsch.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No connection to sonarr since update

3 participants