[squeak-dev] Webclient + localhost error
Sean P. DeNigris
sean at clipperadams.com
Fri Oct 29 04:34:11 UTC 2010
When using WebClient, "WebClient httpGet: 'http://google.com'" succeeded, but
"WebClient httpGet: 'http://localhost:8090'" reported "ConnectionTimedOut:
Cannot connect to 127.0.0.1:8090"
The address looked fine from Safari. What gives?
Thanks.
Sean
Log:
ConnectionTimedOut: Cannot connect to 127.0.0.1:8090
28 October 2010 6:23:58.673 pm
VM: Mac OS - Smalltalk
Image: Squeak4.1 [latest update: #9957]
SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir /Users/sean/Squeak/Main Working Images/Squeak4.1
Trusted Dir /foobar/tooBar/forSqueak/bogus
Untrusted Dir /Users/sean/Library/Preferences/Squeak/Internet/My Squeak
[] in Socket>>connectTo:port:waitForConnectionFor:
Receiver: a Socket[unconnected]
Arguments and temporary variables:
<<error during printing>
Receiver's instance variables:
semaphore: a Semaphore()
socketHandle: #[52 74 202 76 0 0 0 0 64 114 35 0]
readSemaphore: a Semaphore()
writeSemaphore: a Semaphore()
primitiveOnlySupportsOneSemaphore: false
Socket>>waitForConnectionFor:ifTimedOut:
Receiver: a Socket[unconnected]
Arguments and temporary variables:
timeout: 45
timeoutBlock: [closure] in Socket>>connectTo:port:waitForConnectionFor:
status: 0
deadline: 672266
Receiver's instance variables:
semaphore: a Semaphore()
socketHandle: #[52 74 202 76 0 0 0 0 64 114 35 0]
readSemaphore: a Semaphore()
writeSemaphore: a Semaphore()
primitiveOnlySupportsOneSemaphore: false
Socket>>connectTo:port:waitForConnectionFor:
Receiver: a Socket[unconnected]
Arguments and temporary variables:
hostAddress: #[127 0 0 1]
port: 8090
timeout: 45
Receiver's instance variables:
semaphore: a Semaphore()
socketHandle: #[52 74 202 76 0 0 0 0 64 114 35 0]
readSemaphore: a Semaphore()
writeSemaphore: a Semaphore()
primitiveOnlySupportsOneSemaphore: false
Socket>>connectTo:port:
Receiver: a Socket[unconnected]
Arguments and temporary variables:
hostAddress: #[127 0 0 1]
port: 8090
Receiver's instance variables:
semaphore: a Semaphore()
socketHandle: #[52 74 202 76 0 0 0 0 64 114 35 0]
readSemaphore: a Semaphore()
writeSemaphore: a Semaphore()
primitiveOnlySupportsOneSemaphore: false
--- The full stack ---
[] in Socket>>connectTo:port:waitForConnectionFor:
Socket>>waitForConnectionFor:ifTimedOut:
Socket>>connectTo:port:waitForConnectionFor:
Socket>>connectTo:port:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SocketStream class>>openConnectionToHost:port:
SocketStream class>>openConnectionToHostNamed:port:
WebClient>>connect
WebClient>>sendRequest:contentBlock:
WebClient>>sendRequest:content:size:
WebClient>>sendRequest:
WebClient>>httpGet:do:
WebClient>>httpGet:
WebClient class>>httpGet:
UndefinedObject>>DoIt
Compiler>>evaluate:in:to:notifying:ifFail:logged:
[] in SmalltalkEditor(TextEditor)>>evaluateSelection
BlockClosure>>on:do:
SmalltalkEditor(TextEditor)>>evaluateSelection
SmalltalkEditor(TextEditor)>>inspectIt
SmalltalkEditor(TextEditor)>>inspectIt:
SmalltalkEditor(TextEditor)>>dispatchOnCharacter:with:
SmalltalkEditor(TextEditor)>>readKeyboard
[] in TextMorphForEditView(TextMorph)>>keyStroke:
TextMorphForEditView(TextMorph)>>handleInteraction:fromEvent:
TextMorphForEditView>>handleInteraction:fromEvent:
TextMorphForEditView(TextMorph)>>keyStroke:
TextMorphForEditView>>keyStroke:
TextMorphForEditView(TextMorph)>>handleKeystroke:
KeyboardEvent>>sentTo:
TextMorphForEditView(Morph)>>handleEvent:
TextMorphForEditView(Morph)>>handleFocusEvent:
[] in HandMorph>>sendFocusEvent:to:clear:
[] in PasteUpMorph>>becomeActiveDuring:
BlockClosure>>on:do:
PasteUpMorph>>becomeActiveDuring:
HandMorph>>sendFocusEvent:to:clear:
HandMorph>>sendEvent:focus:clear:
HandMorph>>sendKeyboardEvent:
HandMorph>>handleEvent:
HandMorph>>processEvents
[] in WorldState>>doOneCycleNowFor:
Array(SequenceableCollection)>>do:
WorldState>>handsDo:
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
PasteUpMorph>>doOneCycle
[] in Project class>>spawnNewProcess
[] in BlockClosure>>newProcess
--
View this message in context: http://forum.world.st/Webclient-localhost-error-tp3018443p3018443.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.
More information about the Squeak-dev
mailing list
|