heroku / heroku-eclipse-plugin

Warning: Deprecated! Heroku Eclipse plugin is a fully integrated plugin into Eclipse IDE that will allow developers to manage their Heroku apps and environment right from their favourite IDE
15 stars 9 forks source link

Import app failing from app list #30

Closed jsimone closed 12 years ago

jsimone commented 12 years ago

I'm in the My Heroku Applications view. When I try to import certain apps it fails. The error log output is below, but it's misleading. It seems like a lost connection except that it happens consistently for certain apps (either that or this is the wrong log output).

The two that I've had this happen on are not Java apps. I'm not sure if that is what is causing it. I would expect them to come in, at the least, smoothly as a general project. Is that not how it's handled?

!ENTRY com.heroku.eclipse.core.services 4 0 2012-06-26 10:08:01.665 !MESSAGE Exception caught during execution of fetch command !STACK 0 org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of fetch command at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:138) at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:175) at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:121) at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:153) at com.heroku.eclipse.core.services.rest.RestHerokuServices.executeCloneOperation(RestHerokuServices.java:468) at com.heroku.eclipse.core.services.rest.RestHerokuServices.access$0(RestHerokuServices.java:467) at com.heroku.eclipse.core.services.rest.RestHerokuServices$2.run(RestHerokuServices.java:444) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: org.eclipse.jgit.errors.TransportException: Read timed out at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:291) at org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:229) at org.eclipse.jgit.transport.FetchProcess.fetchObjects(FetchProcess.java:225) at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:151) at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:113) at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1062) at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:129) ... 7 more Caused by: java.io.InterruptedIOException: Read timed out at org.eclipse.jgit.util.io.TimeoutInputStream.readTimedOut(TimeoutInputStream.java:140) at org.eclipse.jgit.util.io.TimeoutInputStream.read(TimeoutInputStream.java:113) at org.eclipse.jgit.transport.SideBandInputStream.read(SideBandInputStream.java:139) at org.eclipse.jgit.transport.PackParser.fill(PackParser.java:1122) at org.eclipse.jgit.transport.PackParser.access$000(PackParser.java:97) at org.eclipse.jgit.transport.PackParser$InflaterStream.read(PackParser.java:1647) at java.io.InputStream.read(InputStream.java:82) at org.eclipse.jgit.transport.PackParser.whole(PackParser.java:974) at org.eclipse.jgit.transport.PackParser.indexOneObject(PackParser.java:908) at org.eclipse.jgit.transport.PackParser.parse(PackParser.java:486) at org.eclipse.jgit.storage.file.ObjectDirectoryPackParser.parse(ObjectDirectoryPackParser.java:179) at org.eclipse.jgit.transport.PackParser.parse(PackParser.java:448) at org.eclipse.jgit.transport.BasePackFetchConnection.receivePack(BasePackFetchConnection.java:676) at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:284) ... 13 more

daudo commented 12 years ago

looks like a network issue for me, but can you please try to import the app using the ordinary "File->Import" way and not via the "My Heroku Applications" view?

daudo commented 12 years ago

@jsimone like discussed on today's phone call, please make heroku.junit@bestsolution.at a collaborator for such a failing project

jsimone commented 12 years ago

That app did work from File->Import. I also created a new Ruby project and that worked fine from the app list so it's not a Ruby issue. Trying to make a copy of the failing app and reproduce since I can't collab you on the original app. It's not just a demo.

jsimone commented 12 years ago

I can't reliably reproduce this anymore. I'm going to close it unless it pops back up.