Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unable to install demo version of jira-oauth-1.2.17.jar

I downloaded the plugin jira-oauth-1.2.17.jar but when I navigate to JIRA Server 8.13.20's  Manage Apps page (in System) and try to upload, it says "Installing jira-oauth-1.2.17.jar..." but then freezes.    I notice that my laptop's fans startup noisly for several minutes.  The JIRA server is on a remote host that is disconnected from the Internet. In atlassian-jira.log, I see:

 

2021-12-13 11:52:49,467-0500 http-nio-8080-exec-13 ERROR dsmit43 712x13609x1 txcy2w 172.19.167.203 /rest/plugins/1.0/ [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: org.apache.commons.fileupload.FileUploadException: java.net.SocketTimeoutException
java.lang.RuntimeException: org.apache.commons.fileupload.FileUploadException: java.net.SocketTimeoutException

at com.atlassian.plugins.rest.common.multipart.fileupload.CommonsFileUploadMultipartHandler.getForm(CommonsFileUploadMultipartHandler.java:78)
at com.atlassian.plugins.rest.common.multipart.fileupload.CommonsFileUploadMultipartHandler.getForm(CommonsFileUploadMultipartHandler.java:66)
at com.atlassian.plugins.rest.common.multipart.fileupload.CommonsFileUploadMultipartHandler.getFilePart(CommonsFileUploadMultipartHandler.java:32)
at com.atlassian.upm.core.rest.resources.PluginCollectionResource.installFromFileSystem(PluginCollectionResource.java:248)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 

Caused by: org.apache.catalina.connector.ClientAbortException: java.net.SocketTimeoutException
at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:330)
... 2 filtered
at org.apache.commons.fileupload.MultipartStream$ItemInputStream.makeAvailable(MultipartStream.java:999)
at org.apache.commons.fileupload.MultipartStream$ItemInputStream.read(MultipartStream.java:903)
at java.io.InputStream.read(InputStream.java:101)
at org.apache.commons.fileupload.util.Streams.copy(Streams.java:100)
at org.apache.commons.fileupload.util.Streams.copy(Streams.java:70)
at org.apache.commons.fileupload.MultipartStream.readBodyData(MultipartStream.java:593)
at org.apache.commons.fileupload.MultipartStream.discardBodyData(MultipartStream.java:617)
at org.apache.commons.fileupload.MultipartStream.skipPreamble(MultipartStream.java:634)
at org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl.findNextItem(FileUploadBase.java:1023)
at org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl.<init>(FileUploadBase.java:1003)
at org.apache.commons.fileupload.FileUploadBase.getItemIterator(FileUploadBase.java:310)
at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:334)
... 312 more

 

2 answers

1 accepted

We figured it out. I copied the file to an HTTP server residing near the JIRA server and uploaded from that URL (instead of from my laptop’s hard disk), and that fixed it.

Hi @Covance Genomics Lab System Support,

There could be a few reasons for this issue. However, the most common reasons are:

  1. It could have occurred due to the admin session timeout in Jira - in this case, try to re-install the plugin after refreshing the browser page.
  2. This could be due to proxy. Do you have any reverse proxy set up for Jira server like Nginx? Generally, Nginx has max upload size set to 1 MB due to which plugin upload doesn’t work.
    If this is the case, you can solve it by increasing client_max_body_size directive in Nginx and make sure it’s atleast 6 MB (size of the plugin).

P.S - I work for miniOrange, I would suggest you reach out to us at atlassiansupport@xecurify.com so that we can assist you in a better way.

Best Regards,
Kaushal

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.13.20
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you