https_500 #596

Open
opened 2024-08-27 18:21:32 +00:00 by aimier · 1 comment
aimier commented 2024-08-27 18:21:32 +00:00 (Migrated from gitea.com)

With the provided path, there will be 1 file uploaded
Starting artifact upload
For more detailed logs during the artifact upload process, enable step-debugging: https://docs.github.com/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging#enabling-step-debug-logging
Artifact name is valid!
Container for artifact "ddns-go_amd64" successfully created. Starting upload of file(s)
A 500 status code has been received, will attempt to retry the upload
Exponential backoff for retry #1. Waiting for 5236 milliseconds before continuing the upload at offset 0
Finished backoff for retry #1, continuing with upload
A 500 status code has been received, will attempt to retry the upload
Exponential backoff for retry #2. Waiting for 10482 milliseconds before continuing the upload at offset 0
Total file count: 1 ---- Processed file #0 (0.0%)
Finished backoff for retry #2, continuing with upload
A 500 status code has been received, will attempt to retry the upload
Exponential backoff for retry #3. Waiting for 18565 milliseconds before continuing the upload at offset 0
Total file count: 1 ---- Processed file #0 (0.0%)
Total file count: 1 ---- Processed file #0 (0.0%)
Finished backoff for retry #3, continuing with upload
A 500 status code has been received, will attempt to retry the upload
Exponential backoff for retry #4. Waiting for 23873 milliseconds before continuing the upload at offset 0
Total file count: 1 ---- Processed file #0 (0.0%)
Total file count: 1 ---- Processed file #0 (0.0%)
Total file count: 1 ---- Processed file #0 (0.0%)
Finished backoff for retry #4, continuing with upload
A 500 status code has been received, will attempt to retry the upload
Exponential backoff for retry #5. Waiting for 33670 milliseconds before continuing the upload at offset 0
Total file count: 1 ---- Processed file #0 (0.0%)
Total file count: 1 ---- Processed file #0 (0.0%)
Total file count: 1 ---- Processed file #0 (0.0%)
Finished backoff for retry #5, continuing with upload
A 500 status code has been received, will attempt to retry the upload

Begin Diagnostic HTTP information

Status Code: 500
Status Message: Internal Server Error
Header Information: {
"date": "Tue, 27 Aug 2024 18:09:32 GMT",
"content-type": "text/plain; charset=utf-8",
"content-length": "24",
"connection": "keep-alive",
"server": "Caddy",
"x-content-type-options": "nosniff"
}

End Diagnostic HTTP information

Retry limit has been reached for chunk at offset 0 to https://gitea.com/api/actions_pipeline/_apis/pipelines/workflows/54216/artifacts/120b0cf86d382d9c49cce29702d63c36/upload?itemPath=ddns-go_amd64%2Fddns-go
:⚠️:Aborting upload for /workspace/aimier/ddns-go/ddns-go due to failure
::error::aborting artifact upload
Total size of all the files uploaded is 0 bytes
File upload process has finished. Finalizing the artifact upload
Upload finished. There were 1 items that failed to upload
The raw size of all the files that were specified for upload is 9404416 bytes
The size of all the files that were uploaded is 0 bytes. This takes into account any gzip compression used to reduce the upload size, time and storage
Note: The size of downloaded zips can differ significantly from the reported size. For more information see: https://github.com/actions/upload-artifact#zipped-artifact-downloads
::error::An error was encountered when uploading ddns-go_amd64. There were 1 items that failed to upload.

