[squeak-dev] sqConnectToAddressSize: Address family not supported by protocol

Tobias Pape Das.Linux at gmx.de
Sat Sep 21 21:55:05 UTC 2013


Am 21.09.2013 um 22:04 schrieb Chris Muller <asqueaker at gmail.com>:

> Using curl for http get produces nearly the opposite results as using squeak.
> 
> Connected to GF:
>   curl --ipv6 --get www.yahoo.com
>           ("...a bunch of http...")
> 
> Connected to Surewest:
>    curl --ipv6 --get www.yahoo.com
>           "curl: (7) Failed to connect to 2001:4998:f011:1fe::3000:
> Network is unreachable"
> 


are you positive that IPv6 is enables in your image?

> On 21 September 2013 18:14, Chris Muller <asqueaker at gmail.com> wrote:
>> Name-resolution does not seem to be the issue.  NetNameResolver
>> produces a SocketAddress whose printString pretty much matches what I
>> get using "host" on the linux command-line.
>> 
>> The issue is that Squeak is unable to use its own SocketAddress
>> representation to make the connection.  And it reports this error from
>> the VM:
>> 
>>   sqConnectToAddressSize: Address family not supported by protocol
>> 
>> Does anyone know what that means?
> 
> Well, the error is quite clear, or would be if the error told us which
> "address family" and "protocol" were involved. What does strace tell
> you?
> 

protocol would ipv6 in this case but af might be inet, but should be inet6, iirc.

Best
	-tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20130921/693247a2/signature.pgp


More information about the Squeak-dev mailing list