Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Rugby

 [1/15] from: ammon:rcslv at: 28-Jun-2002 8:34


Hi, One more user attempts to walk into the rugby fold, but gets knowcked down at the door. ;-) I have tried to use pat665's tutorial but I meet the following problem from the "client" machine:
>> do get-rugby-service http://172.30.8.11:8002
** Access Error: Cannot connect to 172.30.8.11 ** Where: open-proto ** Near: open/no-wait/direct dest write-msg msg dest The server happens to be a Windows 2K Advanced Server, and it *IS* at 172.30.8.11 and I can ping it from the client machine. I have tried from both a linux box and a windoze box with the same error from both. My target application is a to have a rugby client running on a linux box access the windoze server previously mentioned. Your help is greatly appreciated!! Ammon

 [2/15] from: rebol665:ifrance at: 28-Jun-2002 22:57


Hi I have re-run my tutorial quickly to ckeck for any mistake. It seems OK and runs fine for me between two Windows 98 machine. I think you have a problem on the server side. It is as if you were not using the port 8002, because I got the same error (almost) when I change 8002 for 8001. - For my tutorial, I have used rugby, version: 4.3.0. Check your version. Inspect the source looking for 8002. - You can try to use another port with something like serve/with tcp://:9005 on the server side and do get-rugby-service http://192.168.1.51:9005 on the client side. - You may try to test the tutorial on the same machine with two rebol console. For that, you can use both your IP address or 127.0.0.1 (which is localhost). HTH Patrick

 [3/15] from: maarten:koopmans:surfnet:nl at: 29-Jun-2002 18:07


Are yo sure the server is running? Is there a firewall between them? Or a proxy? Can you telnet to port 8002 on the remote machine? --Maarten On Fri, 28 Jun 2002, Ammon Johnson wrote:

 [4/15] from: greggirwin:mindspring at: 30-Jun-2002 12:55


Hi Ammon, It's been a while but I think when I had that problem it was because the port wasn't open on the router. You might also see if using serve/with on the server side helps. --Gregg

 [5/15] from: ammon:rcslv at: 1-Jul-2002 8:16


Hi, I have tried the /with refinement, only to recieve the error message that it can't open a port on the IP Addy of the current machine. ;-) Oh, and once I attempt to execute serve/with then I get an error when I try to run SERVE with the /with refinement, "Access Error: Port none not open" :-) And yes I can telnet to the machine. Thanks!! Ammon On Sunday 30 June 2002 06:55 pm, you wrote:

 [6/15] from: ammon:rcslv at: 1-Jul-2002 7:15


Hi, Doesn't work on the same machine with port 8002, looking at the source I thought that I saw something about 8001 so I tried that one, but got a network timeout. ;-( (I just tried "? serve" at the console to discover that it is in fact using 8001, so why the timeout?) I am using rugby4 from the script library. Where do I go to get the latest and greatest? Thanks!! Ammon On Friday 28 June 2002 08:57 pm, you wrote:

 [7/15] from: ammon:rcslv at: 1-Jul-2002 5:43


Hi, So Maarten, does it in fact use 8002? Here are my results running on the same linux box that is wide open, you couldn't have it wider...
>> do get-rugby-service http://127.0.0.1:8002
connecting to: 127.0.0.1 ** Access Error: Cannot connect to 127.0.0.1 ** Where: open-proto ** Near: open/no-wait/direct dest write-msg msg dest
>> do get-rugby-service http://127.0.0.1:8001
connecting to: 127.0.0.1 ** Access Error: Network timeout ** Where: continue-post ** Near: open/no-wait/direct dest write-msg msg dest So what is happening? The response on 8002 is instant, and as you can tell 8001 takes a while to time out. Thanks!! Ammon A short time ago, Maarten Koopmans, sent an email stating:

 [8/15] from: rebol665:ifrance at: 2-Jul-2002 13:00


Hi Ammon It seems indeed that your rugby is a bit old. You can find rugby at http://www.rebolforces.com/~erebol/ Patrick

 [9/15] from: maarten:koopmans:surfnet:nl at: 2-Jul-2002 11:43


