CmapServer doesn't show up in directory of places

Having problems with IHMC CmapServer? Think you have found a bug? Let us know!
Forum rules
Before you post a problem or bug, please be sure you have included the version number of IHMC CmapServer, the operating system and version, the amount of RAM, and any other information that allows us to be able to replicate the problem you are having. (i.e. what were you doing when the problem occur? were you running another program (application) by the time you have the problem?)
dgroos
Posts: 128
Joined: Sun May 31, 2009 9:12 pm
Location: Minnesota USA

CmapServer doesn't show up in directory of places

Post by dgroos »

Since moving the CmapServer to a new computer/network location the server hasn't shown up in the list in the 'Shared Cmaps in Places' in the View window. Though one can add it by putting in the ip address. We're running the server on a 2 cpu, dual core xeon processor with 3 gigs of RAM (shared with a plone server on the same machine). This is a much more muscular setup than we had previously where this function worked.

We're using v 4.18, ssl, web server on port 80 (we can view the cmaps via a browser on the web). No outgoing ports are blocked, but I guess one can't ping the server from outside the firewall. There is an inward facing ip (for traffic with in firewall) and an outward ip. Your help would be greatly appreciated!
dgroos
Posts: 128
Joined: Sun May 31, 2009 9:12 pm
Location: Minnesota USA

Re: CmapServer doesn't show up in directory of places

Post by dgroos »

Indeed, I tried to ping the server and got this message back (along with a couple of lines of info):
Communication prohibited by filter
Is this a problem?
Thanks,
David
dgroos
Posts: 128
Joined: Sun May 31, 2009 9:12 pm
Location: Minnesota USA

Re: CmapServer doesn't show up in directory of places

Post by dgroos »

Hi--it's been 3 weeks and I check this forum for a response, daily :-) Any areas in log files or config files I should be examining? Any instruction pages or articles you think I should read or re-re-read? Thanks,
David
rcarvajal
Posts: 80
Joined: Tue Mar 31, 2009 5:52 pm
Location: Pensacola, FL
Contact:

Re: CmapServer doesn't show up in directory of places

Post by rcarvajal »

@dgroos:

It seems that your CmapServer is not able to connect to the Directory of Places (DoP). Log into the server, open a Terminal windows and then type:

telnet dop2.ihmc.us 4747

If you don't get the following message, then you will need to modify the firewall (open port 4747) you have in your network and server.

Trying 72.236.182.160...
Connected to dop2.ihmc.us.
Escape character is '^]'.
Rodrigo Carvajal
dgroos
Posts: 128
Joined: Sun May 31, 2009 9:12 pm
Location: Minnesota USA

Re: CmapServer doesn't show up in directory of places

Post by dgroos »

Thanks for replying.

I tried the telnet and indeed got:
Trying 72.236.182.160...
telnet: Unable to connect to remote host: Connection refused

I e-mailed our district person with the 'telnet test' and the results along with your recommendation. I'll post what he says when he gets back to me.

David
dgroos
Posts: 128
Joined: Sun May 31, 2009 9:12 pm
Location: Minnesota USA

Re: CmapServer doesn't show up in directory of places

Post by dgroos »

On this pagehttp://www.telscenter.org/jira/browse/TCS-92 which looks like a copy of one of your pages, point 8, it says:
If the web server portion is running in port 80, then you don't have to include it in the URL.
That makes sense. Mine is running on this port. However, when I try to go to a concept map I've got on the CmapServer such as this incomplete map: https://plone_cmap.mpls.k12.mn.us/servlet/SBReadResourceServlet?rid=1216314129407_284872188_702&partName=htmltext , it won't load UNTIL I add the port number (:80) to the address! Try it! This is weird. Might this be a related or is it separate issue?

David
dgroos
Posts: 128
Joined: Sun May 31, 2009 9:12 pm
Location: Minnesota USA

Re: CmapServer doesn't show up in directory of places

Post by dgroos »

OK, I've checked out a couple of things and our senior internet engineer got back to me:

1. I checked if port 4747 was open on the server running cmapserver and it didn't say it was listening: $ netstat -nat showed that the server is listening on ports 4447, 80, and 22. While it didn't mention port 4747 it wouldn't be 'open' unless there was a service running on it--ubuntu doesn't default to blocking ports, it just doesn't open them unless there's a service on them. Correct?

2. Our district guy said this:
David I get the same thing at home and at MPS. I am not sure it is an issue for us. Is there something they have to enable from us to them? We allow most ports accessible going outbound, I believe 4747 should work.
Yes, that seems strange. I tried to telnet from my house to the dop2.ihmc.us 4747, too, and got the same,
$ telnet dop2.ihmc.us 4747
Trying 72.236.182.160...
telnet: connect to address 72.236.182.160: Connection refused
telnet: Unable to connect to remote host
I re-examined the 'installCmapServer.properties' file and didn't see anything that might have been missing. This remains a mystery. Thanks for your continued cognition,

David
rcarvajal
Posts: 80
Joined: Tue Mar 31, 2009 5:52 pm
Location: Pensacola, FL
Contact:

Re: CmapServer doesn't show up in directory of places

Post by rcarvajal »

@dgross:
dgroos wrote:On this pagehttp://www.telscenter.org/jira/browse/TCS-92 which looks like a copy of one of your pages, point 8, it says:
If the web server portion is running in port 80, then you don't have to include it in the URL.
That makes sense. Mine is running on this port. However, when I try to go to a concept map I've got on the CmapServer such as this incomplete map: https://plone_cmap.mpls.k12.mn.us/servlet/SBReadResourceServlet?rid=1216314129407_284872188_702&partName=htmltext , it won't load UNTIL I add the port number (:80) to the address! Try it! This is weird. Might this be a related or is it separate issue?
David
Port 80 is the default one for http, but you are using https (https Secure). From Wikipedia: "As opposed to HTTP URLs which begin with "http://" and use port 80 by default, HTTPS URLs begin with "https://" and use port 443 by default."

Because you are not running HTTPS using the default port (443), you need to specify the port number as part of the web address.
Rodrigo Carvajal
rcarvajal
Posts: 80
Joined: Tue Mar 31, 2009 5:52 pm
Location: Pensacola, FL
Contact:

Re: CmapServer doesn't show up in directory of places

Post by rcarvajal »

@dgross:
dgroos wrote:OK, I've checked out a couple of things and our senior internet engineer got back to me:
1. I checked if port 4747 was open on the server running cmapserver and it didn't say it was listening: $ netstat -nat showed that the server is listening on ports 4447, 80, and 22. While it didn't mention port 4747 it wouldn't be 'open' unless there was a service running on it--ubuntu doesn't default to blocking ports, it just doesn't open them unless there's a service on them. Correct?
I re-examined the 'installCmapServer.properties' file and didn't see anything that might have been missing. This remains a mystery.
The Service Location Protocol Configuration File for the CmapServer is called slp.conf. It should be located under "IHMC_CmapServer/bin". Please verify the value of this variables on that file:

net.slp.DAAddresses=dop2.ihmc.us:4748:80,dop.ihmc.us:80:8001
net.slp.useScopes=cmapdp,public
net.slp.registerWithDa=true
net.slp.answerBroadcast=true
net.slp.port=4747

The slp.conf contains the description for each of them in case you need additional information.
Rodrigo Carvajal
dgroos
Posts: 128
Joined: Sun May 31, 2009 9:12 pm
Location: Minnesota USA

Re: CmapServer doesn't show up in directory of places

Post by dgroos »

Thanks--that's quite logical--so I will just change the port number of the webserver from 80 to 443. I'll do that in just a bit...

David
Post Reply