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

Transfer Failed Code 500 #4696

Closed
3 tasks done
coco0325 opened this issue Feb 15, 2023 · 9 comments
Closed
3 tasks done

Transfer Failed Code 500 #4696

coco0325 opened this issue Feb 15, 2023 · 9 comments
Labels
not confirmed Report seems plausible but requires additional testing or 3rd part confirmation.

Comments

@coco0325
Copy link

Current Behavior

I tried several times transferring the same server, and it always failed when uploading progress arrived at 2.9 GiB / 23.6 GiB.

Error:
failed to push archive to target error=unexpected status code from destination: 500

Wed, 15 Feb 2023 14:36:18 CST [Transfer System] [Source Node]: Uploading [ ] 171.6 MiB / 23.6 GiB
Wed, 15 Feb 2023 14:36:23 CST [Transfer System] [Source Node]: Uploading [ ] 473.0 MiB / 23.6 GiB
Wed, 15 Feb 2023 14:36:28 CST [Transfer System] [Source Node]: Uploading [ ] 782.4 MiB / 23.6 GiB
Wed, 15 Feb 2023 14:36:33 CST [Transfer System] [Source Node]: Uploading [= ] 1.1 GiB / 23.6 GiB
Wed, 15 Feb 2023 14:36:38 CST [Transfer System] [Source Node]: Uploading [= ] 1.4 GiB / 23.6 GiB
Wed, 15 Feb 2023 14:36:43 CST [Transfer System] [Source Node]: Uploading [= ] 1.8 GiB / 23.6 GiB
Wed, 15 Feb 2023 14:36:48 CST [Transfer System] [Source Node]: Uploading [== ] 2.1 GiB / 23.6 GiB
Wed, 15 Feb 2023 14:36:53 CST [Transfer System] [Source Node]: Uploading [== ] 2.4 GiB / 23.6 GiB
Wed, 15 Feb 2023 14:36:58 CST [Transfer System] [Source Node]: Uploading [== ] 2.7 GiB / 23.6 GiB
Wed, 15 Feb 2023 14:37:03 CST [Transfer System] [Source Node]: Uploading [=== ] 2.9 GiB / 23.6 GiB
container@pterodactyl~ Transfer has failed.

Expected Behavior

Transfer the server data correctly.

Steps to Reproduce

Transfer a server.

Panel Version

1.11.3

Wings Version

1.11.4

Games and/or Eggs Affected

No response

Docker Image

No response

Error Logs

https://ptero.co/kecewuzoqa

Is there an existing issue for this?

  • I have searched the existing issues before opening this issue.
  • I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
@coco0325 coco0325 added the not confirmed Report seems plausible but requires additional testing or 3rd part confirmation. label Feb 15, 2023
@jughead0800
Copy link

jughead0800 commented Feb 22, 2023

I have exactly the same issue

ERROR: [Feb 22 02:25:24.126] failed to push archive to target error=unexpected status code from destination: 502 server=5eacb4e6-7ceb-4178-81d0-4aa523307eed subsystem=transfer
ERROR: [Feb 22 02:39:44.032] failed to push archive to target error=unexpected status code from destination: 500 server=5eacb4e6-7ceb-4178-81d0-4aa523307eed subsystem=transfer

it seems to time out at about 2 mins for me i suspect its a config setting in whatever webserver/proxy wings uses to send the files. there was some mention of it, and how to adjust the time to longer, but i have been looking for hours and i cant find the link...

after a several, it also caps at just under 1GiB of transfer, which is about what i can push in that time. It is 100% repeatable, across several nodes

@skaneprime

This comment was marked as spam.

@SuperKali
Copy link

i confirm i have the same problem

ERROR: [Oct 13 09:52:58.701] failed to push archive to target error=unexpected status code from destination: 500 server=6cbace3f-e372-4186-9a51-50fcf07fbbff subsystem=transfer

@SuperKali
Copy link

SuperKali commented Oct 13, 2023

Apparently the problem is if we use Cloudflare as proxy

@theFra985
Copy link

It can also happen when using an nginx reverse proxy without a high enough client_max_body_size.
The server archive gets POSTed to the target daemon via the configured HTTP port so if any of the reverse proxies in front of it filters out the request based on body size the transfer will fail.

@GameServersHub
Copy link

Has anyone located a fix for using cloudflare and resolving this error?

@xal3xhx
Copy link

xal3xhx commented Nov 13, 2023

Confirmed also having the same issue, it seams like some kind of timeout is happening ive tried changing may settings in nginx and cloudflare with no luck yet

@Boy132
Copy link
Contributor

Boy132 commented Nov 14, 2023

For everyone with the same problem: please provide wings logs (sudo wings diagnostics) of both nodes. (source and destination, right after the failed transfer)
Ideally on the Discord.

Also, make sure that the wings version on both nodes matches and that your wings (and panel) is up-to-date in general.

@xal3xhx
Copy link

xal3xhx commented Nov 14, 2023

here is the logs and info for the failed transfer
server
name: Alex's GMod - Jazz
UUID: 46c425a0-b56d-4966-87cc-93432917777e

source node
name: Alexs_Localnode2
UUID: 53d03cd8-6482-4bb6-8fe5-b98c1ba77297

dest node
name: praxis server
UUID: d9389e54-20fc-4c46-b3ca-08a9f63ddcd5

Both nodes are behind a cloudflare Zero Trust access tunnel with agents running on both sites
the setting are the same for both host names
HTTP Host Header: Null
Disable Chunked Encoding: True
Connect Timeout: 60
No Happy Eyeballs: False
Proxy Type: None
Idle Connection Expiration Time: 190
Keep Alive Connections: 100
TCP Keep Alive Interval: 30
Protect with Access: False

console output during transfer:
container@pterodactyl~ Server marked as offline... Tue, 14 Nov 2023 15:24:30 UTC [Transfer System] [Source Node]: Uploading [ ] 24.0 MiB / 18.2 GiB Tue, 14 Nov 2023 15:24:35 UTC [Transfer System] [Source Node]: Uploading [ ] 53.0 MiB / 18.2 GiB <truncated> Tue, 14 Nov 2023 15:27:55 UTC [Transfer System] [Source Node]: Uploading [== ] 1.5 GiB / 18.2 GiB Tue, 14 Nov 2023 15:28:00 UTC [Transfer System] [Source Node]: Uploading [== ] 1.5 GiB / 18.2 GiB container@pterodactyl~ Transfer has failed. container@pterodactyl~ Server marked as offline...

each time i have done a transfer no matter the server it always seams to fail around 1.6GB

Logs from source wings: https://ptero.co/eputoqezuk
i think The sftp errors can be ignored (i am unsure what is causing them at the moment)

Logs from dest wings: https://ptero.co/mydotoheqi

this was coss-posted in discord as requested: https://discord.com/channels/122900397965705216/1174012892325089321

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not confirmed Report seems plausible but requires additional testing or 3rd part confirmation.
Projects
None yet
Development

No branches or pull requests

9 participants