Line too long Issue #152
-
When run the command openvpn3 session-start --config config.ovpn |
Beta Was this translation helpful? Give feedback.
Replies: 15 comments 2 replies
-
Can you share your config file? This error basically says that one of the lines in the config file is beyond the acceptable limit. |
Beta Was this translation helpful? Give feedback.
-
@ordex config.ovpn
|
Beta Was this translation helpful? Give feedback.
-
ca.crt and user.crt and user.key, tls.key is fiiles where secrets is encoded as base64 |
Beta Was this translation helpful? Give feedback.
-
How are those embedded files encoded? As a long single line, or wrapped around 75-80 characters? |
Beta Was this translation helpful? Give feedback.
-
Also, can you try to use the
Then you can try to start the session like this:
|
Beta Was this translation helpful? Give feedback.
-
@dsommers I use the command to write file echo $CA_CRT > ca.crt |
Beta Was this translation helpful? Give feedback.
-
Hmmm ... this looks very odd. The content of
|
Beta Was this translation helpful? Give feedback.
-
@dsommers fine i use as but still error showed |
Beta Was this translation helpful? Give feedback.
-
Okay, that is still odd. Did you try the |
Beta Was this translation helpful? Give feedback.
-
@dsommers not yet, i am on mac os and use vpn client with provided client.ovpn file from the admin |
Beta Was this translation helpful? Give feedback.
-
@dsommers @ordex i modifiy config file to client comp-lzo no ca ca.crt and the error is gone but have a new error |
Beta Was this translation helpful? Give feedback.
-
Your configuration file seem to be completely broken some how. When I copy-paste your configuration to a directory which contains some test keys/certificates with the same names .... this is what happens:
It doesn't connect, as the |
Beta Was this translation helpful? Give feedback.
-
And another test, using
In another terminal, before I run this command above, I started a log grabber:
|
Beta Was this translation helpful? Give feedback.
-
Please .... use |
Beta Was this translation helpful? Give feedback.
-
I'm converting this to a "Discussion", as this seems no longer to be a bug or an issue in the openvpn3-linux or related code. |
Beta Was this translation helpful? Give feedback.
Also, can you try to use the
openvpn3-as
utility to download the profile this way?Then you can try to start the session like this: