Access denied ;-(
The server returned 502.
ServerException {#1561 -request: Request {#1542 -method: "GET" -requestTarget: null -uri: Uri {#1539 -scheme: "https" -userInfo: "" -host: "my.rightsdesk.com" -port: null -path: "/api/public/v1/works/mariechen" -query: "api_token=y0x9jAUbIdwfCLyQkDqMqfabg5Pj2LFZpNZqWhOGv13gtKADt47ZYPPB2Fxn&include=comments%2Cmlt" -fragment: "" } -headers: array:3 [ "User-Agent" => array:1 [ 0 => "GuzzleHttp/6.3.3 curl/7.58.0 PHP/7.3.9-1+ubuntu18.04.1+deb.sury.org+1" ] "Host" => array:1 [ 0 => "my.rightsdesk.com" ] "Accept" => array:1 [ 0 => "application/json" ] ] -headerNames: array:3 [ "user-agent" => "User-Agent" "host" => "Host" "accept" => "Accept" ] -protocol: "1.1" -stream: Stream {#1541 -stream: stream resource @49 : "PHP" : "TEMP" : "w+b" : 0 : true : "php://temp" : [] } -size: 0 -seekable: true -readable: true -writable: true -uri: "php://temp" -customMetadata: [] } } -response: Response {#1559 -reasonPhrase: "Bad Gateway" -statusCode: 502 -headers: array:5 [ "Server" => array:1 [ 0 => "nginx/1.18.0 (Ubuntu)" ] "Date" => array:1 [ 0 => "Wed, 24 Apr 2024 15:15:28 GMT" ] "Content-Type" => array:1 [ 0 => "text/html; charset=utf-8" ] "Content-Length" => array:1 [ 0 => "166" ] "Connection" => array:1 [ 0 => "keep-alive" ] ] -headerNames: array:5 [ "server" => "Server" "date" => "Date" "content-type" => "Content-Type" "content-length" => "Content-Length" "connection" => "Connection" ] -protocol: "1.1" -stream: Stream {#1557 -stream: stream resource @56 : "PHP" : "TEMP" : "w+b" : 0 : true : "php://temp" : [] } -size: 166 -seekable: true -readable: true -writable: true -uri: "php://temp" -customMetadata: [] } } -handlerContext: [] #message: """ Server error: `GET https://my.rightsdesk.com/api/public/v1/works/mariechen?api_token=y0x9jAUbIdwfCLyQkDqMqfabg5Pj2LFZpNZqWhOGv13gtKADt47ZYPPB2Fxn&include=comments%2Cmlt` resulted in a `502 Bad Gateway` response:\n <html>\r\n <head><title>502 Bad Gateway</title></head>\r\n <body>\r\n <center><h1>502 Bad Gateway</h1></center>\r\n <hr><center>ngin (truncated...)\n """ #code: 502 #file: "/var/www/digital-bookfair.com/wp-content/plugins/rightsdesk/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php" #line: 113 : { { › ›return new $className($message, $request, $response, $previous, $ctx);
›}
} { ›}
›throw RequestException::create($request, $response);
›}
: { : Request {#1542} : Response {#1559} } } { ›if (isset($handler[$index])) {
›$promise->resolve($handler[$index]($value));
›} elseif ($index === 1) {
: { Response {#1559} } } { ›foreach ($handlers as $handler) {
›self::callHandler($id, $value, $handler);
›}
: { : 1 : Response {#1559} : array:3 [ …3] } } { ›while ($task = array_shift($this->queue)) {
›$task();
›}
} { ›$this->waitFn = null;
›$wfn(true);
›} catch (\Exception $reason) {
: { true } } { ›} elseif ($this->waitFn) {
›$this->invokeWaitFn();
›} elseif ($this->waitList) {
} { ›while (true) {
›$result->waitIfPending();
› } { ›} elseif ($this->waitList) {
›$this->invokeWaitList();
›} else {
} { ›{
›$this->waitIfPending();
› } { ›$options[RequestOptions::SYNCHRONOUS] = true;
›return $this->requestAsync($method, $uri, $options)->wait();
›}
} { ›? $this->requestAsync(substr($method, 0, -5), $uri, $opts)
›: $this->request($method, $uri, $opts);
›}
: { : "get" : "https://my.rightsdesk.com/api/public/v1/works/mariechen" : array:4 [ …4] } } { ›],
›'query' => $query,
›]);
: { : "get" : array:2 [ …2] } } { ›try {
›$this->response = $this->catalog->get($args['slug'], $request);
› : { : "mariechen" : array:1 [ …1] } } { › ›$output = $m[1] . call_user_func( $shortcode_tags[ $tag ], $attr, $content, $tag ) . $m[6];
› : { : "" : { "" "title" } } } {} { ›$pattern = get_shortcode_regex( $tagnames );
›$content = preg_replace_callback( "/$pattern/", 'do_shortcode_tag', $content );
› : { : "/\[(\[?)(title)(?![\w-])([^\]\/]*(?:\/(?!\])[^\]\/]*)*?)(?:(\/)\]|\](?:([^\[]*+(?:\[(?!\/\2\])[^\[]*+)*+)\[\/\2\])?)(\]?)/" : "do_shortcode_tag" : "[title]\n" } } { ›} elseif ( $the_['accepted_args'] >= $num_args ) {
›\t$value = call_user_func_array( $the_['function'], $args );
›} else {
: { "/var/www/digital-bookfair.com/wp-content/themes/digital-bookfair/resources/views/page.blade.php" } } { › ›$filtered = $wp_filter[ $tag ]->apply_filters( $value, $args );
› : { : "/var/www/digital-bookfair.com/wp-content/themes/digital-bookfair/resources/views/page.blade.php" : array:1 [ …1] } } { ›*/
›$content = apply_filters( 'the_content', $content );
›$content = str_replace( ']]>', ']]>', $content );
: { : "the_content" : "[title]" } } { › ›<?php the_content() ?>
›<?php echo wp_link_pages(['echo' => 0, 'before' => '<nav class="page-nav"><p>' . __('Pages:', 'sage'), 'after' => '</p></nav>']); ?>
} { ›try {
›include $__path;
›} catch (Exception $e) {
: { "/var/www/digital-bookfair.com/wp-content/uploads/cache/fb1e53ea9072331df1b35f1ae87a3313bc1602a3.php" } } { ›// which have been rendered for right exception messages to be generated.
›$results = $this->evaluatePath($compiled, $data);
› : { : "/var/www/digital-bookfair.com/wp-content/uploads/cache/fb1e53ea9072331df1b35f1ae87a3313bc1602a3.php" : array:8 [ …8] } } { ›{
›return $this->engine->get($this->path, $this->gatherData());
›}
: { : "/var/www/digital-bookfair.com/wp-content/themes/digital-bookfair/resources/views/page.blade.php" : array:8 [ …8] } } { › ›$contents = $this->getContents();
› } { ›try {
›$contents = $this->renderContents();
› } { ›<?php echo $__env->make('partials.page-header', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
›<?php echo $__env->make('partials.content-page', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
›<?php endwhile; ?>
} { ›try {
›include $__path;
›} catch (Exception $e) {
: { "/var/www/digital-bookfair.com/wp-content/uploads/cache/fb1e53ea9072331df1b35f1ae87a3313bc1602a3.php" } } { ›// which have been rendered for right exception messages to be generated.
›$results = $this->evaluatePath($compiled, $data);
› : { : "/var/www/digital-bookfair.com/wp-content/uploads/cache/fb1e53ea9072331df1b35f1ae87a3313bc1602a3.php" : array:8 [ …8] } } { ›{
›return $this->engine->get($this->path, $this->gatherData());
›}
: { : "/var/www/digital-bookfair.com/wp-content/themes/digital-bookfair/resources/views/page.blade.php" : array:8 [ …8] } } { › ›$contents = $this->getContents();
› } { ›try {
›$contents = $this->renderContents();
› } { ›$filesystem = $this->getContainer()['files'];
›return $this->{$filesystem->exists($view) ? 'file' : 'make'}($view, $data, $mergeData)->render();
›}
} { ›{
›return sage('blade')->render($file, $data);
›}
: { : "/var/www/digital-bookfair.com/wp-content/themes/digital-bookfair/resources/views/page.blade.php" : array:6 [ …6] } } { ›if ($template) {
›echo template($template, $data);
›return get_stylesheet_directory().'/index.php';
: { : "/var/www/digital-bookfair.com/wp-content/themes/digital-bookfair/resources/views/page.blade.php" : array:6 [ …6] } } { ›} elseif ( $the_['accepted_args'] >= $num_args ) {
›\t$value = call_user_func_array( $the_['function'], $args );
›} else {
: { "/var/www/digital-bookfair.com/wp-content/themes/digital-bookfair/resources/views/page.blade.php" } } { › ›$filtered = $wp_filter[ $tag ]->apply_filters( $value, $args );
› : { : "/var/www/digital-bookfair.com/wp-content/themes/digital-bookfair/resources/views/page.blade.php" : array:1 [ …1] } } { ›*/
›$template = apply_filters( 'template_include', $template );
›if ( $template ) {
: { : "template_include" : "/var/www/digital-bookfair.com/wp-content/themes/digital-bookfair/resources/views/page.blade.php" } } { ›// Load the theme template.
›require_once ABSPATH . WPINC . '/template-loader.php';
› : { "/var/www/digital-bookfair.com/wp-includes/template-loader.php" } } { ›/** Loads the WordPress Environment and Template */
›require __DIR__ . '/wp-blog-header.php';
› : { "/var/www/digital-bookfair.com/wp-blog-header.php" } } } }