Re: Communication Error (1001) - The connector failed to complete the communication with the server

2013-04-30 Thread David Leangen
Hi Jerome,

Thank you for that information. Congratulations for the book, by the way. I 
found it very useful. APISpark looks very interesting, too. I look forward to 
getting my hands dirty with Restlet.


Regards,
=David


On 30 Apr 2013, at 10:48 PM, Adam Mc wrote:

> Jerome,
> 
> Thanks for your thoughts.  My comments were not a knock against the Restlet 
> team.  We know you all are working at full steam!  I will continue to think 
> how I may be able to help with community documentation.  
> 
> Thanks,
> -Adam
> 
> --
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3054650

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


RE: Re: Re: Communication Error (1001) - The connector failed to complete the communication with the server

2013-04-30 Thread Adam Mc
Jerome,

Thanks for your thoughts.  My comments were not a knock against the Restlet 
team.  We know you all are working at full steam!  I will continue to think how 
I may be able to help with community documentation.  

Thanks,
-Adam

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


Re: Re: Communication Error (1001) - The connector failed to complete the communication with the server

2013-04-30 Thread Jerome Louvel
Hi David and Adam,

Thanks for the follow up and general comment on the list. I agree and also
suggest people to follow StackOverflow for general Q&A. We try to be
present over there as well, but this list will stay the place of more
personal conversations.

After the release of the 'Restlet in Action' book last September, the core
Restlet team (Thierry Boileau, Thierry Templier and myself) has been very
much involved in the development and launch of our new APISpark cloud
platform (aka "Restlet as a Service"): http://apispark.com/ As a result, we
had less bandwidth to timely reply in this list and move version 2.2
forward.

We also launched the new http://restlet.org web site which was a major
undertaking and still requires work on the content front.

There is an opportunity for community members to step up and contribute to
the project. I'd like to highlight Tim Peierls who has been very active in
this regard for months. We need other interested person to be involved as
well.

Best regards,
Jerome
--
http://restlet.org
http://twitter.com/#!/jlouvel





2013/4/30 Adam Mc 

> Hi David,
>
> >>>Everything is working well now for me now and I like restlet, but there
> does not seem to be much activity on this list.
>
> I kind of feel the same way.  Restlet matches my needs pretty well, and
> thing have been going well so far.  But, it is too bad that their is not a
> bigger community and forum here.
>
> I wonder if in general StackOverFlow is a better place to post questions
> and comments?
>
> -Adam
>
> --
>
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3054610
>

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

RE: Re: Communication Error (1001) - The connector failed to complete the communication with the server

2013-04-29 Thread Adam Mc
Hi David,

>>>Everything is working well now for me now and I like restlet, but there does 
>>>not seem to be much activity on this list.

I kind of feel the same way.  Restlet matches my needs pretty well, and thing 
have been going well so far.  But, it is too bad that their is not a bigger 
community and forum here. 

I wonder if in general StackOverFlow is a better place to post questions and 
comments?

-Adam

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


Re: Communication Error (1001) - The connector failed to complete the communication with the server

2013-04-28 Thread David Leangen
Looks like the problem was with the jsslutils lib.

Everything is working well now for me now and I like restlet, but there does 
not seem to be much activity on this list.

Cheers,
=David


On 26 Apr 2013, at 5:36 PM, David Leangen wrote:

> Hello,
> 
> Regarding my message below from earlier this week, are there any alternatives 
> to the org.restlet.ext.ssl extension, or whatever third party lib it may be 
> using that seems to be misbehaving?
> 
> Regards,
> =David
> 
> 
> On Apr 23, 2013, at 9:26 AM, David Leangen wrote:
> 
>> Hi Jerome,
>> 
>> Thank you very much for this tip. Much appreciated.
>> 
>>> Please plugin the org.restlet.ext.net.jar to replace the default connector 
>>> with a more stable one. It will probably help.
>> 
>> I interpreted this comment to mean:
>> 
>>  org.restlet.ext.httpclient is the "default" to be replaced
>> 
>>  org.restlet.ext.net is what I should be using
>> 
>> Unfortunately, this did not fix the problem.
>> 
>> I noticed that since I am making a call over HTTPS, I also needed to add 
>> org.restlet.ext.ssl as a dependency*. Since this is a common library between 
>> the two connectors, and both connectors result in the same issue, I am 
>> wondering if this ssl library is not somehow related to the source of the 
>> issue. This theory is further confirmed because I do not experience this 
>> issue with calls over HTTP.
>> 
>> (* If I do not, I get this error: java.lang.NoClassDefFoundError: 
>> org/restlet/ext/ssl/internal/SslUtils)
>> 
>> Are there any alternatives to org.restlet.ext.ssl, or perhaps any hints as 
>> to how I could work around this issue?
>> 
>> Thanks so much!
>> 
>> =David
>> 
>> --
>> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3053991
> 
> --
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3054338

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


