[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ftpapi] SSL_ERROR(406)



I am guessing you could use the function to add a header instead of this one.  1024 seems pretty small for a token.. are you sure that's the right function to pass a token in the HTTP headers?  That function looks more like something to use BASIC authentication or something like that.

On Tue, May 25, 2021 at 9:52 AM Barry Holt <bholt@xxxxxxxxxx> wrote:

I am attempting a two step process.

. The first obtains a Token needed to proceed to step 2.

. The second uses this token to obtain any of a number of available reports.

 

The first step has been completed and works well.

 

The second step receives the following..

ssl_error(406): (GSKit) I/O: A connection with a remote socket was reset by that socket.

 

I am using HTTP_SETAUTH to set the Bearer Token received from the first step.

D http_setauth    PR            10I 0     

D   peAuthType                   1A   const

D   peUsername                  80A   const

D   pePasswd                  1024A   const

 

The password (token) size for HTTP_SETAUTH is 1024 characters.

But the bearer token I’m passing is 1173 characters.

 

I am concerned this is my problem.  Since I’m not passing the complete token.

Is there a way to increase the size limit of HTTP_SETAUTH’s password?

 

Any help is appreciated.

 

 

 

--
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi
-- 
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi