title: Can't connect to wms/wfs server on QGIS
body: <p>I have one workspace named "novo". In fact, when i create a new workspace everything works fine i can see on openlayers my layer from that workspace. The problem is when i try to connect to my wms server on QGis which seems to do nothing, no error or warning is raised.</p>
  
  <p><a href="https://i.stack.imgur.com/hpXH3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hpXH3.png" alt="qgis adding wms layer "></a></p>
  
  <p>i can call GetCapabilities request and i have all my layers queryable and everything seems to work fine.</p>
  
  <p>on geoserver log i can find the following statements:</p>
  
  <pre><code>2016-04-20 11:38:38,380 INFO [org.geoserver.wms] - 
  Request: getCapabilities
      UpdateSequence = null
      Namespace = novo
      Get = false
      RawKvp = {SERVICE=WMS, REQUEST=GetCapabilities}
      BaseUrl = http://10.194.32.192:80/geoserver/
      RequestCharset = null
      Version = 1.3.0
      Request = GetCapabilities
  
  2016-04-20 11:39:17,998 DEBUG [org.geoserver.config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo in workspace WorkspaceInfoImpl[novo], available services were [WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WPSInfoImpl[WPS], WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS]]
  2016-04-20 11:39:17,999 DEBUG [org.geoserver.config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo in workspace WorkspaceInfoImpl[novo], available services were [WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WPSInfoImpl[WPS], WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS]]
  2016-04-20 11:39:17,999 DEBUG [org.geoserver.config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo in workspace WorkspaceInfoImpl[novo], available services were [WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WPSInfoImpl[WPS], WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS]]
  2016-04-20 11:39:17,999 DEBUG [org.geoserver.config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo in workspace WorkspaceInfoImpl[novo], available services were [WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WPSInfoImpl[WPS], WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS]]
  2016-04-20 11:39:17,999 DEBUG [org.geoserver.config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo in workspace WorkspaceInfoImpl[novo], available services were [WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WPSInfoImpl[WPS], WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS]]
  2016-04-20 11:39:17,999 DEBUG [org.geoserver.config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo in workspace WorkspaceInfoImpl[novo], available services were [WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WPSInfoImpl[WPS], WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS]]
  2016-04-20 11:39:17,999 DEBUG [org.geoserver.config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo in workspace WorkspaceInfoImpl[novo], available services were [WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WPSInfoImpl[WPS], WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS]]
  2016-04-20 11:39:17,999 DEBUG [org.geoserver.config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo in workspace WorkspaceInfoImpl[novo], available services were [WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WPSInfoImpl[WPS], WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS]]
  2016-04-20 11:39:17,999 DEBUG [org.geoserver.config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo in workspace WorkspaceInfoImpl[novo], available services were [WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WPSInfoImpl[WPS], WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS]]
  2016-04-20 11:39:17,999 DEBUG [org.geoserver.config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo in workspace WorkspaceInfoImpl[novo], available services were [WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WPSInfoImpl[WPS], WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS]]
  2016-04-20 11:39:18,005 DEBUG [org.geoserver.wms.capabilities] - Collecting summarized latlonbbox and common SRS...
  2016-04-20 11:39:18,006 DEBUG [org.geoserver.wms.capabilities] - Summarized LatLonBBox is Env[0.0 : -1.0, 0.0 : -1.0]
  2016-04-20 11:39:18,007 DEBUG [org.geoserver.config.impl] - Could not locate service of type interface org.geoserver.wms.WMSInfo in workspace WorkspaceInfoImpl[novo], available services were [WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WPSInfoImpl[WPS], WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS], WCSInfoImpl[My GeoServer WCS], WFSInfoImpl[My GeoServer WFS], WMSInfoImpl[My GeoServer WMS]]
  </code></pre>
  
  <p>This is "novo" workspace GetCapabilities:</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;WMS_Capabilities version="1.3.0" updateSequence="913" xmlns="http://www.opengis.net/wms" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wms http://10.194.32.192/geoserver/schemas/wms/1.3.0/capabilities_1_3_0.xsd"&gt;
    &lt;Service&gt;
      &lt;Name&gt;WMS&lt;/Name&gt;
      &lt;Title&gt;My GeoServer WMS&lt;/Title&gt;
      &lt;Abstract&gt;This is a description of your Web Map Server.&lt;/Abstract&gt;
      &lt;KeywordList&gt;
        &lt;Keyword&gt;WFS&lt;/Keyword&gt;
        &lt;Keyword&gt;WMS&lt;/Keyword&gt;
        &lt;Keyword&gt;GEOSERVER&lt;/Keyword&gt;
      &lt;/KeywordList&gt;
      &lt;OnlineResource xlink:type="simple" xlink:href="http://geoserver.sourceforge.net/html/index.php"/&gt;
      &lt;ContactInformation&gt;
        &lt;ContactPersonPrimary&gt;
          &lt;ContactPerson/&gt;
          &lt;ContactOrganization/&gt;
        &lt;/ContactPersonPrimary&gt;
        &lt;ContactPosition/&gt;
        &lt;ContactAddress&gt;
          &lt;AddressType/&gt;
          &lt;Address/&gt;
          &lt;City/&gt;
          &lt;StateOrProvince/&gt;
          &lt;PostCode/&gt;
          &lt;Country/&gt;
        &lt;/ContactAddress&gt;
        &lt;ContactVoiceTelephone/&gt;
        &lt;ContactFacsimileTelephone/&gt;
        &lt;ContactElectronicMailAddress/&gt;
      &lt;/ContactInformation&gt;
      &lt;Fees&gt;NONE&lt;/Fees&gt;
      &lt;AccessConstraints&gt;NONE&lt;/AccessConstraints&gt;
    &lt;/Service&gt;
    &lt;Capability&gt;
      &lt;Request&gt;
        &lt;GetCapabilities&gt;
          &lt;Format&gt;text/xml&lt;/Format&gt;
          &lt;DCPType&gt;
            &lt;HTTP&gt;
              &lt;Get&gt;
                &lt;OnlineResource xlink:type="simple" xlink:href="http://10.194.32.192/geoserver/novo/ows?SERVICE=WMS&amp;amp;"/&gt;
              &lt;/Get&gt;
              &lt;Post&gt;
                &lt;OnlineResource xlink:type="simple" xlink:href="http://10.194.32.192/geoserver/novo/ows?SERVICE=WMS&amp;amp;"/&gt;
              &lt;/Post&gt;
            &lt;/HTTP&gt;
          &lt;/DCPType&gt;
        &lt;/GetCapabilities&gt;
        &lt;GetMap&gt;
          &lt;Format&gt;image/png&lt;/Format&gt;
          &lt;Format&gt;application/atom+xml&lt;/Format&gt;
          &lt;Format&gt;application/pdf&lt;/Format&gt;
          &lt;Format&gt;application/rss+xml&lt;/Format&gt;
          &lt;Format&gt;application/vnd.google-earth.kml+xml&lt;/Format&gt;
          &lt;Format&gt;application/vnd.google-earth.kml+xml;mode=networklink&lt;/Format&gt;
          &lt;Format&gt;application/vnd.google-earth.kmz&lt;/Format&gt;
          &lt;Format&gt;image/geotiff&lt;/Format&gt;
          &lt;Format&gt;image/geotiff8&lt;/Format&gt;
          &lt;Format&gt;image/gif&lt;/Format&gt;
          &lt;Format&gt;image/jpeg&lt;/Format&gt;
          &lt;Format&gt;image/png; mode=8bit&lt;/Format&gt;
          &lt;Format&gt;image/svg+xml&lt;/Format&gt;
          &lt;Format&gt;image/tiff&lt;/Format&gt;
          &lt;Format&gt;image/tiff8&lt;/Format&gt;
          &lt;Format&gt;text/html; subtype=openlayers&lt;/Format&gt;
          &lt;DCPType&gt;
            &lt;HTTP&gt;
              &lt;Get&gt;
                &lt;OnlineResource xlink:type="simple" xlink:href="http://10.194.32.192/geoserver/novo/ows?SERVICE=WMS&amp;amp;"/&gt;
              &lt;/Get&gt;
            &lt;/HTTP&gt;
          &lt;/DCPType&gt;
        &lt;/GetMap&gt;
        &lt;GetFeatureInfo&gt;
          &lt;Format&gt;text/plain&lt;/Format&gt;
          &lt;Format&gt;application/vnd.ogc.gml&lt;/Format&gt;
          &lt;Format&gt;text/xml&lt;/Format&gt;
          &lt;Format&gt;application/vnd.ogc.gml/3.1.1&lt;/Format&gt;
          &lt;Format&gt;text/xml; subtype=gml/3.1.1&lt;/Format&gt;
          &lt;Format&gt;text/html&lt;/Format&gt;
          &lt;Format&gt;application/json&lt;/Format&gt;
          &lt;DCPType&gt;
            &lt;HTTP&gt;
              &lt;Get&gt;
                &lt;OnlineResource xlink:type="simple" xlink:href="http://10.194.32.192/geoserver/novo/ows?SERVICE=WMS&amp;amp;"/&gt;
              &lt;/Get&gt;
            &lt;/HTTP&gt;
          &lt;/DCPType&gt;
        &lt;/GetFeatureInfo&gt;
      &lt;/Request&gt;
      &lt;Exception&gt;
        &lt;Format&gt;XML&lt;/Format&gt;
        &lt;Format&gt;INIMAGE&lt;/Format&gt;
        &lt;Format&gt;BLANK&lt;/Format&gt;
      &lt;/Exception&gt;
      &lt;Layer&gt;
        &lt;Title&gt;My GeoServer WMS&lt;/Title&gt;
        &lt;Abstract&gt;This is a description of your Web Map Server.&lt;/Abstract&gt;
        &lt;!--Limited list of EPSG projections:--&gt;
        &lt;CRS&gt;EPSG:4326&lt;/CRS&gt;
        &lt;CRS&gt;CRS:84&lt;/CRS&gt;
        &lt;EX_GeographicBoundingBox&gt;
          &lt;westBoundLongitude&gt;-25.1745333333&lt;/westBoundLongitude&gt;
          &lt;eastBoundLongitude&gt;-12.198333333&lt;/eastBoundLongitude&gt;
          &lt;southBoundLatitude&gt;30.004965&lt;/southBoundLatitude&gt;
          &lt;northBoundLatitude&gt;37.93&lt;/northBoundLatitude&gt;
        &lt;/EX_GeographicBoundingBox&gt;
        &lt;BoundingBox CRS="CRS:84" minx="-25.1745333333" miny="30.004965" maxx="-12.198333333" maxy="37.93"/&gt;
        &lt;Layer queryable="1" opaque="0"&gt;
          &lt;Name&gt;ABC&lt;/Name&gt;
          &lt;Title&gt;ABC&lt;/Title&gt;
          &lt;Abstract/&gt;
          &lt;KeywordList&gt;
            &lt;Keyword&gt;ABC&lt;/Keyword&gt;
            &lt;Keyword&gt;features&lt;/Keyword&gt;
          &lt;/KeywordList&gt;
          &lt;CRS&gt;EPSG:4326&lt;/CRS&gt;
          &lt;CRS&gt;CRS:84&lt;/CRS&gt;
          &lt;EX_GeographicBoundingBox&gt;
            &lt;westBoundLongitude&gt;-25.1745333333&lt;/westBoundLongitude&gt;
            &lt;eastBoundLongitude&gt;-12.198333333&lt;/eastBoundLongitude&gt;
            &lt;southBoundLatitude&gt;32.4790833333&lt;/southBoundLatitude&gt;
            &lt;northBoundLatitude&gt;37.93&lt;/northBoundLatitude&gt;
          &lt;/EX_GeographicBoundingBox&gt;
          &lt;BoundingBox CRS="CRS:84" minx="-25.1745333333" miny="32.4790833333" maxx="-12.198333333" maxy="37.93"/&gt;
          &lt;BoundingBox CRS="EPSG:4326" minx="32.4790833333" miny="-25.1745333333" maxx="37.93" maxy="-12.198333333"/&gt;
          &lt;Style&gt;
            &lt;Name&gt;point&lt;/Name&gt;
            &lt;Title&gt;Default Point&lt;/Title&gt;
            &lt;Abstract&gt;A sample style that draws a point&lt;/Abstract&gt;
            &lt;LegendURL width="20" height="20"&gt;
              &lt;Format&gt;image/png&lt;/Format&gt;
              &lt;OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://10.194.32.192/geoserver/novo/ows?service=WMS&amp;amp;request=GetLegendGraphic&amp;amp;format=image%2Fpng&amp;amp;width=20&amp;amp;height=20&amp;amp;layer=ABC"/&gt;
            &lt;/LegendURL&gt;
          &lt;/Style&gt;
        &lt;/Layer&gt;
        &lt;Layer queryable="1" opaque="0"&gt;
          &lt;Name&gt;doc1&lt;/Name&gt;
          &lt;Title&gt;doc1&lt;/Title&gt;
          &lt;Abstract/&gt;
          &lt;KeywordList&gt;
            &lt;Keyword&gt;features&lt;/Keyword&gt;
            &lt;Keyword&gt;doc1&lt;/Keyword&gt;
          &lt;/KeywordList&gt;
          &lt;CRS&gt;EPSG:4326&lt;/CRS&gt;
          &lt;CRS&gt;CRS:84&lt;/CRS&gt;
          &lt;EX_GeographicBoundingBox&gt;
            &lt;westBoundLongitude&gt;-16.0555&lt;/westBoundLongitude&gt;
            &lt;eastBoundLongitude&gt;-15.85316667&lt;/eastBoundLongitude&gt;
            &lt;southBoundLatitude&gt;30.004965&lt;/southBoundLatitude&gt;
            &lt;northBoundLatitude&gt;30.164367&lt;/northBoundLatitude&gt;
          &lt;/EX_GeographicBoundingBox&gt;
          &lt;BoundingBox CRS="CRS:84" minx="-16.0555" miny="30.004965" maxx="-15.85316667" maxy="30.164367"/&gt;
          &lt;BoundingBox CRS="EPSG:4326" minx="30.004965" miny="-16.0555" maxx="30.164367" maxy="-15.85316667"/&gt;
          &lt;Style&gt;
            &lt;Name&gt;point&lt;/Name&gt;
            &lt;Title&gt;Default Point&lt;/Title&gt;
            &lt;Abstract&gt;A sample style that draws a point&lt;/Abstract&gt;
            &lt;LegendURL width="20" height="20"&gt;
              &lt;Format&gt;image/png&lt;/Format&gt;
              &lt;OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://10.194.32.192/geoserver/novo/ows?service=WMS&amp;amp;request=GetLegendGraphic&amp;amp;format=image%2Fpng&amp;amp;width=20&amp;amp;height=20&amp;amp;layer=doc1"/&gt;
            &lt;/LegendURL&gt;
          &lt;/Style&gt;
        &lt;/Layer&gt;
      &lt;/Layer&gt;
    &lt;/Capability&gt;
  &lt;/WMS_Capabilities&gt;
  </code></pre>
  
  <p>What am i missing?
  It is strange since that this problem seems to occur without any reason.</p>