Link to home
Start Free TrialLog in
Avatar of Sandiya
Sandiya

asked on

Bad gateway error in proxy server

Hi,

I have a proxy server which is windows 2012 server and I route to another webserver using reverse proxy. The webserver is windows 2003 and we have an asp.net application installed.
All the functionalities are working fine except when I try to generate excel thru crystal report I am getting bad gateway error.
IMG-20190117-WA0041.jpeg
IMG-20190117-WA0043.jpeg
IMG-20190118-WA0018.jpeg
Avatar of noci
noci

The the URL that is executes fails somehow and produces some output WITHOUT valid HTTP header.

So the reverseproxy has no idea what it should pass back.

It might actualy help you if you use a tool like CURL to do the exact request that fails and see what does com back.
(Same for not using the frontend, just query the backend from a browser might show what is actually produced.
If you don't know how to use curl, please open the browser debug tools, reload the page and look at the actual headers in the response.
Looks like you have an old internet explorer, so I can't give you any more instructions ( I forgot).
If you can open it with chrome, though, then the debug tools are available when you press F12. You then need the Network tab.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.