Did you configure well the avast proxy settings? (avast settings > Update (Basic) > Details > Proxy settings) You have a ‘test connection’ buttom there… Good luck.