• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Advisor: Unable to determine HTTP/2 Status after enabling it

fragger1991

New Pleskian
TITLE:
Advisor: Unable to determine HTTP/2 Status after enabling it​
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Plesk Onyx v17.8.11_build1708180301.19
Debian 8.10
​
PROBLEM DESCRIPTION:
After Upgrading to the newest Plesk version, i checked the Advisor feature and see there is an option to enable HTTP/2. After i clicking on "enable" the Advisor is not more responding to the HTTP/2 Check and the Recommendation isnt loading any more. After disable (plesk bin http2_pref --disable) HTTP/2 all is working as expected.

Log /var/log/plesk/panel.log:
Code:
[2018-06-02 20:42:36.369] DEBUG [util_exec] [583735b1e52c3ab3365c4333fa8bf23e-0] Starting: osdetect
[2018-06-02 20:42:36.377] DEBUG [util_exec] [583735b1e52c3ab3365c4333fa8bf23e-0] Finished in 0.00821s, Error code: 0
[2018-06-02 20:42:36.378] DEBUG [extension/advisor] [5b12e51c5c411] Starting: '/opt/psa/admin/bin/nginxmng'  '--status'
[2018-06-02 20:42:36.691] DEBUG [extension/advisor] [5b12e51c5c411] Finished in 0.31289s, Error code: 0
[2018-06-02 20:42:36.691] DEBUG [extension/advisor] [5b12e51ca8c4b] Starting: /opt/psa/admin/bin/php -f '/opt/psa/admin/plib/api-cli/http2_pref.php' --  '--status'
[2018-06-02 20:42:36.995] DEBUG [extension/advisor] [5b12e51ca8c4b] Finished in 0.30345s, Error code: 0
[2018-06-02 20:42:36.996] ERR [panel] SplFileObject::__construct(/etc/nginx/conf.d/ssl.conf): failed to open stream: Permission denied:
0: /opt/psa/admin/plib/modules/advisor/library/Nginx/SSLConfig.php:93
        SplFileObject->__construct(string '/etc/nginx/conf.d/ssl.conf')
1: /opt/psa/admin/plib/modules/advisor/library/Nginx/SSLConfig.php:93
        PleskExt\Advisor\Nginx\SSLConfig->loadOptions()
2: /opt/psa/admin/plib/modules/advisor/library/Nginx/SSLConfig.php:35
        PleskExt\Advisor\Nginx\SSLConfig->__construct()
3: /opt/psa/admin/plib/modules/advisor/library/Helper/Http2.php:55
        PleskExt\Advisor\Helper\Http2->isEnabled()
4: /opt/psa/admin/plib/modules/advisor/library/Status/Http2Configured.php:81
        PleskExt\Advisor\Status\Http2Configured->isCompleted()
5: /opt/psa/admin/plib/modules/advisor/library/Status.php:73
        PleskExt\Advisor\Status->getRating()
6: /opt/psa/admin/plib/modules/advisor/library/Rating/Rating.php:76
        PleskExt\Advisor\Rating\Rating->getRatingsDataForStatuses(boolean true)
7: /opt/psa/admin/plib/modules/advisor/controllers/RatingController.php:28
        RatingController->allAction()
8: /opt/psa/admin/plib/vendor/plesk/zendframework/library/Zend/Controller/Action.php:516
        Zend_Controller_Action->dispatch(string 'allAction')
9: /opt/psa/admin/plib/vendor/plesk/zendframework/library/Zend/Controller/Dispatcher/Standard.php:308
        Zend_Controller_Dispatcher_Standard->dispatch(object of type Zend_Controller_Request_Http, object of type Zend_Controller_Response_Http)
10: /opt/psa/admin/plib/vendor/plesk/zendframework/library/Zend/Controller/Front.php:954
        Zend_Controller_Front->dispatch()
11: /opt/psa/admin/plib/pm/Application.php:99
        pm_Application->run()
12: /opt/psa/admin/htdocs/modules/advisor/index.php:5
[2018-06-02 20:42:36.1000] ERR [1] RuntimeException: SplFileObject::__construct(/etc/nginx/conf.d/ssl.conf): failed to open stream: Permission denied
file: /opt/psa/admin/plib/modules/advisor/library/Nginx/SSLConfig.php
line: 93
code: 0
trace: #0 /opt/psa/admin/plib/modules/advisor/library/Nginx/SSLConfig.php(93): SplFileObject->__construct(string '/etc/nginx/conf.d/ssl.conf')
#1 /opt/psa/admin/plib/modules/advisor/library/Nginx/SSLConfig.php(35): PleskExt\Advisor\Nginx\SSLConfig->loadOptions()
#2 /opt/psa/admin/plib/modules/advisor/library/Helper/Http2.php(55): PleskExt\Advisor\Nginx\SSLConfig->__construct()
#3 /opt/psa/admin/plib/modules/advisor/library/Status/Http2Configured.php(81): PleskExt\Advisor\Helper\Http2->isEnabled()
#4 /opt/psa/admin/plib/modules/advisor/library/Status.php(73): PleskExt\Advisor\Status\Http2Configured->isCompleted()
#5 /opt/psa/admin/plib/modules/advisor/library/Rating/Rating.php(76): PleskExt\Advisor\Status->getRating()
#6 /opt/psa/admin/plib/modules/advisor/controllers/RatingController.php(28): PleskExt\Advisor\Rating\Rating->getRatingsDataForStatuses(boolean true)
#7 /opt/psa/admin/plib/vendor/plesk/zendframework/library/Zend/Controller/Action.php(516): RatingController->allAction()
#8 /opt/psa/admin/plib/vendor/plesk/zendframework/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch(string 'allAction')
#9 /opt/psa/admin/plib/vendor/plesk/zendframework/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(object of type Zend_Controller_Request_Http, object of type Zend_Controller_Response_Http)
#10 /opt/psa/admin/plib/pm/Application.php(99): Zend_Controller_Front->dispatch()
#11 /opt/psa/admin/htdocs/modules/advisor/index.php(5): pm_Application->run()
STEPS TO REPRODUCE:
Go into the Advisor and enable HTTP/2.​
ACTUAL RESULT:
HTTP/2 is working but the Advisor not.​
EXPECTED RESULT:
The Advisor has to show the HTTP/2 Status.​
ANY ADDITIONAL INFORMATION:
​
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug​
 
Please make sure that file /etc/nginx/conf.d/ssl.conf and all related directories have correct permissions.
 
Back
Top