[JIRA] (JENKINS-59397) iOS upload timeout for large size of app

0 views
Skip to first unread message

hqfkingshop@gmail.com (JIRA)

unread,
Sep 16, 2019, 3:19:02 PM9/16/19
to jenkinsc...@googlegroups.com
david huang created an issue
 
Jenkins / Improvement JENKINS-59397
iOS upload timeout for large size of app
Issue Type: Improvement Improvement
Assignee: Mez Pahlan
Components: appcenter-plugin
Created: 2019-09-16 19:17
Priority: Minor Minor
Reporter: david huang

When I try to upload an iOS app about 400MB to App center, the plugin returns a timeout error and upload failed.

 

Error: 
Creating an upload resource.
Upload resource successful.
Uploading app to resource.
Upload app unsuccessful.
java.net.SocketTimeoutException: timeout
io.jenkins.plugins.appcenter.AppCenterException: java.util.concurrent.ExecutionException: java.net.SocketTimeoutException: timeout
Build step 'Upload app to AppCenter' changed build result to FAILURE

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

hqfkingshop@gmail.com (JIRA)

unread,
Sep 16, 2019, 3:19:03 PM9/16/19
to jenkinsc...@googlegroups.com
david huang updated an issue
Change By: david huang
When I try to upload an iOS app about 400MB to App center, the plugin returns a timeout error and upload failed.

 

Error: 
Creating an upload resource.
Upload resource successful.
Uploading app to resource.
Upload app unsuccessful.
java.net.SocketTimeoutException: timeout
io.jenkins.plugins.appcenter.AppCenterException: java.util.concurrent.ExecutionException: java.net.SocketTimeoutException: timeout
Build step 'Upload app to AppCenter' changed build result to FAILURE


 

expect the plugin can upload a large size app without timeout error

mez.pahlan@gmail.com (JIRA)

unread,
Sep 17, 2019, 2:32:02 AM9/17/19
to jenkinsc...@googlegroups.com
Mez Pahlan commented on Improvement JENKINS-59397
 
Re: iOS upload timeout for large size of app

Hi david huang What version of the plugin are you using?

In version 0.3.1 we updated the write and connection timeouts to 60 seconds (which is the same as the old HockeyApp plugin). See JENKINS-58915. There are two other timeout values that we didn't change: read and call timeouts but we could update them to the same?

If I get some time to do that would you be able to confirm on a pre-release build?

mez.pahlan@gmail.com (JIRA)

unread,
Sep 17, 2019, 2:41:02 AM9/17/19
to jenkinsc...@googlegroups.com

For reference the Fastlane AppCenter plugin (written by Microsoft) has a default of 60 seconds timeout - via the Faraday Ruby HTTP client. So I'm reasonably happy with the value we've chosen. But happy to apply it to the other two places as a first step.

hqfkingshop@gmail.com (JIRA)

unread,
Sep 17, 2019, 9:30:02 AM9/17/19
to jenkinsc...@googlegroups.com

Hi Mez Pahlan

I am using 0.4.0.  I would love to try the pre-release build once it is available.  BTW, is it possible to add some more logs so it is clear about when it starts the upload and when it failed? 

Thanks.

mez.pahlan@gmail.com (JIRA)

unread,
Sep 17, 2019, 12:43:02 PM9/17/19
to jenkinsc...@googlegroups.com

Can you update to the latest version please and try again. I don't think that will help on its own but the stack trace on error is better. Please paste that here.

hqfkingshop@gmail.com (JIRA)

unread,
Sep 17, 2019, 3:27:03 PM9/17/19
to jenkinsc...@googlegroups.com

