• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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