Re: Communication Error (1001) - The connector failed to complete the communication with the server

2013-04-26 Thread David Leangen
Hello,

Regarding my message below from earlier this week, are there any alternatives 
to the org.restlet.ext.ssl extension, or whatever third party lib it may be 
using that seems to be misbehaving?

Regards,
=David


On Apr 23, 2013, at 9:26 AM, David Leangen wrote:

> Hi Jerome,
> 
> Thank you very much for this tip. Much appreciated.
> 
>> Please plugin the org.restlet.ext.net.jar to replace the default connector 
>> with a more stable one. It will probably help.
> 
> I interpreted this comment to mean:
> 
>   org.restlet.ext.httpclient is the "default" to be replaced
> 
>   org.restlet.ext.net is what I should be using
> 
> Unfortunately, this did not fix the problem.
> 
> I noticed that since I am making a call over HTTPS, I also needed to add 
> org.restlet.ext.ssl as a dependency*. Since this is a common library between 
> the two connectors, and both connectors result in the same issue, I am 
> wondering if this ssl library is not somehow related to the source of the 
> issue. This theory is further confirmed because I do not experience this 
> issue with calls over HTTP.
> 
> (* If I do not, I get this error: java.lang.NoClassDefFoundError: 
> org/restlet/ext/ssl/internal/SslUtils)
> 
> Are there any alternatives to org.restlet.ext.ssl, or perhaps any hints as to 
> how I could work around this issue?
> 
> Thanks so much!
> 
> =David
> 
> --
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3053991

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


Re: Communication Error (1001) - The connector failed to complete the communication with the server

2013-04-22 Thread David Leangen
Hi Jerome,

Thank you very much for this tip. Much appreciated.

> Please plugin the org.restlet.ext.net.jar to replace the default connector 
> with a more stable one. It will probably help.

I interpreted this comment to mean:

org.restlet.ext.httpclient is the "default" to be replaced

org.restlet.ext.net is what I should be using

Unfortunately, this did not fix the problem.

I noticed that since I am making a call over HTTPS, I also needed to add 
org.restlet.ext.ssl as a dependency*. Since this is a common library between 
the two connectors, and both connectors result in the same issue, I am 
wondering if this ssl library is not somehow related to the source of the 
issue. This theory is further confirmed because I do not experience this issue 
with calls over HTTP.

 (* If I do not, I get this error: java.lang.NoClassDefFoundError: 
org/restlet/ext/ssl/internal/SslUtils)

Are there any alternatives to org.restlet.ext.ssl, or perhaps any hints as to 
how I could work around this issue?

Thanks so much!

=David

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


Re: Communication Error (1001) - The connector failed to complete the communication with the server

2013-04-22 Thread Jerome Louvel
Hi David,

Please plugin the org.restlet.ext.net.jar to replace the default connector
with a more stable one. It will probably help.

Best regards,
Jerome
--
http://restlet.org
http://twitter.com/#!/jlouvel




2013/4/21 David Leangen 

>
> Hello!
>
> After a few weeks of absence, I am trying once again to set up restlet in
> my OSGi environment. Using version 2.2-M1.
>
> I am making a call like this:
>
> final Client client = new Client( new Context(), Protocol.
> HTTPS );
> final ClientResource clientResource = new ClientResource( url
>  );
> clientResource.setNext( client );
> final ChallengeResponse authentication = newChallengeResponse( 
> ChallengeScheme.
> HTTP_BASIC, "pwd", "" );
> clientResource.setChallengeResponse( authentication );
> final Representation r = clientResource.get();
> r.write( System.out );
> r.release();
> client.stop();
>
> Sometimes I get back a valid reply, but most times I get back this error:
>
> Communication Error (1001) - The connector failed to complete the
> communication with the server
>
> What confuses me is why this would work sometimes, but not others. Any
> hints?
>
> Best regards,
> =David
>
>
>

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