gisapp
gisapp copied to clipboard
GetPrint return 500 HTTP error
I am using Qgis server 3.4 on Ubuntu18.04.
On sample hello project, when I tried printing map by pressing 'print map' button, I get 500 HTTP error.
request query is below
http://ip.address/proxy/helloworld?SERVICE=WMS&VERSION=1.3&REQUEST=GetPrint&FORMAT=pdf&EXCEPTIONS=application/vnd.ogc.se_inimage&TRANSPARENT=true&SRS=EPSG%3A3857&DPI=300&TEMPLATE=Composer%201&map0%3Aextent=-7103691.3%2C-306285.5%2C-6996188.7%2C-245284.1&map0%3Ascale=500000&map0%3Arotation=0&map0%3Agrid_interval_x=10000&map0%3Agrid_interval_y=10000&LAYERS=OpenStreetMap_d1dfedd4_a6e0_40dd_b449_36a7a21ab36b%2Ccountry20131022151106556%2Chello20131022151106574&description=&title=
I am guessing this occurs because I am using eqwc under company proxy. I am setting HTTP_PROXY variable and I am sure it is working correctly.
Opening hello.qgs using local QGIS application and exporting pdf file using print-composer working without any problems.
Could you please help resolve this issue?
I'm not sure about proxy, but if you can open helloworld project inside web client, then also printing should work. Did you make any changes in code?
Also make sure you have latest version of code and gisapp database. I have tested it and it works.
Thank you for your reply uprel.
We ended up creating a MapProxy server so that we can get through the proxy.
May be we needed to set proxy to qgis server... I did but no luck
I don't have enough information to help here.