-
-
Notifications
You must be signed in to change notification settings - Fork 501
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
Can't connect to https://raspbian.raspberrypi.org/raspbian while I'm connected #2986
Comments
@Proxyl3ss
Your DNS request took more than 5 seconds, which timed out the connection test. You can increase the timeout via: But since a DNS request should not take more than 0.5 seconds, you should investigate why it takes so long in your case:
Do you use Pi-hole or unbound or any other local DNS server? |
I just increased the timeout to 10 second and it worked! Thank you for your
time.
…On Tue, 16 Jul 2019, 4:07 pm MichaIng, ***@***.***> wrote:
@Proxyl3ss <https://github.com/Proxyl3ss>
Many thanks for your report.
Resolving ... timed out.
Your DNS request took more than 5 seconds, which timed out the connection
test. You can increase the timeout via: dietpi-config > Network Options:
Misc > G_CHECK_URL Timeout
But since a DNS request should not take more than ~0.5 seconds, you should
investigate why it takes so long in your case:
- time wget --spider https://dietpi.com # Check other URL
- cat /etc/resolv.conf # Check active nameserver
- echo 'nameserver 8.8.8.8' > /etc/resolv.conf && time wget --spider
https://dietpi.com # Test with Google DNS to compare resolving time.
Do you use Pi-hole or unbound or any other local DNS server?
Do you use DHCP or static IP?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2986?email_source=notifications&email_token=AJTTPDSS6IUUD54YONIAW6DP7XB2FA5CNFSM4ID7RFRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2AZDBI#issuecomment-511807877>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJTTPDTEDKHYDP7GAYX7F2DP7XB2FANCNFSM4ID7RFRA>
.
|
I also faced another problem. I regularly proceeded with the set up but when it goes to the point that it says Failed connection attempt to |
I am not using a static IP and im not using pihole. Also testing with Google dns doesn't change anything. |
@Proxyl3ss Can you paste:
You can also override the default within the script:
|
I somehow tried logging in to it right now and it is working. Sorry for
wasting your time and thank you once again for your help.
…On Wed, 17 Jul 2019, 1:53 am MichaIng, ***@***.***> wrote:
@Proxyl3ss <https://github.com/Proxyl3ss>
Hmm strange. You changed the setting right from the error prompt?
Can you paste:
grep -m1 '^[[:blank:]]*CONFIG_G_CHECK_URL_TIMEOUT=' /DietPi/dietpi.txt | sed 's/^[^=]*=//'
- This value is used for every connection check, no sure how once 10
seconds can be used and 5 seconds the next time.
You can also override the default within the script:
sed -i 's/local timeout=5/local timeout=10/' /DietPi/dietpi/func/dietpi-globals
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2986?email_source=notifications&email_token=AJTTPDXYE6Z236VQSSIIBV3P7ZGN3A5CNFSM4ID7RFRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2CP3WI#issuecomment-512032217>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJTTPDSQKD5NYZDH7G7CYA3P7ZGN3ANCNFSM4ID7RFRA>
.
|
Okay I mark this as closed then. Feel free to reopen if required. |
Details:
Steps to reproduce:
Expected behaviour:
Actual behaviour:
Extra details:
Additional logs:
The text was updated successfully, but these errors were encountered: