Skip to content

Tests failing in master #34

@michielbdejong

Description

@michielbdejong

Here's what I did to investigate the 500 error:

$ docker run --network=testnet -it --env-file ./env-vars-for-test-image.list webid-provider-tests /bin/bash
root@140b5858e892:/app# curl -kv https://server
* Rebuilt URL to: https://server/
*   Trying 172.22.0.2...
* TCP_NODELAY set
* Connected to server (172.22.0.2) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (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, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: C=RO; ST=Bucharest; L=Bucharest; O=IT; CN=www.example.ro
*  start date: Nov 27 09:37:10 2020 GMT
*  expire date: Nov 27 09:37:10 2021 GMT
*  issuer: C=RO; ST=Bucharest; L=Bucharest; O=IT; CN=www.example.ro
*  SSL certificate verify result: self signed certificate (18), continuing anyway.
> GET / HTTP/1.1
> Host: server
> User-Agent: curl/7.52.1
> Accept: */*
> 
< HTTP/1.1 500 Internal Server Error
< Date: Fri, 27 Nov 2020 10:07:12 GMT
< Server: Apache/2.4.38 (Debian)
< X-Powered-By: PHP/7.2.34
< Content-Length: 230
< Connection: close
< Content-Type: text/html; charset=UTF-8
< 
<br />
<b>Fatal error</b>:  Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.3.0". You are running 7.2.34. in <b>/app/vendor/composer/platform_check.php</b> on line <b>24</b><br />
* Curl_http_done: called premature == 0
* Closing connection 0
* TLSv1.2 (OUT), TLS alert, Client hello (1):
root@140b5858e892:/app# exit
exit

Hoping it will be fixed by using FROM php:7.3-apache in the Dockerfile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions