Skip to content
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

cant use .ovpn file #39

Open
SaekoYes opened this issue Apr 30, 2023 · 0 comments
Open

cant use .ovpn file #39

SaekoYes opened this issue Apr 30, 2023 · 0 comments

Comments

@SaekoYes
Copy link

Issue is I put my .ovpn file in the configuration source box however it just stays infinitely loading.

logs are:

Exception in thread Thread-2:
Traceback (most recent call last):
  File "/app/lib/python3.9/site-packages/eovpn/utils.py", line 49, in download_remote_to_destination
    zip_file = download_zip(remote)
  File "/app/lib/python3.9/site-packages/eovpn/utils.py", line 34, in download_zip
    return make_zip_from_b(f.read())
  File "/app/lib/python3.9/site-packages/eovpn/utils.py", line 29, in make_zip_from_b
    return zipfile.ZipFile(io.BytesIO(content), "r")
  File "/usr/lib/python3.9/zipfile.py", line 1257, in __init__
    self._RealGetContents()
  File "/usr/lib/python3.9/zipfile.py", line 1324, in _RealGetContents
    raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.9/threading.py", line 910, in run
    self._target(*self._args, **self._kwargs)
  File "/app/lib/python3.9/site-packages/eovpn/eovpn_base.py", line 294, in dispatch
    cert = download_remote_to_destination(self.get_setting(self.SETTING.REMOTE), self.EOVPN_OVPN_CONFIG_DIR)
  File "/app/lib/python3.9/site-packages/eovpn/utils.py", line 51, in download_remote_to_destination
    raise NotZipException(gettext.gettext("Configuration Source MUST be a ZIP file."))
eovpn.utils.NotZipException: Configuration Source MUST be a ZIP file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant