[plt-dev] Re: [plt-scheme] Planet HTTP 403 errors

From: John Clements (clements at brinckerhoff.org)
Date: Mon Nov 23 19:31:23 EST 2009

On Nov 23, 2009, at 3:54 AM, Robby Findler wrote:

> [ moving to plt-dev ]
> Anyone know of any security features in mac os x (or in his
> router..!?) that might be defeating this?

Ooh... vague bell ringing.  I've reported before on a bug that can  
occur when drs is downloaded using a browser, but then run *only* from  
the command line.  Try starting DrScheme by double-clicking on the  
icon, and see whether that signals an interesting error. There's a  
funny check that OS X applies to applications downloaded from the  
internet, and running these applications from the command-line  
sidesteps the "are you sure you want to run this application" warning,  
and it's concievable to me that such applications might not be allowed  
to make telnet connections.

This is all total supposition.  I think that to test it I would  
download a fresh version of DrS, start it from the command-line, and  
see whether auto-planet-downloading works.


> If it helps, this is what planet's is doing to download the file (run
> the code in the module language and the url shouldn't have any
> whitespace in it, just in case my or your email chops up the lines).
> #lang scheme
> (require net/url)
> (call/input-url
> (string->url
>  "http://planet.plt-scheme.org/servlets/planet-servlet.ss?lang=% 
> ")
> get-pure-port
> (lambda (port)
>   (read-line port)))
> Robby
> On Sun, Nov 22, 2009 at 9:58 PM, Jordan Johnson  
> <jmj at fellowhuman.com> wrote:
>> Hi Robby,
>> In Safari it works, though again, in DrScheme (require (planet
>> sbloch/tiles:1:14)) fails (and so does the old-style require).
>> jmj
>> On Nov 22, 2009, at 2:54 PM, Robby Findler wrote:
>>> jmj, Steve:
>>> What happens if you try to visit the relevant link in your web
>>> browser? Here's one example url, which I got from the planet
>>> commandline tool:
>>> % planet url sbloch tiles.plt 1 14
>>> http://planet.plt-scheme.org/servlets/planet-servlet.ss?lang=%
>>> You should get a few screenfuls of gibberish, starting like this:
>>> H4sIAJF83EoAA+xdbXPTRtf 
>>> +jH7F3mIKNhPZjhNoSELaEt5SoPCQAKWdDs9KWltqJK0qreIY
>>> hvu33+fsSrJky45tiONQZSaJvS9nz1579jr7Ju3rFydaw6O+aVPSiNg/ 
>>> Robby
>> _________________________________________________
>>  For list-related administrative tasks:
>>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2484 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20091123/8f318ffc/attachment.p7s>

Posted on the dev mailing list.