407 Authentication error while checkout bitbucket branch from eclipse Luna - eclipse

I have installed eclipse Luna and i try to checkout existing branch from the bitbucket through eclipse(file->import->GIT->Projects from GIT). In the branch selection screen, i got the following error:
!MESSAGE https://test#bitbucket.org/test/eclipse.git 407 Proxy Authentication Required
!STACK 0
org.eclipse.jgit.api.errors.TransportException: https://test#bitbucket.org/test/eclipse.git 407 Proxy Authentication Required
at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:223)
at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:159)
at org.eclipse.egit.core.op.ListRemoteOperation.run(ListRemoteOperation.java:99)
at org.eclipse.egit.ui.internal.clone.SourceBranchPage$8.run(SourceBranchPage.java:339)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
I have set proxy through window -> network connection -> manual option and added following code in eclipse ini:
-vmargs
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4
-Dhttp.proxyHost=192.168.2.55
-Dhttp.proxyPort=3128
-Dhttps.proxyHost=192.168.2.55
-Dhttps.proxyPort=3128
-DsocksProxyHost=
-DsocksProxyPort=
-Dhttp.proxyUser=proxy
-Dhttp.proxyPassword=proxyss4u
-Dhttp.nonProxyHosts=localhost|127.0.0.1
-Dorg.eclipse.equinox.p2.transport.ecf.retry=5
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.connectTimeout=15000
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.readTimeout=1000
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.retryAttempts=20
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.closeTimeout=1000
-Dorg.eclipse.ecf.provider.filetransfer.browse.connectTimeout=3000
-Dorg.eclipse.ecf.provider.filetransfer.browse.readTimeout=1000
But still i got the 407 Proxy Authentication Required issue.
Kindly advice us.

Related

Error when install ZK Studio on Eclipse Kepler