update stack trace:
Creating an upload resource.
io.jenkins.plugins.appcenter.AppCenterException: Create upload resource unsuccessful:
at io.jenkins.plugins.appcenter.task.internal.CreateUploadResourceTask.lambda$execute$0(CreateUploadResourceTask.java:48)
at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:760)
at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:736)
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:1977)
at retrofit2.CompletableFutureCallAdapterFactory$BodyCallAdapter$2.onFailure(CompletableFutureCallAdapterFactory.java:86)
at retrofit2.OkHttpCall$1.callFailure(OkHttpCall.java:141)
at retrofit2.OkHttpCall$1.onFailure(OkHttpCall.java:136)
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:215)
at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.UnknownHostException: api.appcenter.ms: unknown error
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)
at java.net.InetAddress.getAllByName0(InetAddress.java:1276)
at java.net.InetAddress.getAllByName(InetAddress.java:1192)
at java.net.InetAddress.getAllByName(InetAddress.java:1126)
at okhttp3.Dns$1.lookup(Dns.java:40)
at okhttp3.internal.connection.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:185)
at okhttp3.internal.connection.RouteSelector.nextProxy(RouteSelector.java:149)
at okhttp3.internal.connection.RouteSelector.next(RouteSelector.java:84)
at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:214)
at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135)
at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at io.jenkins.plugins.appcenter.api.AppCenterServiceFactory.lambda$createAppCenterService$0(AppCenterServiceFactory.java:66)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:225)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:254)
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:200)
... 4 more
Create upload resource successful.
io.jenkins.plugins.appcenter.AppCenterException: Upload to AppCenter failed.
at io.jenkins.plugins.appcenter.task.UploadTask.call(UploadTask.java:56)
at io.jenkins.plugins.appcenter.task.UploadTask.call(UploadTask.java:17)
at hudson.FilePath.act(FilePath.java:1160)
at io.jenkins.plugins.appcenter.AppCenterRecorder.uploadToAppCenter(AppCenterRecorder.java:131)
at io.jenkins.plugins.appcenter.AppCenterRecorder.perform(AppCenterRecorder.java:118)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
at hudson.model.Build$BuildExecution.post2(Build.java:186)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
at hudson.model.Run.execute(Run.java:1843)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)

hqfkingshop@gmail.com (JIRA)

unread,
Sep 17, 2019, 3:29:02 PM9/17/19
to jenkinsc...@googlegroups.com
david huang updated an issue
Change By: david huang
When I try to upload an iOS app about 400MB to App center, the plugin returns a timeout error and upload failed.

 

Error: 
Creating an upload resource.
Upload resource successful.
Uploading app to resource.
Upload app unsuccessful.
java.net.SocketTimeoutException: timeout
io.jenkins.plugins.appcenter.AppCenterException: java.util.concurrent.ExecutionException: java.net.SocketTimeoutException: timeout
Build step 'Upload app to AppCenter' changed build result to FAILURE

 

expect the plugin can upload a large size app without timeout error


 

Please check the attached screenshot for the plugin settings

hqfkingshop@gmail.com (JIRA)

unread,
Sep 17, 2019, 3:29:02 PM9/17/19
to jenkinsc...@googlegroups.com
david huang updated an issue
Change By: david huang
Attachment: Screen Shot 2019-09-17 at 3.27.46 PM.png

hqfkingshop@gmail.com (JIRA)

unread,
Sep 17, 2019, 3:40:02 PM9/17/19
to jenkinsc...@googlegroups.com

Please check the attached screenshot for the plugin settings

mez.pahlan@gmail.com (JIRA)

unread,
Sep 17, 2019, 5:26:02 PM9/17/19
to jenkinsc...@googlegroups.com

Thanks for that. This is useful. The settings look fine to me. However the stack trace is super interesting....and the logging is a little misleading. So I think there's a few issues here that I'll need to unpick into separate issues. Don't worry I'll do that.

Looking at the log output we see that one of the first logs is the plugin attempting to create an upload resource. This is AppCenter's way of reserving a space for the upload. Immediately after this there is an exception saying that this was unsuccessful. So you haven't even got to the stage where you're trying to upload your IOS app.

Next we see the cause of the exception: Caused by: java.net.UnknownHostException: api.appcenter.ms: unknown error. That's very strange. Whilst trying to do a DNS lookup the plugin couldn't find AppCenter. Are you behind a corporate firewall or do you have a proxy configuration in Jenkins?

Lastly there is a misleading log message stating that the create upload resource was successful. It wasn't. I'll need to fix that.

I think I will increase those other two timeout values mentioned above, but there's nothing I can see in this new stack trace that suggests a timeout issue. So your original problem still might not be solved.

mez.pahlan@gmail.com (JIRA)

unread,
Sep 17, 2019, 5:30:01 PM9/17/19
to jenkinsc...@googlegroups.com

For what it is worth at my company we have a corporate firewall that screws with our upload too. They do SSL inspection that sometimes works and other times takes so long that it causes a timeout. We worked with the infrastructure team to create an exception for AppCenter and HockeyApp routes and now very rarely get these issues.

Just a suggestion.

hqfkingshop@gmail.com (JIRA)

unread,
Sep 18, 2019, 1:25:01 PM9/18/19
to jenkinsc...@googlegroups.com

Thanks Mez Pahlan

Interestingly enough, I can upload an Andorid build which is 30MB using App Center plugin from the same machine.  I would assume that should rule out the firewall issue. 

mez.pahlan@gmail.com (JIRA)

unread,
Sep 18, 2019, 4:14:02 PM9/18/19
to jenkinsc...@googlegroups.com

