Author Topic: Avast Blocking Connection  (Read 7957 times)

0 Members and 1 Guest are viewing this topic.

StructuredLight

  • Guest
Avast Blocking Connection
« on: December 17, 2013, 07:15:28 AM »
Hello, I am having a problem with Avast blocking the program Greenfoot from launching on my computer. I know that Avast is causing the problem because Greenfoot works fine when I uninstall the Avast software. I reviewed the issue with the support team on Greenfoot and they told me a recent Avast update is causing the problem. This update is described here: http://stackoverflow.com/questions/19392087/cant-connect-to-localhost-after-avast-antivirus-latest-update Also, the way Greenfoot operates is described here: http://www.greenfoot.org/doc/firewall As you can see, Avast is blocking a connection needed to run the Greenfoot program. How can I configure the settings in Avast in order to allow the program to run properly? I've tried everything I could messing around with the settings and referring to other websites for information, but I just don't know how. Any help would be appreciated. I don't want to have to uninstall my Avast software in order to run Greenfoot.

Here is a debug log for Greenfoot, from the last time I attempted to run it:

Greenfoot run started: Tue Dec 17 00:47:43 EST 2013
Greenfoot version: 2.3.0
Java version 1.7.0_45
Virtual machine: Java HotSpot(TM) 64-Bit Server VM 24.45-b08 (Oracle Corporation)
Running on: Windows 7 6.1 (amd64)
Java Home: C:\Program Files\Java\jdk1.7.0_45\jre
----
Opening project: C:\Program Files (x86)\Greenfoot\lib\greenfoot\startupProject
1387259264998: Listening for JDWP connection on address: javadebug
Connected to debug VM via dt_shmem transport...
Communication with debug VM fully established.
Internal error: Could not launch RMI server
Exception message: Connection refused to host: 127.0.0.1; nested exception is:
   java.net.ConnectException: Connection timed out: connect
java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
   java.net.ConnectException: Connection timed out: connect
   at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
   at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
   at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
   at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:341)
   at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
   at java.rmi.Naming.rebind(Naming.java:177)
   at rmiextension.BlueJRMIServer.<init>(BlueJRMIServer.java:111)
   at rmiextension.RMIExtension.startup(RMIExtension.java:60)
   at bluej.extmgr.ExtensionWrapper.safeStartup(ExtensionWrapper.java:533)
   at bluej.extmgr.ExtensionWrapper.newExtension(ExtensionWrapper.java:209)
   at bluej.extmgr.ExtensionsManager.loadDirectoryExtensions(ExtensionsManager.java:164)
   at bluej.extmgr.ExtensionsManager.loadExtensions(ExtensionsManager.java:100)
   at bluej.extmgr.ExtensionsManager.getInstance(ExtensionsManager.java:61)
   at bluej.pkgmgr.Project.openProject(Project.java:467)
   at bluej.Main.processArgs(Main.java:158)
   at bluej.Main.access$000(Main.java:55)
   at bluej.Main$1.run(Main.java:97)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:694)
   at java.awt.EventQueue$3.run(EventQueue.java:692)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.net.ConnectException: Connection timed out: connect
   at java.net.DualStackPlainSocketImpl.connect0(Native Method)
   at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
   at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
   at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
   at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
   at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
   at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
   at java.net.Socket.connect(Socket.java:579)
   at java.net.Socket.connect(Socket.java:528)
   at java.net.Socket.<init>(Socket.java:425)
   at java.net.Socket.<init>(Socket.java:208)
   at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
   at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:147)
   at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
   ... 30 more
Commencing network test...
Local host address = 192.168.1.104
Local host ip = 192.168.1.104
Addresses for 'localhost':
 -> 127.0.0.1
 -> 0:0:0:0:0:0:0:1
(end of list).
Creating unbound server socket...
Successful.
Creating server socket bound to 127.0.0.1...
Successful.
Attempting to connect to 127.0.0.1:49337 with NO_PROXY...
(!!) Couldn't accept connection: Accept timed out
(!!) Exception class: java.net.SocketTimeoutException
Creating server socket bound to 0:0:0:0:0:0:0:1...
Successful.
Attempting to connect to 0:0:0:0:0:0:0:1:49339 with NO_PROXY...
Successful.
Attempting to connect to 0:0:0:0:0:0:0:1:49339...
Successful.
Creating server socket bound to 192.168.1.104...
Successful.
Attempting to connect to 192.168.1.104:49342 with NO_PROXY...
(!!) Couldn't accept connection: Accept timed out
(!!) Exception class: java.net.SocketTimeoutException
Network test complete.
(!!) Couldn't connect to local address: Connection refused: connect
(!!) Exception class: java.net.ConnectException


« Last Edit: December 17, 2013, 07:49:15 AM by StructuredLight »

imaginationdestinations

  • Guest
