Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,369,221
Community Members
 
Community Events
168
Community Groups

unable to upload attachment of size 1MB

When I try to upload attachments of size 1MB it fails to upload and shows internal error occurred. please find my Atlassian logs and Catalina logs below.

jira.png

 

Catalina.out log:

14-May-2020 11:56:30.483 WARNING [http-nio-8080-exec-10] com.sun.jersey.spi.container.servlet.WebComponent.filterFormParameters A servlet request, to the URI http://jira.x.com/rest/activity-stream/1.0/preferences?_=1589437590429, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
14-May-2020 11:57:57.886 WARNING [http-nio-8080-exec-19] com.sun.jersey.spi.container.servlet.WebComponent.filterFormParameters A servlet request, to the URI http://jira.x.com/rest/jddap/1.0/attachment, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
14-May-2020 11:58:03.425 WARNING [http-nio-8080-exec-23] com.sun.jersey.spi.container.servlet.WebComponent.filterFormParameters A servlet request, to the URI http://jira.x.com/rest/issueNav/1/issueTable/stable, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
2020-05-14 12:00:00,381 Caesium-1-1 INFO anonymous Backup Service [c.a.j.bc.dataimport.DefaultExportService] Data export completed in 370ms. Wrote 20390 entities to export in memory.
2020-05-14 12:00:00,382 Caesium-1-1 INFO anonymous Backup Service [c.a.j.bc.dataimport.DefaultExportService] Attempting to save the Active Objects Backup
2020-05-14 12:00:01,622 Caesium-1-1 INFO anonymous Backup Service [c.a.j.bc.dataimport.DefaultExportService] Finished saving the Active Objects Backup
14-May-2020 12:07:18.340 WARNING [http-nio-8080-exec-1] com.sun.jersey.spi.container.servlet.WebComponent.filterFormParameters A servlet request, to the URI http://jira.x.com/rest/activity-stream/1.0/preferences?_=1589438237450, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
2020-05-14 12:09:08,743 Caesium-1-4 INFO ServiceRunner [c.a.j.p.h.service.ping.RefreshConnectionStatusJobHandler] Running RefreshConnectionStatusJobHandler...
2020-05-14 12:09:11,349 Caesium-1-1 INFO ServiceRunner [c.a.j.p.h.service.connect.InstallGlancesJobHandler] Running InstallGlancesJobHandler...
2020-05-14 12:09:11,349 Caesium-1-1 INFO ServiceRunner [c.a.j.p.h.service.connect.InstallGlancesJobHandler] There is no link to HipChat, no need to install glances.

 

Atlassian log:

2020-05-14T11:51:34.880+0530: 63817.188: [GC (Allocation Failure) [PSYoungGen: 244203K->17915K(227840K)] 722280K->506188K(752128K), 0.0692586 secs] [Times: user=0.09 sys=0.00, real=0.07 secs]
2020-05-14T11:52:12.253+0530: 63854.561: [GC (Allocation Failure) [PSYoungGen: 227835K->26110K(236032K)] 716108K->516593K(760320K), 0.0635251 secs] [Times: user=0.09 sys=0.00, real=0.07 secs]
2020-05-14T11:52:26.062+0530: 63868.370: [GC (Allocation Failure) [PSYoungGen: 236025K->14525K(230912K)] 726508K->505599K(755200K), 0.0537195 secs] [Times: user=0.07 sys=0.00, real=0.06 secs]
2020-05-14T11:55:50.122+0530: 64072.430: [GC (Allocation Failure) [PSYoungGen: 219266K->16206K(233472K)] 710341K->507288K(757760K), 0.0639880 secs] [Times: user=0.09 sys=0.00, real=0.06 secs]
2020-05-14T11:56:21.796+0530: 64104.104: [GC (Allocation Failure) [PSYoungGen: 221006K->15423K(230400K)] 712088K->506505K(754688K), 0.0720065 secs] [Times: user=0.09 sys=0.00, real=0.07 secs]

 

2 comments

are you allowed to upload attachments? - i think you are
can you upload >1MB or is this blocked in your jira instance?

No, I can upload attachments lesser than 1Mb but any size of 1Mb or greater than that cant be uploaded. Any idea on this plz help.

go to system -> attachments and check the allowed size

image.png

yeah, it is already set to 10Mb but still facing this issue that's why I can't figure it out.

is it only on >1MB xlsx files or also on other/all file types?

Any files of all types >1Mb can't be uploaded, getting the error of the attached screenshot.

Hi, can I get any help with this, please? still, cant figure it out.

Comment

Log in or Sign up to comment
TAGS

Atlassian Community Events