Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Fail to connect to the internet #5

Closed
aaref1234 opened this issue Nov 28, 2021 · 18 comments
Closed

Fail to connect to the internet #5

aaref1234 opened this issue Nov 28, 2021 · 18 comments
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@aaref1234
Copy link

Hi .

When you open the application, the message “Fail to connect to the internet” appears, knowing that the Internet is good .

Thank you .

@Fox2Code
Copy link
Owner

“Fail to connect to the internet” mean the app doesn't have access to the internet...

It's meant for the user to fix that, please check your system setting and if you have any firewall apps that conflict.

Please also give more information about your device. (Android version, Stock/Custom ROM)

Also does this issue appear on pre release versions of the app?

I really want to help you fix the issue but you are not giving me enough information here.

@Fox2Code Fox2Code added bug Something isn't working invalid This doesn't seem right labels Nov 28, 2021
@Fox2Code
Copy link
Owner

Please try the latest pre-release to see if it fix your issue:
https://github.com/Fox2Code/FoxMagiskModuleManager/releases/tag/0.2.0-pre3

With the very low amount of info you gave me, I can't guarantee it will work.
If it doesn't work please send a logcat with the error in it.

@Fox2Code
Copy link
Owner

Fox2Code commented Dec 1, 2021

Please confirm the bug is still happening in:
https://github.com/Fox2Code/FoxMagiskModuleManager/releases/tag/0.2.0
Also send and screenshot if it does.

If I do not get any feedback, I will close the issue in a few days or next update.

@aaref1234
Copy link
Author

Screenshot_٢٠٢١١٢٠١-٢٣١٩٥٩_Fox's Magisk Module Manager.jpg
Screenshot_٢٠٢١١٢٠١-٢٣٢٠١٧_Settings.jpg

@Fox2Code
Copy link
Owner

Fox2Code commented Dec 1, 2021

Ok thank I think I have an idea why this error occur, some locales have problems with the toLowerCase and toUpperCase functions.
Can you try to put your phone local in English, test the bug and tell me if the bug is still happening.
I will try to do a fix for that in 0.2.1, but I can't guarantee it will work completely as this can be an issue caused by libraries (code I do not control).

@Fox2Code
Copy link
Owner

Fox2Code commented Dec 2, 2021

Well I have no idea what this is happening then.
You can try sending a logcat using a debug build.
I have a debug build here:
FoxMmm-0.2.0-debug.zip
The platform tools can be downloaded here:
https://developer.android.com/studio/releases/platform-tools
adb logcat > logcat.txt reproduce the error, and then close the terminal.
It should create a logcat with the debug logs, using the debug build should help identifying the issue.

@Fox2Code
Copy link
Owner

the "Online repo" element isn't added to the list if there is no element to show.
Due to the app failing to connect to internet, it can't collect the module list.
Please provide a logcat if you can, because I have no clue why this is happening to you.

@Fox2Code
Copy link
Owner

The log-cat you sent said nothing useful about the connections errors, I will try to see what I can do to display the crash-log directly in-app in a future version.
My health is not stable, sorry again if I do not do things very fast.

@Fox2Code
Copy link
Owner

https://github.com/Fox2Code/FoxMagiskModuleManager/releases I put a debug version in the latest release.

@Fox2Code
Copy link
Owner

I think logcat isn't showing anything because you are not using a debug version, I think this should help.

@aaref1234
Copy link
Author

I know the cause of the problem

I tried vpn connection USA and the problem was solved .

My site is in Saudi Arabia .

Can you fix the site problem ?

Thank you 😊 .

@Fox2Code
Copy link
Owner

Ok, it's probably a country based firewall that is blocking the way the app work.

At this point there isn't that much I can do, I will still try to find a workaround for this specific issue if possible.

@Fox2Code
Copy link
Owner

Latest release should help with your connectivity issues, I do not consider this a fix, but it should help.

@Fox2Code
Copy link
Owner

Is the bug still there or is it fixed?

@aaref1234
Copy link
Author

The problem has been resolved .

Thanks .

@aaref1234
Copy link
Author

I have uninstalled and reinstalled the app and the same problem appears as before !

I have tried more than one version of the application and the same problem "internet connection failed" occurred .

And when I try to download any module it shows download error .

@aaref1234 aaref1234 reopened this Jan 27, 2022
@Fox2Code
Copy link
Owner

I can't just "get around state firewalls" like nothing happens, I added a DNS caching feature so if you use a VPN once the app will cache the IPs of the domain names and will use these cached values if no DNS request can be made.

I will introduce new option for the next release of the app that should help users workaround those issues.

@Fox2Code
Copy link
Owner

Fox2Code commented Feb 1, 2022

Disable "Dns over https" and it should fix your issue, it's still enabled by default.

This is a new option that was added in 3.0.0-dev1!

Fox2Code pushed a commit that referenced this issue Apr 8, 2022
Fix build-debug.yml FDroid publish
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants