[GemStone-Smalltalk] DNS problematic

dario.trussardi65 dario.trussardi65 at gmail.com
Sat Apr 25 02:25:15 PDT 2020


Ciao,

	i have a gemstone 3.4.2 run on Ubuntu system.

	Sometime the internet connection is down or the provider's DNS server don't answer.

	In these cases when i do,  from tode shell,  the command:

		GsSocket getHostAddressByName: 'www.gemtalksystems.com'.

			the tode shell is blocked for 100 seconds.

	After the tode report:

ArgumentError: getaddrinfo failed, EAI error -3, Errore temporaneo nella risoluzione del nome, 
--------------------
1. ArgumentError(AbstractException)>>_signalFromPrimitive: @6 line 15
2. GsSocket class>>_twoArgClassPrim:with:with: @1 line 1
3. GsSocket class>>getHostAddressesByName: @3 line 13
4. GsSocket class>>getHostAddressByName: @3 line 16
5. Executed Code
6. GsNMethod>>_executeInContext: @1 line 1
7. TDStandardEnvironment(TDAbstractEnvironment)>>evaluate:in:literalVars:tempSymbolList: @3 line 6
8. TDTopezServer>>evaluateString:inContext:literalVars:withTempSymbolList: @5 line 5
9. TDTopezServer>>evaluateString:inContext:literalVars: @3 line 3
10. TDWorkspaceClientElementBuilder(TDClientSourceElementBuilder)>>evaluateString:topez: @4 line 3
11. TDWorkspaceClientElementBuilder(TDClientSourceElementBuilder)>>printItMenuAction:selectedText: @4 line 3
12. TDWorkspaceClientElementBuilder(Object)>>perform:with:with: @1 line 1
13. TDWorkspaceClientElementBuilder(TDWindowBuilder)>>handleMenuActions:listElement:actionArg: @13 line 10
14. [] in TDWorkspaceClientElementBuilder(TDClientSourceElementBuilder)>>menuActionBlock @10 line 8
15. TDWorkspaceClientElementBuilder(ExecBlock)>>valueWithArguments: @1 line 1
16. TDWorkspaceClientElementBuilder(ExecBlock)>>value:value:value:value:value: @2 line 11
17. GsNMethod class>>_gsReturnToC @1 line 

I think same problem from relative gem execution.

	How i can manage this problematic ?

	I can define a relative timeout ?

Same problematic into Pharo ( report into Pharo-user mailing list on 10 April ).


Other question:

	when the dns works the system replies a string like:	'::ffff:138.197.233.120'

	how i can, which is the best way, to translate it to Ipv4 ?

Thanks,

	Dario

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gemtalksystems.com/mailman/private/gemstone-smalltalk/attachments/20200425/8465d27a/attachment-0001.htm>


More information about the GemStone-Smalltalk mailing list