[mapguide-trac] #659: WebAPI "Cannot establish connection". on
different machine than server
MapGuide Open Source
trac_mapguide at osgeo.org
Wed Aug 20 16:29:06 EDT 2008
#659: WebAPI "Cannot establish connection". on different machine than server
----------------------+-----------------------------------------------------
Reporter: zspitzer | Owner:
Type: defect | Status: new
Priority: medium | Milestone:
Component: Web API | Version: 2.0.1
Severity: minor | Resolution:
Keywords: | External_id:
----------------------+-----------------------------------------------------
Comment (by zspitzer):
the ipaddress is correct in the webconfig.ini, i can telnet to the all
three ports, and if i change the ip address the script doesn't connect
I tried to change the ip address in the serverconfig.ini from 127.0.0.1 to
the real ip as reported by ipconfig, mapguide dies on startup and throws
this error
The site server (10.3.64.35) must have the same IP address as this local
server (127.0.0.1).
StackTrace:
- MgServer.open line 1068 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.13\mgdev\server\src\core\Server.cpp
- MgServerManager.Initialize line 187 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.13\mgdev\server\src\common\manager\ServerManager.cpp
Logic exception.
changing the webconfig.ini to match didn't make a difference either.
my hunch is that the server value for the site ip address is being passed
back to the web api for the resource service and that's why it's hitting
my local mapguide server...
renaming the webconfig.ini file to something else throws an error
I can see the session being created on the remote server access.log and
then I see this appear in my local access.log after the mapguide server
has been freshly restarted (no createsession in the local access.logs
since the restart either)
<2008-08-21T06:21:18> Administrator
GetResourceContent.1.0.0:2(Library://MAPS/COMBINED WEB BASE
MAP.MapDefinition,) Failure
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/659#comment:5>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list