Re: GET working but POST failing with error 502

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I wrote:

> I have a problem with the Bitnami Redmine stack, based on
> Apache, but being an inexpericed user, I do not even know
> which component is causing it. Can you please review the
> error details below and let me know if a misconfigured
> Apache may be the culprit or I should look into Redmine
> itself?
>
> The problem is that Redmine's REST API works for reading
> but not for writing, that is the GET command works whereas
> the POST command fails with error 502:
>
>    Title: Proxy Error
>
>    The proxy server received an invalid response from an upstream server.
>    The proxy server could not handle the request.
>    Reason: Error reading from remote server.
>
> Apache's error log shows two entries for each failed POST
> request:
>
>    [Tue Dec 01 19:33:39.439905 2020] [proxy_http:error] [pid 7108:tid 1068] (20014)Internal error (specific information not available): [client 127.0.0.1:52231] AH01102: error reading status line from remote server 127.0.0.1:3002
>    [Tue Dec 01 19:33:39.439905 2020] [proxy:error] [pid 7108:tid 1068] [client 127.0.0.1:52231] AH00898: Error reading from remote server returned by /redmine/issues.json
>
> We are using the default Apache configuration as shipped
> by Bitnami.

Yann Ylavic have solved this problem for me off-list.  With

   LogLevel trace7

he found the following record in the error log:

   Expect: 100-continue

and suggested that I add

   Proxy100Continue off

to the config file. And the error was gone.  Thank you very
much, Yann.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux