Thanks for the heads up. The curl request does eliminate the XML style error. The tutorial seems to indicate that the last http request will return a map but this is not happening.
The curl response: curl http://qgis.demo/cgi-bin/qgis_mapserv.fcgi? MAP=/home/qgis/projects/world.qgs& LAYERS=countries& SERVICE=WMS& VERSION=1.3.0& REQUEST=GetMap& CRS=EPSG:4326& WIDTH=400& HEIGHT=200& BBOX=-90,-180,90,180 <?xml version="1.0" encoding="UTF-8"?> <ServiceExceptionReport xmlns="http://www.opengis.net/ogc" version="1.3.0"> <ServiceException code="Service configuration error">Service unknown or unsupported. Current supported services (case-sensitive): WMS WFS WCS WMTS SampleService, or use a WFS3 (OGC API Features) endpoint</ServiceException> </ServiceExceptionReport> [1] 5880 [2] 5881 [1] Done MAP=/home/qgis/projects/world.qgs [3] 5882 [4] 5883 [5] 5884 [2] Done LAYERS=countries [3] Done SERVICE=WMS [4] Done VERSION=1.3.0 [6] 5885 [5] Done REQUEST=GetMap [7] 5886 [6] Done CRS=EPSG:4326 [8] 5887 [7] Done WIDTH=400 Possibly, by continuing, I will need to configure my project properly in the next section of the tutorial. The docs indicate that "If you obtain the next image, then QGIS Server is running correctly:" but I do not obtain an image. The first HTTP request -> http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities makes sense that XML is being returned, and it was my misunderstanding that the XML complaint was normal. Why is the GetMap request failing? Improper project configuration? It is the default project I curled from the docs. I Appreciate any knowledge you may bestow upon me :-) Thomas On Tue, Oct 15, 2024 at 8:07 PM Jorge Gustavo Rocha via QGIS-User < qgis-user@lists.osgeo.org> wrote: > Hi, > > Everything is ok. The server returned an XML, as expected. > > The message "XML file does not appear to have any style information" is > from your browser; nothing related with QGIS Server. If you do the same > request with curl or wget, they will not complain. > > Please go on. > > Regards, > > Jorge Gustavo > On 15/10/24 21:28, Meehan, Thomas Barnes via QGIS-User wrote: > > I am trying to set up QGIS server for the first time. Following the online > documentation for QGIS 3.34 > <https://docs.qgis.org/3.34/en/docs/server_manual/getting_started.html#serve-a-project>. > Installed as instructed on the same tutorial for Ubuntu Noble 24.04. I > followed the instructions and the Apache server answered with the default > index file at /var/www/html/index.html > > When using the test http -> > > http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities > > I get the following XML -> > This XML file does not appear to have any style information associated with > it. The document tree is shown below. > <WMS_Capabilities version="1.3.0" > xsi:schemaLocation="http://www.opengis.net/wms > http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd > http://www.opengis.net/sld > http://schemas.opengis.net/sld/1.1.0/sld_capabilities.xsd > http://www.qgis.org/wms > http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&REQUEST=GetSchemaExtension"> > <Service> > <Name>WMS</Name> > <Title>QGIS Server Demo</Title> > <Abstract> > This is a simple World map that showcases QGIS Server capabilities. > </Abstract> > <KeywordList> > <Keyword vocabulary="ISO">infoMapAccessService</Keyword> > <Keyword>QGIS Server World</Keyword> > </KeywordList> > <OnlineResource xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi" > xlink:type="simple"/> > <ContactInformation> > <ContactPersonPrimary> > <ContactPerson>Tudor Bărăscu</ContactPerson> > <ContactOrganization>qgis.org</ContactOrganization> > </ContactPersonPrimary> > <ContactElectronicMailAddress>tudor.bara...@qtibia.ro</ContactElectronicMailAddress> > </ContactInformation> > <Fees>conditions unknown</Fees> > <AccessConstraints>None</AccessConstraints> > </Service> > <Capability> > <Request> > <GetCapabilities> > <Format>text/xml</Format> > <DCPType> > <HTTP> > <Get> > <OnlineResource xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?" > xlink:type="simple"/> > </Get> > </HTTP> > </DCPType> > </GetCapabilities> > <GetMap> > <Format>image/jpeg</Format> > <Format>image/png</Format> > <Format>image/png; mode=16bit</Format> > <Format>image/png; mode=8bit</Format> > <Format>image/png; mode=1bit</Format> > <Format>application/dxf</Format> > <Format>application/pdf</Format> > <DCPType> > <HTTP> > <Get> > <OnlineResource xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?" > xlink:type="simple"/> > </Get> > </HTTP> > </DCPType> > </GetMap> > <GetFeatureInfo> > <Format>text/plain</Format> > <Format>text/html</Format> > <Format>text/xml</Format> > <Format>application/vnd.ogc.gml</Format> > <Format>application/vnd.ogc.gml/3.1.1</Format> > <Format>application/json</Format> > <Format>application/geo+json</Format> > <DCPType> > <HTTP> > <Get> > <OnlineResource xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?" > xlink:type="simple"/> > </Get> > </HTTP> > </DCPType> > </GetFeatureInfo><sld:GetLegendGraphic> > <Format>image/jpeg</Format> > <Format>image/png</Format> > <Format>application/json</Format> > <DCPType> > <HTTP> > <Get> > <OnlineResource xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?" > xlink:type="simple"/> > </Get> > </HTTP> > </DCPType> > </sld:GetLegendGraphic><sld:DescribeLayer> > <Format>text/xml</Format> > <DCPType> > <HTTP> > <Get> > <OnlineResource xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?" > xlink:type="simple"/> > </Get> > </HTTP> > </DCPType> > </sld:DescribeLayer><qgs:GetStyles> > <Format>text/xml</Format> > <DCPType> > <HTTP> > <Get> > <OnlineResource xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?" > xlink:type="simple"/> > </Get> > </HTTP> > </DCPType> > </qgs:GetStyles> > </Request> > <Exception> > <Format>XML</Format> > </Exception> > <sld:UserDefinedSymbolization RemoteWCS="0" SupportSLD="1" UserStyle="1" > InlineFeature="0" RemoteWFS="0" UserLayer="0"/> > <Layer queryable="1"> > <Title>QGIS Server Demo</Title> > <Abstract> > This is a simple World map that showcases QGIS Server capabilities. > </Abstract> > <KeywordList> > <Keyword vocabulary="ISO">infoMapAccessService</Keyword> > <Keyword>QGIS Server World</Keyword> > </KeywordList> > <CRS>CRS:84</CRS> > <CRS>EPSG:900913</CRS> > <CRS>EPSG:4326</CRS> > <CRS>EPSG:3857</CRS> > <EX_GeographicBoundingBox> > <westBoundLongitude>-189</westBoundLongitude> > <eastBoundLongitude>189</eastBoundLongitude> > <southBoundLatitude>-123</southBoundLatitude> > <northBoundLatitude>118</northBoundLatitude> > </EX_GeographicBoundingBox> > <BoundingBox CRS="EPSG:3857" maxy="44927335.428" minx="-19970716.649" > maxx="19970716.649" miny="-44927335.428"/> > <BoundingBox CRS="EPSG:4326" maxy="189" minx="-123" maxx="118" miny="-189"/> > <BoundingBox CRS="EPSG:900913" maxy="30772816.154" minx="-19960441.004" > maxx="19960441.004" miny="-19293806.199"/> > <Layer queryable="1"> > <Name>airports</Name> > <Title>airports</Title> > <CRS>CRS:84</CRS> > <CRS>EPSG:900913</CRS> > <CRS>EPSG:4326</CRS> > <CRS>EPSG:3857</CRS> > <EX_GeographicBoundingBox> > <westBoundLongitude>-175.135635</westBoundLongitude> > <eastBoundLongitude>179.195443</eastBoundLongitude> > <southBoundLatitude>-53.781475</southBoundLatitude> > <northBoundLatitude>78.246717</northBoundLatitude> > </EX_GeographicBoundingBox> > <BoundingBox CRS="EPSG:3857" maxy="14502137.594" minx="-19496009.708" > maxx="19947945.359" miny="-7128878.351"/> > <BoundingBox CRS="EPSG:4326" maxy="179.195443" minx="-53.781475" > maxx="78.246717" miny="-175.135635"/> > <BoundingBox CRS="EPSG:900913" maxy="14502137.594" minx="-19496009.708" > maxx="19947945.359" miny="-7128878.351"/> > <Style> > <Name>default</Name> > <Title>default</Title> > <LegendURL> > <Format>image/png</Format> > <OnlineResource > xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphic&LAYER=airports&FORMAT=image/png&STYLE=default&SLD_VERSION=1.1.0" > xlink:type="simple"/> > </LegendURL> > </Style> > <MinScaleDenominator>1</MinScaleDenominator> > <MaxScaleDenominator>3.66192e+06</MaxScaleDenominator> > </Layer> > <Layer queryable="1"> > <Name>places</Name> > <Title>places</Title> > <CRS>CRS:84</CRS> > <CRS>EPSG:900913</CRS> > <CRS>EPSG:4326</CRS> > <CRS>EPSG:3857</CRS> > <EX_GeographicBoundingBox> > <westBoundLongitude>-175.220565</westBoundLongitude> > <eastBoundLongitude>179.216648</eastBoundLongitude> > <southBoundLatitude>-41.299974</southBoundLatitude> > <northBoundLatitude>64.150024</northBoundLatitude> > </EX_GeographicBoundingBox> > <BoundingBox CRS="EPSG:3857" maxy="9387963.682" minx="-19505464.015" > maxx="19950305.897" miny="-5056688.948"/> > <BoundingBox CRS="EPSG:4326" maxy="179.216648" minx="-41.299974" > maxx="64.150024" miny="-175.220565"/> > <BoundingBox CRS="EPSG:900913" maxy="9387963.682" minx="-19505464.015" > maxx="19950305.897" miny="-5056688.948"/> > <Style> > <Name>default</Name> > <Title>default</Title> > <LegendURL> > <Format>image/png</Format> > <OnlineResource > xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphic&LAYER=places&FORMAT=image/png&STYLE=default&SLD_VERSION=1.1.0" > xlink:type="simple"/> > </LegendURL> > </Style> > </Layer> > <Layer queryable="1"> > <Name>countries</Name> > <Title>countries</Title> > <CRS>CRS:84</CRS> > <CRS>EPSG:900913</CRS> > <CRS>EPSG:4326</CRS> > <CRS>EPSG:3857</CRS> > <EX_GeographicBoundingBox> > <westBoundLongitude>-180</westBoundLongitude> > <eastBoundLongitude>180</eastBoundLongitude> > <southBoundLatitude>-90</southBoundLatitude> > <northBoundLatitude>83.623597</northBoundLatitude> > </EX_GeographicBoundingBox> > <BoundingBox CRS="EPSG:3857" maxy="18418382.138" minx="-20037508.343" > maxx="20037508.343" miny="-44927335.428"/> > <BoundingBox CRS="EPSG:4326" maxy="180" minx="-90" maxx="83.623597" > miny="-180"/> > <BoundingBox CRS="EPSG:900913" maxy="18418382.138" minx="-20037508.343" > maxx="20037508.343" miny="-242528680.944"/> > <Style> > <Name>classified_by_name</Name> > <Title>classified_by_name</Title> > <LegendURL> > <Format>image/png</Format> > <OnlineResource > xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphic&LAYER=countries&FORMAT=image/png&STYLE=classified_by_name&SLD_VERSION=1.1.0" > xlink:type="simple"/> > </LegendURL> > </Style> > <Style> > <Name>classified_by_population</Name> > <Title>classified_by_population</Title> > <LegendURL> > <Format>image/png</Format> > <OnlineResource > xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphic&LAYER=countries&FORMAT=image/png&STYLE=classified_by_population&SLD_VERSION=1.1.0" > xlink:type="simple"/> > </LegendURL> > </Style> > </Layer> > <Layer queryable="1"> > <Name>countries_shapeburst</Name> > <Title>countries_shapeburst</Title> > <CRS>CRS:84</CRS> > <CRS>EPSG:900913</CRS> > <CRS>EPSG:4326</CRS> > <CRS>EPSG:3857</CRS> > <EX_GeographicBoundingBox> > <westBoundLongitude>-180</westBoundLongitude> > <eastBoundLongitude>180</eastBoundLongitude> > <southBoundLatitude>-90</southBoundLatitude> > <northBoundLatitude>83.623597</northBoundLatitude> > </EX_GeographicBoundingBox> > <BoundingBox CRS="EPSG:3857" maxy="18418382.138" minx="-20037508.343" > maxx="20037508.343" miny="-44927335.428"/> > <BoundingBox CRS="EPSG:4326" maxy="180" minx="-90" maxx="83.623597" > miny="-180"/> > <BoundingBox CRS="EPSG:900913" maxy="18418382.138" minx="-20037508.343" > maxx="20037508.343" miny="-242528680.944"/> > <Style> > <Name>blue</Name> > <Title>blue</Title> > <LegendURL> > <Format>image/png</Format> > <OnlineResource > xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphic&LAYER=countries_shapeburst&FORMAT=image/png&STYLE=blue&SLD_VERSION=1.1.0" > xlink:type="simple"/> > </LegendURL> > </Style> > <Style> > <Name>default</Name> > <Title>default</Title> > <LegendURL> > <Format>image/png</Format> > <OnlineResource > xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphic&LAYER=countries_shapeburst&FORMAT=image/png&STYLE=default&SLD_VERSION=1.1.0" > xlink:type="simple"/> > </LegendURL> > </Style> > <Style> > <Name>green</Name> > <Title>green</Title> > <LegendURL> > <Format>image/png</Format> > <OnlineResource > xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphic&LAYER=countries_shapeburst&FORMAT=image/png&STYLE=green&SLD_VERSION=1.1.0" > xlink:type="simple"/> > </LegendURL> > </Style> > <MinScaleDenominator>1</MinScaleDenominator> > <MaxScaleDenominator>2.5e+08</MaxScaleDenominator> > </Layer> > </Layer> > </Capability> > </WMS_Capabilities> > > > I get a similar problem from the final request -> > his XML file does not appear to have any style information associated with > it. The document tree is shown below. > <ServiceExceptionReport version="1.3.0"> > <ServiceException code="Service configuration error"> > Service unknown or unsupported. Current supported services (case-sensitive): > WMS WFS WCS WMTS SampleService, or use a WFS3 (OGC API Features) endpoint > </ServiceException> > </ServiceExceptionReport> > > > I assume this is some type of basic configuration problem but have no way of > being directed to what the problem may be. > > I get the proper response when testing the server by hostname -> > /usr/lib/cgi-bin/qgis_mapserv.fcgi > Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment > variable. > Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment > variable. > Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment > variable. > "Loading native module /usr/lib/qgis/server/liblandingpage.so" > "Loading native module /usr/lib/qgis/server/libwcs.so" > "Loading native module /usr/lib/qgis/server/libwfs.so" > "Loading native module /usr/lib/qgis/server/libwfs3.so" > "Loading native module /usr/lib/qgis/server/libwms.so" > "Loading native module /usr/lib/qgis/server/libwmts.so" > Content-Length: 0 > Location: http:/index.json > Server: QGIS FCGI server - QGIS version 3.38.3-Grenoble > Status: 302 > > > The APACHE error log -> > "Accept" : > "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/png,image/svg+xml,*/*;q=0.8" > "Host" : "qgis.demo" > "User-Agent" : "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:131.0) > Gecko/20100101 Firefox/131.0" > 15:58:54 INFO Server[10767]: Using configuration file path from environment: > /home/qgis/projects/world.qgs > 15:58:54 INFO Server[10767]: REQUEST:GetCapabilities > 15:58:54 INFO Server[10767]: SERVICE:WMS > 15:58:54 INFO Server[10767]: VERSION:1.3.0 > 15:58:54 INFO Server[10767]: Using configuration file path from environment: > /home/qgis/projects/world.qgs > 15:58:54 WARNING Server[10767]: WMS capabilities document not found in cache > 15:58:54 WARNING Server[10767]: Set WMS capabilities document in cache > 15:58:54 INFO Server[10767]: Request finished in 207 ms > 16:00:03 INFO Server[10767]: ******************** New request *************** > 16:00:03 INFO Server[10767]: Request URL: > http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities > 16:00:03 INFO Server[10767]: Environment: > 16:00:03 INFO Server[10767]: ------------------------------------------------ > 16:00:03 INFO Server[10767]: SERVER_NAME: qgis.demo > 16:00:03 INFO Server[10767]: REQUEST_URI: > /cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities > 16:00:03 INFO Server[10767]: SCRIPT_NAME: /cgi-bin/qgis_mapserv.fcgi > 16:00:03 INFO Server[10767]: REMOTE_ADDR: 127.0.0.1 > 16:00:03 INFO Server[10767]: SERVER_PORT: 80 > 16:00:03 INFO Server[10767]: QUERY_STRING: > SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities > 16:00:03 INFO Server[10767]: REQUEST_METHOD: GET > 16:00:03 INFO Server[10767]: QGIS_PROJECT_FILE: /home/qgis/projects/world.qgs > 16:00:03 INFO Server[10767]: SERVER_PROTOCOL: HTTP/1.1 > Headers: > ------------------------------------------------ > "Accept" : > "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/png,image/svg+xml,*/*;q=0.8" > "Host" : "qgis.demo" > "User-Agent" : "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:131.0) > Gecko/20100101 Firefox/131.0" > 16:00:03 INFO Server[10767]: Using configuration file path from environment: > /home/qgis/projects/world.qgs > 16:00:03 INFO Server[10767]: REQUEST:GetCapabilities > 16:00:03 INFO Server[10767]: SERVICE:WMS > 16:00:03 INFO Server[10767]: VERSION:1.3.0 > 16:00:03 INFO Server[10767]: Using configuration file path from environment: > /home/qgis/projects/world.qgs > 16:00:03 WARNING Server[10767]: Found WMS capabilities document in cache > 16:00:03 INFO Server[10767]: Request finished in 0 ms > 16:00:45 INFO Server[10767]: ******************** New request *************** > 16:00:45 INFO Server[10767]: Request URL: > http://qgis.demo/cgi-bin/qgis_mapserv.fcgi? > MAP=/home/qgis/projects/world.qgs& LAYERS=countries& SERVICE=WMS& > VERSION=1.3.0& REQUEST=GetMap& CRS=EPSG:4326& WIDTH=400& HEIGHT=200& > BBOX=-90,-180,90,180 > 16:00:45 INFO Server[10767]: Environment: > 16:00:45 INFO Server[10767]: ------------------------------------------------ > 16:00:45 INFO Server[10767]: SERVER_NAME: qgis.demo > 16:00:45 INFO Server[10767]: REQUEST_URI: > /cgi-bin/qgis_mapserv.fcgi?%20%20MAP=/home/qgis/projects/world.qgs&%20%20LAYERS=countries&%20%20SERVICE=WMS&%20%20VERSION=1.3.0&%20%20REQUEST=GetMap&%20%20CRS=EPSG:4326&%20%20WIDTH=400&%20%20HEIGHT=200&%20%20BBOX=-90,-180,90,180 > 16:00:45 INFO Server[10767]: SCRIPT_NAME: /cgi-bin/qgis_mapserv.fcgi > 16:00:45 INFO Server[10767]: REMOTE_ADDR: 127.0.0.1 > 16:00:45 INFO Server[10767]: SERVER_PORT: 80 > 16:00:45 INFO Server[10767]: QUERY_STRING: > %20%20MAP=/home/qgis/projects/world.qgs&%20%20LAYERS=countries&%20%20SERVICE=WMS&%20%20VERSION=1.3.0&%20%20REQUEST=GetMap&%20%20CRS=EPSG:4326&%20%20WIDTH=400&%20%20HEIGHT=200&%20%20BBOX=-90,-180,90,180 > 16:00:45 INFO Server[10767]: REQUEST_METHOD: GET > 16:00:45 INFO Server[10767]: QGIS_PROJECT_FILE: /home/qgis/projects/world.qgs > 16:00:45 INFO Server[10767]: SERVER_PROTOCOL: HTTP/1.1 > Headers: > ------------------------------------------------ > "Accept" : > "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/png,image/svg+xml,*/*;q=0.8" > "Host" : "qgis.demo" > "User-Agent" : "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:131.0) > Gecko/20100101 Firefox/131.0" > 16:00:45 INFO Server[10767]: Using configuration file path from environment: > /home/qgis/projects/world.qgs > 16:00:45 INFO Server[10767]: BBOX:-90,-180,90,180 > 16:00:45 INFO Server[10767]: CRS:EPSG:4326 > 16:00:45 INFO Server[10767]: HEIGHT:200 > 16:00:45 INFO Server[10767]: LAYERS:countries > 16:00:45 INFO Server[10767]: MAP:/home/qgis/projects/world.qgs > 16:00:45 INFO Server[10767]: REQUEST:GetMap > 16:00:45 INFO Server[10767]: SERVICE:WMS > 16:00:45 INFO Server[10767]: VERSION:1.3.0 > 16:00:45 INFO Server[10767]: WIDTH:400 > 16:00:45 INFO Server[10767]: Using configuration file path from environment: > /home/qgis/projects/world.qgs > 16:00:45 INFO Server[10767]: Trying URL path: '/cgi-bin/qgis_mapserv.fcgi' > for '/wfs3' > 16:00:45 INFO Server[10767]: Trying URL path: '/cgi-bin/qgis_mapserv.fcgi' > for '/' > 16:00:45 CRITICAL Server[10767]: Service is not registered > 16:00:45 WARNING Server[10767]: <?xml version="1.0" encoding="UTF-8"?> > <ServiceExceptionReport version="1.3.0" xmlns="http://www.opengis.net/ogc"> > <ServiceException code="Service configuration error">Service unknown or > unsupported. Current supported services (case-sensitive): WMS WFS WCS WMTS > SampleService, or use a WFS3 (OGC API Features) endpoint</ServiceException> > </ServiceExceptionReport> > > 16:00:45 INFO Server[10767]: Request finished in 0 ms > 16:04:48 INFO Server[10767]: ******************** New request *************** > 16:04:48 INFO Server[10767]: Request URL: > http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities > 16:04:48 INFO Server[10767]: Environment: > 16:04:48 INFO Server[10767]: ------------------------------------------------ > 16:04:48 INFO Server[10767]: SERVER_NAME: qgis.demo > 16:04:48 INFO Server[10767]: REQUEST_URI: > /cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities > 16:04:48 INFO Server[10767]: SCRIPT_NAME: /cgi-bin/qgis_mapserv.fcgi > 16:04:48 INFO Server[10767]: REMOTE_ADDR: 127.0.0.1 > 16:04:48 INFO Server[10767]: SERVER_PORT: 80 > 16:04:48 INFO Server[10767]: QUERY_STRING: > SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities > 16:04:48 INFO Server[10767]: REQUEST_METHOD: GET > 16:04:48 INFO Server[10767]: QGIS_PROJECT_FILE: /home/qgis/projects/world.qgs > 16:04:48 INFO Server[10767]: SERVER_PROTOCOL: HTTP/1.1 > Headers: > ------------------------------------------------ > "Accept" : > "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/png,image/svg+xml,*/*;q=0.8" > "Host" : "qgis.demo" > "User-Agent" : "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:131.0) > Gecko/20100101 Firefox/131.0" > 16:04:48 INFO Server[10767]: Using configuration file path from environment: > /home/qgis/projects/world.qgs > 16:04:48 INFO Server[10767]: REQUEST:GetCapabilities > 16:04:48 INFO Server[10767]: SERVICE:WMS > 16:04:48 INFO Server[10767]: VERSION:1.3.0 > 16:04:48 INFO Server[10767]: Using configuration file path from environment: > /home/qgis/projects/world.qgs > 16:04:48 WARNING Server[10767]: Found WMS capabilities document in cache > 16:04:48 INFO Server[10767]: Request finished in 0 ms > 16:13:01 INFO Server[10767]: ******************** New request *************** > 16:13:01 INFO Server[10767]: Request URL: > http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities > 16:13:01 INFO Server[10767]: Environment: > 16:13:01 INFO Server[10767]: ------------------------------------------------ > 16:13:01 INFO Server[10767]: SERVER_NAME: qgis.demo > 16:13:01 INFO Server[10767]: REQUEST_URI: > /cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities > 16:13:01 INFO Server[10767]: SCRIPT_NAME: /cgi-bin/qgis_mapserv.fcgi > 16:13:01 INFO Server[10767]: REMOTE_ADDR: 127.0.0.1 > 16:13:01 INFO Server[10767]: SERVER_PORT: 80 > 16:13:01 INFO Server[10767]: QUERY_STRING: > SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities > 16:13:01 INFO Server[10767]: REQUEST_METHOD: GET > 16:13:01 INFO Server[10767]: QGIS_PROJECT_FILE: /home/qgis/projects/world.qgs > 16:13:01 INFO Server[10767]: SERVER_PROTOCOL: HTTP/1.1 > Headers: > ------------------------------------------------ > "Accept" : > "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/png,image/svg+xml,*/*;q=0.8" > "Host" : "qgis.demo" > "User-Agent" : "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:131.0) > Gecko/20100101 Firefox/131.0" > 16:13:01 INFO Server[10767]: Using configuration file path from environment: > /home/qgis/projects/world.qgs > 16:13:01 INFO Server[10767]: REQUEST:GetCapabilities > 16:13:01 INFO Server[10767]: SERVICE:WMS > 16:13:01 INFO Server[10767]: VERSION:1.3.0 > 16:13:01 INFO Server[10767]: Using configuration file path from environment: > /home/qgis/projects/world.qgs > 16:13:01 WARNING Server[10767]: Found WMS capabilities document in cache > 16:13:01 INFO Server[10767]: Request finished in 0 ms > 16:20:08 INFO Server[10767]: ******************** New request *************** > 16:20:08 INFO Server[10767]: Request URL: > http://qgis.demo/cgi-bin/qgis_mapserv.fcgi? > MAP=/home/qgis/projects/world.qgs& LAYERS=countries& SERVICE=WMS& > VERSION=1.3.0& REQUEST=GetMap& CRS=EPSG:4326& WIDTH=400& HEIGHT=200& > BBOX=-90,-180,90,180 > 16:20:08 INFO Server[10767]: Environment: > 16:20:08 INFO Server[10767]: ------------------------------------------------ > 16:20:08 INFO Server[10767]: SERVER_NAME: qgis.demo > 16:20:08 INFO Server[10767]: REQUEST_URI: > /cgi-bin/qgis_mapserv.fcgi?%20%20MAP=/home/qgis/projects/world.qgs&%20%20LAYERS=countries&%20%20SERVICE=WMS&%20%20VERSION=1.3.0&%20%20REQUEST=GetMap&%20%20CRS=EPSG:4326&%20%20WIDTH=400&%20%20HEIGHT=200&%20%20BBOX=-90,-180,90,180 > 16:20:08 INFO Server[10767]: SCRIPT_NAME: /cgi-bin/qgis_mapserv.fcgi > 16:20:08 INFO Server[10767]: REMOTE_ADDR: 127.0.0.1 > 16:20:08 INFO Server[10767]: SERVER_PORT: 80 > 16:20:08 INFO Server[10767]: QUERY_STRING: > %20%20MAP=/home/qgis/projects/world.qgs&%20%20LAYERS=countries&%20%20SERVICE=WMS&%20%20VERSION=1.3.0&%20%20REQUEST=GetMap&%20%20CRS=EPSG:4326&%20%20WIDTH=400&%20%20HEIGHT=200&%20%20BBOX=-90,-180,90,180 > 16:20:08 INFO Server[10767]: REQUEST_METHOD: GET > 16:20:08 INFO Server[10767]: QGIS_PROJECT_FILE: /home/qgis/projects/world.qgs > 16:20:08 INFO Server[10767]: SERVER_PROTOCOL: HTTP/1.1 > Headers: > ------------------------------------------------ > "Accept" : > "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/png,image/svg+xml,*/*;q=0.8" > "Host" : "qgis.demo" > "User-Agent" : "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:131.0) > Gecko/20100101 Firefox/131.0" > 16:20:08 INFO Server[10767]: Using configuration file path from environment: > /home/qgis/projects/world.qgs > 16:20:08 INFO Server[10767]: BBOX:-90,-180,90,180 > 16:20:08 INFO Server[10767]: CRS:EPSG:4326 > 16:20:08 INFO Server[10767]: HEIGHT:200 > 16:20:08 INFO Server[10767]: LAYERS:countries > 16:20:08 INFO Server[10767]: MAP:/home/qgis/projects/world.qgs > 16:20:08 INFO Server[10767]: REQUEST:GetMap > 16:20:08 INFO Server[10767]: SERVICE:WMS > 16:20:08 INFO Server[10767]: VERSION:1.3.0 > 16:20:08 INFO Server[10767]: WIDTH:400 > 16:20:08 INFO Server[10767]: Using configuration file path from environment: > /home/qgis/projects/world.qgs > 16:20:08 INFO Server[10767]: Trying URL path: '/cgi-bin/qgis_mapserv.fcgi' > for '/wfs3' > 16:20:08 INFO Server[10767]: Trying URL path: '/cgi-bin/qgis_mapserv.fcgi' > for '/' > 16:20:08 CRITICAL Server[10767]: Service is not registered > 16:20:08 WARNING Server[10767]: <?xml version="1.0" encoding="UTF-8"?> > <ServiceExceptionReport version="1.3.0" xmlns="http://www.opengis.net/ogc"> > <ServiceException code="Service configuration error">Service unknown or > unsupported. Current supported services (case-sensitive): WMS WFS WCS WMTS > SampleService, or use a WFS3 (OGC API Features) endpoint</ServiceException> > </ServiceExceptionReport> > > > I left the qgis.demo hostname there as my hostname, host file was updated as > per instruction. > > > I can not find any troubleshooting information for this. Does anyone have any > suggestions on places to look. I saw mention that I may need to pint the > var/www/html file to the proper project but this was not mentioned in the > tutorial. > > > QGIS new user > > > _______________________________________________ > QGIS-User mailing listqgis-u...@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user > > _______________________________________________ > QGIS-User mailing list > QGIS-User@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user >
_______________________________________________ QGIS-User mailing list QGIS-User@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user