Hi hray47, welcome to the forum

Does the setting "Scan traffic from well-known browser processes only" affect the connection?
Open avast -> Real Time Shields -> Web Shield -> Expert Settings -> Scan traffic from well-known browser processes only
If not, perhaps an exclusion of the exectuable may help.
Scott