Not entirely. I honestly don't know your Jenkins topology. If yours is as insane as our company's then it very much depends on what machines are building what artefact and what rules are allowed for these machines. So whilst it doesn't completely rule that out I think we'll leave that to one side for now.

For more of a reference of what I'm talking about we have two Jenkins build machines one Linux one Mac. The Linux one builds our Android app the Mac one builds our IOS app. They both point to the same proxy which then sits behind a firewall. The usual paranoid enterprise set up. So our route to AppCenter is behind two extra boxes before it hits the internet. We have to ask our infra team to allow specific routes on both boxes independently. Our Android build could upload but our IOS build will fail or vice versa. Very frustrating. Depending on your set up I can't rule out that especially given the stack trace output above.

What I'll do is go ahead and update those other two timeout values now, push a PR and let you know when the artefacts are ready. You'll have to install it yourself but if you're able could you let me know if that makes a difference. If not we'll troubleshoot again.

hqfkingshop@gmail.com (JIRA)

unread,
Sep 18, 2019, 4:22:03 PM9/18/19
to jenkinsc...@googlegroups.com

Here is an updated stack trace: 
File found: GenesisApp/build/ipa/GenesisApp.ipa
Creating an upload resource.
Create upload resource successful.
Uploading app to resource.
io.jenkins.plugins.appcenter.AppCenterException: Upload app to resource unsuccessful:
at io.jenkins.plugins.appcenter.task.internal.UploadAppToResourceTask.lambda$execute$0(UploadAppToResourceTask.java:57)


at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:760)
at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:736)
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:1977)
at retrofit2.CompletableFutureCallAdapterFactory$BodyCallAdapter$2.onFailure(CompletableFutureCallAdapterFactory.java:86)
at retrofit2.OkHttpCall$1.callFailure(OkHttpCall.java:141)
at retrofit2.OkHttpCall$1.onFailure(OkHttpCall.java:136)
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:215)
at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Caused by: java.net.SocketTimeoutException: timeout
at okio.Okio$4.newTimeoutException(Okio.java:232)
at okio.AsyncTimeout.exit(AsyncTimeout.java:286)
at okio.AsyncTimeout$2.read(AsyncTimeout.java:241)
at okio.RealBufferedSource.indexOf(RealBufferedSource.java:358)
at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:230)
at okhttp3.internal.http1.Http1Codec.readHeaderLine(Http1Codec.java:215)
at okhttp3.internal.http1.Http1Codec.readResponseHeaders(Http1Codec.java:189)
at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:88)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45)


at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)

at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:225)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:254)
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:200)
... 4 more

Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:170)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
at sun.security.ssl.InputRecord.read(InputRecord.java:503)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930)
at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
at okio.Okio$2.read(Okio.java:140)
at okio.AsyncTimeout$2.read(AsyncTimeout.java:237)
... 26 more
Upload app to resource successful.


io.jenkins.plugins.appcenter.AppCenterException: Upload to AppCenter failed.
at io.jenkins.plugins.appcenter.task.UploadTask.call(UploadTask.java:56)
at io.jenkins.plugins.appcenter.task.UploadTask.call(UploadTask.java:17)
at hudson.FilePath.act(FilePath.java:1160)
at io.jenkins.plugins.appcenter.AppCenterRecorder.uploadToAppCenter(AppCenterRecorder.java:131)
at io.jenkins.plugins.appcenter.AppCenterRecorder.perform(AppCenterRecorder.java:118)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
at hudson.model.Build$BuildExecution.post2(Build.java:186)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
at hudson.model.Run.execute(Run.java:1843)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)

hqfkingshop@gmail.com (JIRA)

unread,
Sep 18, 2019, 4:24:02 PM9/18/19
to jenkinsc...@googlegroups.com
david huang edited a comment on Improvement JENKINS-59397
{color:#FF0000}please discard this, it seems I am playing with the config and have a wrong app owner name{color}

update stack trace:
Creating an upload resource.
io.jenkins.plugins.appcenter.AppCenterException: Create upload resource unsuccessful:
at io.jenkins.plugins.appcenter.task.internal.CreateUploadResourceTask.lambda$execute$0(CreateUploadResourceTask.java:48)
at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:760)
at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:736)
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:1977)
at retrofit2.CompletableFutureCallAdapterFactory$BodyCallAdapter$2.onFailure(CompletableFutureCallAdapterFactory.java:86)
at retrofit2.OkHttpCall$1.callFailure(OkHttpCall.java:141)
at retrofit2.OkHttpCall$1.onFailure(OkHttpCall.java:136)
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:215)
at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.UnknownHostException: api.appcenter.ms: unknown error
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)
at java.net.InetAddress.getAllByName0(InetAddress.java:1276)
at java.net.InetAddress.getAllByName(InetAddress.java:1192)
at java.net.InetAddress.getAllByName(InetAddress.java:1126)
at okhttp3.Dns$1.lookup(Dns.java:40)
at okhttp3.internal.connection.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:185)
at okhttp3.internal.connection.RouteSelector.nextProxy(RouteSelector.java:149)
at okhttp3.internal.connection.RouteSelector.next(RouteSelector.java:84)
at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:214)
at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135)
at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at io.jenkins.plugins.appcenter.api.AppCenterServiceFactory.lambda$createAppCenterService$0(AppCenterServiceFactory.java:66)

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:225)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:254)
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:200)
... 4 more
Create upload resource successful.

io.jenkins.plugins.appcenter.AppCenterException: Upload to AppCenter failed.
at io.jenkins.plugins.appcenter.task.UploadTask.call(UploadTask.java:56)
at io.jenkins.plugins.appcenter.task.UploadTask.call(UploadTask.java:17)
at hudson.FilePath.act(FilePath.java:1160)
at io.jenkins.plugins.appcenter.AppCenterRecorder.uploadToAppCenter(AppCenterRecorder.java:131)
at io.jenkins.plugins.appcenter.AppCenterRecorder.perform(AppCenterRecorder.java:118)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
at hudson.model.Build$BuildExecution.post2(Build.java:186)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
at hudson.model.Run.execute(Run.java:1843)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)

mez.pahlan@gmail.com (JIRA)

unread,
Sep 18, 2019, 4:32:03 PM9/18/19
to jenkinsc...@googlegroups.com

Ahhhhhhh! Bingo! There you go!

In this updated stack trace you can see there is a line that says: Caused by: java.net.SocketTimeoutException: Read timed out

I'll update that to the same value as connection and write timeouts which is 60 seconds.

(I realise that the fourth timeout value, call timeout, is already by default set to the unlimited so no need to change that).

Thanks!

mez.pahlan@gmail.com (JIRA)

unread,
Sep 18, 2019, 4:41:03 PM9/18/19
to jenkinsc...@googlegroups.com
Mez Pahlan started work on Improvement JENKINS-59397
 
Change By: Mez Pahlan
Status: Open In Progress

mez.pahlan@gmail.com (JIRA)

unread,
Sep 18, 2019, 4:41:03 PM9/18/19
to jenkinsc...@googlegroups.com

hqfkingshop@gmail.com (JIRA)

unread,
Sep 18, 2019, 4:45:02 PM9/18/19
to jenkinsc...@googlegroups.com
david huang commented on Improvement JENKINS-59397
 
Re: iOS upload timeout for large size of app

Yes, I saw that error.

 

My apologizes for sending the wrong stack trace previously which make things more confusing. 

mez.pahlan@gmail.com (JIRA)

unread,
Sep 18, 2019, 4:51:02 PM9/18/19
to jenkinsc...@googlegroups.com

No worries. We're close to a fix which is the important thing.

Here's the built artefacts: https://ci.jenkins.io/job/Plugins/job/appcenter-plugin/job/PR-24/1/artifact/target/appcenter.hpi

Would you mind installing that pre-release version and giving it a go? If it works could you comment on this PR: https://github.com/jenkinsci/appcenter-plugin/pull/24

If it doesn't...... well, we'll continue here.

hqfkingshop@gmail.com (JIRA)

unread,
Sep 19, 2019, 11:18:02 AM9/19/19
to jenkinsc...@googlegroups.com

it worked.

 
Creating an upload resource.
Create upload resource successful.
Uploading app to resource.

Upload app to resource successful.

Committing resource.
Committing resource successful.
Distributing resource.
Distributing resource successful.

mez.pahlan@gmail.com (JIRA)

unread,
Sep 20, 2019, 2:23:02 AM9/20/19
to jenkinsc...@googlegroups.com
Change By: Mez Pahlan
Status: In Review Fixed but Unreleased
Resolution: Fixed

mez.pahlan@gmail.com (JIRA)

unread,
Sep 20, 2019, 2:27:02 AM9/20/19
to jenkinsc...@googlegroups.com
 

Excellent thank you so much for the help david huang! Enjoy!

Change By: Mez Pahlan
Status: Fixed but Unreleased Closed
Released As: 0.6.1

mez.pahlan@gmail.com (JIRA)

unread,
Sep 20, 2019, 2:28:01 AM9/20/19
to jenkinsc...@googlegroups.com
Mez Pahlan edited a comment on Improvement JENKINS-59397
 
Re: iOS upload timeout for large size of app
Excellent thank you so much for the help [~hqfking81]! Enjoy!

Edit: I've released this as 0.6.1.
Reply all
Reply to author
Forward
0 new messages