With the provided path, there will be 1 file uploaded Starting artifact upload For more detailed logs during the artifact upload process, enable step-debugging: https://docs.github.com/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging#enabling-step-debug-logging Artifact name is valid! Container for artifact "ddns-go_amd64" successfully created. Starting upload of file(s) A 500 status code has been received, will attempt to retry the upload Exponential backoff for retry #1. Waiting for 5236 milliseconds before continuing the upload at offset 0 Finished backoff for retry #1, continuing with upload A 500 status code has been received, will attempt to retry the upload Exponential backoff for retry #2. Waiting for 10482 milliseconds before continuing the upload at offset 0 Total file count: 1 ---- Processed file #0 (0.0%) Finished backoff for retry #2, continuing with upload A 500 status code has been received, will attempt to retry the upload Exponential backoff for retry #3. Waiting for 18565 milliseconds before continuing the upload at offset 0 Total file count: 1 ---- Processed file #0 (0.0%) Total file count: 1 ---- Processed file #0 (0.0%) Finished backoff for retry #3, continuing with upload A 500 status code has been received, will attempt to retry the upload Exponential backoff for retry #4. Waiting for 23873 milliseconds before continuing the upload at offset 0 Total file count: 1 ---- Processed file #0 (0.0%) Total file count: 1 ---- Processed file #0 (0.0%) Total file count: 1 ---- Processed file #0 (0.0%) Finished backoff for retry #4, continuing with upload A 500 status code has been received, will attempt to retry the upload Exponential backoff for retry #5. Waiting for 33670 milliseconds before continuing the upload at offset 0 Total file count: 1 ---- Processed file #0 (0.0%) Total file count: 1 ---- Processed file #0 (0.0%) Total file count: 1 ---- Processed file #0 (0.0%) Finished backoff for retry #5, continuing with upload A 500 status code has been received, will attempt to retry the upload ##### Begin Diagnostic HTTP information ##### Status Code: 500 Status Message: Internal Server Error Header Information: { "date": "Tue, 27 Aug 2024 18:09:32 GMT", "content-type": "text/plain; charset=utf-8", "content-length": "24", "connection": "keep-alive", "server": "Caddy", "x-content-type-options": "nosniff" } ###### End Diagnostic HTTP information ###### Retry limit has been reached for chunk at offset 0 to https://gitea.com/api/actions_pipeline/_apis/pipelines/workflows/54216/artifacts/120b0cf86d382d9c49cce29702d63c36/upload?itemPath=ddns-go_amd64%2Fddns-go ::warning::Aborting upload for /workspace/aimier/ddns-go/ddns-go due to failure ::error::aborting artifact upload Total size of all the files uploaded is 0 bytes File upload process has finished. Finalizing the artifact upload Upload finished. There were 1 items that failed to upload The raw size of all the files that were specified for upload is 9404416 bytes The size of all the files that were uploaded is 0 bytes. This takes into account any gzip compression used to reduce the upload size, time and storage Note: The size of downloaded zips can differ significantly from the reported size. For more information see: https://github.com/actions/upload-artifact#zipped-artifact-downloads ::error::An error was encountered when uploading ddns-go_amd64. There were 1 items that failed to upload.
schallbert commented 2024-09-17 20:29:44 +00:00 (Migrated from gitea.com)

Hi. I don't mean to be rude here, but the maintainers are likely spending their limited free time on fixing bugs, keeping the solution up to date, developing new features, and help solve user's issues. I invite you to stick to an open source etiquette like this which is not only nice, but makes them more likely to help you out.

But let's put that aside. I see you're using the caddy webserver. Do you have it configured correctly?
Without being given more detail, I'd assume a reverse proxy command is missing in your Caddyfile that looks similar to this:

git.<yourdomainname>.foo {
    reverse_proxy * http://gitea:3000
}

If that's not fixing your problem, the person trying to help you would likely require more detail.

Cheers
Schallbert

Hi. I don't mean to be rude here, but the maintainers are likely spending their limited free time on fixing bugs, keeping the solution up to date, developing new features, and help solve user's issues. I invite you to stick to an open source etiquette [like this](http://opensourceetiquette.com/) which is not only nice, but makes them more likely to help you out. But let's put that aside. I see you're using the `caddy` webserver. Do you have it configured correctly? Without being given more detail, I'd assume a [reverse proxy command ](https://docs.gitea.com/next/administration/reverse-proxies) is missing in your *Caddyfile* that looks similar to this: ```yml git.<yourdomainname>.foo { reverse_proxy * http://gitea:3000 } ``` If that's not fixing your problem, the person trying to help you would likely require more detail. Cheers _Schallbert_
Sign in to join this conversation.
No description provided.