Jump to content


Photo

Eddie (AirVPN client) freezes after sleep - OSx


  • This topic is locked This topic is locked
39 replies to this topic

#21 psychlops

psychlops

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts

Posted 16 May 2017 - 05:21 PM

The previous version (2.11.15) isn't any better. My computer woke up with Eddie frozen the last 4 days in a row using it, but it still has fewer disconnects than 2.12.4. 

 

Would a member of staff please care to comment on whether this is being looked into, or, better yet, a fix is in the works?

 

Lots of comments from users here, none from staff. Thank you.



#22 j.escrow

j.escrow

    Newbie

  • New Members
  • Pip
  • 4 posts

Posted 16 May 2017 - 05:22 PM

Nice one mikeappell, that worked just fine :) 

 

Hey folks, same problem here. Here's my solution; it usually resolves the issue within ~30 seconds without a need for a reboot.

 

1) Once you confirm Eddie isn't responding (app won't come on screen), force-close it (Apple at top left -> force quit -> Eddie)

2) Bring up Terminal.

3) First, check if there are any instances of Eddie still running after the force-quit by typing `ps aux | grep airvpn`. Note: background instances of Eddie are what, at least for me, have resulted in multiple shadow connections to AirVPN running, and killing them fixes it.

    3.1) If any are running (besides the grep command you just ran), kill it. Find the PID (it's a 1-5 digit number) and type `kill PID` where PID is that number, e.g. `kill 20132`

    3.2) Check `ps aux | grep airvpn` again; it may take a few seconds for it to fully quit. If it refuses to quit even after 10 seconds, type `kill -9 PID`. This should force it to quit.

4) Type these commands: `sudo route -n flush`, then `sudo ifconfig en0 down`, then `sudo ifconfig en0 up`. You will need to know your laptop's admin password for this, as sudo will ask for it.

    4.1) Note: these assume that en0 is your active wifi interface. You should notice your wifi drops at `down` and resumes at `up`. If not, type `ifconfig` and see which interface lists a status of `active`.

5) Reload Eddie, try connecting again. Post your results here   :D

 

Note: I've made aliases in console for a few of these. I have `pgrep` aliased to `ps aux | grep airvpn`, and `aflush` aliased to `sudo route -n flush;sudo ifconfig en0 down;sudo ifconfig en0 up`. Saves a lot of time on something that I'm forced to do multiple times per day. You can create permanent aliases by modifying your `~/.bash_profile` file; I'd look up instructions online if you're not familiar.

 

 

All of this is a rough hack for the real issue, of course, which is that Eddie deals hideously poorly with sleep mode on OSX. This is very close to a deal-breaker for me: on my Windows PC, it works great, but most of my work is done on my Mac these days.



#23 psychlops

psychlops

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts

Posted 16 May 2017 - 08:56 PM

I'd try that, but I don't speak the language.

 

I don't suppose anyone could write an applescript or two, could they? Something for the clueless?



#24 TACD

TACD

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 18 May 2017 - 08:15 AM

The previous version (2.11.15) isn't any better. My computer woke up with Eddie frozen the last 4 days in a row using it, but it still has fewer disconnects than 2.12.4. 

 

Would a member of staff please care to comment on whether this is being looked into, or, better yet, a fix is in the works?

 

Lots of comments from users here, none from staff. Thank you.

 

Yes, it would be appreciated if a member of staff could at least acknowledge that this is a problem they are aware of. This is not a rare issue and it has a significant impact on the overall usability of the service.



#25 Aaronson

Aaronson

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 18 May 2017 - 06:00 PM

Just to pitch in, also Osx users (latest version) and Eddie keeps crashing (latest version) after sleep/hibernation. Force quit with activity monitor or via terminal solves the issue but this is only a very rudimentary fix.



#26 gspot

gspot

    Newbie

  • New Members
  • Pip
  • 1 posts

Posted 19 May 2017 - 03:22 PM

Same here and I wish that Eddie would be stable as it's otherwise a great client. (Sure, I'd like the option to store the password so an auto reboot wouldn't require me to be around to sign in).



#27 j.escrow

j.escrow

    Newbie

  • New Members
  • Pip
  • 4 posts

Posted 22 May 2017 - 06:32 PM

Hey everyone, 

 

 

Not sure if that interests anyone, but I made a small applescript in Automator that launches Eddie without using its GUI. I m sure there are more elegant ways of coding this, but it does the job and doesn't seem to crash after waking up... so far.

I added it as a login item in preferences so no need to manually launch it at startup. On the plus side, you don't need to enter your password as it is stored within the script (you'll need to amend the script by replacing "password" with your own). 

You can also play around with delay times if you want it to launch faster. 

 

