Fatal error: Uncaught GuzzleHttp\Exception\ServerException: Server error: `POST https://app.metricool.com/oauth/token` resulted in a `502 Bad Gateway` response:
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
</body>
</html> (truncated...)
in /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:111
Stack trace:
#0 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/vendor/guzzlehttp/guzzle/src/Middleware.php(72): GuzzleHttp\Exception\RequestException::create()
#1 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/vendor/guzzlehttp/promises/src/Promise.php(209): GuzzleHttp\Middleware::GuzzleHttp\{closure}()
#2 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/vendor/guzzlehttp/promises/src/Promise.php(158): GuzzleHttp\Promise\Promise::callHandler()
#3 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/vendor/guzzlehttp/promises/src/TaskQueue.php(52): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
#4 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/vendor/guzzlehttp/promises/src/Promise.php(251): GuzzleHttp\Promise\TaskQueue->run()
#5 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/vendor/guzzlehttp/promises/src/Promise.php(227): GuzzleHttp\Promise\Promise->invokeWaitFn()
#6 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/vendor/guzzlehttp/promises/src/Promise.php(272): GuzzleHttp\Promise\Promise->waitIfPending()
#7 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/vendor/guzzlehttp/promises/src/Promise.php(229): GuzzleHttp\Promise\Promise->invokeWaitList()
#8 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/vendor/guzzlehttp/promises/src/Promise.php(69): GuzzleHttp\Promise\Promise->waitIfPending()
#9 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/vendor/guzzlehttp/guzzle/src/Client.php(124): GuzzleHttp\Promise\Promise->wait()
#10 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/app/Http/Metricool/MetricoolClient.php(599): GuzzleHttp\Client->send()
#11 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/app/Http/Metricool/MetricoolClient.php(499): Metricool\Http\Metricool\MetricoolClient->performTokenRefresh()
#12 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/app/Providers/MetricoolApiProvider.php(51): Metricool\Http\Metricool\MetricoolClient->refreshAuthToken()
#13 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/app/Providers/Provider.php(61): Metricool\Providers\MetricoolApiProvider::provideClientSingleton()
#14 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/bootstrap/App.php(85): Metricool\Providers\Provider::Metricool\Providers\{closure}()
#15 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/bootstrap/App.php(182): Metricool\Bootstrap\App->get()
#16 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/bootstrap/App.php(90): Metricool\Bootstrap\App->make()
#17 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/bootstrap/App.php(182): Metricool\Bootstrap\App->get()
#18 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/app/Managers/FeatureManager.php(99): Metricool\Bootstrap\App->make()
#19 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/app/Managers/FeatureManager.php(62): Metricool\Managers\FeatureManager->getFeatureClasses()
#20 /var/www/vhosts/cim-ecm.es/httpdocs/wp-includes/class-wp-hook.php(324): Metricool\Managers\FeatureManager->registerFeatures()
#21 /var/www/vhosts/cim-ecm.es/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#22 /var/www/vhosts/cim-ecm.es/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
#23 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/app/Managers/ProviderManager.php(32): do_action()
#24 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/app/Managers/AbstractManager.php(68): Metricool\Managers\ProviderManager->afterRegister()
#25 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/bootstrap/Plugin.php(132): Metricool\Managers\AbstractManager->register()
#26 /var/www/vhosts/cim-ecm.es/httpdocs/wp-includes/class-wp-hook.php(324): Metricool\Bootstrap\Plugin->registerProviders()
#27 /var/www/vhosts/cim-ecm.es/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#28 /var/www/vhosts/cim-ecm.es/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
#29 /var/www/vhosts/cim-ecm.es/httpdocs/wp-settings.php(559): do_action()
#30 /var/www/vhosts/cim-ecm.es/httpdocs/wp-config.php(106): require_once('...')
#31 /var/www/vhosts/cim-ecm.es/httpdocs/wp-load.php(50): require_once('...')
#32 /var/www/vhosts/cim-ecm.es/httpdocs/wp-blog-header.php(13): require_once('...')
#33 /var/www/vhosts/cim-ecm.es/httpdocs/index.php(17): require('...')
#34 {main}
Next Metricool\Http\Metricool\Exceptions\ApiException: Failed to refresh authentication token. Please log in again. in /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/app/Http/Metricool/MetricoolClient.php:606
Stack trace:
#0 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/app/Http/Metricool/MetricoolClient.php(499): Metricool\Http\Metricool\MetricoolClient->performTokenRefresh()
#1 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/app/Providers/MetricoolApiProvider.php(51): Metricool\Http\Metricool\MetricoolClient->refreshAuthToken()
#2 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/app/Providers/Provider.php(61): Metricool\Providers\MetricoolApiProvider::provideClientSingleton()
#3 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/bootstrap/App.php(85): Metricool\Providers\Provider::Metricool\Providers\{closure}()
#4 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/bootstrap/App.php(182): Metricool\Bootstrap\App->get()
#5 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/bootstrap/App.php(90): Metricool\Bootstrap\App->make()
#6 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/bootstrap/App.php(182): Metricool\Bootstrap\App->get()
#7 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/app/Managers/FeatureManager.php(99): Metricool\Bootstrap\App->make()
#8 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/app/Managers/FeatureManager.php(62): Metricool\Managers\FeatureManager->getFeatureClasses()
#9 /var/www/vhosts/cim-ecm.es/httpdocs/wp-includes/class-wp-hook.php(324): Metricool\Managers\FeatureManager->registerFeatures()
#10 /var/www/vhosts/cim-ecm.es/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#11 /var/www/vhosts/cim-ecm.es/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
#12 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/app/Managers/ProviderManager.php(32): do_action()
#13 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/app/Managers/AbstractManager.php(68): Metricool\Managers\ProviderManager->afterRegister()
#14 /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/bootstrap/Plugin.php(132): Metricool\Managers\AbstractManager->register()
#15 /var/www/vhosts/cim-ecm.es/httpdocs/wp-includes/class-wp-hook.php(324): Metricool\Bootstrap\Plugin->registerProviders()
#16 /var/www/vhosts/cim-ecm.es/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#17 /var/www/vhosts/cim-ecm.es/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
#18 /var/www/vhosts/cim-ecm.es/httpdocs/wp-settings.php(559): do_action()
#19 /var/www/vhosts/cim-ecm.es/httpdocs/wp-config.php(106): require_once('...')
#20 /var/www/vhosts/cim-ecm.es/httpdocs/wp-load.php(50): require_once('...')
#21 /var/www/vhosts/cim-ecm.es/httpdocs/wp-blog-header.php(13): require_once('...')
#22 /var/www/vhosts/cim-ecm.es/httpdocs/index.php(17): require('...')
#23 {main}
thrown in /var/www/vhosts/cim-ecm.es/httpdocs/wp-content/plugins/metricool/app/Http/Metricool/MetricoolClient.php on line 606