Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

413 Payload Too Large On "Committing Builds" #78

Open
TheBrokenRail opened this issue Nov 24, 2023 · 0 comments
Open

413 Payload Too Large On "Committing Builds" #78

TheBrokenRail opened this issue Nov 24, 2023 · 0 comments

Comments

@TheBrokenRail
Copy link

My Flathub build gave me this error in the "Committing Builds" stage:

| Error: HTTP status client error (413 Payload Too Large) for url (https://hub.flathub.org/api/v1/job/106271/check/review)
| 
| Stack backtrace:
|    0: flathub_hooks::utils::retry
|    1: flathub_hooks::config::Config::mark_still_pending
|    2: flathub_hooks::review::do_review
|    3: flathub_hooks::main
|    4: std::sys_common::backtrace::__rust_begin_short_backtrace
|    5: std::rt::lang_start::{{closure}}
|    6: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
|              at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/ops/function.rs:284:13
|       std::panicking::try::do_call
|              at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:502:40
|       std::panicking::try
|              at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:466:19
|       std::panic::catch_unwind
|              at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panic.rs:142:14
|       std::rt::lang_start_internal::{{closure}}
|              at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/rt.rs:148:48
|       std::panicking::try::do_call
|              at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:502:40
|       std::panicking::try
|              at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:466:19
|       std::panic::catch_unwind
|              at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panic.rs:142:14
|       std::rt::lang_start_internal
|              at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/rt.rs:148:20
|    7: main
|    8: __libc_start_call_main
|              at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
|    9: __libc_start_main_impl
|              at ./csu/../csu/libc-start.c:392:3
|   10: _start
| 
| Check status updated to Failed("Check command cd \"/tank/repo/builds/65964\" && FLAT_MANAGER_BUILD_ID=\"65964\" FLAT_MANAGER_JOB_ID=\"106271\" \"/usr/local/bin/flathub-hooks\" \"review\" \"-c\" \"/etc/flathub-hooks.json\" exited unsuccessfully: exit status: 1, stderr: [2023-11-24T09:17:25Z INFO  flathub_hooks::review] Refs present in build: [\"appstream2/aarch64\", \"runtime/com.thebrokenrail.MCPIReborn.Debug/x86_64/stable\", \"app/com.thebrokenrail.MCPIReborn/x86_64/stable\", \"appstream/aarch64\", \"runtime/com.thebrokenrail.MCPIReborn.Sources/x86_64/stable\", \"screenshots/x86_64\", \"appstream2/x86_64\", \"app/com.thebrokenrail.MCPIReborn/aarch64/stable\", \"appstream/x86_64\", \"runtime/com.thebrokenrail.MCPIReborn.Debug/aarch64/stable\", \"screenshots/aarch64\"]\n[2023-11-24T09:17:28Z INFO  flathub_hooks::review] Submitting appdata for review: ReviewRequest { build_id: 65964, job_id: 106271 }\n[2023-11-24T09:17:29Z INFO  flathub_hooks::utils] HTTP status client error (413 Payload Too Large) for url (https://hub.flathub.org/api/v1/job/106271/check/review)\n[2023-11-24T09:17:29Z INFO  flathub_hooks::utils] Retrying (1/5) in 1 seconds...\n[2023-11-24T09:17:30Z INFO  flathub_hooks::utils] HTTP status client error (413 Payload Too Large) for url (https://hub.flathub.org/api/v1/job/106271/check/review)\n[2023-11-24T09:17:30Z INFO  flathub_hooks::utils] Retrying (2/5) in 2 seconds...\n[2023-11-24T09:17:32Z INFO  flathub_hooks::utils] HTTP status client error (413 Payload Too Large) for url (https://hub.flathub.org/api/v1/job/106271/check/review)\n[2023-11-24T09:17:32Z INFO  flathub_hooks::utils] Retrying (3/5) in 4 seconds...\n[2023-11-24T09:17:36Z INFO  flathub_hooks::utils] HTTP status server error (502 Bad Gateway) for url (https://hub.flathub.org/api/v1/job/106271/check/review)\n[2023-11-24T09:17:36Z INFO  flathub_hooks::utils] Retrying (4/5) in 8 seconds...\n[2023-11-24T09:17:44Z INFO  flathub_hooks::utils] HTTP status client error (413 Payload Too Large) for url (https://hub.flathub.org/api/v1/job/106271/check/review)\n[2023-11-24T09:17:44Z INFO  flathub_hooks::utils] Retrying (5/5) in 16 seconds...\n[2023-11-24T09:18:00Z INFO  flathub_hooks::utils] HTTP status client error (413 Payload Too Large) for url (https://hub.flathub.org/api/v1/job/106271/check/review)\nError: HTTP status client error (413 Payload Too Large) for url (https://hub.flathub.org/api/v1/job/106271/check/review)\n\nStack backtrace:\n   0: flathub_hooks::utils::retry\n   1: flathub_hooks::config::Config::mark_still_pending\n   2: flathub_hooks::review::do_review\n   3: flathub_hooks::main\n   4: std::sys_common::backtrace::__rust_begin_short_backtrace\n   5: std::rt::lang_start::{{closure}}\n   6: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once\n             at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/ops/function.rs:284:13\n      std::panicking::try::do_call\n             at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:502:40\n      std::panicking::try\n             at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:466:19\n      std::panic::catch_unwind\n             at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panic.rs:142:14\n      std::rt::lang_start_internal::{{closure}}\n             at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/rt.rs:148:48\n      std::panicking::try::do_call\n             at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:502:40\n      std::panicking::try\n             at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:466:19\n      std::panic::catch_unwind\n             at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panic.rs:142:14\n      std::rt::lang_start_internal\n             at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/rt.rs:148:20\n   7: main\n   8: __libc_start_call_main\n             at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16\n   9: __libc_start_main_impl\n             at ./csu/../csu/libc-start.c:392:3\n  10: _start\n")
\ Job completed successfully
\ Check flathub-hooks has failed
Job failed: {'check_name': 'flathub-hooks', 'build_id': 65964, 'job_id': 106271, 'status': 3, 'status_reason': 'Check command cd "/tank/repo/builds/65964" && FLAT_MANAGER_BUILD_ID="65964" FLAT_MANAGER_JOB_ID="106271" "/usr/local/bin/flathub-hooks" "review" "-c" "/etc/flathub-hooks.json" exited unsuccessfully: exit status: 1, stderr: [2023-11-24T09:17:25Z INFO  flathub_hooks::review] Refs present in build: ["appstream2/aarch64", "runtime/com.thebrokenrail.MCPIReborn.Debug/x86_64/stable", "app/com.thebrokenrail.MCPIReborn/x86_64/stable", "appstream/aarch64", "runtime/com.thebrokenrail.MCPIReborn.Sources/x86_64/stable", "screenshots/x86_64", "appstream2/x86_64", "app/com.thebrokenrail.MCPIReborn/aarch64/stable", "appstream/x86_64", "runtime/com.thebrokenrail.MCPIReborn.Debug/aarch64/stable", "screenshots/aarch64"]\n[2023-11-24T09:17:28Z INFO  flathub_hooks::review] Submitting appdata for review: ReviewRequest { build_id: 65964, job_id: 106271 }\n[2023-11-24T09:17:29Z INFO  flathub_hooks::utils] HTTP status client error (413 Payload Too Large) for url (https://hub.flathub.org/api/v1/job/106271/check/review)\n[2023-11-24T09:17:29Z INFO  flathub_hooks::utils] Retrying (1/5) in 1 seconds...\n[2023-11-24T09:17:30Z INFO  flathub_hooks::utils] HTTP status client error (413 Payload Too Large) for url (https://hub.flathub.org/api/v1/job/106271/check/review)\n[2023-11-24T09:17:30Z INFO  flathub_hooks::utils] Retrying (2/5) in 2 seconds...\n[2023-11-24T09:17:32Z INFO  flathub_hooks::utils] HTTP status client error (413 Payload Too Large) for url (https://hub.flathub.org/api/v1/job/106271/check/review)\n[2023-11-24T09:17:32Z INFO  flathub_hooks::utils] Retrying (3/5) in 4 seconds...\n[2023-11-24T09:17:36Z INFO  flathub_hooks::utils] HTTP status server error (502 Bad Gateway) for url (https://hub.flathub.org/api/v1/job/106271/check/review)\n[2023-11-24T09:17:36Z INFO  flathub_hooks::utils] Retrying (4/5) in 8 seconds...\n[2023-11-24T09:17:44Z INFO  flathub_hooks::utils] HTTP status client error (413 Payload Too Large) for url (https://hub.flathub.org/api/v1/job/106271/check/review)\n[2023-11-24T09:17:44Z INFO  flathub_hooks::utils] Retrying (5/5) in 16 seconds...\n[2023-11-24T09:18:00Z INFO  flathub_hooks::utils] HTTP status client error (413 Payload Too Large) for url (https://hub.flathub.org/api/v1/job/106271/check/review)\nError: HTTP status client error (413 Payload Too Large) for url (https://hub.flathub.org/api/v1/job/106271/check/review)\n\nStack backtrace:\n   0: flathub_hooks::utils::retry\n   1: flathub_hooks::config::Config::mark_still_pending\n   2: flathub_hooks::review::do_review\n   3: flathub_hooks::main\n   4: std::sys_common::backtrace::__rust_begin_short_backtrace\n   5: std::rt::lang_start::{{closure}}\n   6: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once\n             at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/ops/function.rs:284:13\n      std::panicking::try::do_call\n             at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:502:40\n      std::panicking::try\n             at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:466:19\n      std::panic::catch_unwind\n             at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panic.rs:142:14\n      std::rt::lang_start_internal::{{closure}}\n             at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/rt.rs:148:48\n      std::panicking::try::do_call\n             at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:502:40\n      std::panicking::try\n             at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:466:19\n      std::panic::catch_unwind\n             at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panic.rs:142:14\n      std::rt::lang_start_internal\n             at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/rt.rs:148:20\n   7: main\n   8: __libc_start_call_main\n             at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16\n   9: __libc_start_main_impl\n             at ./csu/../csu/libc-start.c:392:3\n  10: _start\n', 'results': None}
program finished with exit code 1
elapsedTime=53.075667
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant