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

[GNS3 3.0.0] An error occurs while importing an image when using a connection with SSL encryption #3682

Closed
nwhisper2014 opened this issue Dec 26, 2024 · 4 comments
Labels

Comments

@nwhisper2014
Copy link

Describe the bug
If SSL encryption is configured, an error appears when trying to import a appliance image. For example: “Could not upload image vyos-1.4.0-kvm-amd64.qcow2: Connection closed (HTTP code None)”

If you close the window with the error by pressing the “OK” button and immediately re-import the image, the import completes successfully and the error message does not appear.

GNS3 version and operating system (please complete the following information):

  • OS: GN3 gui on Arch Linux
  • GNS3 version: 3.0.0
  • Remote controller with SSL encryption (ESXi, KVM)

To Reproduce
Steps to reproduce the behavior:

  1. Configure SSL encryption on the gsn3 controller
  2. In gns3-gui configure connection using https
  3. Open the New Template dialog, select "Install an appliance from the GNS3 server (recommended)"
  4. Select any template that does not have an image on the controller.
  5. Click the Import button and select the image
  6. See error

Screenshots or videos

Error message when trying to import a vyos image:
import-image-gui-https

Remote controller preferences:
import-image-gui-https-settings

grossmj added a commit that referenced this issue Dec 26, 2024
@grossmj
Copy link
Member

grossmj commented Jan 4, 2025

@nwhisper2014 do you still have the issue in v3.0.2?

@nwhisper2014
Copy link
Author

@nwhisper2014 do you still have the issue in v3.0.2?

No, it's fine now.

@grossmj
Copy link
Member

grossmj commented Jan 6, 2025

Ok great, I must have fixed this unintentionally when I fixed the other issue ;)

@grossmj grossmj closed this as completed Jan 6, 2025
@nwhisper2014
Copy link
Author

When importing an image using Image Manager, a similar problem occurs. For example, if I click the Upload button in Image Manager, select an image and click Open, the error message Error while uploading images to the controller appears. In details: Connection closed (HTTP code None).

If I close the error message and repeat the import without leaving Image Manager, everything works successfully.

I am getting this error on GNS3 versions up to 3.0.2.

image-upload-via-image-manager

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants