-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: read: Input/output error #362
Comments
Maybe a problem with the FortiGate device. Can you try with FortiClient? Chances are it it will bail out with an error message too. |
Looking at log from --pppd-log option:
@DimitriPapadopoulos is this enough to pin the blame on the server? |
@DimitriPapadopoulos the POS FortiClient for Linux doesn't even work with 2FA :( |
This message does look strange: Now why PPP isn't up? You have provided the PPP log which is extremely helpful. Often users don't provide it and I myself forget about it. We should write a wiki page to document how to troubleshoot openfortivpn! This looks suspect: |
Thanks, I will ask the team that looks after the device. |
OK, error went away with me doing nothing - must have been something on the server side. Thanks for your help. :) |
I experienced the same nonsense when I forgot to use sudo. Personally, I think openfortivpn should have "Your'e not root. It's frequently needed" as a printout in its path to an error exit (assuming it's true). For me, it would have saved about 40 minutes of post-afterwork-pondering. |
@ageric That looks unrelated. Please open a new ticket. |
@ageric Also openfortivpn prints: |
Yes, you're right. I realized in my state of post-debauchery hangover that I forgot to use sudo. If root privileges are required for parts of the tunnel setup (as they certainly are), just exit immediately if geteuid() != 0. Alternatively, make the error path check it and print it last, on every level of logging and debugging. Preferrably on a line of its own. It seems to be one of those things that is bound to happen every once in a while no matter what else is done, so going to some effort to show what it is is likely to save you quite a bit of time. |
Sounds right, but please open a new ticket as this one is closed and unrelated. |
Opened #373 myself to exit immediately if |
in the recently released version 1.8.0 openfortivpn exits immediately when it is not started with enough privileges (i.e. when it is not started via sudo or direictly launched by root or systemd) |
For some reason I started seeing this error yesterday when trying to connect:
Debian Sid, openfortivpn 1.7.1
Updated some packages yesterday so possible something came in and broke stuff.
Looks different to #154 so opened this new issue.
The text was updated successfully, but these errors were encountered: