-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Crash on Fedora 36 after got "Error: SSL connect error" when working with https websites #5088
Comments
First: Yes, I tried unchecking validate certificates. But since my OS is the recent Fedora version (36) with latest updated packages and google is a very popular website I don't think that there is a problem with Certificate/CA. This is timeline with SSL validation disabled
Second: Yes, I tried both cURL, Postman (installed after so many tries to use Insomnia without success, including downgrade to 2022.4.0) and of course browser - all work flawlessly. This is verbose log of cURL
|
I have the exact same problem on Fedora 36 after a system update since tuesday. Was on version 2022.3.0 as this started and upgraded to 2022.5.0 and also tried 2022.6.0 beta, no difference at all. Core dump on crash:
|
Same here. Same results on 2022.4.0 and 2022.5.1 |
Same behavior on Fedora 26 |
I have been facing this issue for a little while as well, after updating my system a few days ago on f36 |
Could be this related to #4543 ? I have tried the workaround described in this comment but got no luck. |
The provided rpm is using gnutls. ldd shows |
Having the same error on fedora 36. |
Hello, same problem for me on fedora 36 on 2022.4.0, 2022.4.2, 2022.5.0 and 2022.5.1 |
Hey! same problem here on Fedora 36. Please for God's sake help me... I can't keep working on postman. I need my Insomnia back 😭😭 |
Same problem here with Insomnia 2022.5.1 and F36 |
Hi folks, just a quick update, we're aware of this issue and we know it's affecting a handful of users, we'll be looking into it as soon as possible. Please bear with us and if it helps in your case, I recommend using an older stable version, perhaps 2022.4.2. EDIT: I just noticed @Nopraz comment that 2022.4.2 might not work, so it could be be some change we've introduced earlier. Please ping me here if you are using a version that works for Fedora 36, what is the version number. Heads up @subnetmarco @wongstein - tracking this one internally in https://linear.app/insomnia/issue/INS-1827/community-bug-crash-on-fedora-36-after-got-error-ssl-connect-error |
@filfreire thanks! I have made some tests with older versions and it all seems to have the same issue, so i've reviewed the last updates on my OS and looks like the problem starts happening after upgrade cups from 2.4.1 to 2.4.2 (why i cannot say). Downgrading cups to 2.4.1 solves the problem. Hope that piece of info help you guys. This is the list of downgraded packages:
EDIT: |
Downgrading insomnia to 2022.4.2 didn't work. Downgrading cups to 2.4.1 did work.
EDIT: I'm just confirming that @davelima was right about cups. He did all the investigative work and is the real MVP. |
This worked for me. You are my hero. |
MY HERO! thanks! |
It worked for me also. Thanks. |
I only had cups-libs installed. So I just downgraded it, |
Thank you so much ! But why does Insomnia uses cups ? Isn't cups for printers ? |
Hi folks, quick update, but after installing updates on Fedora 36, I can reproduce the exact same issue, with these error logs
and Insomnia crashing soon after the SSL error: SolutionI tried solution mentioned above by @davelima and @bisby And after running Thank you @davelima and @bisby 😉🎖️
This is the part where I also have no idea at the moment. Tagging @DMarby and @johnwchadwick, perhaps they might have a hint here. |
Just to reinforce Valeu @davelima |
So I compiled libcurl against my system's installed libcurl. I wasn't happy with cups downgrade workaround. I used the following steps
Now its working fine with latest cups installed. |
Thanks @sarim for the detailed writeup! I would've never been able to compile Insomnia otherwise. This took ages to build on my i5 12400, but in the end it worked. Fedora 36 as well. I didn't like the idea of downgrading the cups-lib package, nor removing it as others suggested - it wanted to remove all of my installed packages, quite crazy. This is something that the Insomnia team should really look into ASAP, it's basically making the app unusable in Fedora 36. If your instructions worked for recompiling the app and making it work - couldn't the Insomnia team replicate this and make an updated version? Also, does anybody know if the same issue happens with the AppImage? Thanks! |
Yes, issue also happens with the official provided AppImage. You can use the AppImage after compiling from my instructions. It'll be in
I don't know the metric of user distro's, who are the audience of rpm packages? Fedora users? centos/almalinux? suse?. Instead of trying to make a single rpm work in all distro/all version, A simple fix could be just to publish separate packages for fc35/fc36. It could be easily done with modifying existing github actions a little bit. I can do a PR if that direction is acceptable to insomnia team. |
While this works on this Fedora 37 installation (thank you!), the following happens during installation beause a Slack installation seems to be in the way:
Removing these symlinks did not help, but forcefully installing the package did:
|
@filfreire are there any news regarding this experimental build? I'm getting the same thing in Fedora 37 with 2022.7. @CrystalSpore what other tool are you using? I'm really having a hard time trying to use Insomnia under Fedora and Postman isn't exactly my cup of tea. @padys thanks for the workaround, unfortunately it didn't work for me with Fedora 37 and Insomnia 2022.7 or 2022.6 :( I'm currently needing to share requests now with other people I work with and I was thinking in getting a team subscription, but support is being a bit lacking. I know there's holidays and such but it's been a few months already with this issue, and this whole revert/install packages/reinstall/downgrade/etc. mess isn't helping much either. Edit:
Fixed it for me. Maybe mixed with @padys's workaround. I'm back again. What a mess :( |
Btw, i use the experimental build from here: #5281 (comment) It's working fine for me on fedora 37. |
I also used the experimental build, and my problems went away. |
Latest version 2022.7.1 still not working on fedora 37 |
2022.7.2 is not working (showing the same SSL errors) even after compiling it myself, using #5088 (comment) workaround. Edit: 2022.7.4 after re-compilation is not working either. |
2022.7.4 is not working yet... pls help us |
2022.7.5 is not working yet... on fedora 37 |
Hi folks, I pushed a new experimental build from latest To install you can do:
And if it still doesn't work, try the workaround mentioned here. Also a small update. We're still looking into a proper fix for
The hypothesis is - the docker build alternative pr that is used to create the The definitive fix might be just making sure the We're still looking into how to fix this properly, but in the meantime I would suggest you to either hold with the experimental builds or to try and use the snapcraft version instead. If anyone from the community has a bit more in-deep knowledge and experience with building Electron for Fedora and have other hypothesis and suggestions please reach out. Thanks folks 🙇 |
The experimental builds does not work for me and I'm not interested in installing Snap. |
Quick follow-up update: Possible workaround# remove existing insomnia installations
sudo dnf remove insomnia
# install latest insomnia
sudo dnf install https://github.com/Kong/insomnia/releases/download/core%402022.7.5/Insomnia.Core-2022.7.5.rpm
# download cups 2.4.1 libs and copy them to insomnia
curl -O https://kojipkgs.fedoraproject.org//packages/cups/2.4.1/7.fc36/x86_64/cups-libs-2.4.1-7.fc36.x86_64.rpm
rpm2cpio cups-libs-2.4.1-7.fc36.x86_64.rpm | cpio -idmv
sudo cp ./usr/lib64/libcups* /opt/Insomnia/.
# run insomnia
insomnia Combinations tried:
The hypothesis I mentioned above, of This could also explain why regardless of using Other notes:
We'll update you folks as soon as we know more, but in the meantime please let us know if the workaround on this comment based on @padys original one also worked for you. |
Just to add to your combinations list: |
@tleepa thanks. It looks like the flatpak base runtime used, 21.08, uses an older cups, version I suspect that if this PR gets merged, and the newer runtime includes cups 2.4.2, Insomnia https requests would also start failing for flatpak users. |
@tleepa I suspect the flatpak version runs without any cups issue. However the last version is very outdated compared to upstream version. Any update about this issue? |
It worked for me! Waiting for a definitive solution, thank you all! 🥳 🎉 |
Also openSUSE Tumbleweed is affected. It ships with libcups2-2.4.2-4.2.x86_64 and current Insomnia 2023.2.0 breaks/crashes as described. ;( |
@stephan-uhlmann Maybe try any older version of libcups, even from RPM for previous version of openSuse. |
I tried the |
I'm still getting this in Fedora 38, fresh install. Any known workarounds? |
Workaround from comment #5088 (comment) works fine on Fedora 38.
|
BTW I just tried 2023.3.0 and same thing. Is there any ETA on resolution instead of trying workarounds like the above? |
Hm, Fedora 38 with 2023.4.0, no errors. Can someone confirm please? Tried production https and local certificates too. Installed RPM version |
@vicenterusso |
2023.5.5 on fedora 38 works perfectly here. |
2023.5.6 also works on openSUSE Tumbleweed with system level cups 2.4.2 |
SEE UPDATE 23 January 2023
Workaround
Expected Behavior
Working normally
Actual Behavior
After sending a request to a https website like https://google.com, got an error:
Error: SSL connect error
Reproduction Steps
Is there an existing issue for this?
Additional Information
Timeline:
Log from console:
Insomnia Version
2022.5.0 and later
What operating system are you using?
Other Linux
Operating System Version
Fedora 36 and 37
Installation method
rpm
Last Known Working Insomnia version
No response
The text was updated successfully, but these errors were encountered: