This started just today, in the past I have been able to upload to repos without issue.
When I tried to add a new project to a new repo, I was given an error "cannot connect to the repmote repository at in the gui window.
At first I suspected a connection problem so i tried to push another, existing project, using that project's default settings, and was given the dialog box error:
Git command returned with the following error:
: cannot open git-receive-pack
NetBeans IDE 8.0.2
You still have the option to switch to SSH as a workaround.
But first, check if this is related to Netbeans, and upgrade from 8.0.2 to 8.2.
Make sure also to use the latest Git.
This could be related to the recent "Weak cryptographic standards removal notice"
I had the same problem today. It is not related with Netbeans ide. I was using my webaccount password whereas github requires an access token, that you can generate from your webaccount.
Generate access token (see: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token);
Use it as password in the password field in netbeans.
Related
I am using STS (Spring Tool Suite) with Eclipse Luna 4.4 and I noticed that everytime I try to install something (for example Apache IvyDE, Web Tools Platform)via Help -> "Install new Software" I get the following error:
An error occurred while collecting items to be installed
session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.net4j.jms.api,3.1.100.v20140218-1709
How can I get rid of this error and install Eclipse's software and plugins?
EDIT: here is what it looks like:
Then I click "Next", while eclipse loads:
There's a "Cannot perform operation" message on the progress bar, and after that:
Then I accept the license and after clicking finish I get the error:
In the same dialog you'll see an option Contact all update sites during install to find required software, un-check it, ignore the prompt and click on Continue.
The above suggested solution worked when I've faced the problem. For this issue people are referencing https://bugs.eclipse.org/bugs/show_bug.cgi?id=290782, a colleague of mine picked a solution from this comment https://bugs.eclipse.org/bugs/show_bug.cgi?id=290782#c2
While all this solution are general to repository not found, I've found a thread discussing an issue with the plugin you mentioned, did you check it out already unable to install CDT in Eclipse Luna. The OP in this question solved the issue by upgrading from Java 1.6 to 1.8.
I had the same exact problem, until I asked me the question: what provide the org.eclipse.net4j.jms.api package ?
I've found this file in some git repository that looks like a configuration file for Eclipse plugins. What was interesting in that in the name of the provider: Eclipse Modeling Project.
With that, and the help of DuckduckGo, I've that the update site for this artefact is: http://www.eclipse.org/modeling/updates/
You should try to see what it contains using the "Install new software", after entering the URL in the first input field. It is very slow to fetch
You should be able to install or update (that was what I was doing).
I guess someone at Eclipse.org had the idea to update the repository, and that the system is so bad there is no way to tell Eclipse to look from old URL to a new. I'd rather like to see a Eclipse Central Plugin Repository like there is a Maven Central Repository, but that's another story.
I also had an issue like this, my error message was:
An error occurred while collecting items to be installed session
context was:(profile=epp.package.jee,
phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=,
action=). No repository found containing:
osgi.bundle,org.eclipse.net4j.jms.api,3.1.100.v20140218-1709
In my case an inactive repository was responsible for the error. By adding it to the Available Software Sites with Oracle Enterprise Pack for Eclipse and http://download.oracle.com/otn_software/oepe/12.1.3.5/luna/repository/ the error could be resolved.
Ensure trailing '/' for all Available Software Sites
For the No repository found containing: osgi.bundle... problem I tried several options and the only one that worked was #2 in this answer.
Help -> Install new software...
Click "Available Software Sites"
Ensure all the URLs have a trailing '/' (slash)
Try installation/update again
My version: Luna Service Release 2 (4.4.2)
I am using Eclipse Luna, and I am trying to import a project from github. However, it says "Internal error; consult Eclipse error log" when I pasted the URI in:
The project is valid. I've tried a few projects, and they all worked on my older Juno version of eclipse, but all failed on Luna, just like above. What should I do to reproduce this problem?
Here is my Eclipse log error: http://pastebin.com/QcfF4Xsq
I solved this problem going to "Preferences > General > Security > Secure Storage > Contents", open "[Default Secure Storage]", deleting the "GIT" row and finally restarting Eclipse.
You have a similar error message with other Eclipse-based products, like RTC:
A summary of the problem is that Eclipse uses a default location on your machine that is the same for all your Eclipse installs.
So if you have installed and used 32-bit Eclipse, then your secure storage requires the 32-bit plugins to access.
When you try to use a 64-bit Eclipse, it will try to read that secure storage and will fail because it is using the 64-bit plugins to read the storage.
The solution is to tell your Eclipse to use a different secure storage area. You can do this by running Eclipse with the following option:
-eclipse.keyring <file_path>
where <file_path> is the location of the file which you wish to use as your new secure storage area.
(You can check by the way if you have a consistent Eclipse distribution: all 32 bits or all 64 bits)
Note that another product (NetBeans) resolved the same error message like so (issue 211863)
I found the problem.
NetBeans is detecting a remnant of an Eclipse IDE installation. Once I deleted the file, the errors in the log went away.
C:\Documents and Settings\ttroy\.eclipse\org.eclipse.equinox.security\secure_storage
On Windows 7 or more:
C:\Users\<username>\.eclipse\org.eclipse.equinox.security\secure_storage
# or
%USERPROFILE%\.eclipse\org.eclipse.equinox.security\secure_storage
Delete C:\Users\USERNAME\.eclipse\org.eclipse.equinox.security\secure_storage it will resolve your problem.
This is the message I see in the eclipse Error log.
Secure storage was unable to retrieve the master password from the OS keyring. Make sure that this application has access to the OS keyring. If the error persists, the password recovery feature could be used, or secure storage can be deleted and re-created.
So as others said if you delete the secure_storage file and it should solve the problem.
On a mac, better use command line.
/Users/< userid >/.eclipse/org.eclipse.equinox.security
I'm getting really frustrated over this. Every imte i try to export my project I get the error: Conversion to Dalvik format failed with error 1
I tried a lot of things. I got the newest eclipse. Changed my proguard file.
This error only happened when I added the facebook 3.5.2 SDK to my project. We had in our library the same android-support-v4.jar. I deleted the one in my app and kept the one in the facebook SDK but I still het that error. Can anybody help me it's really frustrating ...
Thanks in advance..
We too faced this error and we found a smart solution for this,
Steps to resolve this error:
Uncheck the "Build Automatically" option in Project menu in eclipse.
Do project clean
And then, right click on the project name over
here you will find "Build Project" option
Click the "Build
Project" and now you can start export your project.
I hope it should work to you too.Please try and let me know...
For NewRelic users:
If you have integrated the newrelic jar in your app, this happens when the newrelic version is outOf date.
Solution:
Update the newrelic jar to the latest version. On eclipse, its just right click on the project and update newrelic. Or you can download the new version directly.
Thanks amalBit
I had the same error, and tried everything above but nothing helped me.
My projects are attached to GIT source control system, and I realized that there are some GIT related task while exporting to Andorid application. Then I commited all changes to the GIT repository and error dissapear.
So, if you are using GIT for source control and nothing above help you, try to commit all changes to the GIT repository (and eventually push to upstream) and try export again.
I just signed up for a GitHub micro plan and created my first private repo:
https://github.com/myproj/repo.git
(That's not the real URL). I then installed Egit for Eclipse (Juno), restarted, and tried to import repo.git. When I do so I am getting a Transport Error from Eclipse. Here are the exact steps I took to arrive at this issue:
Downloading eclipse:
Installing EGit:
Importing project from GitHub:
When I try to search for my repo, Eclipse says it's not found:
Trying again, via Git Repository Exploring perspective:
"Transport Error": ?!?!
Being so new to Git, EGit and GitHub, I'm wondering if any of the following are happening:
Do I need to do something from inside my GitHub account/repo (e.g., turn something on, adjust a setting, etc.) to make it "searchable" from inside EGit? SSH keys perhaps?
Do I need to configure Egit somehow?
Am I going about this the wrong way entirely?
The bottom line is: I believe this is the "normal" way to install Eclipse and EGit, so I'm perplexed as to why this isn't working. I'm wondering if it's some bug with EGit and private repos? Thanks in advance.
You can also try Window > Open Perspective > Git Repository Exploring and right click > Paste Repository Path
Not sure whether this is the problem but you may try adding an SSH key. Described here.
I've been up for hours now, searching online for a solution. I can happily say, this has really pissed me off.
Upon opening 'Install New Software' I get "'Contacting Software Sites' has encountered a problem.
Some sites could now be found. See the error log for more detail."
Here's the error log:
Some sites could not be found. See the error log for more detail.
Unable to read repository at
http://download.eclipse.org/webtools/repository/indigo/content.xml.
Cannot assign requested address: JVM_Bind Unable to read repository at
http://download.eclipse.org/eclipse/updates/3.7/content.xml. Cannot
assign requested address: JVM_Bind Unable to read repository at
http://download.eclipse.org/mylyn/releases/indigo/content.xml. Cannot
assign requested address: JVM_Bind Unable to read repository at
http://download.eclipse.org/releases/indigo/content.xml. Cannot assign
requested address: JVM_Bind
Any ideas?
I want to install MercurialEclipse but it cannot find the repository, same for the defaults.
I had the same problem. And found solution on russia site.
In file eclipse.ini under line -vmargs add this line:
-Djava.net.preferIPv4Stack=true
This will resolve problem.
Site with explanation
I have encountered the same problem. I have resolved disabling the site using:
Window → Preferences → Install/Update → Available software Site
Here the site that can be used have a tick (enabled). You must find the site that caused the problems and disabled them.
I hope this could be useful.
I encountered the same problem and solved it by disabling the McAffee Host Intrusion Detection program during the installation.
I noticed an additional symptom that I wasn't able to browse the Internet using the Eclipse Internal Web Browser feature using below Eclipse Menu navigational steps:
Window → Show View → Other → General → Internal Web Browser.
I have had the same problem in the past when installing new software in Eclipse.
In my case it has always been a problem with my Eclipse Proxy settings.
Eclipse > Preferences > General > Network Connections
Make sure you have your proxy settings configured correctly. If you are on a college or office network you can get the Proxy details of the administrator. In my case I had to configure the HTTP, HTTPS and the SOCKS.
The SOCKS requires that you input your username and password.
NOTE: If your network username or password changes you will have to update this.
In my case I had to change the "Active Provider" drop down from 'Direct' to 'Manual'
This solved all my problems
More info at http://help.eclipse.org/helios/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Freference%2Fref-net-preferences.htm
I had the same issue, to resolve it, I preformed the following steps:
Made sure the internal browser was able to connect to the internet.
Window/preferences
install/update
available Software sites
click on each row that is checked, one at a time and at the bottom right side of the window it will tell you if the resource is available or not. If that resource is not available then uncheck it. I then added the following resource site and this was able to fix the error.
Name:Composite Marketplace Repository
Location:http://marketplace.eclipse.org/repo
HOPE THIS HELPS...
This is a shot in the dark and might not help but, have you tried the following:
Can you connect to internet at all through Eclipse?
Open the internal webbrowser. In Eclipse: Window -> show view -> Other -> General: Internal web browser.
Look up any normal adress, is it working?
Can you connect to another update site? Try for example Eclipse Emma:
http://update.eclemma.org/ Do you see anything there?
What are your proxy preferences? Go to Window -> preferences ->
General: Network connections.
The active provider:
Specifies the settings profile to be used when opening connections. Choosing the Direct provider causes all the connections to be opened
without the use of a proxy server. Selecting Manual causes settings
defined in Eclipse to be used. On some platforms there is also a
Native provider available, selecting this one causes settings that
were discovered in the OS to be used.
If internet is working fine outside of Eclipse, try changing to
Native. After that, try Direct.
I have encountered problems where an update site would not load, then
I had to remove it and add it again. This forces Eclipse to reread the
contents of the site even if it has a cached copy. So, if you still
get no connection to the indigo update site, but everything else is
working, try that. Go to Window -> Preferences -> Install/update:
Available Software sites. Then remove and add the indigo site. Just
remember to copy the adress so you can add it again.
This is a copy and paste from this post.
If the embedded browser works but updates will not work you might just be using a 32 bit Java on a 64 bit eclipse. Download the 32-bit version and see if that helps. Worked for me.
I also encountered the same problem and nothing here worked. What I found the problem to be was an issue with the versions of openjdk and oracle-java...as a result I installed all versions from 6-8...I'm not sure which one fixed the issue but after installing all of them the problem was resolved. Hope this helps
I was having the same problem and I checked my proxy setting for all the browsers which was installed ......... One of the browser(IE 8 for my case ) was using the proxy setting to execute the testing sites of the company ...........
I unchecked that one ......... restarted my eclipse and now its working fine ..........
My solution was:
Window → Preferences → Install/Update → Available software Site
edit the problematic sites-> remove the 's' from 'https' on the site lines!
using Luna.
this is reference of
Unable to read repository at http://download.eclipse.org/releases/indigo
Can you connect to internet at all through Eclipse?
Open the internal webbrowser. In Eclipse: Window -> show view -> Other -> General: Internal web browser.
Look up any normal adress, is it working?
Can you connect to another update site? Try for example Eclipse Emma: http://update.eclemma.org/ Do you see anything there?
What are your proxy preferences? Go to Window -> preferences -> General: Network connections.
The active provider:
Specifies the settings profile to be used when opening connections. Choosing the Direct provider causes all the connections to be opened without the use of a proxy server. Selecting Manual causes settings defined in Eclipse to be used. On some platforms there is also a Native provider available, selecting this one causes settings that were discovered in the OS to be used.
If internet is working fine outside of Eclipse, try changing to Native. After that, try Direct.
I have encountered problems where an update site would not load, then I had to remove it and add it again. This forces Eclipse to reread the contents of the site even if it has a cached copy. So, if you still get no connection to the indigo update site, but everything else is working, try that. Go to Window -> Preferences -> Install/update: Available Software sites. Then remove and add the indigo site. Just remember to copy the adress so you can add it again.
As suggested in a comment below by #lostiniceland, this is a simpler way to achieve the above:
Goto Preferences -> Install Update -> Available Software Sites => select the entry and click the "Reload" button to the right. This is sometimes also helpful when you have a local updatesite for testing custom plugins
My Eclipse Installation:
SuSE Linux Enterprise Server 11.
Eclipse Neon 64-bit
Oracle JDK jdk1.8.0_51 64-bit
I worked out and followed many of the suggestions in the web and nothing helped.
Except that one:
In eclipse Go to "Window -> preferences -> General: Network connections" and set the "Aktiv Source" to "Native"
Exit eclipse
In the shell prompt, type
"export http_proxy=http://proxy-rzf:8080" (your own proxy server and port)
invoke eclipse
DONE!!!
If you then go to the eclipse "Network connections" settings you will see something like the image:
I hope i could help somebody with that. It cost me a lot of hours searching and trying.