Closed blairlearn closed 9 months ago
Verified both redirect to trial description page and trial not found scenarios, see requests below
curl -v https://cgdp-dyn-svcs-qa.cancer.gov/clinicaltrials/nct04916002
* Trying 10.208.15.164:443...
* Connected to cgdp-dyn-svcs-qa.cancer.gov (10.208.15.164) port 443 (#0)
* ALPN: offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
* CAfile: /etc/ssl/cert.pem
* CApath: none
* (304) (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 change cipher, Change cipher spec (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN: server accepted h2
* Server certificate:
* subject: C=US; ST=Maryland; L=Rockville; O=National Cancer Institute; CN=*.cancer.gov
* start date: May 17 00:00:00 2023 GMT
* expire date: Jun 8 23:59:59 2024 GMT
* subjectAltName: host "cgdp-dyn-svcs-qa.cancer.gov" matched cert's "*.cancer.gov"
* issuer: C=US; O=DigiCert Inc; CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1
* SSL certificate verify ok.
* using HTTP/2
* h2 [:method: GET]
* h2 [:scheme: https]
* h2 [:authority: cgdp-dyn-svcs-qa.cancer.gov]
* h2 [:path: /clinicaltrials/nct04916002]
* h2 [user-agent: curl/8.1.2]
* h2 [accept: */*]
* Using Stream ID: 1 (easy handle 0x11c811000)
> GET /clinicaltrials/nct04916002 HTTP/2
> Host: cgdp-dyn-svcs-qa.cancer.gov
> User-Agent: curl/8.1.2
> Accept: */*
>
< HTTP/2 302
< date: Mon, 13 Nov 2023 16:08:29 GMT
< content-type: text/html; charset=utf-8
< location: https://www.cancer.gov/research/participate/clinical-trials-search/v?id=NCT04916002&r=1
< cache-control: private
< x-aspnet-version: 4.0.30319
<
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="https://www.cancer.gov/research/participate/clinical-trials-search/v?id=NCT04916002&r=1">here</a>.</h2>
</body></html>
* Connection #0 to host cgdp-dyn-svcs-qa.cancer.gov left intact
trial Not found
curl -v https://cgdp-dyn-svcs-qa.cancer.gov/clinicaltrials/nct05911152
* Trying 10.208.10.188:443...
* Connected to cgdp-dyn-svcs-qa.cancer.gov (10.208.10.188) port 443 (#0)
* ALPN: offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
* CAfile: /etc/ssl/cert.pem
* CApath: none
* (304) (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 change cipher, Change cipher spec (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN: server accepted h2
* Server certificate:
* subject: C=US; ST=Maryland; L=Rockville; O=National Cancer Institute; CN=*.cancer.gov
* start date: May 17 00:00:00 2023 GMT
* expire date: Jun 8 23:59:59 2024 GMT
* subjectAltName: host "cgdp-dyn-svcs-qa.cancer.gov" matched cert's "*.cancer.gov"
* issuer: C=US; O=DigiCert Inc; CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1
* SSL certificate verify ok.
* using HTTP/2
* h2 [:method: GET]
* h2 [:scheme: https]
* h2 [:authority: cgdp-dyn-svcs-qa.cancer.gov]
* h2 [:path: /clinicaltrials/nct05911152]
* h2 [user-agent: curl/8.1.2]
* h2 [accept: */*]
* Using Stream ID: 1 (easy handle 0x145811400)
> GET /clinicaltrials/nct05911152 HTTP/2
> Host: cgdp-dyn-svcs-qa.cancer.gov
> User-Agent: curl/8.1.2
> Accept: */*
>
< HTTP/2 302
< date: Mon, 13 Nov 2023 16:08:31 GMT
< content-type: text/html; charset=utf-8
< location: https://clinicaltrials.gov/study/NCT05911152
< cache-control: private
< x-aspnet-version: 4.0.30319
<
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="https://clinicaltrials.gov/study/NCT05911152">here</a>.</h2>
</body></html>
* Connection #0 to host cgdp-dyn-svcs-qa.cancer.gov left intact
re-verified requests trial found:
curl -v https://cgdp-dyn-svcs-qa.cancer.gov/clinicaltrials/nct04916002
* Trying 10.208.11.47:443...
* Connected to cgdp-dyn-svcs-qa.cancer.gov (10.208.11.47) port 443 (#0)
* ALPN: offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
* CAfile: /etc/ssl/cert.pem
* CApath: none
* (304) (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 change cipher, Change cipher spec (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN: server accepted h2
* Server certificate:
* subject: C=US; ST=Maryland; L=Rockville; O=National Cancer Institute; CN=*.cancer.gov
* start date: May 17 00:00:00 2023 GMT
* expire date: Jun 8 23:59:59 2024 GMT
* subjectAltName: host "cgdp-dyn-svcs-qa.cancer.gov" matched cert's "*.cancer.gov"
* issuer: C=US; O=DigiCert Inc; CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1
* SSL certificate verify ok.
* using HTTP/2
* h2 [:method: GET]
* h2 [:scheme: https]
* h2 [:authority: cgdp-dyn-svcs-qa.cancer.gov]
* h2 [:path: /clinicaltrials/nct04916002]
* h2 [user-agent: curl/8.1.2]
* h2 [accept: */*]
* Using Stream ID: 1 (easy handle 0x13d00a800)
> GET /clinicaltrials/nct04916002 HTTP/2
> Host: cgdp-dyn-svcs-qa.cancer.gov
> User-Agent: curl/8.1.2
> Accept: */*
>
< HTTP/2 302
< date: Mon, 27 Nov 2023 21:21:24 GMT
< content-type: text/html; charset=utf-8
< location: https://www.cancer.gov/research/participate/clinical-trials-search/v?id=NCT04916002&r=1
< cache-control: private
< x-aspnet-version: 4.0.30319
<
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="https://www.cancer.gov/research/participate/clinical-trials-search/v?id=NCT04916002&r=1">here</a>.</h2>
</body></html>
* Connection #0 to host cgdp-dyn-svcs-qa.cancer.gov left intact
trial not found
curl -v https://cgdp-dyn-svcs-qa.cancer.gov/clinicaltrials/nct05911152
* Trying 10.208.15.51:443...
* Connected to cgdp-dyn-svcs-qa.cancer.gov (10.208.15.51) port 443 (#0)
* ALPN: offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
* CAfile: /etc/ssl/cert.pem
* CApath: none
* (304) (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 change cipher, Change cipher spec (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN: server accepted h2
* Server certificate:
* subject: C=US; ST=Maryland; L=Rockville; O=National Cancer Institute; CN=*.cancer.gov
* start date: May 17 00:00:00 2023 GMT
* expire date: Jun 8 23:59:59 2024 GMT
* subjectAltName: host "cgdp-dyn-svcs-qa.cancer.gov" matched cert's "*.cancer.gov"
* issuer: C=US; O=DigiCert Inc; CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1
* SSL certificate verify ok.
* using HTTP/2
* h2 [:method: GET]
* h2 [:scheme: https]
* h2 [:authority: cgdp-dyn-svcs-qa.cancer.gov]
* h2 [:path: /clinicaltrials/nct05911152]
* h2 [user-agent: curl/8.1.2]
* h2 [accept: */*]
* Using Stream ID: 1 (easy handle 0x12d813400)
> GET /clinicaltrials/nct05911152 HTTP/2
> Host: cgdp-dyn-svcs-qa.cancer.gov
> User-Agent: curl/8.1.2
> Accept: */*
>
< HTTP/2 302
< date: Mon, 27 Nov 2023 21:23:10 GMT
< content-type: text/html; charset=utf-8
< location: https://clinicaltrials.gov/study/NCT05911152
< cache-control: private
< x-aspnet-version: 4.0.30319
<
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="https://clinicaltrials.gov/study/NCT05911152">here</a>.</h2>
</body></html>
* Connection #0 to host cgdp-dyn-svcs-qa.cancer.gov left intact
Closes #35 Closes #37