[BUG] Cannot connect to 127.0.0.1:45677 Re: [ANN] RMT (Remote Messaging Toolkit)

Lic. Edgar J. De Cleene edgardec2001 at yahoo.com.ar
Fri Apr 2 13:07:12 UTC 2004


Masashi:
I do the following steps.
1) Download a fresh Squeak3.7beta
2) Open package loader
3) load KomServices-1.0.sar from SM
4) load RMT from SM
I having the attached walkback.
I test on Mac OS X 10.2.6 and on Mac OS 9.1 , because I remember some
problem when I try rST and send a fix to Diego.
I start to follow code , just in case I was lucky and found why this happen.

Cheers.
Edgar

-------------- next part --------------
RmtNetworkError: Cannot connect to 127.0.0.1:45677
2 April 2004 9:51:43 am

VM: Mac OS - a SmalltalkImage
Image: Squeak3.7beta [latest update: #5868]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir Macintosh HD:Users:edgar:Public:SqueakDevelop:Squeak3.7a-5657 Ä:Squeak3.7b-5868 Folder
Trusted Dir Macintosh HD:Users:edgar:Public:SqueakDevelop:Squeak3.7a-5657 Ä:Squeak3.7b-5868 Folder
Untrusted Dir foobar:tooBar:forSqueak:bogus

[] in RmtRpcConnector(RmtConnector)>>tryConnect:port:timeout: {[:ex |  RmtNetworkError signal: ex messageText.  ^ false]}
	Arguments and temporary variables: 
		ipAddressOrHost: 	'localhost'
		portNumber: 	45677
		timeoutSecs: 	10
		addr: 	a ByteArray(127 0 0 1)
		ex: 	ConnectionTimedOut: Cannot connect to 127.0.0.1:45677

BlockContext>>valueWithPossibleArgs:
	Receiver: [] in RmtRpcConnector(RmtConnector)>>tryConnect:port:timeout: {[:ex |  RmtNetworkError signal: ex messageText.  ^ false]}...etc...
	Arguments and temporary variables: 
		anArray: 	#(ConnectionTimedOut: Cannot connect to 127.0.0.1:45677)
	Receiver's instance variables: 
		sender: 	BlockContext>>valueWithPossibleArgs:
		pc: 	95
		stackp: 	0
		nargs: 	1
		startpc: 	90
		home: 	RmtRpcConnector(RmtConnector)>>tryConnect:port:timeout:

[] in MethodContext(ContextPart)>>handleSignal: {[(self tempAt: 2)   valueWithPossibleArgs: {exception}]}
	Arguments and temporary variables: 
		exception: 	ConnectionTimedOut: Cannot connect to 127.0.0.1:45677
		val: 	nil

BlockContext>>ensure:
	Receiver: [] in MethodContext(ContextPart)>>handleSignal: {[(self tempAt: 2)   valueWithPossibleArgs: {exception}]}...etc...
	Arguments and temporary variables: 
		aBlock: 	[] in MethodContext(ContextPart)>>handleSignal: {[self tempAt: 3 put: true]}...etc...
		returnValue: 	nil
		b: 	nil
	Receiver's instance variables: 
		sender: 	BlockContext>>ensure:
		pc: 	97
		stackp: 	0
		nargs: 	0
		startpc: 	90
		home: 	MethodContext(ContextPart)>>handleSignal:


--- The full stack ---
[] in RmtRpcConnector(RmtConnector)>>tryConnect:port:timeout: {[:ex |  RmtNetworkError signal: ex messageText.  ^ false]}
BlockContext>>valueWithPossibleArgs:
[] in MethodContext(ContextPart)>>handleSignal: {[(self tempAt: 2)   valueWithPossibleArgs: {exception}]}
BlockContext>>ensure:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MethodContext(ContextPart)>>handleSignal:
ConnectionTimedOut(Exception)>>signal
ConnectionTimedOut(Exception)>>signal:
ConnectionTimedOut class(Exception class)>>signal:
[] in Socket>>connectTo:port:waitForConnectionFor: {[ConnectionTimedOut signal: 'Cannot connect to '    , (NetNameResolver strin...]}
Socket>>waitForConnectionFor:ifTimedOut:
Socket>>connectTo:port:waitForConnectionFor:
[] in RmtRpcConnector(RmtConnector)>>tryConnect:port:timeout: {[addr := ipAddressOrHost isString     ifTrue: [NetNameResolver addressForNam...]}
BlockContext>>on:do:
RmtRpcConnector(RmtConnector)>>tryConnect:port:timeout:
RmtRpcConnector(RmtConnector)>>connect:port:timeout:
RmtRpcConnector class(RmtConnector class)>>connect:port:timeout:
RmtRpcConnector class(RmtConnector class)>>connect:port:
[] in RmtNetworkingTest class>>example1 {[service := RmtTcpService on: 45677.  service start.  client := RmtRpcConnec...]}
BlockContext>>ensure:
RmtNetworkingTest class>>example1
UndefinedObject>>DoIt
Compiler>>evaluate:in:to:notifying:ifFail:logged:
[] in TextMorphEditor(ParagraphEditor)>>evaluateSelection {[rcvr class evaluatorClass new   evaluate: self selection string   in: ctxt ...]}
BlockContext>>on:do:
TextMorphEditor(ParagraphEditor)>>evaluateSelection
[] in PluggableTextMorph>>doIt {[textMorph editor evaluateSelection]}
[] in PluggableTextMorph>>handleEdit: {[result := editBlock value]}
TextMorphForEditView(TextMorph)>>handleEdit:
PluggableTextMorph>>handleEdit:
PluggableTextMorph>>doIt
Workspace(StringHolder)>>perform:orSendTo:
[] in MenuItemMorph>>invokeWithEvent: {[(selArgCount := selector numArgs) = 0   ifTrue: [target perform: selector] ...]}
BlockContext>>ensure:
CursorWithMask(Cursor)>>showWhile:
MenuItemMorph>>invokeWithEvent:
MenuItemMorph>>mouseUp:
MenuItemMorph>>handleMouseUp:
MouseButtonEvent>>sentTo:
MenuItemMorph(Morph)>>handleEvent:
MorphicEventDispatcher>>dispatchDefault:with:
MorphicEventDispatcher>>dispatchEvent:with:
MenuItemMorph(Morph)>>processEvent:using:
MorphicEventDispatcher>>dispatchDefault:with:
MorphicEventDispatcher>>dispatchEvent:with:
MenuMorph(Morph)>>processEvent:using:
...etc...


More information about the Squeak-dev mailing list