secure sockets https in Zinc

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

secure sockets https in Zinc

Cameron Sanders
In the method...

ZnNetworkingUtils >> streamClassForScheme: scheme
scheme = #http ifTrue: [ 
^ self socketStreamClass ].
scheme = #https ifTrue: [ 
^ self secureSocketStreamClass ifNil: [
self error: 'No secure socket stream class set or available' ] ].
(ZnUnknownScheme scheme: scheme) signal


I am getting the error indicating the lack fo secureSocketStreamClass. The initialize and lazy-initialization try to use ZdcSecureSocketStream, but that is not found. 

I am using Pharo 1.4 (downloaded & configured last summer) with Pier3 loaded, along with Zinc-HTTP (SvenVanCaekenberghe.280), Zinc-Path-HTTPSocket (StephaneDucasse.2) and Zinc-Seaside (SvenVanCaekenberghe.22). I see numerous updates to those and various other new packages. I believe what I have was pulled in by the following last summer:

Gofer new
squeaksource: 'MetacelloRepository';
package: 'ConfigurationOfPier3';
load.
(Smalltalk at: #ConfigurationOfPier3) load.

Gofer it
squeaksource: 'MetacelloRepository';
package: 'ConfigurationOfPier3AddOns';
load.
(Smalltalk at: #ConfigurationOfPier3AddOns) load.

-
What is the recommended update approach for me, by those in the know?

Thanks in advance,
Cam

Reply | Threaded
Open this post in threaded view
|

Re: secure sockets https in Zinc

Sven Van Caekenberghe-2
Hi Cameron,

The main websites explaining things are

        http://zn.stfx.eu

and

        http://zdc.stfx.eu

Please have look there, not forgetting the papers.

If you have any more questions after that, please don't hesitate to ask them.

Basically, you have to install Zodiac and a plugin to your VM.

Regards,

Sven

PS: In Pharo 2.0 both Zinc and Zodiac are installed and fully operational by default.

On 03 Nov 2012, at 18:07, Cameron Sanders <[hidden email]> wrote:

> In the method...
>
> ZnNetworkingUtils >> streamClassForScheme: scheme
> scheme = #http ifTrue: [
> ^ self socketStreamClass ].
> scheme = #https ifTrue: [
> ^ self secureSocketStreamClass ifNil: [
> self error: 'No secure socket stream class set or available' ] ].
> (ZnUnknownScheme scheme: scheme) signal
>
>
> I am getting the error indicating the lack fo secureSocketStreamClass. The initialize and lazy-initialization try to use ZdcSecureSocketStream, but that is not found.
>
> I am using Pharo 1.4 (downloaded & configured last summer) with Pier3 loaded, along with Zinc-HTTP (SvenVanCaekenberghe.280), Zinc-Path-HTTPSocket (StephaneDucasse.2) and Zinc-Seaside (SvenVanCaekenberghe.22). I see numerous updates to those and various other new packages. I believe what I have was pulled in by the following last summer:
>
> Gofer new
> squeaksource: 'MetacelloRepository';
> package: 'ConfigurationOfPier3';
> load.
> (Smalltalk at: #ConfigurationOfPier3) load.
>
> Gofer it
> squeaksource: 'MetacelloRepository';
> package: 'ConfigurationOfPier3AddOns';
> load.
> (Smalltalk at: #ConfigurationOfPier3AddOns) load.
>
> -
> What is the recommended update approach for me, by those in the know?
>
> Thanks in advance,
> Cam

--
Sven Van Caekenberghe
http://stfx.eu
Smalltalk is the Red Pill




Reply | Threaded
Open this post in threaded view
|

Re: secure sockets https in Zinc

Cameron Sanders
Great, Thanks Sven!

-Cam

On Sat, Nov 3, 2012 at 1:39 PM, Sven Van Caekenberghe <[hidden email]> wrote:
Hi Cameron,

The main websites explaining things are

        http://zn.stfx.eu

and

        http://zdc.stfx.eu

Please have look there, not forgetting the papers.

If you have any more questions after that, please don't hesitate to ask them.

Basically, you have to install Zodiac and a plugin to your VM.

Regards,

Sven

PS: In Pharo 2.0 both Zinc and Zodiac are installed and fully operational by default.

On 03 Nov 2012, at 18:07, Cameron Sanders <[hidden email]> wrote:

> In the method...
>
> ZnNetworkingUtils >> streamClassForScheme: scheme
>       scheme = #http ifTrue: [
>               ^ self socketStreamClass ].
>       scheme = #https ifTrue: [
>               ^ self secureSocketStreamClass ifNil: [
>                       self error: 'No secure socket stream class set or available' ] ].
>       (ZnUnknownScheme scheme: scheme) signal
>
>
> I am getting the error indicating the lack fo secureSocketStreamClass. The initialize and lazy-initialization try to use ZdcSecureSocketStream, but that is not found.
>
> I am using Pharo 1.4 (downloaded & configured last summer) with Pier3 loaded, along with Zinc-HTTP (SvenVanCaekenberghe.280), Zinc-Path-HTTPSocket (StephaneDucasse.2) and Zinc-Seaside (SvenVanCaekenberghe.22). I see numerous updates to those and various other new packages. I believe what I have was pulled in by the following last summer:
>
> Gofer new
>       squeaksource: 'MetacelloRepository';
>       package: 'ConfigurationOfPier3';
>       load.
> (Smalltalk at: #ConfigurationOfPier3) load.
>
> Gofer it
>       squeaksource: 'MetacelloRepository';
>       package: 'ConfigurationOfPier3AddOns';
>       load.
> (Smalltalk at: #ConfigurationOfPier3AddOns) load.
>
> -
> What is the recommended update approach for me, by those in the know?
>
> Thanks in advance,
> Cam

--
Sven Van Caekenberghe
http://stfx.eu
Smalltalk is the Red Pill