Hi guys,

By default, we leverage the HttpURLConnection class which has been
reimplemented on top of URLFetcher so this should work.

Thierry will finish his work on automated Restlet editions next week or so
and we'll be able to resolve such issue more quickly and precisely.

For now, I suggest to enter a bug report.

Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com


-----Message d'origine-----
De : news [mailto:n...@ger.gmane.org] De la part de Philippe Marschall
Envoyé : vendredi 26 juin 2009 07:14
À : discuss@restlet.tigris.org
Objet : Re: Possible GAE Client issue.

Matt wrote:
> Hi there,
> 
> I'm getting the following error whenever I attempt to use the client class
> from within the GAE.
> 
> Client client = new Client(Protocol.HTTP);
> Response response = client.get("http://www.google.com";);
> 
> Internal Connector Error (1002) - access denied (java.net.SocketPermission
> www.google.com resolve)
> 
> NB: I'm not using anything other than the default provided by restlet i.e.
> I'm not using apache's HttpClient.
> 
> I've updated the gae jar to be the latest snapshot as of yesterday but I'm
> still getting this problem.
> 
> Any suggestions? Or is it a potential bug? 

You're not allowed to open sockets on GAE/J.

Cheers
Philippe

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=23655
93

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2366277

Reply via email to