on run {input, parameters}
	tell application "Terminal"
		activate
	end tell
	
	delay 3 -- seconds  
	
	tell application "System Events"
		keystroke "n" using command down
		delay 2
		keystroke "sudo /Applications/Eddie.app/Contents/MacOS/Eddie -cli"
		keystroke return
		delay 1
		keystroke "password"
		keystroke return
		delay 3
		keystroke "c..."
		delay 2
		keystroke "o..."
	end tell
end run

To terminate Eddie, just navigate to the Terminal window and use CTRL-C. As I m lazy, I wrote another small script that does it for me :) (it also quits Terminal).

 

on run {input, parameters}
	tell application "Terminal"
		activate
	end tell
	
	delay 3 -- seconds  
	
	tell application "System Events"
		keystroke "2" using command down
		delay 1
		keystroke "c" using control down
		delay 4
		keystroke "q" using command down
	end tell
end run


#28 spinmaster

spinmaster

    Advanced Member

  • Members
  • PipPipPip
  • 35 posts

Posted 25 May 2017 - 11:47 AM

I have the same issue for a while ... which is quite annoying. Running macOS 10.12.5 and Eddie 2.12.4 ... after my Macbook went to Standby and I'm logging in again, Eddie is frozen ("spinning beachball") and I have to force quit the app to start Eddie again.

 

l65i9nxl.jpg

 

Any input from the Staff on this?



#29 j.escrow

j.escrow

    Newbie

  • New Members
  • Pip
  • 4 posts

Posted 30 May 2017 - 11:52 AM

Hey everyone, 

 

 

Not sure if that interests anyone, but I made a small applescript in Automator that launches Eddie without using its GUI. I m sure there are more elegant ways of coding this, but it does the job and doesn't seem to crash after waking up... so far.

I added it as a login item in preferences so no need to manually launch it at startup. On the plus side, you don't need to enter your password as it is stored within the script (you'll need to amend the script by replacing "password" with your own). 

You can also play around with delay times if you want it to launch faster. 

 

on run {input, parameters}
	tell application "Terminal"
		activate
	end tell
	
	delay 3 -- seconds  
	
	tell application "System Events"
		keystroke "n" using command down
		delay 2
		keystroke "sudo /Applications/Eddie.app/Contents/MacOS/Eddie -cli"
		keystroke return
		delay 1
		keystroke "password"
		keystroke return
		delay 3
		keystroke "c..."
		delay 2
		keystroke "o..."
	end tell
end run

To terminate Eddie, just navigate to the Terminal window and use CTRL-C. As I m lazy, I wrote another small script that does it for me :) (it also quits Terminal).

 

on run {input, parameters}
	tell application "Terminal"
		activate
	end tell
	
	delay 3 -- seconds  
	
	tell application "System Events"
		keystroke "2" using command down
		delay 1
		keystroke "c" using control down
		delay 4
		keystroke "q" using command down
	end tell
end run

 

Just to update this, I have been using this GUI-less solution for over a week and no crash so far. It also automatically re-connects to different wifi networks without issues, something that Eddie & its predecessor had some trouble achieving (i.e close your laptop - goes to sleep, go to friend's house / work, awake laptop, re-connects without issue).

 

The only problem is making sure airvpn is active. For that, I just check iplocation.net .



#30 zheshibushibi

zheshibushibi

    Newbie

  • New Members
  • Pip
  • 3 posts

Posted 31 May 2017 - 09:47 AM

Just chipping in to say that I have this problem with Eddie hanging, and it isn't necessarily after long periods of use or after sleep. On one occasion, I launched Eddie, connected to a server, disconnected a few minutes later (I'm in China and often need only short connections), then after a few minutes Eddie froze. My machine didn't sleep or go to screensaver during this time. It does seem to have something to do with the ping times being enabled. However I can't really turn them off permanently since my pings vary wildly from day to day and my situation (China) requires frequent switching of servers.

 

Appreciate all the efforts from those making scripts. For those recommending a downgrade, I'd reply that this has possible security implications.



#31 hahbah406

hahbah406

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 31 May 2017 - 01:18 PM

Same problems here; running MacOS 10.12.5 and Eddie 12.12.4



#32 waterfall

waterfall

    Member

  • Members
  • PipPip
  • 21 posts

Posted 01 June 2017 - 01:46 AM

Switching to UDP Port 443 seems to have solved the problem for me on my MacBook Retina running 10.12.5.

 

Go to Eddie-->Preferences-->Protocols

Highlight UDP 443.

Hit Save.

Re-boot Eddie.



#33 Keksjdjdke

Keksjdjdke

    Advanced Member

  • Members
  • PipPipPip
  • 157 posts

Posted 01 June 2017 - 05:45 AM

Here's the lead developer's Github page where you can watch the progress of Eddie's development, and report problems with Eddie.
https://github.com/Clodo76/airvpn-client

#34 amazeballs

amazeballs

    Member

  • Members
  • PipPip
  • 18 posts

Posted 04 June 2017 - 11:26 PM

I also have the same problem with Eddie.  Latest macOS.

 

I have to Force Quit Eddie every time I wake my Mac and then restart the app.  

It is a PITA - not on a 'solving world hunger' sort of level, but annoying none the less.



#35 Aaronson

Aaronson

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 06 June 2017 - 06:51 PM

 

Hey everyone, 

 

 

Not sure if that interests anyone, but I made a small applescript in Automator that launches Eddie without using its GUI. I m sure there are more elegant ways of coding this, but it does the job and doesn't seem to crash after waking up... so far.

I added it as a login item in preferences so no need to manually launch it at startup. On the plus side, you don't need to enter your password as it is stored within the script (you'll need to amend the script by replacing "password" with your own). 

You can also play around with delay times if you want it to launch faster. 

 

on run {input, parameters}
	tell application "Terminal"
		activate
	end tell
	
	delay 3 -- seconds  
	
	tell application "System Events"
		keystroke "n" using command down
		delay 2
		keystroke "sudo /Applications/Eddie.app/Contents/MacOS/Eddie -cli"
		keystroke return
		delay 1
		keystroke "password"
		keystroke return
		delay 3
		keystroke "c..."
		delay 2
		keystroke "o..."
	end tell
end run

To terminate Eddie, just navigate to the Terminal window and use CTRL-C. As I m lazy, I wrote another small script that does it for me :) (it also quits Terminal).

 

on run {input, parameters}
	tell application "Terminal"
		activate
	end tell
	
	delay 3 -- seconds  
	
	tell application "System Events"
		keystroke "2" using command down
		delay 1
		keystroke "c" using control down
		delay 4
		keystroke "q" using command down
	end tell
end run

 

Just to update this, I have been using this GUI-less solution for over a week and no crash so far. It also automatically re-connects to different wifi networks without issues, something that Eddie & its predecessor had some trouble achieving (i.e close your laptop - goes to sleep, go to friend's house / work, awake laptop, re-connects without issue).

 

The only problem is making sure airvpn is active. For that, I just check iplocation.net .

 

I can also recommend Little Snitch (very customisable Firewall which can be set up to block all traffic except over AirVPN). I will try the GUI-less approach, when it works it would be great (so thanks in advance!), although it's hardly an elegant solution.



#36 spinmaster

spinmaster

    Advanced Member

  • Members
  • PipPipPip
  • 35 posts

Posted 06 June 2017 - 07:49 PM

Switching to UDP Port 443 seems to have solved the problem for me on my MacBook Retina running 10.12.5.

 

Go to Eddie-->Preferences-->Protocols

Highlight UDP 443.

Hit Save.

Re-boot Eddie.

 

Does not change anything for me ... :no: Also, I doubt that this issue on macOS is in any way relevant to a specific protocol and/or port.



#37 waterfall

waterfall

    Member

  • Members
  • PipPip
  • 21 posts

Posted 08 June 2017 - 10:22 PM

Switching to UDP Port 443 seems to have solved the problem for me on my MacBook Retina running 10.12.5.

 

Go to Eddie-->Preferences-->Protocols

Highlight UDP 443.

Hit Save.

Re-boot Eddie.

Does not change anything for me ... :no: Also, I doubt that this issue on macOS is in any way relevant to a specific protocol and/or port.

That's too bad. I'm not sure why it worked for me but it did and is still working fine. Since I changed the port, I have had no problems with Eddie disconnecting and then getting stuck in endless reconnect loops.

I also deleted everything Sophos from my computer too around the same time.

I hope you can figure out your connection problems soon.



#38 Staff

Staff

    Advanced Member

  • Staff
  • PipPipPip
  • 6844 posts

Posted 09 June 2017 - 09:58 AM

Hello!

 

All the persons who experience this problem can test Eddie 2.13beta now.

 

Kind regards



#39 genoma

genoma

    Newbie

  • New Members
  • Pip
  • 1 posts

Posted 09 June 2017 - 06:16 PM

Hello!

 

All the persons who experience this problem can test Eddie 2.13beta now.

 

Kind regards

 

Hi,

 

first thing I noticed it still ignores the custom OpenVPN path. Could you please have a look at it?

 

Thanks.



#40 Keksjdjdke

Keksjdjdke

    Advanced Member

  • Members
  • PipPipPip
  • 157 posts

Posted 10 June 2017 - 01:33 AM

It looks like the latest beta of Eddie fixes this issue.

https://eddie.website/download/?platform=macos&arch=x64&ui=ui&format=installer.pkg&version=experimental&r=0.38617496202415824







Similar Topics Collapse

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

Servers online. Online Users: 14480 - BW: 42155 Mbit/sYour IP: 54.80.111.72Guest Access.