can't connect to rms

klangschlaufe posted 1st of May 2008 in Community Voice. 28 comments.
hi
i've installes RMS 3.5 for linux with jre-1.6.0_06-fcs. but when i configure ray widgets to use my own rms i got a "can't connect to rms". i had rms 3.0 sucessfully running on the same machine with no problems. i've configured all red5-web.properties and the access.dat as i did in rms 3.0. i got no error message when i start rms 3.5. needed firewall ports are open. "netstat -an |grep <my rms port> " shows a short "established" but then quickly closes the connection. using ethereal i see that data is sent between the client and the rms. when i try to use chat in dolphin i got only "connecting", that's it.
i'm tracing and debugging since 2 days now, but i can't find out what's wrong.

i'm using:
Dolphin 6.1
Ray free 3.5
RMS 3.5
JRE 1.6 update 6
Linux 2.6.23 x86_64

thanks
 
Comments
·Oldest
·Top
Please login to post a comment.
yotis
Hi!

Yesterday I installed also the Dolphin 6.1 pack with Ray free 3.5, and I'm not able to connect to rms.boonex.com.Now seeing your problem I'm thinking maybe there is no problem with the server but with the Ray free 3.5 source code, or something like this.
Can you connect to rms.boonex.com?
Or give me your rms link to try it from my site.

Br,
Calin
klangschlaufe
i can't connect to rms.boonex.com either. i think it's rms 3.5 having a problem cause already in the ray base settings i get a "can't connect to rms". i can disable use of rms in the ray basic settings, but then i got no video chat, only text chat.
yotis
How about the rest of the ray modules? I'm having problems with Video Player because it's saying that "this widgets is not registered", but it accepted my key.
Maybe I will try to install RMS on a different machine and use it remote.
It is hard to install RMS?
Thanks!

Br,
Calin
klangschlaufe
yeah, i also got the error "this widget is not registered" even i created new license code and on my licenses it shows "registered" to my development host.

installing rms was easy. you need to download jre if you wanna run it on linux. then you got to add your domain name to access.dat and edit the red5.web.properties in webapps/chat/WEB-INF/
webapps/im/WEB-INF/
webapps/board/WEB-INF/
webapps/video/WEB-INF/
to your rms ip adress.

then run ray.sh to see what rms does see more or run_daemon to run rms in the background.

at least rms 3.0 i've had running like that

cheers
Splinter
I had exactly the same problem and a nice lady here told me that I need to recreate my license keys for Ray 3.5
It works flawlessly since then with RMS.boonex.com

Will now install RMS 3.5 and try that!
klangschlaufe
yeah i think i have seen your earlier post....i already tried with new license keys...still won't connect.
LeonidS
Hello!

Check ports which you use now - by default in free version we use 10000 and 10080, for own RMS you should use 1935 and 5080.

If it will not help then plz send me letter with
1) FTP, CPanel, root SSH of your site
2) List of Ray licenses.

Regards
yotis
LeonidS, when I start my own RMS it is opening 2 ports: 1935 and 9999.I believe that this ports can be modified from some config file, but which one?
Why is is starting 9999 instead of 5080, this I do not know.

Thank you
klangschlaufe
thanks LeonidS for the hints.
i got ports 1935 and 5080 configured. i also found port 9999 to be opened.

@yotis: port 9999 is configured in:
/conf/red5-common.xml
/conf/war/red5-common.xml
/conf/jboss/red5-common.xml

the thing with the root access to my site wont be that easy :-/

i netstated for port 10000 and 10080, both not in listen mode. and actually i configured my rms to be on 1935 and 5080 in red5.properties.

i completely disabled the firewall and i tcpdumped the traffic. what see more i got is a successful tcp handshake from the chat client to rms port 1935. i can even telnet to port 1935 and the connection successfully establishes. but if i try to connect with ray chat client, i got a bunch of "dieing" tcp sessions from the client to rms port 1935:

[root@wall RMS_3.5.0000]# netstat -an |grep 1935

tcp 0 0 0.0.0.0:1935 0.0.0.0:* LISTEN

tcp 0 0 84-73-33-211.dclie:1935 84.73.209.157:49541 TIME_WAIT

tcp 0 0 84-73-33-211.dclie:1935 84.73.209.157:49533 TIME_WAIT

tcp 0 0 84-73-33-211.dclie:1935 84.73.209.157:49543 TIME_WAIT

tcp 0 0 84-73-33-211.dclie:1935 rms.datecity.ch:49545 TIME_WAIT

tcp 0 0 84-73-33-211.dclie:1935 rms.datecity.ch:49521 TIME_WAIT

tcp 0 0 84-73-33-211.dclie:1935 rms.datecity.ch:49523 TIME_WAIT

tcp 0 0 84-73-33-211.dclie:1935 rms.datecity.ch:49544 TIME_WAIT

tcp 0 0 84.73.33.211:1935 rms.datecity.ch:49530 TIME_WAIT

tcp 0 0 84-73-33-211.dclie:1935 rms.datecity.ch:49534 TIME_WAIT

