levindecaro commented on issue #7981:
URL: https://github.com/apache/cloudstack/issues/7981#issuecomment-1727651933

   Have another try to eliminate all possible UI, browser or Network problem.
   
   Did a upload test with CMK, curl inside ssvm, the post request are paused 
and waiting for data.
   
   
   
   ```
   URL=https://ssvm.lab.example.com/upload/77312ce8-b2fa-4820-be39-73548c2f1463
   
   curl --connect-timeout 1800 --max-time 1800 -X POST "$URL" -H 
"X-Signature:$SIGNATURE" -H "X-Metadata:$METADATA" -H "X-expires:$EXPIRES" -F 
"file=@OL7U9_x86_64-kvm-b145.qcow2" -v -H "Connection: keep-alive" -H 
"Keep-Alive: timeout=5, max=100"
   ```
   
   ```
   *   Trying 172.20.240.11:443...
   * Connected to ssvm.lab.example.com (172.20.240.11) port 443 (#0)
   * ALPN, offering h2
   * ALPN, offering http/1.1
   * successfully set certificate verify locations:
   *  CAfile: /etc/ssl/certs/ca-certificates.crt
   *  CApath: /etc/ssl/certs
   * TLSv1.3 (OUT), TLS handshake, Client hello (1):
   * TLSv1.3 (IN), TLS handshake, Server hello (2):
   * TLSv1.2 (IN), TLS handshake, Certificate (11):
   * TLSv1.2 (IN), TLS handshake, Server key exchange (12):
   * TLSv1.2 (IN), TLS handshake, Server finished (14):
   * TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
   * TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
   * TLSv1.2 (OUT), TLS handshake, Finished (20):
   * TLSv1.2 (IN), TLS handshake, Finished (20):
   * SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
   * ALPN, server accepted to use http/1.1
   * Server certificate:
   *  subject: CN=*.lab.example.com
   *  start date: Sep 19 22:10:34 2023 GMT
   *  expire date: Dec 18 22:10:33 2023 GMT
   *  subjectAltName: host "ssvm.lab.example.com" matched cert's 
"*.lab.example.com"
   *  issuer: C=US; O=Let's Encrypt; CN=R3
   *  SSL certificate verify ok.
   > POST /upload/77312ce8-b2fa-4820-be39-73548c2f1463 HTTP/1.1
   > Host: ssvm.lab.example.com
   > User-Agent: curl/7.74.0
   > Accept: */*
   > X-Signature:f7vN87mYSojst5bkQ/DaIY9HwvQ=
   > 
X-Metadata:0eORF2irrmWs2AlCl2/SuZqf2MT3OIYMq4KUCAzC0zCdwST8C/pKblF4QpX2bBKXc6rzZYwvaJzvI8MOJKf/EwW700UXiSzvjpy6BOfNufQVBHzA79t7fcBEnFZEhEa1Xccs3emZ4VImrlc99tqHwi2fkMjb+NbUONh2PY94RrPuUQkmIIS3DPZS9A6bzhgEgCwVitMzhBzWpJtsqr6YB6PzIujvRjRb5IyW8tP5prlBegrDw4yTYBwVmsp+wJTWig1Q2mw8lXvLUysoyrGa1zWzUWjNi+9ZFgNTPYJ1HyyibZkNne7RyE0/SnrEn0B3GtQ5J4qzHRazwr+RfUAT4nSuucVZ36Id12n7kqUCslT4tcjPV8rpyVLU7ALjlbj2JdAdoUwkjRHdnAmv7iEFIjuCLiy28NOeOQAYtPCgbP1XLQBxiNsm0kJfokKY74BmPIzbhvr+ECBv0mP4j5liYGBnYUNkBOL9hjOCyGf+pX3l+J34Wy67mf54w5FPuND0Y6ZY03cXWarp6ZLueqjN0Gs1nzuO1GGypdKluqVbeYFGoiLL74ka0+mkRkn3zoT7k59EMpJiktboEf0pdae5wjR6OzHZ6H/SuJkZFGSmdOLp6fXRywfJoEeD6LbjQtLR2VM3jmvjX8xIa7HBMjk=
   > X-expires:2023-09-20T13:30:37.972Z
   > Connection: keep-alive
   > Keep-Alive: timeout=5, max=100
   > Content-Length: 725221595
   > Content-Type: multipart/form-data; 
boundary=------------------------401774914bef730e
   > Expect: 100-continue
   >
   * Done waiting for 100-continue
   * Mark bundle as not supporting multiuse
   < HTTP/1.1 503 Proxy Error
   < Date: Wed, 20 Sep 2023 12:30:38 GMT
   < Server: Apache
   < Access-Control-Allow-Origin: *
   < Access-Control-Allow-Methods: POST, OPTIONS
   < Access-Control-Allow-Headers: x-requested-with, content-type, origin, 
authorization, accept, client-security-token, x-signature, x-metadata, x-expires
   < Content-Length: 283
   < Connection: close
   < Content-Type: text/html; charset=iso-8859-1
   <
   <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
   <html><head>
   <title>503 Proxy Error</title>
   </head><body>
   <h1>Proxy Error</h1>
   <p>The server is temporarily unable to service your
   request due to maintenance downtime or capacity
   problems. Please try again later.</p>
   </body></html>
   * we are done reading and this is set to close, stop send
   * Closing connection 0
   * TLSv1.2 (OUT), TLS alert, close notify (256):
   ```
   
   
   
   
   cloud.log
   
   ```
   2023-09-20 12:30:38,449 INFO  [storage.resource.HttpUploadServerHandler] 
(nioEventLoopGroup-3-1:null) HEADER: SIGNATURE=f7vN87mYSojst5bkQ/DaIY9HwvQ=
   2023-09-20 12:30:38,451 INFO  [storage.resource.HttpUploadServerHandler] 
(nioEventLoopGroup-3-1:null) HEADER: 
METADATA=0eORF2irrmWs2AlCl2/SuZqf2MT3OIYMq4KUCAzC0zCdwST8C/pKblF4QpX2bBKXc6rzZYwvaJzvI8MOJKf/EwW700UXiSzvjpy6BOfNufQVBHzA79t7fcBEnFZEhEa1Xccs3emZ4VImrlc99tqHwi2fkMjb+NbUONh2PY94RrPuUQkmIIS3DPZS9A6bzhgEgCwVitMzhBzWpJtsqr6YB6PzIujvRjRb5IyW8tP5prlBegrDw4yTYBwVmsp+wJTWig1Q2mw8lXvLUysoyrGa1zWzUWjNi+9ZFgNTPYJ1HyyibZkNne7RyE0/SnrEn0B3GtQ5J4qzHRazwr+RfUAT4nSuucVZ36Id12n7kqUCslT4tcjPV8rpyVLU7ALjlbj2JdAdoUwkjRHdnAmv7iEFIjuCLiy28NOeOQAYtPCgbP1XLQBxiNsm0kJfokKY74BmPIzbhvr+ECBv0mP4j5liYGBnYUNkBOL9hjOCyGf+pX3l+J34Wy67mf54w5FPuND0Y6ZY03cXWarp6ZLueqjN0Gs1nzuO1GGypdKluqVbeYFGoiLL74ka0+mkRkn3zoT7k59EMpJiktboEf0pdae5wjR6OzHZ6H/SuJkZFGSmdOLp6fXRywfJoEeD6LbjQtLR2VM3jmvjX8xIa7HBMjk=
   2023-09-20 12:30:38,452 INFO  [storage.resource.HttpUploadServerHandler] 
(nioEventLoopGroup-3-1:null) HEADER: EXPIRES=2023-09-20T13:30:37.972Z
   2023-09-20 12:30:38,453 INFO  [storage.resource.HttpUploadServerHandler] 
(nioEventLoopGroup-3-1:null) HEADER: HOST=ssvm.lab.example.com
   2023-09-20 12:30:38,454 INFO  [storage.resource.HttpUploadServerHandler] 
(nioEventLoopGroup-3-1:null) HEADER: CONTENT_LENGTH=725221595
   2023-09-20 12:30:38,456 INFO  [storage.resource.HttpUploadServerHandler] 
(nioEventLoopGroup-3-1:null) URI: uuid=77312ce8-b2fa-4820-be39-73548c2f1463
   2023-09-20 12:30:38,778 INFO  [storage.resource.NfsSecondaryStorageResource] 
(nioEventLoopGroup-3-1:null) Determined host nfs.lab.example.com corresponds to 
IP 10.10.10.90
   2023-09-20 12:30:38,797 INFO  [storage.resource.NfsSecondaryStorageResource] 
(nioEventLoopGroup-3-1:null) Determined host nfs.lab.example.com corresponds to 
IP 10.10.10.90
   2023-09-20 12:30:39,076 INFO  [storage.resource.NfsSecondaryStorageResource] 
(nioEventLoopGroup-3-1:null) Determined host nfs.lab.example.com corresponds to 
IP 10.10.10.90
   2023-09-20 12:30:39,123 INFO  [storage.resource.HttpUploadServerHandler] 
(nioEventLoopGroup-3-1:null) base directory: 
/mnt/SecStorage/3d6c5617-7b66-38c3-b5bd-f58804d588b3/template/tmpl/2/264
   2023-09-20 12:31:11,967 INFO  [storage.resource.NfsSecondaryStorageResource] 
(agentRequest-Handler-1:null) Determined host nfs.lab.example.com corresponds 
to IP 10.10.10.90
   2023-09-20 12:32:12,153 INFO  [storage.resource.NfsSecondaryStorageResource] 
(agentRequest-Handler-3:null) Determined host nfs.lab.example.com corresponds 
to IP 10.10.10.90
   2023-09-20 12:33:12,365 INFO  [storage.resource.NfsSecondaryStorageResource] 
(agentRequest-Handler-5:null) Determined host nfs.lab.example.com corresponds 
to IP 10.10.10.90
   2023-09-20 12:34:12,548 INFO  [storage.resource.NfsSecondaryStorageResource] 
(agentRequest-Handler-2:null) Determined host nfs.lab.example.com corresponds 
to IP 10.10.10.90
   2023-09-20 12:35:12,696 INFO  [storage.resource.NfsSecondaryStorageResource] 
(agentRequest-Handler-4:null) Determined host nfs.lab.example.com corresponds 
to IP 10.10.10.90
   2023-09-20 12:35:38,352 ERROR [storage.resource.HttpUploadServerHandler] 
(nioEventLoopGroup-3-1:null) file receive failed or connection closed 
prematurely.
   2023-09-20 12:36:12,846 INFO  [storage.resource.NfsSecondaryStorageResource] 
(agentRequest-Handler-1:null) Determined host nfs.lab.example.com corresponds 
to IP 10.10.10.90
   ```
   
   
   
   
   
   
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to