Re: Avast Blocking Connection
« Reply #1 on: December 17, 2013, 09:07:15 AM »
AVAST BLOCKING MY CONNECTION; CAN'T GET MY WINDOWS XP LOADED: After I clicked UPDATE yesterday, and it was completed, it was restarted, only my Windows XP never got loaded past "please wait....." My computer kept trying to restart. I called support and they told me it was MY computer, and I told him it was Avast. He was rude, and tried to blame me.Now I see that Avast obviously has a problem with the UPDATE itself. I'm stuck. I submitted for a tech ticket yesterday at 5pm (I'm in Italy) and I haven't heard from them since!!!  I'm not very technical and/or computer literate. So I need to get Avast "on the road"to fix my computer........THIS IS NOT A FREE VERSION. I PAID FOR THIS SOFTWARE, FOR THE PAST 3-4 YEARS. And, replying to other posts, Avast slows my computer down all the time, when it's doing daily updates, etc. I WANT A TECHIE TO CALL ME TODAY. I don't want written instructions......I don't understand the processes! +39 3336446473
TICKET # GBG-146-91275 J. BRANDON

Offline CraigB

  • Avast Überevangelist
  • Serious Graphoman
  • *****
  • Posts: 11239
  • No support PM's thanks
Re: Avast Blocking Connection
« Reply #2 on: December 17, 2013, 09:13:43 AM »
imaginationdestinations please start a topic of you own as your issue has nothing to do with the subject matter posted here and I'm sure the OP doesn't want his topic hijacked with unrelated material.

propheticus

  • Guest
Re: Avast Blocking Connection
« Reply #3 on: December 17, 2013, 10:25:53 AM »
There have been conflicts with Java, some of which already have been fixed. Are you using the latest program version? The latest is 9.0.2008. If this is already the case or does not help you could try the 9.0.2010 R2 Beta.

StructuredLight

  • Guest
Re: Avast Blocking Connection
« Reply #4 on: December 17, 2013, 11:08:15 PM »
There have been conflicts with Java, some of which already have been fixed. Are you using the latest program version? The latest is 9.0.2008. If this is already the case or does not help you could try the 9.0.2010 R2 Beta.

Yes, I am using the Avast version 2014.9.0.2008. Is there no way to change the Avast settings to allow Greenfoot to run properly? I figured the debug log that I included in my post would provide enough information to someone who knows how the advanced settings work. The only thing I was able to try was disabling all active protection, which didn't work. I think this part of the debug log reveals the problem: "Connection refused to host: 127.0.0.1" A connection is being blocked.
« Last Edit: December 17, 2013, 11:18:37 PM by StructuredLight »

olddog

  • Guest
Re: Avast Blocking Connection
« Reply #5 on: December 17, 2013, 11:20:45 PM »
Yes, I am using the Avast version 2014.9.0.2008.

You could try updating to the newly released 2014.9.0.2011

StructuredLight

  • Guest
Re: Avast Blocking Connection
« Reply #6 on: December 18, 2013, 12:21:34 AM »
Yes, I am using the Avast version 2014.9.0.2008.

You could try updating to the newly released 2014.9.0.2011

Can you provide a link to that update? My Avast status says everything is up-to-date. I also already updated to 9.0.2010 R2 Beta, and that didn't solve the problem, but I'd be willing to try this new update as well.

StructuredLight

  • Guest
Re: Avast Blocking Connection
« Reply #7 on: December 18, 2013, 12:22:46 AM »
Yes, I am using the Avast version 2014.9.0.2008.

You could try updating to the newly released 2014.9.0.2011

Can you provide a link to that update? My Avast status says everything is up-to-date. I updated to 9.0.2010 R2 Beta, and that didn't solve the problem, but I'd be willing to try this new update as well. By the way, I have Avast Internet Security.

Offline Alikhan

  • Avast Evangelist
  • Super Poster
  • ***
  • Posts: 2220
Re: Avast Blocking Connection
« Reply #8 on: December 18, 2013, 12:43:29 AM »
Yes, I am using the Avast version 2014.9.0.2008.

You could try updating to the newly released 2014.9.0.2011

Can you provide a link to that update? My Avast status says everything is up-to-date. I updated to 9.0.2010 R2 Beta, and that didn't solve the problem, but I'd be willing to try this new update as well. By the way, I have Avast Internet Security.

Since you used the BETA and currently there's a bug with the firewall (when updating through UI, will be fixed in few hours), I'd do a clean install...

A clean install won't have the current firewall bug too...

The following will download you to version 9.0.2011.

1. Download Avastclear, Rejzors uninstall tool and the appropriate Avast program edition

http://files.avast.com/iavs9x/avast_free_antivirus_setup.exe
http://files.avast.com/iavs9x/avast_pro_antivirus_setup.exe
http://files.avast.com/iavs9x/avast_internet_security_setup.exe
http://files.avast.com/iavs9x/avast_premier_antivirus_setup.exe

Avastclear : http://files.avast.com/iavs9x/avastclear.exe
Rejzors Uninstall tool: http://rejzor.wordpress.com/avast-cleanup-tool/

2. Uninstall Avast by control panel  [If you don't have Avast in control Panel go to #4]
3. Uninstall in safe mode using Avastclear.
4. Run Rejzors Uninstall Utility in Normal Mode (removes traces avastclear doesn't) - reboot.
5. Install the version you downloaded.
6. Reboot.
Windows 10 Home 64-bit • Avast Free (latest stable version) •  Malwarebytes 4 Premium (On-Demand) • Windows Firewall Control • Google Chrome • LastPass • CCleaner • O&O ShutUp10 •

StructuredLight

  • Guest
Re: Avast Blocking Connection
« Reply #9 on: December 20, 2013, 11:47:40 PM »
I have followed your instructions to do a clean install of the latest version, but still Greenfoot is being blocked by Avast. I'm assuming, after everything I've tried, that Avast is incompatible with programs like Greenfoot. The only possible solution would be if I could change the advanced settings to stop Avast from blocking the connection Greenfoot needs. If that's not possible then the only way that I know of to run Greenfoot is to uninstall Avast, which is the extreme solution I didn't want to resort to.
« Last Edit: December 20, 2013, 11:51:01 PM by StructuredLight »

Offline Alikhan

  • Avast Evangelist
  • Super Poster
  • ***
  • Posts: 2220
Re: Avast Blocking Connection
« Reply #10 on: December 20, 2013, 11:52:17 PM »
Yeah, exclude it... but make sure you know it's safe...
Windows 10 Home 64-bit • Avast Free (latest stable version) •  Malwarebytes 4 Premium (On-Demand) • Windows Firewall Control • Google Chrome • LastPass • CCleaner • O&O ShutUp10 •