( ! ) Fatal error: Uncaught Cicnavi\Oidc\Exceptions\OidcClientException: OIDC Provider (OP) Metadata fetch error. OIDC configuration fetch request did not return 200 OK status code. in /var/www/rp/vendor/cicnavi/oidc-client-php/src/Protocol/OpMetadata.php on line 60
( ! ) Cicnavi\Oidc\Exceptions\OidcClientException: OIDC Provider (OP) Metadata fetch error. OIDC configuration fetch request did not return 200 OK status code. in /var/www/rp/vendor/cicnavi/oidc-client-php/src/Protocol/OpMetadata.php on line 60
Call Stack
#TimeMemoryFunctionLocation
10.0004541232{main}( ).../index.php:0
20.0005544400require_once( '/var/www/rp/bootstrap/app.php ).../index.php:11
30.0084669704App\App->__construct( $config = ['OIDC_OP_CONFIGURATION_URL' => 'https://idp.mivanci.incubator.hexaa.eu/.well-known/openid-configuration', 'OIDC_CLIENT_ID' => '_b5772d6a9077957febe646a48f1b76185e3436fa65', 'OIDC_CLIENT_SECRET' => '_68ca285b0d25b260aa3f682c43fe310941c22525df', 'OIDC_REDIRECT_URI' => 'https://rp.mivanci.incubator.hexaa.eu/callback.php', 'OIDC_SCOPE' => 'openid profile', 'OIDC_SHOULD_USE_PKCE' => TRUE, 'OIDC_PKCE_CODE_CHALLENGE_METHOD' => 'S256', 'OIDC_TIMESTAMP_VALIDATION_LEEWAY' => class DateInterval { public $y = 0; public $m = 0; public $d = 0; public $h = 0; public $i = 10; public $s = 0; public $f = 0; public $invert = 0; public $days = FALSE; public $from_string = FALSE }, 'OIDC_IS_STATE_CHECK_ENABLED' => TRUE, 'OIDC_IS_NONCE_CHECK_ENABLED' => TRUE, 'OIDC_SHOULD_FETCH_USERINFO_CLAIMS' => TRUE, 'OIDC_DEFAULT_CACHE_TTL' => 20], $logger = ??? ).../app.php:77
40.0091687296App\App->initOidcClient( ).../App.php:38
50.0104701976Cicnavi\Oidc\PreRegisteredClient->__construct( $opConfigurationUrl = 'https://idp.mivanci.incubator.hexaa.eu/.well-known/openid-configuration', $clientId = '_b5772d6a9077957febe646a48f1b76185e3436fa65', $clientSecret = '_68ca285b0d25b260aa3f682c43fe310941c22525df', $redirectUri = 'https://rp.mivanci.incubator.hexaa.eu/callback.php', $scope = 'openid profile', $usePkce = TRUE, $pkceCodeChallengeMethod = enum SimpleSAML\OpenID\Codebooks\PkceCodeChallengeMethodEnum::S256('S256'), $timestampValidationLeeway = class DateInterval { public $y = 0; public $m = 0; public $d = 0; public $h = 0; public $i = 10; public $s = 0; public $f = 0; public $invert = 0; public $days = FALSE; public $from_string = FALSE }, $useState = TRUE, $useNonce = TRUE, $fetchUserinfoClaims = TRUE, $supportedAlgorithms = class SimpleSAML\OpenID\SupportedAlgorithms { protected SimpleSAML\OpenID\Algorithms\SignatureAlgorithmBag $signatureAlgorithmBag = class SimpleSAML\OpenID\Algorithms\SignatureAlgorithmBag { protected array $algorithms = [0 => enum SimpleSAML\OpenID\Algorithms\SignatureAlgorithmEnum::EdDSA('EdDSA'), 1 => enum SimpleSAML\OpenID\Algorithms\SignatureAlgorithmEnum::ES256('ES256'), 2 => enum SimpleSAML\OpenID\Algorithms\SignatureAlgorithmEnum::ES384('ES384'), 3 => enum SimpleSAML\OpenID\Algorithms\SignatureAlgorithmEnum::ES512('ES512'), 4 => enum SimpleSAML\OpenID\Algorithms\SignatureAlgorithmEnum::PS256('PS256'), 5 => enum SimpleSAML\OpenID\Algorithms\SignatureAlgorithmEnum::PS384('PS384'), 6 => enum SimpleSAML\OpenID\Algorithms\SignatureAlgorithmEnum::PS512('PS512'), 7 => enum SimpleSAML\OpenID\Algorithms\SignatureAlgorithmEnum::RS256('RS256'), 8 => enum SimpleSAML\OpenID\Algorithms\SignatureAlgorithmEnum::RS384('RS384'), 9 => enum SimpleSAML\OpenID\Algorithms\SignatureAlgorithmEnum::RS512('RS512')] } }, $supportedSerializers = class SimpleSAML\OpenID\SupportedSerializers { protected readonly SimpleSAML\OpenID\Serializers\JwsSerializerBag $jwsSerializerBag = class SimpleSAML\OpenID\Serializers\JwsSerializerBag { protected array $jwsSerializers = [0 => enum SimpleSAML\OpenID\Serializers\JwsSerializerEnum::Compact('jws_compact')] } }, $logger = class Monolog\Logger { protected string $name = 'oidc-rp'; protected array $handlers = [0 => class Monolog\Handler\StreamHandler { protected Monolog\Level $level = enum Monolog\Level::Debug(100); protected bool $bubble = TRUE; protected array $processors = []; protected ?Monolog\Formatter\FormatterInterface $formatter = NULL; protected int $streamChunkSize = 13421772; protected $stream = NULL; protected ?string $url = '/var/www/rp/log/oidc-rp.log'; private ?string $errorMessage = NULL; protected ?int $filePermission = NULL; protected bool $useLocking = FALSE; protected string $fileOpenMode = 'a'; private ?bool $dirCreated = NULL; private bool $retrying = FALSE; private ?int $inodeUrl = NULL }]; protected array $processors = []; protected bool $microsecondTimestamps = TRUE; protected DateTimeZone $timezone = class DateTimeZone { public $timezone_type = 3; public $timezone = 'Europe/Zagreb' }; protected ?Closure $exceptionHandler = NULL; private int $logDepth = 0; private WeakMap $fiberLogDepth = class WeakMap { ... }; private bool $detectCycles = TRUE }, $cache = NULL, $sessionStore = class Cicnavi\Oidc\DataStore\PhpSessionStore { }, $httpClient = class GuzzleHttp\Client { private $config = ['handler' => class GuzzleHttp\HandlerStack { private $handler = class Closure { }; private $stack = [0 => [0 => class Closure { ... }, 1 => 'http_errors'], 1 => [0 => class Closure { ... }, 1 => 'allow_redirects'], 2 => [0 => class Closure { ... }, 1 => 'cookies'], 3 => [0 => class Closure { ... }, 1 => 'prepare_body']]; private $cached = class Closure { } }, 'allow_redirects' => ['max' => 5, 'protocols' => [0 => 'http', 1 => 'https'], 'strict' => FALSE, 'referer' => FALSE, 'track_redirects' => FALSE], 'http_errors' => TRUE, 'decode_content' => TRUE, 'verify' => TRUE, 'cookies' => FALSE, 'idn_conversion' => FALSE, 'protocols' => [0 => 'http', 1 => 'https'], 'headers' => ['User-Agent' => 'GuzzleHttp/7']] }, $metadata = NULL, $core = NULL, $jwks = NULL, $maxCacheDuration = class DateInterval { public $y = 0; public $m = 0; public $d = 0; public $h = 0; public $i = 0; public $s = 20; public $f = 0; public $invert = 0; public $days = FALSE; public $from_string = FALSE }, $defaultAuthorizationRequestMethod = ???, $requestDataHandler = ??? ).../App.php:101
60.0111703424Cicnavi\Oidc\Protocol\OpMetadata->__construct( $opConfigurationUrl = 'https://idp.mivanci.incubator.hexaa.eu/.well-known/openid-configuration', $cache = class Cicnavi\Oidc\Cache\FileCache { protected string $storagePath = '/tmp'; protected string $cacheName = 'oprcpc-4490ba83c2c957a8b57aa75a2441b282'; protected string $fileExtension = '.json'; protected Cicnavi\SimpleFileCache\Services\Interfaces\FileSystemServiceInterface $fileSystemService = class Cicnavi\SimpleFileCache\Services\FileSystemService { } }, $httpClient = class GuzzleHttp\Client { private $config = ['handler' => class GuzzleHttp\HandlerStack { private $handler = class Closure { }; private $stack = [0 => [0 => class Closure { ... }, 1 => 'http_errors'], 1 => [0 => class Closure { ... }, 1 => 'allow_redirects'], 2 => [0 => class Closure { ... }, 1 => 'cookies'], 3 => [0 => class Closure { ... }, 1 => 'prepare_body']]; private $cached = class Closure { } }, 'allow_redirects' => ['max' => 5, 'protocols' => [0 => 'http', 1 => 'https'], 'strict' => FALSE, 'referer' => FALSE, 'track_redirects' => FALSE], 'http_errors' => TRUE, 'decode_content' => TRUE, 'verify' => TRUE, 'cookies' => FALSE, 'idn_conversion' => FALSE, 'protocols' => [0 => 'http', 1 => 'https'], 'headers' => ['User-Agent' => 'GuzzleHttp/7']] }, $httpRequestFactory = ???, $defaultCacheTtl = ??? ).../PreRegisteredClient.php:136