I've install eclipse kepler Java Developer EE and install ZK Studio throung Market place. But Errors Appear :
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=). Unable to read repository
at studio. zkoss
.org/resource/plugins/eclipse42/plugins/org.zkoss.eclipse.editor2.0.1.v201312091448.jar.
Premature end of Content-Length delimited message body (expected:
5833581; received: 5816781 Unable to read repository at
http://studio.zkoss.org/resource/plugins/eclipse42/plugins/org.zkoss.eclipse.pack2.0.1.v201312091448.jar.
Premature end of Content-Length delimited message body (expected:
7912681; received: 7874881 Unable to read repository at
http://studio.zkoss.org/resource/plugins/eclipse42/plugins/org.zkoss.eclipse.setting2.0.1.v201312091448.jar.
Premature end of Content-Length delimited message body (expected:
779524; received: 778124 Unable to read repository at
http://studio.zkoss.org/resource/plugins/eclipse42/plugins/org.zkoss.eclipse.zks2.0.1.v201312091448.jar.
Premature end of Content-Length delimited message body (expected:
2501827; received: 2496227
What should I do to solve this problem and continue install ZK Studio?
I've solved the problem. I check my firewall it turn out the firewall is enabled. so I disabled the firewall and continue install zk.
Thanks,
Dian

Error Importing a Symfony project in Eclipse with dubture plugin

I have troubles trying to import an already existing Symfony 2.3 project into my Eclipse (standard 4.3.1) workspace using dubture's plugin.
I use the Eclipse wizard for importing, but when I click on 'Finish' a popup window shows:
An error ocurred during import. Please see the workspace logs for details.
The log file gives me a bunch of messages like this one:
!ENTRY org.eclipse.dltk.core 2 0 2014-02-18 18:08:35.104
!MESSAGE Error receiving file: /Symfony/app/cache/dev/twig/d1/4c/d23835735a18dbf9b98dd75484f6.php content: retrying(1)
!STACK 1 org.eclipse.core.internal.resources.ResourceException: Resource /Symfony/app/cache/dev/twig/d1/4c/d23835735a18dbf9b98dd75484f6.php' does not exist.
at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:341)
at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:215)
at org.eclipse.core.internal.resources.File.getContents(File.java:287)
at org.eclipse.dltk.internal.core.util.Util.getResourceContentsAsCharArray(Util.java:534)
at org.eclipse.dltk.internal.core.util.Util.getResourceContentsAsCharArray(Util.java:491)
at org.eclipse.dltk.internal.core.SourceModule.getBufferContent(SourceModule.java:405)
at org.eclipse.dltk.internal.core.AbstractSourceModule.getSourceAsCharArray(AbstractSourceModule.java:314)
at org.eclipse.dltk.internal.core.AbstractSourceModule.getContentsAsCharArray(AbstractSourceModule.java:335)
at org.eclipse.php.internal.core.compiler.ast.parser.AbstractPHPSourceParser.parse(AbstractPHPSourceParser.java:41)
at org.eclipse.php.internal.core.compiler.ast.parser.PHPSourceParserFactory.parse(PHPSourceParserFactory.java:41)
at com.dubture.twig.core.parser.TwigSourceParserFactory.parse(TwigSourceParserFactory.java:36)
at org.eclipse.dltk.core.SourceParserUtil.parse(SourceParserUtil.java:135)
at org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration(SourceParserUtil.java:171)
at org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration(SourceParserUtil.java:166)
at org.eclipse.php.internal.core.index.PhpIndexingParser.parseSourceModule(PhpIndexingParser.java:27)
at org.eclipse.dltk.core.index2.AbstractIndexer.indexDocument(AbstractIndexer.java:45)
at org.eclipse.dltk.internal.core.index.sql.SqlIndexer.indexDocument(SqlIndexer.java:147)
at org.eclipse.dltk.internal.core.index2.SourceModulesRequest.run(SourceModulesRequest.java:78)
at org.eclipse.dltk.core.search.indexing.AbstractJob.execute(AbstractJob.java:76)
at org.eclipse.dltk.internal.core.search.processing.JobManager.run(JobManager.java:467)
at java.lang.Thread.run(Unknown Source)
!SUBENTRY 1 org.eclipse.core.resources 4 368 2014-02-18 18:08:35.104
!MESSAGE Resource '/Symfony/app/cache/dev/twig/d1/4c/d23835735a18dbf9b98dd75484f6.php' does not exist.
I checked if the specified files exist and they do, so I don't understand these messages. Anyone had the same problem and can point me in the right direction?
You have to make sure youre vendors are installed correctly and also make sure you have a php executable running.
In eclipse menu :
window -> preferences -> Php -> php executables.
If you have nothing there :
Click add -> browse the executable (normaly /usr/bin/php5).
use zend debugger and check the "use defaults php.ini" box.

Invalid channel 117 - Eclipse / EGit

I'm using the latest versions of Eclipse (4.2.1) and EGit (2.3.1) to push code to git repositories that are hosted at Assembla. Lately I start getting those messages: "Invalid channel 117". The push seems to go trough, so it doesn't really hurt, but it's annoying because I cannot see the result of the push.
Any ideas? Thanks!
Error Log:
An exception occurred during push on URI git#git.assembla.com:cool_awesome_app.git: Invalid channel 117
org.eclipse.jgit.api.errors.TransportException: Invalid channel 117
at org.eclipse.jgit.api.PushCommand.call(PushCommand.java:157)
at org.eclipse.egit.core.op.PushOperation.run(PushOperation.java:215)
at org.eclipse.egit.ui.internal.push.PushOperationUI.execute(PushOperationUI.java:147)
at org.eclipse.egit.ui.internal.push.PushOperationUI$1.run(PushOperationUI.java:209)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Caused by: org.eclipse.jgit.errors.PackProtocolException: Invalid channel 117
at org.eclipse.jgit.transport.SideBandInputStream.needDataPacket(SideBandInputStream.java:175)
at org.eclipse.jgit.transport.SideBandInputStream.read(SideBandInputStream.java:136)
at org.eclipse.jgit.util.IO.readFully(IO.java:246)
at org.eclipse.jgit.transport.PacketLineIn.readLength(PacketLineIn.java:186)
at org.eclipse.jgit.transport.PacketLineIn.readString(PacketLineIn.java:138)
at org.eclipse.jgit.transport.BasePackPushConnection.readStringLongTimeout(BasePackPushConnection.java:352)
at org.eclipse.jgit.transport.BasePackPushConnection.readStatusReport(BasePackPushConnection.java:293)
at org.eclipse.jgit.transport.BasePackPushConnection.doPush(BasePackPushConnection.java:187)
at org.eclipse.jgit.transport.BasePackPushConnection.push(BasePackPushConnection.java:142)
at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:141)
at org.eclipse.jgit.transport.Transport.push(Transport.java:1162)
at org.eclipse.jgit.api.PushCommand.call(PushCommand.java:153)
... 4 more
eclipse.buildId=M20130204-1200
java.version=1.6.0_43
java.vendor=Apple Inc.
I work for Assembla, this was a problem in the way we were handling sideband communication channels - it should be fixed. Oddly only jgit/egit complained about this and not the c version of git.
Please take a look again.

Getting HTTP 400 error as a Bad Request while ruuning JSP page

My Env variable :
CATALINA_HOME -> C:\Program Files\apache-tomcat-6.0.35
JAVA_HOME -> C:\Program Files\Java\jdk1.7.0_03\bin
CLASSPATH -> .;C:\Program Files\Java\jdk1.7.0_03\bin;C:\Program Files\CVSNT\;
I am able to run localhost:8080 from browser(firefox),unable to run the same from eclipse.
Showing "The webpage cannot be found .... HTTP 400"
Moreover In my eclipse, catalina.home and catalina.base are use same i.e. "Servers/Tomcat v6.0 Server at localhost.server" and "Use Tomcat Installation".
When I am trying to run my project in eclipse localhost(http://localhost:8080/MyProject/JSP/abc.jsp) it still showing Error 400 and in firefox it is showing only a blank page,but my code is right.
kindly tell Where I am going wrong....

Eclipse helios install new plugin problem

I'm trying to install new plugin but when I choose the update site I got this error
!ENTRY org.eclipse.equinox.p2.core 4 0
2010-10-07 08:57:56.153 !MESSAGE
Provisioning exception !STACK 1
org.eclipse.equinox.p2.core.ProvisionException:
Bad HTTP Request:
http://download.eclipse.org/eclipse/updates/3.6/compositeContent.xml
at
org.eclipse.equinox.internal.p2.repository.CacheManager.createCache(CacheManager.java:189)
at
org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.getLocalFile(CompositeMetadataRepositoryFactory.java:74)
at
org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.load(CompositeMetadataRepositoryFactory.java:99)
at
org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57)
at
org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:747)
at
org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:652)
at
org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
at
org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
at
org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob.doLoad(LoadMetadataRepositoryJob.java:115)
at
org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob.runModal(LoadMetadataRepositoryJob.java:100)
at
org.eclipse.equinox.internal.p2.ui.sdk.PreloadingRepositoryHandler$2.runModal(PreloadingRepositoryHandler.java:82)
at
org.eclipse.equinox.p2.operations.ProvisioningJob.run(ProvisioningJob.java:177)
at
org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by:
org.eclipse.ecf.filetransfer.BrowseFileTransferException:
HttpClient connection error response
code 400. at
org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:249)
at
org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
... 1 more !SUBENTRY 1
org.eclipse.equinox.p2.repository 4
1002 2010-10-07 08:57:56.153 !MESSAGE
Bad HTTP Request:
http://download.eclipse.org/eclipse/updates/3.6/compositeContent.xml
!STACK 1
org.eclipse.ecf.filetransfer.BrowseFileTransferException:
HttpClient connection error response
code 400. at
org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:249)
at
org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
at
org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
!SUBENTRY 2 org.eclipse.ecf.identity 4
0 2010-10-07 08:57:56.153 !MESSAGE
HttpClient connection error response
code 400.
!ENTRY org.eclipse.equinox.p2.core 4 0
2010-10-07 08:57:56.384 !MESSAGE
Provisioning exception !STACK 1
org.eclipse.equinox.p2.core.ProvisionException:
Bad HTTP Request:
http://dl.google.com/eclipse/inst/codepro/latest/3.6/content.xml
at
org.eclipse.equinox.internal.p2.repository.CacheManager.createCache(CacheManager.java:189)
at
org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.getLocalFile(SimpleMetadataRepositoryFactory.java:66)
at
org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.load(SimpleMetadataRepositoryFactory.java:88)
at
org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57)
at
org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:747)
at
org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:652)
at
org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
at
org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
at
org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob.doLoad(LoadMetadataRepositoryJob.java:115)
at
org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob.runModal(LoadMetadataRepositoryJob.java:100)
at
org.eclipse.equinox.internal.p2.ui.sdk.PreloadingRepositoryHandler$2.runModal(PreloadingRepositoryHandler.java:82)
at
org.eclipse.equinox.p2.operations.ProvisioningJob.run(ProvisioningJob.java:177)
at
org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by:
org.eclipse.ecf.filetransfer.BrowseFileTransferException:
HttpClient connection error response
code 400. at
org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:249)
at
org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
... 1 more !SUBENTRY 1
org.eclipse.equinox.p2.repository 4
1002 2010-10-07 08:57:56.385 !MESSAGE
Bad HTTP Request:
http://dl.google.com/eclipse/inst/codepro/latest/3.6/content.xml
!STACK 1
org.eclipse.ecf.filetransfer.BrowseFileTransferException:
HttpClient connection error response
code 400. at
org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:249)
at
org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
at
org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
!SUBENTRY 2 org.eclipse.ecf.identity 4
0 2010-10-07 08:57:56.385 !MESSAGE
HttpClient connection error response
code 400.
I have tried this with many update sites and I got the same error, so what is this?if someone interested in the full log I can post it.
Thanks
I also had the same problem, What I did was I had previously set a proxy address so when I went to a network that required no proxy, I got that error.
I solved the problem by
Preferences
Network connection
Then set network provider to Direct.
I got the same issue and by following various options mentioned above I could able to find a solution for ProvisionException:
Solution:
If you are behind proxy, set the network option to "manual" and provide the proxy host, port. If the proxy needs authentication provide the username and password.
I am assuming if you are not behind proxy you can use "Direct" option in network setting.
I'm not sure where you got your URLs, it seems you just entered wrong ones. Try the following:
Open the Help → Install new software.
Use the Helios main site: http://download.eclipse.org/releases/helios
Make sure to turn off "contact all update sites..."
Try to install something and see if it works.
It seems you are just using the wrong URLs and you have some bad update sites. To remove the update sites that don't work, go to the Preferences → Install/Update → Available Software Sites. In this list, locate the bad site and remove them.
Also, I would suggest turning off the "contact all update sites..." as a common practice, unless the installation fails and you really need to install a dependency from another site.
You can find more tips on plugins installation in my blog post.
I also had the same problem, What I did was I had downloaded the below checkstyle plugin files and added in the STC plugin folder and its working fine.
net.sf.eclipsecs.branding_5.9.0.201410282234.jar
net.sf.eclipsecs.checkstyle_5.9.0.201410282234.jar
net.sf.eclipsecs.core_5.9.0.201410282234.jar
net.sf.eclipsecs.doc_5.9.0.201410282234.jar
net.sf.eclipsecs.ui_5.9.0.201410282234.jar
Copy and paste eclipse in program files and run it from there. Due to some permission problem it may not run. If you run it from downloads folder or from Desktop