I encountered the same problem with a secure financial website which uses a java applet. With avast webshield ON, it just refuses to connect/load. I thought that the app might not like any interference of any kind but how would an applet know it was being monitored by avast shields?
Unable to find any solution, I just had to add a global exception to the website altogether. And now its fine.