First request takes 20sec

Started by fiR3W4LL87, March 15, 2024, 08:49:44 AM

Previous topic - Next topic
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.

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...


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 :

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


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,

No worries, happy to have this sorted :)


Cheers,
Franco