Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] http instabilities

Hi Helmut,

Could you describe a little more what is happening? Is the server you are trying to reach slow or unreliable? From the stack trace, you are apparently getting a read time out...which is typically caused because the server on the other end is not responding properly (or network partition). Is the server/file being accessed publicly available? If so please make it known and we can/will give it a try. Presumably you've tried to access the resource via a web browser and everything is fine with that.

I see you are using the JRE provider...i.e. the UrlConnectionRetrieveFileTransfer class in stack below. Are you using this because you are behind an NTLMv2 network? (as opposed to the httpclient provider, which is the default one for Eclipse 3.5). Or some other reason?

Thanks,

Scott


Haigermoser, Helmut wrote:
Ciao P2 :)
We recently had a surge of problems updating our products, using
standard p2/ecf technologies,
I'm hoping you've seen these and can point us at options to tweak the
bevaviour to get by such issues...

Here is the backtrace for our 3.5-based product:

!ENTRY org.eclipse.equinox.p2.repository 4 1002 2009-08-28 16:55:00.873
!MESSAGE Unable to read repository at http://<path to artifact>
!STACK 0
java.net.SocketTimeoutException: Read timed out
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.read(SocketInputStream.java:129)
	at
java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
	at
java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
	at
java.io.BufferedInputStream.read(BufferedInputStream.java:317)
	at
sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687)
	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)
	at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
tion.java:1000)
	at
org.eclipse.ecf.provider.filetransfer.retrieve.UrlConnectionRetrieveFile
Transfer.getDecompressedStream(UrlConnectionRetrieveFileTransfer.java:46
2)
	at
org.eclipse.ecf.provider.filetransfer.retrieve.UrlConnectionRetrieveFile
Transfer.openStreams(UrlConnectionRetrieveFileTransfer.java:287)
	at
org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTrans
fer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:808)
	at
org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTrans
fer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:506)
	at
org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdap
ter.sendRetrieveRequest(MultiProtocolRetrieveAdapter.java:98)
	at
org.eclipse.equinox.internal.p2.repository.FileReader.sendRetrieveReques
t(FileReader.java:317)
	at
org.eclipse.equinox.internal.p2.repository.FileReader.readInto(FileReade
r.java:263)
	at
org.eclipse.equinox.internal.p2.repository.RepositoryTransport.download(
RepositoryTransport.java:70)
	at
org.eclipse.equinox.internal.p2.repository.RepositoryTransport.download(
RepositoryTransport.java:121)
	at
org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifac
tRepository.downloadArtifact(SimpleArtifactRepository.java:472)
	at
org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifac
tRepository.downloadArtifact(SimpleArtifactRepository.java:455)
	at
org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifac
tRepository.getArtifact(SimpleArtifactRepository.java:522)
	at
org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.getArt
ifact(MirrorRequest.java:200)
	at
org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transf
erSingle(MirrorRequest.java:175)
	at
org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transf
er(MirrorRequest.java:159)
	at
org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.perfor
m(MirrorRequest.java:95)
	at
org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifac
tRepository.getArtifact(SimpleArtifactRepository.java:511)
	at
org.eclipse.equinox.internal.p2.artifact.repository.simple.DownloadJob.r
un(DownloadJob.java:64)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

TIA,
Ciao, hh
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev



Back to the top