Tizy, in order to help debug your error, you'll need to provide additional
information. Check out this link for what's generally needed when trying to
debug over chat/email: http://www.mikeash.com/getting_answers

The error seems to say that httpclient.Http doesn't like the auth conf file
you provided. Can you post it and any other relevant changes you've made to
a http://gist.github.com file, and post it here?

Thank you,

Mo

On Fri, Mar 13, 2015 at 12:43 AM, Tizy Ninan <[email protected]> wrote:

> Hi Lewis,
>
> Thank you for the reply.
>
> I tried by providing the parameters specified in the httpclient-auth.xml
> template file. But while crawling I am getting the following warnings.
>
> WARN httpclient.Http: Bad auth conf file: root element <credentials> found
> in httpclient-auth.xml - must be <auth-configuration>
> WARN httpclient.Http: Bad auth conf file: Element <loginPostData> not
> recognized in httpclient-auth.xml - expected <credentials>
> WARN httpclient.Http: Bad auth conf file: Element <additionalPostHeaders>
> not recognized in httpclient-auth.xml - expected <credentials>
>
> The httpclient-auth.xml file is placed in the conf folder. The version of
> nutch used is nutch 1.10 (trunk).
>
> Could you please explain what could be wrong?
>
> Thanks,
> Tizy
>
>
> On Fri, Mar 13, 2015 at 1:26 AM, Lewis John Mcgibbney <
> [email protected]> wrote:
>
> > Hi Tizy,
> >
> > On Thu, Mar 12, 2015 at 12:20 AM, <[email protected]>
> > wrote:
> >
> > >
> > > Is there any detailed step by step explanation on how to implement
> > > HTTPPostAuthentication on Nutch 1.10.?
> > >
> > >
> >
> >
> https://github.com/apache/nutch/blob/trunk/conf/httpclient-auth.xml.template#L61-L105
> > https://wiki.apache.org/nutch/HttpPostAuthentication
> > HTH
> > Lewis
> >
>
>
>
> --
> Thanks and Regards,
> Tizy
>

Reply via email to