Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
First request takes 20sec
« previous
next »
Print
Pages: [
1
]
Author
Topic: First request takes 20sec (Read 721 times)
fiR3W4LL87
Newbie
Posts: 24
Karma: 1
First request takes 20sec
«
on:
March 15, 2024, 08:49:44 am »
Dear Community,
I'm encountering an issue with my browser and I'm hoping to seek assistance from you all. My browser takes approximately 20 seconds to process the first request after it's launched. I'm running an OPNsense firewall and self-hosting AdGuard for DNS resolution on the Opnsense.
Interestingly, when I modify my browser's DNS settings, for example, to 1.1.1.1, requests are processed immediately upon browser startup, without the long delays.
Could you please help me troubleshoot and resolve this issue? Any assistance would be greatly appreciated!
Thank you in advance.
Logged
bartjsmit
Hero Member
Posts: 2014
Karma: 194
Re: First request takes 20sec
«
Reply #1 on:
March 15, 2024, 12:55:58 pm »
Run WireShark on the computer that hosts the browser and see what it is doing in those 20 seconds.
https://www.wireshark.org/
Hint: it's DNS (it's always DNS)
Bart...
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: First request takes 20sec
«
Reply #2 on:
March 15, 2024, 02:53:01 pm »
No way it's DNS!
Logged
fiR3W4LL87
Newbie
Posts: 24
Karma: 1
Re: First request takes 20sec
«
Reply #3 on:
March 28, 2024, 10:50:42 am »
I've noticed that too. Now, I don't really understand where the problem could be. I'm having trouble getting to the bottom of it with Wireshark; it's somehow too complicated for me. Maybe I'll just have to live with it, but it's really frustrating sometimes... That's why I thought I'd ask in the community; maybe someone else has had this issue before :
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: First request takes 20sec
«
Reply #4 on:
March 28, 2024, 12:41:28 pm »
Most of the time you get served an IPv6 IP for the requested domain, but your IPv6 doesn't work for no particular reason and only after x seconds it sees the timeout and falls back to IPv4 use...
Try to disable IPv6 on your WAN as a first step.
Cheers,
Franco
Logged
fiR3W4LL87
Newbie
Posts: 24
Karma: 1
Re: First request takes 20sec
«
Reply #5 on:
March 28, 2024, 12:50:19 pm »
Hi Franco,
It was my mistake. I realized that I had entered the wrong setting under System -> Settings -> Domain. Consequently, the system was attempting to resolve a domain to which it had no access.
I have corrected this, and now the initial requests should be processed directly.
Please accept my apologies for my oversight, and thank you for your patience and time.
Best regards,
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: First request takes 20sec
«
Reply #6 on:
March 28, 2024, 01:29:39 pm »
No worries, happy to have this sorted
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
First request takes 20sec