Jump to content


Photo

Eddie (AirVPN client) freezes after sleep - OSx


  • Please log in to reply
26 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
  • 3 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
  • 5 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
  • 3 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






Similar Topics Collapse

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Servers online. Online Users: 12717 - BW: 34217 Mbit/sYour IP: 54.162.168.187Guest Access.