Hi Ammon, Get the latest on http://www.rebolforces.com/~erebol or http://www.vrijheid.net It is 8002. --Maarten Ammon Johnson wrote:
> Hi, > So Maarten, does it in fact use 8002? Here are my results running on the
<<quoted lines omitted: 57>>
>>>subject, without the quotes. >>>
-- Maarten Koopmans Innovation manager tel: +31 30 2 305 324 Surfnet BV fax: +31 30 2 305 329 P.O.Box 19035 email: [maarten--koopmans--surfnet--nl] NL-3501 DA Utrecht http://www.surfnet.nl The netherlands

 [10/15] from: ammon:rcslv at: 1-Jul-2002 22:10


Hi, Well, what do ya know? I get the latest version, and it is not only easy to install, but works flawlessly!! (so far) Thanks!! Ammon A short time ago, Maarten Koopmans, sent an email stating:

 [11/15] from: ammon:rcslv at: 1-Jul-2002 22:50


Hi, I think that I spoke a little too soon. ;-( I failed to notice one slight detail, as the following cut'n'paste from the console will reveal it attempts to connect to 127.0.0.1 to execute the command, which is fine if the I am actually trying to use the local machine, but it really doesn't serve much of a purpose if i want to do it accross a network...
>> do %/usr/rugby/rugby.r
Script: "Rugby" (1-Jul-2002/22:35:56-7:00) HTTPR protocol loaded
>> do get-rugby-service http://172.30.8.12:8002
connecting to: 172.30.8.12
>> triple 3
connecting to: 127.0.0.1 == 9 Hmm... What could be the trouble, let's see, the docs say something about using the /with refinement to use something other than local host, let's see...
>> serve/with [triple] http://172.30.8.12:8002
** Access Error: Network timeout ** Where: continue-post ** Near: open/no-wait dest Network Timeout, and I am trying to start a server? Maybe I used the wrong syntax, let's try something closer to what the docs suggest:
>> serve/with [triple] http://:8001
** Access Error: Cannot connect to mail.ucglink.net ** Where: open-proto ** Near: open/no-wait dest What the heck does it care about my mail server for?
>> serve [triple]
** Access Error: Error opening socket listen port ** Where: init-server-port ** Near: open/no-wait dest Wait a minute! Now it won't even serve on the the local host?!? I think I will sit back and relax while the great minds explain! ;-) Thanks!! Ammon A short time ago, Maarten Koopmans, sent an email stating:

 [12/15] from: maarten:koopmans:surfnet:nl at: 2-Jul-2002 23:02


Yes, but... this is a network problem. The server runs and the fact that you cannot reach is it may be due to proxies, routers, firewalls whatever. try something like this: rexec/with [ function-call arguments ] tcp://ip:port if that does not work it probably is a network config thing. rexec is a lowlevel rugby call that directly calls and only fails when the network fails (due to permissions, firewalls whatever). note that argumets must be values, so the block must contain values or be reduced like: rexec/with reduce [ 'function-call arguments] tcp://ip-address:port HTH, --Maarten On Mon, 1 Jul 2002, Ammon Johnson wrote:

 [13/15] from: ammon:rcslv at: 2-Jul-2002 4:46


Hi, It works...
>> rexec/with [triple 3] http://172.30.8.13:8002
connecting to: 172.30.8.13 == 9 Thanks!! Ammon A short time ago, Maarten Koopmans, sent an email stating:

 [14/15] from: maarten:koopmans:surfnet:nl at: 3-Jul-2002 11:05


Now try this on the server: configure-rugby [ set ip address for stubs to 172.30.8.2002 ] serve [ functions here] If you can: do get-rugby-service ... the stubs will have the correct ip-address internally. This is needed when a machine has multiple netwrok interfaces (for example in a demilitarized zone) so that the automatically generated code connects back to the "right" network address. That way you don't have to use rexec but can REBOL locally, which is very nice. HTH, Maarten Ammon Johnson wrote:
> Hi, > It works...
<<quoted lines omitted: 180>>
>>>subject, without the quotes. >>>
-- Maarten Koopmans Innovation manager tel: +31 30 2 305 324 Surfnet BV fax: +31 30 2 305 329 P.O.Box 19035 email: [maarten--koopmans--surfnet--nl] NL-3501 DA Utrecht http://www.surfnet.nl The netherlands

 [15/15] from: ammon:rcslv at: 2-Jul-2002 20:03


Hi, How odd... I thought that I tried that. Anyhow, it should be working like a charm now... ;-) Thanks for being patient with me! Enjoy!! Ammon A short time ago, Maarten Koopmans, sent an email stating:

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted