-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix reachable and IP leak test #44
Merged
PCJones
merged 2 commits into
PCJones:master
from
akuntsch:fix-reachable-and-ipleak-test
Oct 21, 2024
Merged
Fix reachable and IP leak test #44
PCJones
merged 2 commits into
PCJones:master
from
akuntsch:fix-reachable-and-ipleak-test
Oct 21, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
akuntsch
changed the title
Fix reachable and ipleak test
Fix reachable and IP leak test
Oct 19, 2024
akuntsch
force-pushed
the
fix-reachable-and-ipleak-test
branch
3 times, most recently
from
October 19, 2024 18:28
44fd5fd
to
dd847b4
Compare
Fixes failing reachable checks when Basic Authentication is enabled in Sonarr, Radarr, etc.
akuntsch
force-pushed
the
fix-reachable-and-ipleak-test
branch
from
October 19, 2024 18:32
dd847b4
to
072828b
Compare
xpsony
reviewed
Oct 20, 2024
UmlautAdaptarr/Program.cs
Outdated
builder.Services.AddSingleton<CacheService>(); | ||
builder.Services.AddSingleton<ProxyRequestService>(); | ||
builder.Services.AddSingleton<ArrApplicationFactory>(); | ||
builder.Services.AddHostedService<ArrSyncBackgroundService>(); | ||
builder.Services.AddSingleton<IHostedService, HttpProxyService>(); | ||
|
||
var app = builder.Build(); | ||
|
||
if (app.Configuration.GetValue<bool>("IpLeakTest:Enabled")) { | ||
Helper.ShowLogo(); |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
force-pushed
the
fix-reachable-and-ipleak-test
branch
from
October 21, 2024 05:40
072828b
to
da8ba97
Compare
akuntsch
force-pushed
the
fix-reachable-and-ipleak-test
branch
from
October 21, 2024 05:42
da8ba97
to
27b8eab
Compare
PCJones
approved these changes
Oct 21, 2024
PCJones
added a commit
that referenced
this pull request
Oct 21, 2024
Bitte noch mal neu erstellen mit develop als branch Ziel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.