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

Re: [Ftpapi] SSL_ERROR(406)



You could recompile everything with a longer field, but note you will need to change the work fields in the routine. But maybe this thread will give you some alternate ideas. http://www.scottklement.com/archives/ftpapi/201703/msg00028.html  He was adding the bearer token via the additional headers process. His issue was he wasn't clearing out the auth used to send the request for the token. He got his issue resolved, so I'm assuming that adding it via additional headers works.

On Tue, 2021-05-25 at 14:49 +0000, Barry Holt 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.

 

 

 



  Kevin  Bucknum
                   Senior Programmer Analyst
                   MEDDATA / MEDTRON
                   120 Innwood Drive
                   Covington LA 70433
                   Local: 985-893-2550
                   Toll Free: 877-893-2550
                 https://www.medtronsoftware.com



CONFIDENTIALITY NOTICE

This document and any accompanying this email transmission contain confidential information, belonging to the sender that is legally privileged.  This information is intended only for the use of the individual or entity named above.  The authorized recipient of this information is prohibited from disclosing this information to any other party and is required to destroy the information after its stated need has been fulfilled.  If you are not the intended recipient, or the employee of agent responsible to deliver it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or action taken in reliance on the contents of these documents is STRICTLY PROHIBITED.  If you have received this email in error, please notify the sender immediately to arrange for return or destruction of these documents.

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