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

Socket Error on Search (It appears the issue is with the invidious API) #162

Open
ifndefJOSH opened this issue Jul 2, 2022 · 2 comments

Comments

@ifndefJOSH
Copy link

Hey, just downloaded your app from F-Droid, but I ran into a small issue, described below:

Bug Description: Upon downloading version 2.2.0 from F-Droid I attempted to search for an artist and got the following Dart exception:

Exception: SocketException: OS Error: Connection refused, errno=111, address=invidious.13ad.de, port=42568

It appears this is the URL from one of the web APIs you are using, as referenced in main.dart:50

var brightness = ValueNotifier("dark");
var invidiosAPI = ValueNotifier("https://invidious.13ad.de/");
var quality = ValueNotifier("best");

I cannot find 13ad.de on the list of available instances on Invidious' website, and public whois data for 13ad.de gives me the following:

% Restricted rights.
% 
% Terms and Conditions of Use
% 
% The above data may only be used within the scope of technical or
% administrative necessities of Internet operation or to remedy legal
% problems.
% The use for other purposes, in particular for advertising, is not permitted.
% 
% The DENIC whois service on port 43 doesn't disclose any information concerning
% the domain holder, general request and abuse contact.
% This information can be obtained through use of our web-based whois service
% available at the DENIC website:
% http://www.denic.de/en/domains/whois-service/web-whois.html
% 
% 

Domain: 13ad.de
Nserver: ns81.domaincontrol.com
Nserver: ns82.domaincontrol.com
Status: connect
Changed: 2021-08-14T04:25:00+02:00

Admittedly, this raises a couple of red flags regarding this particular instance of Invidious. Perhaps you could use one of the other public instances or even host your own?

System Information:
Android 10 - Kernel 4.4.192-perf+
Moto G7 Plus

@ifndefJOSH
Copy link
Author

Others appear to have faced a similar issue (see issue #143 )

@EricLauber
Copy link

There is a setting to change the target invidious API. I changed, reloaded, and everything is working.

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

No branches or pull requests

2 participants