rainlab / deploy-plugin

A simple way to deploy your application to a remote location.
Other
16 stars 15 forks source link

Update Failed error on Deploying Vendor Archive step #52

Closed ukaytac closed 9 months ago

ukaytac commented 11 months ago

Hello,

I'm getting "Update Failed" error on Deploying Vendor Archive step.

There is no other information about the error.

What should I do?

Thanks a lot.

ukaytac commented 11 months ago

The error is below.

[2023-12-17 11:34:35] local.INFO: October\Rain\Network\Http Object
(
    [url] => https://demo.utkuaytac.com/?XOB_CMD=fileUpload&XOB=19220a3d5e2bd7685538d94c64b7a5b2&XOB_PAYLOAD=eyJjbWQiOiJmaWxlVXBsb2FkIiwibm9uY2UiOjE3MDI4MTI4NTc3fQ%3D%3D&XOB_SIGNATURE=LGHusHHhA1MZxbiVD%2FMfYSQr%2BVo0UnBxfPBU9NxBQegWmMhBm2b57hH3MJIt%2F%2FToPDQaiTgQsZARvlFlUgd%2BBLPLsPf%2FgCTq8yvYPBXKmiLsyEaFGXC0ybod6PZpXTTNhQ43K%2Fl1zyaAsz1DErarxkKVGHn9uYp0fIKQn0bZyD%2FPCW0cwMKySpKpW5oZXPKYG%2FsFjF7Lm8mQSwEiRHb7cCvpTIT1YV1oiRMNydwyiMMeWYHKsAAkN%2FFeVqYnsu%2BBGhu3YL%2B4k%2Byd6opQ8m08JAqrQLlZKGE0uqYn3jZTM8%2Fg%2Bw7jZ9GVwRa9NVPApQt4L48HT6YvIVoJzmlcfwWEnw%3D%3D&XOB_FILENAME=321aa7335900c6842f751418c8fe2597&XOB_FILEHASH=c37dccbe4637ef1fee66a357a234fa5d
    [method] => POST
    [headers] => Array
        (
            [HTTP/2] => 403 
            [date] => Sun, 17 Dec 2023 11:34:35 GMT
            [content-type] => text/html
            [cache-control] => private, no-cache, no-store, must-revalidate, max-age=0
            [pragma] => no-cache
            [cf-cache-status] => DYNAMIC
            [report-to] => {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=unIHtex%2FJ6qD466IuUl32In7%2BHeuM%2BcsraovJQGuDMqzDwmzc5%2Fbu9dIdiVOnZpqhRxPV9XYCvLHYGN8PvanhRHbmMNRDO%2FQe2P2dI4qo4YnhraRrGDQOCkesQzeYJNwdCALY0c%3D"}],"group":"cf-nel","max_age":604800}
            [nel] => {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
            [server] => cloudflare
            [cf-ray] => 836edb2a0ceb5bad-VIE
            [alt-svc] => h3=":443"; ma=86400
        )

    [headerCallbackFunc] => 
    [body] => <!DOCTYPE html>
<html style="height:100%">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<title> 403 Forbidden
</title></head>
<body style="color: #444; margin:0;font: normal 14px/20px Arial, Helvetica, sans-serif; height:100%; background-color: #fff;">
<div style="height:auto; min-height:100%; ">     <div style="text-align: center; width:800px; margin-left: -400px; position:absolute; top: 30%; left:50%;">
        <h1 style="margin:0; font-size:150px; line-height:150px; font-weight:bold;">403</h1>
<h2 style="margin-top:20px;font-size: 30px;">Forbidden
</h2>
<p>Access to this resource on the server is denied!</p>
</div></div></body></html>

    [rawBody] => HTTP/2 403 
date: Sun, 17 Dec 2023 11:34:35 GMT
content-type: text/html
cache-control: private, no-cache, no-store, must-revalidate, max-age=0
pragma: no-cache
cf-cache-status: DYNAMIC
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=unIHtex%2FJ6qD466IuUl32In7%2BHeuM%2BcsraovJQGuDMqzDwmzc5%2Fbu9dIdiVOnZpqhRxPV9XYCvLHYGN8PvanhRHbmMNRDO%2FQe2P2dI4qo4YnhraRrGDQOCkesQzeYJNwdCALY0c%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 836edb2a0ceb5bad-VIE
alt-svc: h3=":443"; ma=86400

<!DOCTYPE html>
<html style="height:100%">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<title> 403 Forbidden
</title></head>
<body style="color: #444; margin:0;font: normal 14px/20px Arial, Helvetica, sans-serif; height:100%; background-color: #fff;">
<div style="height:auto; min-height:100%; ">     <div style="text-align: center; width:800px; margin-left: -400px; position:absolute; top: 30%; left:50%;">
        <h1 style="margin:0; font-size:150px; line-height:150px; font-weight:bold;">403</h1>
<h2 style="margin-top:20px;font-size: 30px;">Forbidden
</h2>
<p>Access to this resource on the server is denied!</p>
</div></div></body></html>

    [code] => 403
    [info] => Array
        (
            [url] => https://demo.utkuaytac.com/?XOB_CMD=fileUpload&XOB=19220a3d5e2bd7685538d94c64b7a5b2&XOB_PAYLOAD=eyJjbWQiOiJmaWxlVXBsb2FkIiwibm9uY2UiOjE3MDI4MTI4NTc3fQ%3D%3D&XOB_SIGNATURE=LGHusHHhA1MZxbiVD%2FMfYSQr%2BVo0UnBxfPBU9NxBQegWmMhBm2b57hH3MJIt%2F%2FToPDQaiTgQsZARvlFlUgd%2BBLPLsPf%2FgCTq8yvYPBXKmiLsyEaFGXC0ybod6PZpXTTNhQ43K%2Fl1zyaAsz1DErarxkKVGHn9uYp0fIKQn0bZyD%2FPCW0cwMKySpKpW5oZXPKYG%2FsFjF7Lm8mQSwEiRHb7cCvpTIT1YV1oiRMNydwyiMMeWYHKsAAkN%2FFeVqYnsu%2BBGhu3YL%2B4k%2Byd6opQ8m08JAqrQLlZKGE0uqYn3jZTM8%2Fg%2Bw7jZ9GVwRa9NVPApQt4L48HT6YvIVoJzmlcfwWEnw%3D%3D&XOB_FILENAME=321aa7335900c6842f751418c8fe2597&XOB_FILEHASH=c37dccbe4637ef1fee66a357a234fa5d
            [content_type] => text/html
            [http_code] => 403
            [header_size] => 606
            [request_size] => 787
            [filetime] => -1
            [ssl_verify_result] => 20
            [redirect_count] => 0
            [total_time] => 18.017448
            [namelookup_time] => 0.030824
            [connect_time] => 0.072911
            [pretransfer_time] => 0.12556
            [size_upload] => 9754357
            [size_download] => 699
            [speed_download] => 38
            [speed_upload] => 541383
            [download_content_length] => -1
            [upload_content_length] => 9754357
            [starttransfer_time] => 18.016984
            [redirect_time] => 0
            [redirect_url] => 
            [primary_ip] => 104.21.77.147
            [certinfo] => Array
                (
                )

            [primary_port] => 443
            [local_ip] => 192.168.68.102
            [local_port] => 50548
            [http_version] => 3
            [protocol] => 2
            [ssl_verifyresult] => 0
            [scheme] => HTTPS
            [appconnect_time_us] => 125430
            [connect_time_us] => 72911
            [namelookup_time_us] => 30824
            [pretransfer_time_us] => 125560
            [redirect_time_us] => 0
            [starttransfer_time_us] => 18016984
            [total_time_us] => 18017448
            [effective_method] => POST
        )

    [requestOptions] => 
    [requestData] => Array
        (
            [file] => CURLFile Object
                (
                    [name] => /Users/utkuaytac/Documents/dev/web/october01/storage/temp/ocbl-fa348f3d3ab8a7d440bf43172636de51.arc
                    [mime] => 
                    [postname] => 
                )

        )

    [requestHeaders] => 
    [argumentSeparator] => &
    [streamFile] => 
    [streamFilter] => 
    [maxRedirects] => 10
    [redirectCount:protected] => 
    [hasFileData:protected] => 1
)
ukaytac commented 11 months ago

I also tried again by changing Cloudflare service to DNS only.

daftspunk commented 9 months ago

Hi @ukaytac

Based on this report, it looks like the server is timing out or reaching its internal limits. Here's a link on how to increase the maximum execution time: https://stackoverflow.com/questions/3829403/how-to-increase-the-execution-timeout-in-php