• 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 Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved fix apache2 AH00898: Error reading from remote server returned by /email/xxxxxxx.com Apache error "

zak

New Pleskian
Server operating system version
OS: Ubuntu 20.04.5 LTS
Plesk version and microupdate number
: Plesk Obsidian 18.0.46 Update #2
I use a python flask server in the backend . It run a script which prepare then download an xml file.

this is working fine is script but if script lasts longer than 80 sec it's stopped and http error 502 is displayed and the xml file is not closed correctly and i get this message :
This page contains the following errors: error on line 2373 at column 426: Extra content at the end of the document Below is a rendering of the page up to the first error.

the log file report :
2022-10-11 21:42:54Error1xx.xxx.xxx.xx502GET /email/xxxxxxxxxx.com HTTP/1.1
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
1.68 KApache SSL/TLS access
2022-10-11 21:43:25Error
1xx.xxx.xxx.xx

(20014)Internal error (specific information not available): AH01102: error reading status line from remote server 127.0.0.1:5000Apache error
2022-10-11 21:43:25Error
1xx.xxx.xxx.xx

AH00898: Error reading from remote server returned by /email/xxxxxxxxxxx.comApache error

I have try the script directly in the server with ssh terminal and it's executed without any error .

the Apache & nginx Settings
the conf setting:
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPreserveHost On
<Location "/email">
ProxyPass "http://127.0.0.1:5000/email"
ProxyPassReverse "http://127.0.0.1:5000/email"
</Location>
I have try some setting as : retry=1 connectiontimeout=180 timeout=180 keepalive=on
without result.

Any suggestion ? Thanks
 
I use a python flask server in the backend . It run a script which prepare then download an xml file.

this is working fine is script but if script lasts longer than 80 sec it's stopped and http error 502 is displayed and the xml file is not closed correctly and i get this message :


the log file report :


I have try the script directly in the server with ssh terminal and it's executed without any error .

the Apache & nginx Settings

I have try some setting as : retry=1 connectiontimeout=180 timeout=180 keepalive=on
without result.

Any suggestion ? Thanks
for information could resolve it after i have changed the gunicorn timeout
 
Back
Top