question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when trying to run easyvpn

See original GitHub issue

When I tried to run the example code I got:

λ easyvpn -c US     
info: disabling NCP mode (--ncp-disable) because not in P2MP client or server mode
info: Options error: You must define TUN/TAP device (--dev)
info: Use --help for more information.
info:  
info: child process exited with code 1

… after that I tried to read the --help section and got:

λ easyvpn --help
error:  TypeError: May not write null values to stream
    at validChunk (_stream_writable.js:209:10)
    at WriteStream.Writable.write (_stream_writable.js:243:12)
    at resolve (/usr/lib/node_modules/easyvpn/index.js:26:48)
    at Promise._execute (/usr/lib/node_modules/easyvpn/node_modules/bluebird/js/release/debuggability.js:300:9)
    at Promise._resolveFromExecutor (/usr/lib/node_modules/easyvpn/node_modules/bluebird/js/release/promise.js:481:18)
    at new Promise (/usr/lib/node_modules/easyvpn/node_modules/bluebird/js/release/promise.js:77:14)
    at vpns.slice.map (/usr/lib/node_modules/easyvpn/index.js:26:18)
    at Array.map (native)
    at WriteStream.writer.on (/usr/lib/node_modules/easyvpn/index.js:25:41)
    at emitOne (events.js:96:13)
    at WriteStream.emit (events.js:188:7)
    at WriteStream.<anonymous> (fs.js:1942:10)
    at FSReqWrap.oncomplete (fs.js:112:15)

–> at resolve (/usr/lib/node_modules/easyvpn/index.js:26:48)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
rodrigogscommented, Jan 26, 2017

The error you have is caused because you dont have any TUN/TAP adapter installed. On Windows, Openvpn needs a TUN/TAP adapter to work.

https://community.openvpn.net/openvpn/wiki/BridgingAndRouting

Regarding the --help option… I’m working on it 😃

1reaction
rodrigogscommented, Jan 30, 2017

Maybe I should add a proxy option. What do you think?

Read more comments on GitHub >

github_iconTop Results From Across the Web

EasyVPN problems - Cisco Community
Hi, Cisco 2811 is VPN concentrator. For two days some users cannot connect to the device with EasyVPN Client. We have issued the...
Read more >
I am trying to uninstall SurfEasy but I am receiving an error ...
Right click on the taskbar at the bottom of your screen and select "Task Manager". Step 2: Click on the "Processes" tab and...
Read more >
EasyVPNConnect Windows User Guide - IronSocket
VPN Setup; DNS Proxy; IP Whitelist. Run EasyVPNConnect on Startup Check this box if you want the IronSocket client to open every time...
Read more >
EasyVPN error that may (or may not) be relevant to Secure Email ...
Have posted this here as well as in EasyVPN since it may be a problem with Secure Email. The following error occurs when...
Read more >
Cisco Easy VPN problem with 871 router - Experts Exchange
Find answers to Cisco Easy VPN problem with 871 router from the expert ... *Mar 4 15:23:41.135: ISAKMP:(0):Can not start Aggressive mode, trying...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found