Hi
students have a problem with the following in Pharo 50 (we could not upgrade) (ZnEasy getPng: 'http://pharo.org/web/files/pharo.png') asMorph openInWindow ConnectionClosed : connection closed while waiting for data And well this is super annoying. Stef |
> On 17 Oct 2017, at 22:29, Stephane Ducasse <[hidden email]> wrote: > > Hi > > students have a problem with the following in Pharo 50 (we could not upgrade) > > (ZnEasy getPng: 'http://pharo.org/web/files/pharo.png') asMorph openInWindow > > > ConnectionClosed : connection closed while waiting for data > > And well this is super annoying. > > Stef This is fixed in later versions. You can try the following: (ZnEasy getPng: 'http://pharo.org/files/pharo.png') asMorph openInWindow. The reason that last one works is that http://pharo.org/files/pharo.png is an http url that resolves directly, while http://pharo.org/web/files/pharo.png redirects to an https equivalent which can only be read with #serverName support. For this, you need not only a more recent version of Zinc, but also a newer VM with a more recent SSL plugin. Sven |
Tx!
I should fix it but probably the videos are still using the old one. On Tue, Oct 17, 2017 at 10:36 PM, Sven Van Caekenberghe <[hidden email]> wrote: > > >> On 17 Oct 2017, at 22:29, Stephane Ducasse <[hidden email]> wrote: >> >> Hi >> >> students have a problem with the following in Pharo 50 (we could not upgrade) >> >> (ZnEasy getPng: 'http://pharo.org/web/files/pharo.png') asMorph openInWindow >> >> >> ConnectionClosed : connection closed while waiting for data >> >> And well this is super annoying. >> >> Stef > > This is fixed in later versions. You can try the following: > > (ZnEasy getPng: 'http://pharo.org/files/pharo.png') asMorph openInWindow. > > The reason that last one works is that http://pharo.org/files/pharo.png is an http url that resolves directly, while http://pharo.org/web/files/pharo.png redirects to an https equivalent which can only be read with #serverName support. For this, you need not only a more recent version of Zinc, but also a newer VM with a more recent SSL plugin. > > Sven |
Was this fixed by replacing the redirect with an actual file?
I went to look at http://pharo.org/web/files/ using Chrome "F12" Develop Tools to view the redirect, and IIUC I directly got the PNG itself. Just checking I'm interpreting that correctly. cheers -ben On Wed, Oct 18, 2017 at 2:33 PM, Stephane Ducasse <[hidden email]> wrote: Tx! |
Apparently this is what the students themselves did.
On Thu, Oct 19, 2017 at 11:40 PM, Ben Coman <[hidden email]> wrote: > Was this fixed by replacing the redirect with an actual file? > I went to look at http://pharo.org/web/files/pharo.png > using Chrome "F12" Develop Tools to view the redirect, > and IIUC I directly got the PNG itself. Just checking I'm interpreting that > correctly. > > cheers -ben > > On Wed, Oct 18, 2017 at 2:33 PM, Stephane Ducasse <[hidden email]> > wrote: >> >> Tx! >> I should fix it but probably the videos are still using the old one. >> >> On Tue, Oct 17, 2017 at 10:36 PM, Sven Van Caekenberghe <[hidden email]> >> wrote: >> > >> > >> >> On 17 Oct 2017, at 22:29, Stephane Ducasse <[hidden email]> >> >> wrote: >> >> >> >> Hi >> >> >> >> students have a problem with the following in Pharo 50 (we could not >> >> upgrade) >> >> >> >> (ZnEasy getPng: 'http://pharo.org/web/files/pharo.png') asMorph >> >> openInWindow >> >> >> >> >> >> ConnectionClosed : connection closed while waiting for data >> >> >> >> And well this is super annoying. >> >> >> >> Stef >> > >> > This is fixed in later versions. You can try the following: >> > >> > (ZnEasy getPng: 'http://pharo.org/files/pharo.png') asMorph >> > openInWindow. >> > >> > The reason that last one works is that http://pharo.org/files/pharo.png >> > is an http url that resolves directly, while >> > http://pharo.org/web/files/pharo.png redirects to an https equivalent which >> > can only be read with #serverName support. For this, you need not only a >> > more recent version of Zinc, but also a newer VM with a more recent SSL >> > plugin. >> > >> > Sven >> > |
Free forum by Nabble | Edit this page |