[Mapbender-users] Unable to upload Capabilities (WMS/WFS)

Matthias Uhler matthias.uhler at geoinform.fh-mainz.de
Wed Dec 19 06:21:53 PST 2012


Hi Armin,

thank you very much for your quick reply!! At the end it was a DNS 
problem with our server IP, so curl wasn't able to connect with the 
capabilietes document. Everything is working smooth now with your config 
parameters.

Greetings from Mainz,
Matthias

Am 18.12.2012 17:03, schrieb Armin Retterath:
> hello matthias,
>
> your connection part of the mapbender.conf should read like the 
> following (if you use curl connection and no proxy - what i suggest. 
> if you use a proxy please set the proxy parameters):
>
> # --------------------------------------------
> # type of server-connection
> # curl, socket, http
> # --------------------------------------------
>
> define("CONNECTION", "curl");
> #define("CONNECTION", "http");
> #define("CONNECTION", "socket");
>
> #define("CONNECTION_PROXY", "xx.x.xxx.xx"); // ip
> #define("CONNECTION_PORT", "xxxx"); // port
> define("CONNECTION_PROXY", ""); // ip
> define("CONNECTION_PORT", ""); // port
>
>
> define("CONNECTION_USER", ""); // user
> define("CONNECTION_PASSWORD", ""); // password
> define("CONNECTION_USERAGENT", "GeoPortal Rheinland-Pfalz");
>
> # --------------------------------------------
> # HOSTs not for Proxy (curl)
> # --------------------------------------------
> define("NOT_PROXY_HOSTS", "localhost,127.0.0.1");
>
> we use this configuration for over 6 years (since mb 2.4.1) without 
> any problems.
>
> if you have further questions - don't hesitate to ask ;-)
>
> regards
>
> armin
>
> On 18.12.2012 16:34, Matthias Uhler wrote:
>> Hello mapbender friends,
>>
>> trying to upload any kind of Capabilities from LANIS OGC Services 
>> (http://map1.naturschutz.rlp.de/service_lanis/mod_wms/wms_list.php) 
>> into my Mapbener 2.7.2 installation causes following problem:
>>
>> file: 
>> http://map1.naturschutz.rlp.de/service_lanis/mod_wms/wms_getmap.php?mapfile=naturpark&service=WMS&version=1.1.1&Request=GetCapabilities
>> Missing parameters:
>>
>> id:
>> version:
>> title:
>> abstract:
>> maprequest:
>> capabilitiesrequest:
>> featureinforequest:
>> gui_wms_mapformat:
>> gui_wms_featureinfoformat:
>> gui_wms_exceptionformat:
>> gui_wms_epsg:
>> wms_srs:
>> gui_wms_visible:
>> gui_wms_opacity:
>> support_sld:
>> wms Object ( [lastURL] => [wms_id] => [wms_status] => [wms_version] 
>> => [wms_title] => [wms_abstract] => [wms_getcapabilities] => 
>> [wms_getcapabilities_doc] => [wms_getmap] => [wms_getfeatureinfo] => 
>> [wms_getlegendurl] => [wms_upload_url] => [wms_timestamp] => 
>> [wms_timestamp_create] => [wms_srs] => Array ( ) [wms_termsofuse] => 
>> [fees] => [accessconstraints] => [contactperson] => [contactposition] 
>> => [contactorganization] => [address] => [city] => [stateorprovince] 
>> => [postcode] => [country] => [contactvoicetelephone] => 
>> [contactfacsimiletelephone] => [contactelectronicmailaddress] => 
>> [wms_keyword] => Array ( ) [data_type] => Array ( ) [data_format] => 
>> Array ( ) [objLayer] => Array ( ) [wms_supportsld] => [wms_userlayer] 
>> => [wms_userstyle] => [wms_remotewfs] => [gui_wms_mapformat] => 
>> [gui_wms_featureinfoformat] => [gui_wms_exceptionformat] => 
>> [gui_wms_epsg] => [gui_wms_sldurl] => [default_epsg] => 0 [overwrite] 
>> => 1 )
>> Data not committed
>>
>> In my error.log of the mapbender folder I can find following lines:
>> ...
>> 2012.12.18, 15:06:32,Notice: class_connector: load url: 
>> http://map1.naturschutz.rlp.de/service_lanis/mod_wms/wms_getmap.php?mapfile=naturpark&service=WMS&version=1.1.1&Request=GetCapabilities
>> 2012.12.18, 15:06:32,Notice: connector: curl without auth
>> 2012.12.18, 15:06:32,Notice: class_connector.php: 
>> NOT_PROXY_HOSTS:<ip>,<ip>,<ip>
>> 2012.12.18, 15:06:32,Notice: class_connector.php: http_proxy is not 
>> set as env variable!
>> 2012.12.18, 15:06:32,Notice: class_connector.php: Proxy will not be used!
>> 2012.12.18, 15:06:32,Notice: class_connector.php: CURL connect to: 
>> http://map1.naturschutz.rlp.de/service_lanis/mod_wms/wms_getmap.php?mapfile=naturpark&service=WMS&version=1.1.1&Request=GetCapabilities
>> 2012.12.18, 15:06:52,Notice: class_connector.php: CURL give back:
>> 2012.12.18, 15:06:52,ERROR: connector: unable to load: 
>> http://map1.naturschutz.rlp.de/service_lanis/mod_wms/wms_getmap.php?mapfile=naturpark&service=WMS&version=1.1.1&Request=GetCapabilities
>>
>> The same error also occurs with other services so I think the problem 
>> is my connector or mapbender setup. Already configured Services are 
>> working and I'm able to upload and update existing capabilities 
>> without any trouble.
>>
>> Can anyone give me a hint how to solve my problem or what to look for?
>>
>> I appreciate your help, thx in advance,
>> Matthias
>> -- 
>> Matthias Uhler, M.Sc.
>>
>> i3mainz - Institut für Raumbezogene Informations- und Messtechnik
>> Fachhochschule Mainz, Lucy-Hillebrand-Strasse 2, D-55128 Mainz
>>
>> Tel: +49 6131 628 1481
>> Fax: +49 6131 628 91481
>> matthias.uhler at geoinform.fh-mainz.de
>> www.i3mainz.fh-mainz.de
>>
>>
>> _______________________________________________
>> Mapbender_users mailing list
>> Mapbender_users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>
>
> -- 
> Zentrale Stelle Geodateninfrastruktur
> Rheinland-Pfalz
> LVermGeo-RP
>
> Ferdinand-Sauerbruch-Straße 15
> 56073 Koblenz
>
> 0261/492-466
> armin.retterath at lvermgeo.rlp.de
> http://www.geoportal.rlp.de
>
>
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users


-- 
Matthias Uhler, M.Sc.

i3mainz - Institut für Raumbezogene Informations- und Messtechnik
Fachhochschule Mainz, Lucy-Hillebrand-Strasse 2, D-55128 Mainz

Tel: +49 6131 628 1481
Fax: +49 6131 628 91481
matthias.uhler at geoinform.fh-mainz.de
www.i3mainz.fh-mainz.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20121219/d6c89b17/attachment.html>


More information about the Mapbender_users mailing list