Login  Register

DNS problematic

Posted by GLASS mailing list on Apr 24, 2020; 2:57pm
URL: https://forum.world.st/DNS-problematic-tp5115510.html

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 ?


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


_______________________________________________
Glass mailing list
[hidden email]
https://lists.gemtalksystems.com/mailman/listinfo/glass