In my geoserver admin panel I try to connect new stores - remote WMS connection:


and when I try to save this store, displays errors:

Connection test failed: Content type is required for org.geotools.data.wms.response.WMSGetCapabilitiesResponse

Does anybody knows what could be reason?

  • what does the log file say?
    – Ian Turton
    Commented Nov 28, 2014 at 8:32

1 Answer 1


Your problem seems to be investigated on the GeoServer developer mailing list in this thread


Cascading WMS from the Polish geoportal is failing because the server does not accept Java as a User-Agent in the http headers.

I recommend to contact the administrators of the geoportal because this behavior it preventing the use of the WMS service with all Java based clients which are configured to send the jre version as User-Agent. IMHO it is a normal and right thing to do. It is hard to believe that blocking clients that way by http User-Agent headers from a national INSPIRE view service is intentional.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.