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

Cannot install erlide #355

Open
fowlay opened this issue Jun 15, 2023 · 6 comments
Open

Cannot install erlide #355

fowlay opened this issue Jun 15, 2023 · 6 comments

Comments

@fowlay
Copy link

fowlay commented Jun 15, 2023

I am having a problem when trying to install erlide from https://erlide.org/update -

JDK version: openjdk version "11.0.1" 2018-10-16
Eclipse version: 2.3.1300.v20230302-0300

What I get is this,

Unable to read repository at https://erlide.org/update/compositeContent.xml.
Unable to read repository at https://erlide.org/update/compositeContent.xml.
Certificate for <erlide.org> doesn't match any of the subject alternative names: [*.github.io, github.io, *.github.com, github.com, www.github.com, *.githubusercontent.com, githubusercontent.com]

@vladdu
Copy link
Collaborator

vladdu commented Jun 15, 2023

That's weird. Browsers can view the compositeContent.xml file, and say the certificate is ok. There have been no changes about this that I am aware of, maybe something changes on the github side? Hmmm.... I find some posts on the net about a related bug in the apache http client library, but I doubt it is that. Does it worj with other Eclipse versions? (I'm guessing it's a typo and you don't run v2.3)

@bjosv
Copy link
Collaborator

bjosv commented Jun 15, 2023

Yes, the Eclipse version seems a bit unusal.

Just as a reference; I just now successfully installed Erlide on a fresh setup using
openjdk 11.0.19 2023-04-18
eclipse.buildId=4.27.0.20230309-1200
without complaints (on a Ubuntu 2022.04 with ca-certificates-java 20190909ubuntu1.2).

I tried to match the date in your Eclipse version, but I now see there is an extra v in yours as well.

@fowlay
Copy link
Author

fowlay commented Jun 15, 2023

Thanks for fast response!

No, the 2.3 is not a typo - the string is from Help->About, and clicking the "Eclipse icon" (dark blue circle with three white stripes)

I am on an enterprise host where there are preinstalled versions of Eclipse. When I instead downloaded Eclipse for Java from eclipse.org to my home directory things improved, but I still could not install erlide from https://erlide.org/update

(my Eclipse version is now: Version: 2.3.1400.v20230605-0440)

Finally I downloaded the erlide software using Eclipse on a Win10 machine and commands like

Channel=update
Meta=org.eclipse.equinox.p2.metadata.repository.mirrorApplication
Arti=org.eclipse.equinox.p2.artifact.repository.mirrorApplication
Arch=https://erlide.org/$Channel
eclipse -noSplash -application $Meta -source $Arch -destination erlide-$Channel
eclipse -noSplash -application $Arti -source $Arch -destination erlide-$Channel

From the downloaded software I could then create a "Local..." software site and install from it.

Having come this far, I noticed that OTP 25 can't be used with erlide. There was no syntax coloring, following of function calls did not work, etc. Stepping down to OTP 24 solved this.

@bjosv
Copy link
Collaborator

bjosv commented Jun 16, 2023

Regarding the OTP25 problem, are you using erlide 0.61.1.v20230130?

@fowlay
Copy link
Author

fowlay commented Jun 16, 2023

Yes: 0.61.1.v20230130-1531

@bjosv
Copy link
Collaborator

bjosv commented Jun 16, 2023

Interesting.
What is your backend version vs. required version in the project?

See menu: Window -> Preferences

image

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

3 participants