プロジェクト

全般

プロフィール

Vote #74712

未完了

Error while uploading attachments

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Attachments_19
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
19
version_id:
0
issue_org_id:
15694
author_id:
91804
assigned_to_id:
0
comments:
5
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
76
ステータス-->[New]

説明

Hello

When I'm trying to upload attachment redmine hangs for a few seconds and then prints "error" near the file name to be attached(please look at screenshot with Firebug enabled).

In console I got this message:
[2013-12-13 14:24:33] ERROR invalid body size.
[2013-12-13 14:24:33] ERROR HTTPRequest#fixup: WEBrick::HTTPStatus::BadRequest occured.

(production.log remains untouched)

I tried to do it with different browsers(Firefox, Chrome,Opera) but it behaves the same way.(of course tried to clean browsers' caches)

I had this problem with redmine-2.3 and now I've just run update to 2.4.1 and it's still the same.

# ruby script/about
Environment:
  Redmine version                2.4.1.stable
  Ruby version                   1.8.7-p352 (2011-06-30) [x86_64-linux]
  Rails version                  3.2.15
  Environment                    production
  Database adapter               MySQL
SCM:
  Subversion                     1.6.17
  Mercurial                      2.0.2
  Git                            1.7.9.5
  Filesystem
Redmine plugins:
  no plugin installed

Thanks in advance.


journals

--------------------------------------------------------------------------------
I noticed that I can upload text attachments(i.e. plain text files) and cannot attach anything else.

And also it seems strange: when I'm trying to get directly *uploads.js*(http://192.168.10.1:3000/uploads.js in my setup) I get 404 error:
Page not found
The page you were trying to access doesn't exist or has been removed.
--------------------------------------------------------------------------------
There's no route for GET /uploads.js so it´s normal that you get a 404 (uploads.js is not a file) ?
Your problem seems to be a webrick issue and not a Redmine error. You're using a pretty old ruby version, you should try to upgrade first.
--------------------------------------------------------------------------------
Hello, i have the same problem. But most of the attachments load properly.
Problems mainly with ZIP archives.

the screenshot shows download the same file with different names only

Environment:
Redmine version 2.3.3.devel
Ruby version 1.9.3-p448 (2013-06-27) [x86_64-linux]
Rails version 3.2.13
Environment production
Database adapter Mysql2
SCM:
Subversion 1.6.17
Git 1.7.9.5
Filesystem
Redmine plugins:
redmine_lightbox 0.0.1
redmine_workload 1.0.2
--------------------------------------------------------------------------------
I have the same problem too since i moved from 2.2.0 to 2.4.3.

This is my configuration:
Environment:
Redmine version 2.4.3.stable
Ruby version 1.9.3-p392 (2013-02-22) [x86_64-linux]
Rails version 3.2.16
Environment production
Database adapter Mysql2
SCM:
Subversion 1.6.17
Git 1.7.9.5
--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリAttachments_19 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0