I intended to send it here (sorry Chris for the double mail)
Sebastian
-----Mensaje original----- De: Sebastian Sastre [mailto:ssastre@seaswork.com] Enviado el: Lunes, 15 de Octubre de 2007 13:03 Para: 'ma.chris.m@gmail.com' Asunto: RE: Unable to connect to Magma server
Ok this happens to me too but I think I have a clue. I was testing locally in a windows system in the same image, then saw the Todd's post about problem on connections. Then tried to put a server in another host and use the windows client. I have the same problem Todd's had: socket timeout.
The server image I was trying to connect was in a copy of the image (+ subdirs) that was previously working in windows in an ubuntu box.
The NetNameResolver localHostAddress in windows gives the lan ip but in the linux it gives 127.0.0.1
I hope this help in diagnosys
Sebastian Sastre PS: I also guarantee in the tests that firewalls are not intruducing noise here
-----Mensaje original----- De: magma-bounces@lists.squeakfoundation.org [mailto:magma-bounces@lists.squeakfoundation.org] En nombre
de Chris
Muller Enviado el: Viernes, 12 de Octubre de 2007 18:36 Para: Todd Blanchard CC: magma@lists.squeakfoundation.org Asunto: Re: Unable to connect to Magma server
Your code looks fine, it should work. You might try print a NetNameResolver localHostAddress in your server image to
see what you
get..
On 10/12/07, Todd Blanchard tblanchard@mac.com wrote:
I'm on Mac OS X - running 2 VM's one for the server, one client.
Server is setup, initialized, seems happy-ish. I'm using
latest dev
image + magma server + BTree.
MagmaRepositoryController create: 'magma' root: BTree new (MagmaServerConsole new open: 'magma') processOn: 1010
Seems fine.
Second image I try:
| mySession | mySession := MagmaSession hostAddress: #(127 0 0 1) asByteArray port: 1010. mySession connectAs: 'magma'. mySession
and I get an error - connection timed out. Is there some
kind of ping
I can send the server via telnet to see if it really is alive?
Magma mailing list Magma@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/magma
Magma mailing list Magma@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/magma
I think I forgot to explicitely tell about the detail that all combinations worked fine if Windows is the OS.
Cheers,
Sebastian Sastre
-----Mensaje original----- De: magma-bounces@lists.squeakfoundation.org [mailto:magma-bounces@lists.squeakfoundation.org] En nombre de Sebastian Sastre Enviado el: Lunes, 15 de Octubre de 2007 13:04 Para: magma@lists.squeakfoundation.org Asunto: RV: Unable to connect to Magma server
I intended to send it here (sorry Chris for the double mail)
Sebastian
-----Mensaje original----- De: Sebastian Sastre [mailto:ssastre@seaswork.com] Enviado
el: Lunes,
15 de Octubre de 2007 13:03 Para: 'ma.chris.m@gmail.com' Asunto: RE: Unable to connect to Magma server
Ok this happens to me too but I think I have a clue. I was testing locally in a windows system in the same
image, then saw
the Todd's post about problem on connections. Then tried to put a server in another host and use the windows client. I have the same problem Todd's had: socket timeout.
The server image I was trying to connect was in a copy of
the image (+
subdirs) that was previously working in windows in an ubuntu box.
The NetNameResolver localHostAddress in windows gives the
lan ip but
in the linux it gives 127.0.0.1
I hope this help in diagnosys
Sebastian Sastre PS: I also guarantee in the tests that firewalls are not
intruducing
noise here
-----Mensaje original----- De: magma-bounces@lists.squeakfoundation.org [mailto:magma-bounces@lists.squeakfoundation.org] En nombre
de Chris
Muller Enviado el: Viernes, 12 de Octubre de 2007 18:36 Para: Todd Blanchard CC: magma@lists.squeakfoundation.org Asunto: Re: Unable to connect to Magma server
Your code looks fine, it should work. You might try print a NetNameResolver localHostAddress in your server image to
see what you
get..
On 10/12/07, Todd Blanchard tblanchard@mac.com wrote:
I'm on Mac OS X - running 2 VM's one for the server, one client.
Server is setup, initialized, seems happy-ish. I'm using
latest dev
image + magma server + BTree.
MagmaRepositoryController create: 'magma' root: BTree new (MagmaServerConsole new open: 'magma') processOn: 1010
Seems fine.
Second image I try:
| mySession | mySession := MagmaSession hostAddress: #(127 0 0 1) asByteArray port: 1010. mySession connectAs: 'magma'. mySession
and I get an error - connection timed out. Is there some
kind of ping
I can send the server via telnet to see if it really is alive?
Magma mailing list Magma@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/magma
Magma mailing list Magma@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/magma
Magma mailing list Magma@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/magma
magma@lists.squeakfoundation.org