tcp 0 0 84-73-33-211.dclie:1935 rms.datecity.ch:49551 TIME_WAIT

tcp 0 0 84-73-33-211.dclie:1935 rms.datecity.ch:49535 TIME_WAIT

tcp 0 0 84-73-33-211.dclie:1935 rms.datecity.ch:49536 TIME_WAIT

tcp 0 0 84-73-33-211.dclie:1935 rms.datecity.ch:49547 TIME_WAIT

it looks to me like the client tries a few times to establish a tcp connection to the server, get no good response from the server (in application layer) and tries to open an new connection. that's how it looks like to me. and as long as ray chat says "connecting" i keep get the time_wait status...of course always from different client source ports.

cheers
klangschlaufe
i did an strace on

/usr/java/jre1.6.0_06/bin/java -Djava.security.manager -Djava.security.policy=conf/red5.policy -cp red5.jar:conf: org.red5.server.Standalone

and i found a lot of:

28676 futex(0x2aaad4914988, FUTEX_WAKE, 1) = 0
28676 clock_gettime(CLOCK_MONOTONIC, {973105, 687668663}) = 0
28676 clock_gettime(CLOCK_MONOTONIC, {973105, 687727770}) = 0
28676 clock_gettime(CLOCK_MONOTONIC, {973105, 687777928}) = 0
28676 clock_gettime(CLOCK_REALTIME, {1209771125, 310684373}) = 0
28676 see more futex(0x2aaad4f01cd4, FUTEX_WAIT, 1, {0, 9975627}) = -1 ETIMEDOUT (Connection timed out)

uhm...interesting 3 clock_gettimes and then a ETIMEOUT...
klangschlaufe
ok
i restored my old dolphin 6.0.0005-free, rms 3.1 and jre 1.6u5 my old setup which worked. with ray chat 3.5 i got the same effect with 6.5 with rms 3.5 with jre 1.6u6. rms doesn't accept connections anymore.

the only thing i changed is the license code...i generated new licenses.

is it possible that ray chat doesn't like the license string? i generated several times new licenses and re-registered...but it still doesn't work.

i got the impression that ray chat is rejected from connecting see more to my rms because of some license issue.
zuzonline
I have the same problem where it wont connect to rms, I dont get the cannot connect to rms when i save the settings at the base.
davidetome
klangschlaufe I have the same problem, did you solve it?
Can you help me?

Thanks
Davide
volupp
I got the same problem. Someone solve this???

Thanks
Volupp
tarabas
I have the same problem and I put my lamp server in DMZ too for being sure that all ports all opened.
bisexroma
same problem... ray chat can't connect!!! some suggestions? pls :(
bisexroma
same problem... ray chat can't connect!!! any suggestions? pls :(
roberval
same problem... same problem... does anybody here knows one who got it work?
MissAlesha
Same Problem. This is sick
analogknight
ray 3.5 seems to only work if you pay for hosting or pay for support
there goes it.. just have to pay ;)
mytube
Found this thread, same problem. Installed latest RMS on a Windows XP box. Allowed my router to see the machine RMS is installed on (Windows Xp SP2). Using http://www.canyouseeme.org, when the RMS in not running I get a connection time out. If I start my RMS server and run the check, it can see that the port is now being listened to. So far so good. However when I use the RMS test tool http://www.boonex.com/rms.html I get a connection failed. When trying in base setting I also get "can't see more connect".

There must be something fundamental and simple stopping this from work everyone so I hope you all haven't given up cause I need to get this working and can't find anyone providing cheap and reliable RMS hosting services.
Dawitt
they vant you to pay..... mind control
dakasadaka
Same here.....

I followed the instruction of rayServerInstall and when I fire up the ray.sh

and go to test with http://www.boonex.com/rms.html my ray server respond and works fine.



Then How to cancel ray.sh? I just exit shell and relogin again.

After this need to rus ray in background wit command: ./run_daemon.sh
But when I check with command: ps ax | grep red5
I get: 22308 pts/0 S+ 0:00 grep red5

and nothing like they say in tutorial: 18247 pts/0 Sl+ 0:55 /opt/red5new_555/jre1.x/bin/java see more -Djava.security.manager -Djava.security.policy=conf/red5.policy -cp red5.jar:conf:. org.red5.server.Standalone



And now if I test with http://www.boonex.com/rms.html connection is faild...

And ocourse my widgeds doesn't work.



On the previeus server I had the same problem, but hired the dolphingeeks.com and they said we installed the widgeds again and it works. I asked them if the problem was at rms they said no! But after few recordings with video recorder, video recorder didn't work again... So I would like to learn what's really the problem.



So what can it be???



Tnx

Davor
alienbee
cannot connect here either
WTf
guofeng
same problem,but i have solve it.
Please download Red5 sever from http://osflash.org/red5,then install it.
After intallation,copy all folders under webapps folder to the same folder on your RMS server.Then test it.
Now i can use my video chat,but still one question,my video recorder still can't work .Someone will help me?
SCEthridge
Same problem. Should not Boonex offer a solution? Especially for those who have paid?
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
PET:0.22005891799927