Closed GoogleCodeExporter closed 9 years ago
Title should be:
Won't import PT .ovpn files - parsing
Original comment by fhaus...@gmail.com
on 18 Jul 2014 at 9:44
I think your ovpn file is somehow broken. Judging from the error message you
have imported a html file.
Original comment by arne@rfc2549.org
on 18 Jul 2014 at 10:20
At the time I checked today, all .ovpn files downloaded from privatetunnel.com
follow this general format:
<div class="rt-joomla ">
<div class="rt-article">
<p><span style="font-size: 12.222222328186035px; line-height: 15.796296119689941px;"># Automatically generated OpenVPN client config file
# Generated on Fri Jul 18 06:48:09 2014 by us-il-chi-001
(Many more #configuration lines)
...
# zafXhJd85Gju0bZstM
# -----END RSA SIGNATURE-----
</span></p>
</div>
</div>
Chrome, Opera Mini and Dolphin each download the .ovpn files identically.
The official client, OpenVPN Connect
Connect, parses each of these .ovpn files without error, effectively ignoring
the html.
I'm suggesting that OpenVPN For Android should also parse these files,
improving the user experience and interoperability.
As a side note, if, at install&try time, this client had successfully imported,
I would not have moved on to the official client.
Original comment by fhaus...@gmail.com
on 18 Jul 2014 at 11:50
I am not comfortable with ignoring unknown configuration. That configuration
file is just not a valid configuration file. I suggest that you contact
privatetunnel.com support.
I will not implement a html parser to parse these completely broken files.
Original comment by arne@rfc2549.org
on 18 Jul 2014 at 11:55
Original issue reported on code.google.com by
fhaus...@gmail.com
on 18 Jul 2014 at 9:41