We have a user who is unable to upload a file (1kb in size) to a JIRA issue, however as a system admin, I am able to. When he attempts to upload the file, he gets the following error:
'File <FileName> was not uploaded. An internal error has occurred. Please contact your administrator'
I've checked other Atlassian answers questions, such as this and this, however this is not the problem we're having. Our attachment size limit is set to 10MB so a file size of 1KB shouldn't be an issue...
Any assistance would be appreciated
In our case it was nginx. By default it rejected content more than 10 mb.
I can confirm, in my case default nginx setup rejected 2.1MB word file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Solutions:
1. vi /usr/local/nginx/conf/nginx.conf
In http {},
modify
client_max_body_size 10m;
to
client_max_body_size 100m;
In location /jira { }
modify
client_max_body_size 10m;
to
client_max_body_size 100m;
2. Restart Nginx server.
It will be ok.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had the same issue with a .png file. I just changed the extension to .jpg and it worked.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This works!! I also met the issue with a .png file, it is resolved by changing the file to .jpg.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We had this issue and found it to be a firewall restriction on our side. Not an issue since rules amended.
We also recently discovered that config in Jira SD should be 50% of ram availability, else performance could be hampered. (Only mentioning as a FYI)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What was the firewall restriction? Is there a different port in use during file upload other than 8080?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is the extension of your file ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have a contractor connected to Jira behind our firewall using VPN. He receives generic "internal issue" error when uploading a .JAR file. If he compresses to a ZIP and uploads he gets the same error. ZIP uploads are enabled and I'm unable to replicate the issue. I'm wondering if it is a firewall issue because his VPN security group is limited in access.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same problem with mp4 file, Jira and Confluence - the same errors.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same issue here but with the difference of .mp4 files? Is it possible Atlassian put some restrictions on certain file types?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Worth checking the file too (keeping things simple).
If the file is protected (or in Edit Mode in PDF) it may not upload.
Simply amending this status could enable the offending file to be uploaded.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use FireBug to examine the request and to see more information.
The problem is probably the content-type of your file. See the request to know this information
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you check the log? It usually has more details which can help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Nic Brough [Adaptavist]
Yes, I've had a look at the logs (atlassian-JIRA and std-err), but as I expected, it doesn't tell me anything about why this is happening...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If there's an "internal error", it should have logged something, even just the act of having an internal error. If there's absolutely nothing, then it's something on the browser side which is failing (lost network connection?)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Nic Brough [Adaptavist]
There's not a lot in the log, i've looked thoroughly. He is now getting a different error whereby it's saying 'Browser made bad request to the server' which appears to be something cookie related... maybe...i've asked him to clear his browser cookies, but he's still getting the error and unable to upload the file.
I've raised a call with Atlassian for a bit of guidance too, but thank you for coming back to me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
change your computer registry
HKEY_CLASSES_ROOT\.sql\Content Type from "text\plain" to "text/plain"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.