Skip to content
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

[Bug] SABnzbd config test fails with connection error #761

Closed
ianweatherburn opened this issue Jun 21, 2023 · 5 comments
Closed

[Bug] SABnzbd config test fails with connection error #761

ianweatherburn opened this issue Jun 21, 2023 · 5 comments
Labels
support Support

Comments

@ianweatherburn
Copy link

ianweatherburn commented Jun 21, 2023

SABnzbd on Docker ([ghcr.io/jagandeepbrar/lunasea:beta])) fails with:
DioError [connection error]: The connection errored: The XMLHttpRequest onError callback was called. This typically indicates an error on the network layer.
at the "Test Connect" screen.

The configuration is exactly the same as Lunasea setup on iOS which works correctly.
All other configs to Sonarr/Radarr etc work correctly from your Lunasea docker (with all of these components running on a docker default network 172.18.0.0/24)

SABnzbd config in Lunasea is setup as:
http://192.168.0.xxx:8080
with the correct API key (which works on iOS app)
Have also tried with the IP of the docker container (172.18.0.14:8080)

SABnzbd security for external access is setup as
Full Web Interface (only external access requires login)

Have tried with a Basic Auth header using the SABnzbd credentials, no difference.

@ianweatherburn ianweatherburn added the bug Something isn't working label Jun 21, 2023
@JagandeepBrar
Copy link
Owner

JagandeepBrar commented Jun 22, 2023

Is your SABnzbd or LunaSea hosted instance utilizing HTTPS/SSL?

LunaSea Web must use the same protocol as the hosted services, so if SABnzbd is using HTTP/unsecured, then you will need to ensure LunaSea is also being exposed on a HTTP/unsecured host.

This is due to modern browser's mixed content security protection.

@ianweatherburn
Copy link
Author

ianweatherburn commented Jun 22, 2023

Both Lunasea and SABnzbd are on http and not https
Both on the same server running in docker
Lunasea: http://192.168.0.x:8383
SABnzbd: http://192.168.0.x:8080

@JagandeepBrar
Copy link
Owner

Sadly due to the way that Flutter compiles to web, I can't get more details about why the network call is failing.

All I can suggest is to take another look at the host and API key and validate everything looks good, maybe even try restoring from a backup of a device that can for sure connect.

I was able to confirm that it's not a direct issue with LunaSea as I am able to connect both via my local IP and my reverse proxy host using the web GUI via the hosted and self-hosted versions.

@JagandeepBrar
Copy link
Owner

For now I am going to close the ticket as a support ticket, if you need some additional help reach out via one of the channels mentioned by the bot.

@JagandeepBrar JagandeepBrar added support Support and removed bug Something isn't working labels Jun 22, 2023
@github-actions
Copy link

Hi @ianweatherburn! We use the issue tracker exclusively for bug reports and issues. However, this issue appears to be a support request. Please use the following channels:

@github-actions github-actions bot locked as off-topic and limited conversation to collaborators Jun 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
support Support
Projects
None yet
Development

No branches or pull requests

2 participants