Re: TeraScript-Talk: API no longer working. SSL error

2019-12-13 Thread Ben Johansen
Why don’t you just turn the PHP into a webservice that returns JSON and call it 
from @URL or AJAX

> On Dec 11, 2019, at 12:01 AM, Wayne Irvine  wrote:
>
> As the PHP app worked I know it is not the CURL installed at /user/bin/.
>
> So I am trying to use an External action, passing the arguments and header to 
> a script. During debug I was seeing good results: missing header, missing 
> token etc. But now that I have all those in place the the action almost 
> immediately returns blank results. I know this API call takes a few seconds 
> to respond. How do I get and External action to wait?
>
> Wayne
>
>> On 11 Dec 2019, at 2:17 pm, Wayne Irvine > <mailto:wa...@byteserve.com.au>> wrote:
>>
>> Sorry about the formatting. Seems attachments cause the signature to be 
>> added.
>>
>> The attached files are a better comparison.
>>
>> The PHP results in good returned data. The TAF gives an SSL handshake error.
>>
>>
>> To unsubscribe from this list, please send an email to 
>> lists...@terascript.com <mailto:lists...@terascript.com> with "unsubscribe 
>> terascript-talk" in the body. 
>>
>> To unsubscribe from this list, please send an email to 
>> lists...@terascript.com <mailto:lists...@terascript.com> with "unsubscribe 
>> terascript-talk" in the body. 
>>
>>
>>> On 11 Dec 2019, at 2:02 pm, Wayne Irvine >> <mailto:wa...@byteserve.com.au>> wrote:
>>>
>>> I’m still fighting with this. I enabled PHP and ran this sample code:
>>>
>>>
>>> To unsubscribe from this list, please send an email to 
>>> lists...@terascript.com <mailto:lists...@terascript.com> with "unsubscribe 
>>> terascript-talk" in the body. 
>>>
>>> It returns good results.
>>>
>>> I used exactly the same values in this TAF:
>>>
>>>
>>> To unsubscribe from this list, please send an email to 
>>> lists...@terascript.com <mailto:lists...@terascript.com> with "unsubscribe 
>>> terascript-talk" in the body. 
>>>
>>> Both are calling CURL with various options and headers and data. But 
>>> different results.
>>>
>>> Can anyone see what I am overlooking?
>>>
>>> Wayne
>>>
>>>> On 6 Dec 2019, at 2:39 am, Robert Shubert >>> <mailto:rshub...@tronics.com>> wrote:
>>>>
>>>> It's hard to say if updating cURL on the OS will break TS. When we build 
>>>> TS we do so against the prevailing cURL on our build system. Newer 
>>>> versions may or may not be compatible.
>>>>
>>>> From: Wayne Irvine [mailto:wa...@byteserve.com.au 
>>>> <mailto:wa...@byteserve.com.au>]
>>>> Sent: Wednesday, December 04, 2019 9:00 PM
>>>> To: TeraScript-Talk@terascript.com <mailto:TeraScript-Talk@terascript.com>
>>>> Subject: Re: TeraScript-Talk: API no longer working. SSL error
>>>>
>>>> Looking into this it appears the issue is with CURL on OSX not using 
>>>> OpenSSL but some proprietary code.
>>>>
>>>> Solution seems to be to remove the native CURL and rebuild with a generic 
>>>> version. Just wondering if I have to tell Terascript anything about the 
>>>> new version. And will it break everytime I update the system?
>>>>
>>>> Also puzzled as to why it worked for a few weeks then just stopped. I 
>>>> assume something changed, I just don’t know what.
>>>>
>>>> Wayne
>>>>
>>>>> On 5 Dec 2019, at 12:28 pm, Wayne Irvine >>>> <mailto:wa...@byteserve.com.au>> wrote:
>>>>>
>>>>> I’m submitting some details to a courier’s API in an effort to get back a 
>>>>> range of quotes. All was working correctly until just before I left for 
>>>>> holidays.
>>>>>
>>>>> The error is:
>>>>> File: tdtest2.taf
>>>>> Position: WebCall2
>>>>> Class: Internal
>>>>> Main Error Number: -1001
>>>>>
>>>>> Unable to send data when processing URL request.
>>>>> wrong when connecting with SSL SSL peer handshake failed, the server most 
>>>>> likely requires a client certificate to connect
>>>>>
>>>>> I assume there is some client certificate on the server that is out of 
>>>>> date. I’m using OSX but assume the problem happens on all plat

Re: TeraScript-Talk: API no longer working. SSL error

2019-12-11 Thread Peter Dobbs
You may want to consider Linux


Peter Dobbs
President | ENGINESS | P: 416.901.6151 | F: 
416.901.6150 | enginess.io

This message may have been dictated and poorly interpreted by Siri. If this 
message contains any content that is offensive or unusual/confusing in anyway, 
please disregard as Siri is useful despite being incompetent.

This email and any attachments are confidential and are intended only for the 
person(s) to whom it is addressed. It you are not the addressee named above, 
any use, copying, distribution or disclosure is strictly unauthorized. If you 
have received this information in error, please delete it and any attachments 
and notify me immediately.


On Dec 11, 2019, at 9:30 PM, Wayne Irvine  wrote:

 I got it working in a really backhanded mongolian clusterfluke way.

I am calling an External action, which calls a Bash script which calls CURL and 
writes the results to a file. Then reading that file.

It works, but it shouldn’t be that hard. Or take that long.

Now that I’ve got it out of the way I will follow Steve and Robert's advice and 
purchase a new server (I can’t mess with the existing one), installing a newer 
OS, Terascript 7.1.5 and doing this the proper way. However I won’t be at all 
surprised if I meet another showstopper along the way.

W

On 12 Dec 2019, at 7:39 am, Robert Shubert 
mailto:rshub...@tronics.com>> wrote:

Wayne,

You may have luck with TS 7.1.5 which updates cURL and OpenSSL support, 
although on OSX its still dependent on what's on your machine.

You may also want to test TS 8 (even if just as a proxy) as it uses a 
completely different http client (100% Java)

Robert

From: Wayne Irvine [mailto:wa...@byteserve.com.au]
Sent: Wednesday, December 11, 2019 12:08 AM
To: TeraScript-Talk@terascript.com<mailto:TeraScript-Talk@terascript.com>
Subject: Re: TeraScript-Talk: API no longer working. SSL error


On 11 Dec 2019, at 5:00 pm, ubslab mailto:ubs...@uw.edu>> wrote:

Wayne,
Sorry if I missed earlier, but what version MacOS and TS are you using?

Mac OS X Sierra 10.12.6 with Terascript 7.1.3.


Some thoughts, starting with setting curl -m, --max-time  for 
extending call completion time if a connection is successful.

I’m not sure the issue is CURL waiting so much as Terascript waiting for CURL 
to produce results.


I'm not sure what MacOS sets curl -m for default, but it appears to be at least 
2 minutes.
If extended delay on External calls ("wait for") are required you'll likely 
need to make a bash loop.
Maybe something like this written into a called script:
until $(curl --output /dev/null --silent --head --fail http://myhost:myport); do
printf '.'
sleep 5
done
from 
stackoverflow.com/questions/11904772/<http://stackoverflow.com/questions/11904772/>

I’ll check these out. Cheers.

Had very similar issues with SSL/TLS connections to external servers and 
clients.
I resisted changing MacOS versions but found I could not overcome the built in 
security limitations of MacOS if I wanted to continue to use TS.
After some tests I started building my Mac servers using Homebrew with TS7 for 
MacOS 10.10-10.14.
Currently on 10.12 - 10.14 I do not have any issues with SSL/TLS External and 
Webcall actions in TS.

Ok, so are you saying you’re using later Mac OS (and CURL) with Terascript and 
not having the SSL issues? Or you install CURL separately with OpenSSL?

Wayne






Best,
Steve
On 12/10/19 9:01 PM, Wayne Irvine wrote:
As the PHP app worked I know it is not the CURL installed at /user/bin/.

So I am trying to use an External action, passing the arguments and header to a 
script. During debug I was seeing good results: missing header, missing token 
etc. But now that I have all those in place the the action almost immediately 
returns blank results. I know this API call takes a few seconds to respond. How 
do I get and External action to wait?

Wayne

On 11 Dec 2019, at 2:17 pm, Wayne Irvine 
mailto:wa...@byteserve.com.au>> wrote:

Sorry about the formatting. Seems attachments cause the signature to be added.

The attached files are a better comparison.

The PHP results in good returned data. The TAF gives an SSL handshake error.



To unsubscribe from this list, please send an email to 
lists...@terascript.com<mailto:lists...@terascript.com> with "unsubscribe 
terascript-talk" in the body. 

To unsubscribe from this list, please send an email to 
lists...@terascript.com<mailto:lists...@terascript.com> with "unsubscribe 
terascript-talk" in the body. 


On 11 Dec 2019, at 2:02 pm, Wayne Irvine 
mailto:wa...@byteserve.com.au>> wrote:

I’m still fighting with this. I enabled PHP and ran this sample code:



To unsubscribe from this list, please send an email to 
lists...@terascript.com<mailto:lists...@terascript.com> with 

Re: TeraScript-Talk: API no longer working. SSL error

2019-12-11 Thread Wayne Irvine
I got it working in a really backhanded mongolian clusterfluke way.

I am calling an External action, which calls a Bash script which calls CURL and 
writes the results to a file. Then reading that file.

It works, but it shouldn’t be that hard. Or take that long.

Now that I’ve got it out of the way I will follow Steve and Robert's advice and 
purchase a new server (I can’t mess with the existing one), installing a newer 
OS, Terascript 7.1.5 and doing this the proper way. However I won’t be at all 
surprised if I meet another showstopper along the way.

W

> On 12 Dec 2019, at 7:39 am, Robert Shubert  wrote:
>
> Wayne,
>
> You may have luck with TS 7.1.5 which updates cURL and OpenSSL support, 
> although on OSX its still dependent on what's on your machine.
>
> You may also want to test TS 8 (even if just as a proxy) as it uses a 
> completely different http client (100% Java)
>
> Robert
>
> From: Wayne Irvine [mailto:wa...@byteserve.com.au 
> <mailto:wa...@byteserve.com.au>]
> Sent: Wednesday, December 11, 2019 12:08 AM
> To: TeraScript-Talk@terascript.com <mailto:TeraScript-Talk@terascript.com>
> Subject: Re: TeraScript-Talk: API no longer working. SSL error
>
>
>> On 11 Dec 2019, at 5:00 pm, ubslab mailto:ubs...@uw.edu>> 
>> wrote:
>>
>> Wayne,
>> Sorry if I missed earlier, but what version MacOS and TS are you using?
>
> Mac OS X Sierra 10.12.6 with Terascript 7.1.3.
>
>
>> Some thoughts, starting with setting curl -m, --max-time  for 
>> extending call completion time if a connection is successful.
>
> I’m not sure the issue is CURL waiting so much as Terascript waiting for CURL 
> to produce results.
>
>
>> I'm not sure what MacOS sets curl -m for default, but it appears to be at 
>> least 2 minutes.
>> If extended delay on External calls ("wait for") are required you'll likely 
>> need to make a bash loop.
>> Maybe something like this written into a called script:
>> until $(curl --output /dev/null --silent --head --fail http://myhost:myport 
>> <http://myhost:myport>); do
>> printf '.'
>> sleep 5
>> done
>> from stackoverflow.com/questions/11904772/ 
>> <http://stackoverflow.com/questions/11904772/>
>>
> I’ll check these out. Cheers.
>
>> Had very similar issues with SSL/TLS connections to external servers and 
>> clients.
>> I resisted changing MacOS versions but found I could not overcome the built 
>> in security limitations of MacOS if I wanted to continue to use TS.
>> After some tests I started building my Mac servers using Homebrew with TS7 
>> for MacOS 10.10-10.14.
>> Currently on 10.12 - 10.14 I do not have any issues with SSL/TLS External 
>> and Webcall actions in TS.
>
> Ok, so are you saying you’re using later Mac OS (and CURL) with Terascript 
> and not having the SSL issues? Or you install CURL separately with OpenSSL?
>
> Wayne
>
>
>
>
>
>
>> Best,
>> Steve
>> On 12/10/19 9:01 PM, Wayne Irvine wrote:
>>> As the PHP app worked I know it is not the CURL installed at /user/bin/.
>>>
>>> So I am trying to use an External action, passing the arguments and header 
>>> to a script. During debug I was seeing good results: missing header, 
>>> missing token etc. But now that I have all those in place the the action 
>>> almost immediately returns blank results. I know this API call takes a few 
>>> seconds to respond. How do I get and External action to wait?
>>>
>>> Wayne
>>>
>>>> On 11 Dec 2019, at 2:17 pm, Wayne Irvine >>> <mailto:wa...@byteserve.com.au>> wrote:
>>>>
>>>> Sorry about the formatting. Seems attachments cause the signature to be 
>>>> added.
>>>>
>>>> The attached files are a better comparison.
>>>>
>>>> The PHP results in good returned data. The TAF gives an SSL handshake 
>>>> error.
>>>>
>>>>
>>>> To unsubscribe from this list, please send an email to 
>>>> lists...@terascript.com <mailto:lists...@terascript.com> with "unsubscribe 
>>>> terascript-talk" in the body. 
>>>> To unsubscribe from this list, please send an email to 
>>>> lists...@terascript.com <mailto:lists...@terascript.com> with "unsubscribe 
>>>> terascript-talk" in the body. 
>>>>
>>>>
>>>>> On 11 Dec 2019, at 2:02 pm, Wayne Irvine >>>> <mailto:wa...@byteserve.com.au>> wrote:
>>>>>
>>>>> I’m stil

RE: TeraScript-Talk: API no longer working. SSL error

2019-12-11 Thread Robert Shubert
Wayne,



You may have luck with TS 7.1.5 which updates cURL and OpenSSL support, 
although on OSX its still dependent on what's on your machine.



You may also want to test TS 8 (even if just as a proxy) as it uses a 
completely different http client (100% Java)



Robert



From: Wayne Irvine [mailto:wa...@byteserve.com.au]
Sent: Wednesday, December 11, 2019 12:08 AM
To: TeraScript-Talk@terascript.com
Subject: Re: TeraScript-Talk: API no longer working. SSL error





On 11 Dec 2019, at 5:00 pm, ubslab mailto:ubs...@uw.edu> > 
wrote:



Wayne,
Sorry if I missed earlier, but what version MacOS and TS are you using?



Mac OS X Sierra 10.12.6 with Terascript 7.1.3.





Some thoughts, starting with setting curl -m, --max-time  for 
extending call completion time if a connection is successful.



I’m not sure the issue is CURL waiting so much as Terascript waiting for CURL 
to produce results.





I'm not sure what MacOS sets curl -m for default, but it appears to be at least 
2 minutes.
If extended delay on External calls ("wait for") are required you'll likely 
need to make a bash loop.
Maybe something like this written into a called script:

until $(curl --output /dev/null --silent --head --fail http://myhost:myport); do
printf '.'
sleep 5
done

from stackoverflow.com/questions/11904772/ 
<http://stackoverflow.com/questions/11904772/>



I’ll check these out. Cheers.



Had very similar issues with SSL/TLS connections to external servers and 
clients.

I resisted changing MacOS versions but found I could not overcome the built in 
security limitations of MacOS if I wanted to continue to use TS.
After some tests I started building my Mac servers using Homebrew with TS7 for 
MacOS 10.10-10.14.
Currently on 10.12 - 10.14 I do not have any issues with SSL/TLS External and 
Webcall actions in TS.



Ok, so are you saying you’re using later Mac OS (and CURL) with Terascript and 
not having the SSL issues? Or you install CURL separately with OpenSSL?



Wayne













Best,

Steve

On 12/10/19 9:01 PM, Wayne Irvine wrote:

As the PHP app worked I know it is not the CURL installed at /user/bin/.



So I am trying to use an External action, passing the arguments and header to a 
script. During debug I was seeing good results: missing header, missing token 
etc. But now that I have all those in place the the action almost immediately 
returns blank results. I know this API call takes a few seconds to respond. How 
do I get and External action to wait?



Wayne



On 11 Dec 2019, at 2:17 pm, Wayne Irvine mailto:wa...@byteserve.com.au> > wrote:



Sorry about the formatting. Seems attachments cause the signature to be added.



The attached files are a better comparison.



The PHP results in good returned data. The TAF gives an SSL handshake error.





  _

To unsubscribe from this list, please send an email to lists...@terascript.com 
<mailto:lists...@terascript.com>  with "unsubscribe terascript-talk" in the 
body. 

  _

To unsubscribe from this list, please send an email to lists...@terascript.com 
<mailto:lists...@terascript.com>  with "unsubscribe terascript-talk" in the 
body. 





On 11 Dec 2019, at 2:02 pm, Wayne Irvine mailto:wa...@byteserve.com.au> > wrote:



I’m still fighting with this. I enabled PHP and ran this sample code:





  _

To unsubscribe from this list, please send an email to lists...@terascript.com 
<mailto:lists...@terascript.com>  with "unsubscribe terascript-talk" in the 
body. 



It returns good results.



I used exactly the same values in this TAF:





  _

To unsubscribe from this list, please send an email to lists...@terascript.com 
<mailto:lists...@terascript.com>  with "unsubscribe terascript-talk" in the 
body. 



Both are calling CURL with various options and headers and data. But different 
results.



Can anyone see what I am overlooking?



Wayne



On 6 Dec 2019, at 2:39 am, Robert Shubert mailto:rshub...@tronics.com> > wrote:



It's hard to say if updating cURL on the OS will break TS. When we build TS we 
do so against the prevailing cURL on our build system. Newer versions may or 
may not be compatible.



From: Wayne Irvine [mailto:wa...@byteserve.com.au]
Sent: Wednesday, December 04, 2019 9:00 PM
To: TeraScript-Talk@terascript.com <mailto:TeraScript-Talk@terascript.com>
Subject: Re: TeraScript-Talk: API no longer working. SSL error



Looking into this it appears the issue is with CURL on OSX not using OpenSSL 
but some proprietary code.



Solution seems to be to remove the native CURL and rebuild with a generic 
version. Just wondering if I have to tell Terascript anything about the new 
version. And will it break everytime I update the system?



Also puzzled as to why it worked for a few weeks then just stopped. I assume 
something changed, I just don’t know what.



Wayne



On 5 Dec 2

Re: TeraScript-Talk: API no longer working. SSL error

2019-12-11 Thread ubslab
Wayne,

These two .taf files call and relay response from https://www.howsmyssl.com, a 
site that Safari rates "bad" on MacOS 10.10 but passes on Safari 10.12 and 
Safari 10.14.

http://96.66.236.19/ts713externalcall.taf?

http://96.66.236.19/ts713webcall.taf?

Debugging is on for both. These are on the 10.14.6 server.

- Steve

On 12/11/19 1:47 AM, ubslab wrote:

Wayne,

Our current main Mac server is a 2013 Mac Pro, Mojave 10.14.6,  Homebrew 
(Apache 2.4.61), TS 7.1.3
It's a bit of a headache to update OpenSSL, apart from Apple updates, on any 
version of MacOS without future manual maintenance.
Not having issues with SSL/TLS connections/calls to external servers.
Did not change/replace SSL/TLS Apple default installations on the 10.12 or 
current 10.14 builds.

Mojave native SSL/TLS:
$ openssl version
LibreSSL 2.6.5

I think Sierra is on Openssl 0.9.8zh which will fail to negotiate SSL/TLS on a 
number of web servers now.

- Steve

On 12/11/19 12:07 AM, Wayne Irvine wrote:

On 11 Dec 2019, at 5:00 pm, ubslab mailto:ubs...@uw.edu>> wrote:

Wayne,
Sorry if I missed earlier, but what version MacOS and TS are you using?

Mac OS X Sierra 10.12.6 with Terascript 7.1.3.

Some thoughts, starting with setting curl -m, --max-time  for 
extending call completion time if a connection is successful.

I’m not sure the issue is CURL waiting so much as Terascript waiting for CURL 
to produce results.

I'm not sure what MacOS sets curl -m for default, but it appears to be at least 
2 minutes.
If extended delay on External calls ("wait for") are required you'll likely 
need to make a bash loop.
Maybe something like this written into a called script:

until $(curl --output /dev/null --silent --head --fail http://myhost:myport); do
printf '.'
sleep 5
done

from 
stackoverflow.com/questions/11904772/<http://stackoverflow.com/questions/11904772/>

I’ll check these out. Cheers.

Had very similar issues with SSL/TLS connections to external servers and 
clients.

I resisted changing MacOS versions but found I could not overcome the built in 
security limitations of MacOS if I wanted to continue to use TS.
After some tests I started building my Mac servers using Homebrew with TS7 for 
MacOS 10.10-10.14.
Currently on 10.12 - 10.14 I do not have any issues with SSL/TLS External and 
Webcall actions in TS.

Ok, so are you saying you’re using later Mac OS (and CURL) with Terascript and 
not having the SSL issues? Or you install CURL separately with OpenSSL?

Wayne






Best,

Steve

On 12/10/19 9:01 PM, Wayne Irvine wrote:
As the PHP app worked I know it is not the CURL installed at /user/bin/.

So I am trying to use an External action, passing the arguments and header to a 
script. During debug I was seeing good results: missing header, missing token 
etc. But now that I have all those in place the the action almost immediately 
returns blank results. I know this API call takes a few seconds to respond. How 
do I get and External action to wait?

Wayne

On 11 Dec 2019, at 2:17 pm, Wayne Irvine 
mailto:wa...@byteserve.com.au>> wrote:

Sorry about the formatting. Seems attachments cause the signature to be added.

The attached files are a better comparison.

The PHP results in good returned data. The TAF gives an SSL handshake error.



To unsubscribe from this list, please send an email to 
lists...@terascript.com<mailto:lists...@terascript.com> with "unsubscribe 
terascript-talk" in the body. 

To unsubscribe from this list, please send an email to 
lists...@terascript.com<mailto:lists...@terascript.com> with "unsubscribe 
terascript-talk" in the body. 


On 11 Dec 2019, at 2:02 pm, Wayne Irvine 
mailto:wa...@byteserve.com.au>> wrote:

I’m still fighting with this. I enabled PHP and ran this sample code:



To unsubscribe from this list, please send an email to 
lists...@terascript.com<mailto:lists...@terascript.com> with "unsubscribe 
terascript-talk" in the body. 

It returns good results.

I used exactly the same values in this TAF:



To unsubscribe from this list, please send an email to 
lists...@terascript.com<mailto:lists...@terascript.com> with "unsubscribe 
terascript-talk" in the body. 

Both are calling CURL with various options and headers and data. But different 
results.

Can anyone see what I am overlooking?

Wayne

On 6 Dec 2019, at 2:39 am, Robert Shubert 
mailto:rshub...@tronics.com>> wrote:

It's hard to say if updating cURL on the OS will break TS. When we build TS we 
do so against the prevailing cURL on our build system. Newer versions may or 
may not be compatible.

From: Wayne Irvine [mailto:wa...@byteserve.com.au]
Sent: Wednesday, December 04, 2019 9:00 PM
To: TeraScript-Talk@terascript.com<mailto:TeraScript-Talk@terascript.com

Re: TeraScript-Talk: API no longer working. SSL error

2019-12-11 Thread ubslab
Wayne,

Our current main Mac server is a 2013 Mac Pro, Mojave 10.14.6,  Homebrew 
(Apache 2.4.61), TS 7.1.3
It's a bit of a headache to update OpenSSL, apart from Apple updates, on any 
version of MacOS without future manual maintenance.
Not having issues with SSL/TLS connections/calls to external servers.
Did not change/replace SSL/TLS Apple default installations on the 10.12 or 
current 10.14 builds.

Mojave native SSL/TLS:
$ openssl version
LibreSSL 2.6.5

I think Sierra is on Openssl 0.9.8zh which will fail to negotiate SSL/TLS on a 
number of web servers now.

- Steve

On 12/11/19 12:07 AM, Wayne Irvine wrote:

On 11 Dec 2019, at 5:00 pm, ubslab mailto:ubs...@uw.edu>> wrote:

Wayne,
Sorry if I missed earlier, but what version MacOS and TS are you using?

Mac OS X Sierra 10.12.6 with Terascript 7.1.3.

Some thoughts, starting with setting curl -m, --max-time  for 
extending call completion time if a connection is successful.

I’m not sure the issue is CURL waiting so much as Terascript waiting for CURL 
to produce results.

I'm not sure what MacOS sets curl -m for default, but it appears to be at least 
2 minutes.
If extended delay on External calls ("wait for") are required you'll likely 
need to make a bash loop.
Maybe something like this written into a called script:

until $(curl --output /dev/null --silent --head --fail http://myhost:myport); do
printf '.'
sleep 5
done

from 
stackoverflow.com/questions/11904772/<http://stackoverflow.com/questions/11904772/>

I’ll check these out. Cheers.

Had very similar issues with SSL/TLS connections to external servers and 
clients.

I resisted changing MacOS versions but found I could not overcome the built in 
security limitations of MacOS if I wanted to continue to use TS.
After some tests I started building my Mac servers using Homebrew with TS7 for 
MacOS 10.10-10.14.
Currently on 10.12 - 10.14 I do not have any issues with SSL/TLS External and 
Webcall actions in TS.

Ok, so are you saying you’re using later Mac OS (and CURL) with Terascript and 
not having the SSL issues? Or you install CURL separately with OpenSSL?

Wayne






Best,

Steve

On 12/10/19 9:01 PM, Wayne Irvine wrote:
As the PHP app worked I know it is not the CURL installed at /user/bin/.

So I am trying to use an External action, passing the arguments and header to a 
script. During debug I was seeing good results: missing header, missing token 
etc. But now that I have all those in place the the action almost immediately 
returns blank results. I know this API call takes a few seconds to respond. How 
do I get and External action to wait?

Wayne

On 11 Dec 2019, at 2:17 pm, Wayne Irvine 
mailto:wa...@byteserve.com.au>> wrote:

Sorry about the formatting. Seems attachments cause the signature to be added.

The attached files are a better comparison.

The PHP results in good returned data. The TAF gives an SSL handshake error.



To unsubscribe from this list, please send an email to 
lists...@terascript.com<mailto:lists...@terascript.com> with "unsubscribe 
terascript-talk" in the body. 

To unsubscribe from this list, please send an email to 
lists...@terascript.com<mailto:lists...@terascript.com> with "unsubscribe 
terascript-talk" in the body. 


On 11 Dec 2019, at 2:02 pm, Wayne Irvine 
mailto:wa...@byteserve.com.au>> wrote:

I’m still fighting with this. I enabled PHP and ran this sample code:



To unsubscribe from this list, please send an email to 
lists...@terascript.com<mailto:lists...@terascript.com> with "unsubscribe 
terascript-talk" in the body. 

It returns good results.

I used exactly the same values in this TAF:



To unsubscribe from this list, please send an email to 
lists...@terascript.com<mailto:lists...@terascript.com> with "unsubscribe 
terascript-talk" in the body. 

Both are calling CURL with various options and headers and data. But different 
results.

Can anyone see what I am overlooking?

Wayne

On 6 Dec 2019, at 2:39 am, Robert Shubert 
mailto:rshub...@tronics.com>> wrote:

It's hard to say if updating cURL on the OS will break TS. When we build TS we 
do so against the prevailing cURL on our build system. Newer versions may or 
may not be compatible.

From: Wayne Irvine [mailto:wa...@byteserve.com.au]
Sent: Wednesday, December 04, 2019 9:00 PM
To: TeraScript-Talk@terascript.com<mailto:TeraScript-Talk@terascript.com>
Subject: Re: TeraScript-Talk: API no longer working. SSL error

Looking into this it appears the issue is with CURL on OSX not using OpenSSL 
but some proprietary code.

Solution seems to be to remove the native CURL and rebuild with a generic 
version. Just wondering if I have to tell Terascript anything about the new 
version. And will it break everytime I update the 

Re: TeraScript-Talk: API no longer working. SSL error

2019-12-11 Thread Wayne Irvine

> On 11 Dec 2019, at 5:00 pm, ubslab  wrote:
>
> Wayne,
> Sorry if I missed earlier, but what version MacOS and TS are you using?

Mac OS X Sierra 10.12.6 with Terascript 7.1.3.

> Some thoughts, starting with setting curl -m, --max-time  for 
> extending call completion time if a connection is successful.

I’m not sure the issue is CURL waiting so much as Terascript waiting for CURL 
to produce results.

> I'm not sure what MacOS sets curl -m for default, but it appears to be at 
> least 2 minutes.
> If extended delay on External calls ("wait for") are required you'll likely 
> need to make a bash loop.
> Maybe something like this written into a called script:
> until $(curl --output /dev/null --silent --head --fail http://myhost:myport); 
> do
> printf '.'
> sleep 5
> done
>
> from stackoverflow.com/questions/11904772/
>
>
I’ll check these out. Cheers.
> Had very similar issues with SSL/TLS connections to external servers and 
> clients.
>
> I resisted changing MacOS versions but found I could not overcome the built 
> in security limitations of MacOS if I wanted to continue to use TS.
> After some tests I started building my Mac servers using Homebrew with TS7 
> for MacOS 10.10-10.14.
> Currently on 10.12 - 10.14 I do not have any issues with SSL/TLS External and 
> Webcall actions in TS.

Ok, so are you saying you’re using later Mac OS (and CURL) with Terascript and 
not having the SSL issues? Or you install CURL separately with OpenSSL?

Wayne





> Best,
>
> Steve
> On 12/10/19 9:01 PM, Wayne Irvine wrote:
>> As the PHP app worked I know it is not the CURL installed at /user/bin/.
>>
>> So I am trying to use an External action, passing the arguments and header 
>> to a script. During debug I was seeing good results: missing header, missing 
>> token etc. But now that I have all those in place the the action almost 
>> immediately returns blank results. I know this API call takes a few seconds 
>> to respond. How do I get and External action to wait?
>>
>> Wayne
>>
>>> On 11 Dec 2019, at 2:17 pm, Wayne Irvine >> <mailto:wa...@byteserve.com.au>> wrote:
>>>
>>> Sorry about the formatting. Seems attachments cause the signature to be 
>>> added.
>>>
>>> The attached files are a better comparison.
>>>
>>> The PHP results in good returned data. The TAF gives an SSL handshake error.
>>>
>>>
>>> To unsubscribe from this list, please send an email to 
>>> lists...@terascript.com <mailto:lists...@terascript.com> with "unsubscribe 
>>> terascript-talk" in the body. 
>>> To unsubscribe from this list, please send an email to 
>>> lists...@terascript.com <mailto:lists...@terascript.com> with "unsubscribe 
>>> terascript-talk" in the body. 
>>>
>>>
>>>> On 11 Dec 2019, at 2:02 pm, Wayne Irvine >>> <mailto:wa...@byteserve.com.au>> wrote:
>>>>
>>>> I’m still fighting with this. I enabled PHP and ran this sample code:
>>>>
>>>>
>>>> To unsubscribe from this list, please send an email to 
>>>> lists...@terascript.com <mailto:lists...@terascript.com> with "unsubscribe 
>>>> terascript-talk" in the body. 
>>>>
>>>> It returns good results.
>>>>
>>>> I used exactly the same values in this TAF:
>>>>
>>>>
>>>> To unsubscribe from this list, please send an email to 
>>>> lists...@terascript.com <mailto:lists...@terascript.com> with "unsubscribe 
>>>> terascript-talk" in the body. 
>>>>
>>>> Both are calling CURL with various options and headers and data. But 
>>>> different results.
>>>>
>>>> Can anyone see what I am overlooking?
>>>>
>>>> Wayne
>>>>
>>>>> On 6 Dec 2019, at 2:39 am, Robert Shubert >>>> <mailto:rshub...@tronics.com>> wrote:
>>>>>
>>>>> It's hard to say if updating cURL on the OS will break TS. When we build 
>>>>> TS we do so against the prevailing cURL on our build system. Newer 
>>>>> versions may or may not be compatible.
>>>>>
>>>>> From: Wayne Irvine [mailto:wa...@byteserve.com.au 
>>>>> <mailto:wa...@byteserve.com.au>]
>>>>> Sent: Wednesday, December 04, 2019 9:00 PM
>>>>> To: TeraScript-Talk@terascript.com <mailto:TeraScript-Talk@terascript.com>
>>>>> Sub

Re: TeraScript-Talk: API no longer working. SSL error

2019-12-10 Thread ubslab
Wayne,
Sorry if I missed earlier, but what version MacOS and TS are you using?
Some thoughts, starting with setting curl -m, --max-time  for 
extending call completion time if a connection is successful.
I'm not sure what MacOS sets curl -m for default, but it appears to be at least 
2 minutes.
If extended delay on External calls ("wait for") are required you'll likely 
need to make a bash loop.
Maybe something like this written into a called script:

until $(curl --output /dev/null --silent --head --fail http://myhost:myport); do
printf '.'
sleep 5
done

from stackoverflow.com/questions/11904772/

Had very similar issues with SSL/TLS connections to external servers and 
clients.

I resisted changing MacOS versions but found I could not overcome the built in 
security limitations of MacOS if I wanted to continue to use TS.
After some tests I started building my Mac servers using Homebrew with TS7 for 
MacOS 10.10-10.14.
Currently on 10.12 - 10.14 I do not have any issues with SSL/TLS External and 
Webcall actions in TS.

Best,

Steve

On 12/10/19 9:01 PM, Wayne Irvine wrote:
As the PHP app worked I know it is not the CURL installed at /user/bin/.

So I am trying to use an External action, passing the arguments and header to a 
script. During debug I was seeing good results: missing header, missing token 
etc. But now that I have all those in place the the action almost immediately 
returns blank results. I know this API call takes a few seconds to respond. How 
do I get and External action to wait?

Wayne

On 11 Dec 2019, at 2:17 pm, Wayne Irvine 
mailto:wa...@byteserve.com.au>> wrote:

Sorry about the formatting. Seems attachments cause the signature to be added.

The attached files are a better comparison.

The PHP results in good returned data. The TAF gives an SSL handshake error.



To unsubscribe from this list, please send an email to 
lists...@terascript.com<mailto:lists...@terascript.com> with "unsubscribe 
terascript-talk" in the body. 

To unsubscribe from this list, please send an email to 
lists...@terascript.com<mailto:lists...@terascript.com> with "unsubscribe 
terascript-talk" in the body. 


On 11 Dec 2019, at 2:02 pm, Wayne Irvine 
mailto:wa...@byteserve.com.au>> wrote:

I’m still fighting with this. I enabled PHP and ran this sample code:



To unsubscribe from this list, please send an email to 
lists...@terascript.com<mailto:lists...@terascript.com> with "unsubscribe 
terascript-talk" in the body. 

It returns good results.

I used exactly the same values in this TAF:



To unsubscribe from this list, please send an email to 
lists...@terascript.com<mailto:lists...@terascript.com> with "unsubscribe 
terascript-talk" in the body. 

Both are calling CURL with various options and headers and data. But different 
results.

Can anyone see what I am overlooking?

Wayne

On 6 Dec 2019, at 2:39 am, Robert Shubert 
mailto:rshub...@tronics.com>> wrote:

It's hard to say if updating cURL on the OS will break TS. When we build TS we 
do so against the prevailing cURL on our build system. Newer versions may or 
may not be compatible.

From: Wayne Irvine [mailto:wa...@byteserve.com.au]
Sent: Wednesday, December 04, 2019 9:00 PM
To: TeraScript-Talk@terascript.com<mailto:TeraScript-Talk@terascript.com>
Subject: Re: TeraScript-Talk: API no longer working. SSL error

Looking into this it appears the issue is with CURL on OSX not using OpenSSL 
but some proprietary code.

Solution seems to be to remove the native CURL and rebuild with a generic 
version. Just wondering if I have to tell Terascript anything about the new 
version. And will it break everytime I update the system?

Also puzzled as to why it worked for a few weeks then just stopped. I assume 
something changed, I just don’t know what.

Wayne

On 5 Dec 2019, at 12:28 pm, Wayne Irvine 
mailto:wa...@byteserve.com.au>> wrote:

I’m submitting some details to a courier’s API in an effort to get back a range 
of quotes. All was working correctly until just before I left for holidays.

The error is:
File: tdtest2.taf
Position: WebCall2
Class: Internal
Main Error Number: -1001

Unable to send data when processing URL request.
wrong when connecting with SSL SSL peer handshake failed, the server most 
likely requires a client certificate to connect

I assume there is some client certificate on the server that is out of date. 
I’m using OSX but assume the problem happens on all platforms. Any pointers?

Wayne Irvine

Byteserve Pty Ltd
w: http://www.byteserve.com.au/
e: i...@byteserve.com.au<mailto:i...@byteserve.com.au>
p: +61 02 9960 6099
m: 0409 960 609
f: +61 02 9960 6088



To unsubscribe from this list, please send an email to 
lists...@terascript.co

Re: TeraScript-Talk: API no longer working. SSL error

2019-12-10 Thread Wayne Irvine
As the PHP app worked I know it is not the CURL installed at /user/bin/.

So I am trying to use an External action, passing the arguments and header to a 
script. During debug I was seeing good results: missing header, missing token 
etc. But now that I have all those in place the the action almost immediately 
returns blank results. I know this API call takes a few seconds to respond. How 
do I get and External action to wait?

Wayne

> On 11 Dec 2019, at 2:17 pm, Wayne Irvine  wrote:
>
> Sorry about the formatting. Seems attachments cause the signature to be added.
>
> The attached files are a better comparison.
>
> The PHP results in good returned data. The TAF gives an SSL handshake error.
>
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com <mailto:lists...@terascript.com> with "unsubscribe 
> terascript-talk" in the body. 
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com <mailto:lists...@terascript.com> with "unsubscribe 
> terascript-talk" in the body. 
>
>
>> On 11 Dec 2019, at 2:02 pm, Wayne Irvine > <mailto:wa...@byteserve.com.au>> wrote:
>>
>> I’m still fighting with this. I enabled PHP and ran this sample code:
>>
>>
>> To unsubscribe from this list, please send an email to 
>> lists...@terascript.com <mailto:lists...@terascript.com> with "unsubscribe 
>> terascript-talk" in the body. 
>>
>> It returns good results.
>>
>> I used exactly the same values in this TAF:
>>
>>
>> To unsubscribe from this list, please send an email to 
>> lists...@terascript.com <mailto:lists...@terascript.com> with "unsubscribe 
>> terascript-talk" in the body. 
>>
>> Both are calling CURL with various options and headers and data. But 
>> different results.
>>
>> Can anyone see what I am overlooking?
>>
>> Wayne
>>
>>> On 6 Dec 2019, at 2:39 am, Robert Shubert >> <mailto:rshub...@tronics.com>> wrote:
>>>
>>> It's hard to say if updating cURL on the OS will break TS. When we build TS 
>>> we do so against the prevailing cURL on our build system. Newer versions 
>>> may or may not be compatible.
>>>
>>> From: Wayne Irvine [mailto:wa...@byteserve.com.au 
>>> <mailto:wa...@byteserve.com.au>]
>>> Sent: Wednesday, December 04, 2019 9:00 PM
>>> To: TeraScript-Talk@terascript.com <mailto:TeraScript-Talk@terascript.com>
>>> Subject: Re: TeraScript-Talk: API no longer working. SSL error
>>>
>>> Looking into this it appears the issue is with CURL on OSX not using 
>>> OpenSSL but some proprietary code.
>>>
>>> Solution seems to be to remove the native CURL and rebuild with a generic 
>>> version. Just wondering if I have to tell Terascript anything about the new 
>>> version. And will it break everytime I update the system?
>>>
>>> Also puzzled as to why it worked for a few weeks then just stopped. I 
>>> assume something changed, I just don’t know what.
>>>
>>> Wayne
>>>
>>>> On 5 Dec 2019, at 12:28 pm, Wayne Irvine >>> <mailto:wa...@byteserve.com.au>> wrote:
>>>>
>>>> I’m submitting some details to a courier’s API in an effort to get back a 
>>>> range of quotes. All was working correctly until just before I left for 
>>>> holidays.
>>>>
>>>> The error is:
>>>> File: tdtest2.taf
>>>> Position: WebCall2
>>>> Class: Internal
>>>> Main Error Number: -1001
>>>>
>>>> Unable to send data when processing URL request.
>>>> wrong when connecting with SSL SSL peer handshake failed, the server most 
>>>> likely requires a client certificate to connect
>>>>
>>>> I assume there is some client certificate on the server that is out of 
>>>> date. I’m using OSX but assume the problem happens on all platforms. Any 
>>>> pointers?
>>>>
>>>> Wayne Irvine
>>>>
>>>> Byteserve Pty Ltd
>>>> w: http://www.byteserve.com.au/ <http://www.byteserve.com.au/>
>>>> e: i...@byteserve.com.au <mailto:i...@byteserve.com.au>
>>>> p: +61 02 9960 6099
>>>> m: 0409 960 609
>>>> f: +61 02 9960 6088
>>>>
>>>>
>>>> To unsubscribe from this list, please send an email to 
>>>> lists...@terascript.com <mailto:lists...@terascript.com> with "unsubscribe 
>>&g

Re: TeraScript-Talk: API no longer working. SSL error

2019-12-10 Thread Wayne Irvine
Sorry about the formatting. Seems attachments cause the signature to be added.The attached files are a better comparison.The PHP results in good returned data. The TAF gives an SSL handshake error.

To unsubscribe from this list, please send an email to lists...@terascript.com with "unsubscribe terascript-talk" in the body.
https://www.transdirect.com.au/api/bookings/v4";);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);

curl_setopt($ch, CURLOPT_POST, TRUE);

curl_setopt($ch, CURLOPT_HTTPHEADER, array(
  "Content-Type: application/json",
  "Api-key: ef719cb2a34079ec5415b6a0a916afe5"
));

curl_setopt($ch, CURLOPT_POSTFIELDS, "{
 \"declared_value\": \"1000.00\",
 \"referrer\": \"ef719cb2a34079ec5415b6a0a916afe5\",
 \"requesting_site\": \"http://dev.anoguard.com\";,
 \"tailgate_pickup\": true,
 \"tailgate_delivery\": true,
 \"items\": [
   {
 \"weight\": \"38.63\",
 \"height\": \"0.25\",
 \"width\": \"1.65\",
 \"length\": \"3.32\",
 \"quantity\": 1,
 \"description\": \"carton\"
   }
 ],
 \"sender\": {
   \"address\": \"111 Ourimbah Rd\",
   \"company_name\": \"Byteserve\",
   \"postcode\": \"2088\",
   \"suburb\": \"Mosman\",
   \"type\": \"business\",
   \"country\": \"AU\"
 },
 \"receiver\": {
   \"address\": \"43 Waterfall Drive\",
   \"company_name\": \"Anoguard\",
   \"postcode\": \"2619\",
   \"phone\": 262559748,
   \"suburb\": \"Jerrabomberra\",
   \"type\": \"business\",
   \"country\": \"AU\"
 }
}");


$response = curl_exec($ch);
curl_close($ch);

echo "";
print_r(json_decode($response));
exit;



To unsubscribe from this list, please send an email to lists...@terascript.com with "unsubscribe terascript-talk" in the body.


tdtest6.taf
Description: Binary data
On 11 Dec 2019, at 2:02 pm, Wayne Irvine <wa...@byteserve.com.au> wrote:I’m still fighting with this. I enabled PHP and ran this sample code:

To unsubscribe from this list, please send an email to lists...@terascript.com with "unsubscribe terascript-talk" in the body.
It returns good results.I used exactly the same values in this TAF:

To unsubscribe from this list, please send an email to lists...@terascript.com with "unsubscribe terascript-talk" in the body.
Both are calling CURL with various options and headers and data. But different results.Can anyone see what I am overlooking?WayneOn 6 Dec 2019, at 2:39 am, Robert Shubert <rshub...@tronics.com> wrote:It's hard to say if updating cURL on the OS will break TS. When we build TS we do so against the prevailing cURL on our build system. Newer versions may or may not be compatible. From: Wayne Irvine [mailto:wa...@byteserve.com.au] Sent: Wednesday, December 04, 2019 9:00 PMTo: TeraScript-Talk@terascript.comSubject: Re: TeraScript-Talk: API no longer working. SSL error Looking into this it appears the issue is with CURL on OSX not using OpenSSL but some proprietary code. Solution seems to be to remove the native CURL and rebuild with a generic version. Just wondering if I have to tell Terascript anything about the new version. And will it break everytime I update the system? Also puzzled as to why it worked for a few weeks then just stopped. I assume something changed, I just don’t know what. Wayne On 5 Dec 2019, at 12:28 pm, Wayne Irvine <wa...@byteserve.com.au> wrote: I’m submitting some details to a courier’s API in an effort to get back a range of quotes. All was working correctly until just before I left for holidays. The error is:File: tdtest2.tafPosition: WebCall2Class: InternalMain Error Number: -1001Unable to send data when processing URL request.wrong when connecting with SSL SSL peer handshake failed, the server most likely requires a client certificate to connect I assume there is some client certificate on the server that is out of date. I’m using OSX but assume the problem happens on all platforms. Any pointers? Wayne Irvine Byteserve Pty Ltdw: http://www.byteserve.com.au/e: i...@byteserve.com.aup: +61 02 9960 6099   m: 0409 960 609   f: +61 02 9960 6088  To unsubscribe from this list, please send an email to lists...@terascript.com with "unsubscribe terascript-talk" in the body.  Byteserve Pty Ltdw: http://www.byteserve.com.au/e: i...@byteserve.com.aup: +61 02 9960 6099   m: 0409 960 609   f: +61 02 9960 6088  To unsubscribe from this list, please send an email to lists...@terascript.com with "unsubscribe terascript-talk" in

Re: TeraScript-Talk: API no longer working. SSL error

2019-12-10 Thread Wayne Irvine
I’m still fighting with this. I enabled PHP and ran this sample code:

To unsubscribe from this list, please send an email to lists...@terascript.com with "unsubscribe terascript-talk" in the body.
https://www.transdirect.com.au/api/bookings/v4";);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);

curl_setopt($ch, CURLOPT_POST, TRUE);

curl_setopt($ch, CURLOPT_HTTPHEADER, array(
  "Content-Type: application/json",
  "Api-key: ef719cb2a34079ec5415b6a0a916afe5"
));

curl_setopt($ch, CURLOPT_POSTFIELDS, "{
 \"declared_value\": \"1000.00\",
 \"referrer\": \"ef719cb2a34079ec5415b6a0a916afe5\",
 \"requesting_site\": \"http://dev.anoguard.com\";,
 \"tailgate_pickup\": true,
 \"tailgate_delivery\": true,
 \"items\": [
   {
 \"weight\": \"38.63\",
 \"height\": \"0.25\",
 \"width\": \"1.65\",
 \"length\": \"3.32\",
 \"quantity\": 1,
 \"description\": \"carton\"
   }
 ],
 \"sender\": {
   \"address\": \"111 Ourimbah Rd\",
   \"company_name\": \"Byteserve\",
   \"postcode\": \"2088\",
   \"suburb\": \"Mosman\",
   \"type\": \"business\",
   \"country\": \"AU\"
 },
 \"receiver\": {
   \"address\": \"43 Waterfall Drive\",
   \"company_name\": \"Anoguard\",
   \"postcode\": \"2619\",
   \"phone\": 262559748,
   \"suburb\": \"Jerrabomberra\",
   \"type\": \"business\",
   \"country\": \"AU\"
 }
}");


$response = curl_exec($ch);
curl_close($ch);

echo "";
print_r(json_decode($response));
exit;

It returns good results.I used exactly the same values in this TAF:

To unsubscribe from this list, please send an email to lists...@terascript.com with "unsubscribe terascript-talk" in the body.


tdtest3.taf
Description: Binary data
Both are calling CURL with various options and headers and data. But different results.Can anyone see what I am overlooking?WayneOn 6 Dec 2019, at 2:39 am, Robert Shubert <rshub...@tronics.com> wrote:It's hard to say if updating cURL on the OS will break TS. When we build TS we do so against the prevailing cURL on our build system. Newer versions may or may not be compatible. From: Wayne Irvine [mailto:wa...@byteserve.com.au] Sent: Wednesday, December 04, 2019 9:00 PMTo: TeraScript-Talk@terascript.comSubject: Re: TeraScript-Talk: API no longer working. SSL error Looking into this it appears the issue is with CURL on OSX not using OpenSSL but some proprietary code. Solution seems to be to remove the native CURL and rebuild with a generic version. Just wondering if I have to tell Terascript anything about the new version. And will it break everytime I update the system? Also puzzled as to why it worked for a few weeks then just stopped. I assume something changed, I just don’t know what. Wayne On 5 Dec 2019, at 12:28 pm, Wayne Irvine <wa...@byteserve.com.au> wrote: I’m submitting some details to a courier’s API in an effort to get back a range of quotes. All was working correctly until just before I left for holidays. The error is:File: tdtest2.tafPosition: WebCall2Class: InternalMain Error Number: -1001Unable to send data when processing URL request.wrong when connecting with SSL SSL peer handshake failed, the server most likely requires a client certificate to connect I assume there is some client certificate on the server that is out of date. I’m using OSX but assume the problem happens on all platforms. Any pointers? Wayne Irvine Byteserve Pty Ltdw: http://www.byteserve.com.au/e: i...@byteserve.com.aup: +61 02 9960 6099   m: 0409 960 609   f: +61 02 9960 6088  To unsubscribe from this list, please send an email to lists...@terascript.com with "unsubscribe terascript-talk" in the body.  Byteserve Pty Ltdw: http://www.byteserve.com.au/e: i...@byteserve.com.aup: +61 02 9960 6099   m: 0409 960 609   f: +61 02 9960 6088  To unsubscribe from this list, please send an email to lists...@terascript.com with "unsubscribe terascript-talk" in the body. To unsubscribe from this list, please send an email to lists...@terascript.com with "unsubscribe terascript-talk" in the body.
Byteserve Pty Ltdw: http://www.byteserve.com.au/e: i...@byteserve.com.aup: +61 02 9960 6099   m: 0409 960 609   f: +61 02 9960 6088




To unsubscribe from this list, please send an email to lists...@terascript.com with "unsubscribe terascript-talk" in the body.


RE: TeraScript-Talk: API no longer working. SSL error

2019-12-05 Thread Robert Shubert
It's hard to say if updating cURL on the OS will break TS. When we build TS we 
do so against the prevailing cURL on our build system. Newer versions may or 
may not be compatible.



From: Wayne Irvine [mailto:wa...@byteserve.com.au]
Sent: Wednesday, December 04, 2019 9:00 PM
To: TeraScript-Talk@terascript.com
Subject: Re: TeraScript-Talk: API no longer working. SSL error



Looking into this it appears the issue is with CURL on OSX not using OpenSSL 
but some proprietary code.



Solution seems to be to remove the native CURL and rebuild with a generic 
version. Just wondering if I have to tell Terascript anything about the new 
version. And will it break everytime I update the system?



Also puzzled as to why it worked for a few weeks then just stopped. I assume 
something changed, I just don’t know what.



Wayne



On 5 Dec 2019, at 12:28 pm, Wayne Irvine mailto:wa...@byteserve.com.au> > wrote:



I’m submitting some details to a courier’s API in an effort to get back a range 
of quotes. All was working correctly until just before I left for holidays.



The error is:

File: tdtest2.taf
Position: WebCall2
Class: Internal
Main Error Number: -1001

Unable to send data when processing URL request.
wrong when connecting with SSL SSL peer handshake failed, the server most 
likely requires a client certificate to connect



I assume there is some client certificate on the server that is out of date. 
I’m using OSX but assume the problem happens on all platforms. Any pointers?



Wayne Irvine



Byteserve Pty Ltd
w: http://www.byteserve.com.au/
e: i...@byteserve.com.au <mailto:i...@byteserve.com.au>
p: +61 02 9960 6099
m: 0409 960 609
f: +61 02 9960 6088





  _

To unsubscribe from this list, please send an email to lists...@terascript.com 
<mailto:lists...@terascript.com>  with "unsubscribe terascript-talk" in the 
body.



Byteserve Pty Ltd
w: http://www.byteserve.com.au/
e: i...@byteserve.com.au <mailto:i...@byteserve.com.au>
p: +61 02 9960 6099
m: 0409 960 609
f: +61 02 9960 6088





  _

To unsubscribe from this list, please send an email to lists...@terascript.com 
<mailto:lists...@terascript.com>  with "unsubscribe terascript-talk" in the 
body.





 To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


Re: TeraScript-Talk: API no longer working. SSL error

2019-12-04 Thread Wayne Irvine
Looking into this it appears the issue is with CURL on OSX not using OpenSSL 
but some proprietary code.

Solution seems to be to remove the native CURL and rebuild with a generic 
version. Just wondering if I have to tell Terascript anything about the new 
version. And will it break everytime I update the system?

Also puzzled as to why it worked for a few weeks then just stopped. I assume 
something changed, I just don’t know what.

Wayne

> On 5 Dec 2019, at 12:28 pm, Wayne Irvine  wrote:
>
> I’m submitting some details to a courier’s API in an effort to get back a 
> range of quotes. All was working correctly until just before I left for 
> holidays.
>
> The error is:
> File: tdtest2.taf
> Position: WebCall2
> Class: Internal
> Main Error Number: -1001
>
> Unable to send data when processing URL request.
> wrong when connecting with SSL SSL peer handshake failed, the server most 
> likely requires a client certificate to connect
>
> I assume there is some client certificate on the server that is out of date. 
> I’m using OSX but assume the problem happens on all platforms. Any pointers?
>
> Wayne Irvine
>
> Byteserve Pty Ltd
> w: http://www.byteserve.com.au/ 
> e: i...@byteserve.com.au 
> p: +61 02 9960 6099
> m: 0409 960 609
> f: +61 02 9960 6088
>
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com  with "unsubscribe 
> terascript-talk" in the body.

Byteserve Pty Ltd
w: http://www.byteserve.com.au/
e: i...@byteserve.com.au
p: +61 02 9960 6099
m: 0409 960 609
f: +61 02 9960 6088





 To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


TeraScript-Talk: API no longer working. SSL error

2019-12-04 Thread Wayne Irvine
I’m submitting some details to a courier’s API in an effort to get back a range 
of quotes. All was working correctly until just before I left for holidays.

The error is:
File: tdtest2.taf
Position: WebCall2
Class: Internal
Main Error Number: -1001

Unable to send data when processing URL request.
wrong when connecting with SSL SSL peer handshake failed, the server most 
likely requires a client certificate to connect

I assume there is some client certificate on the server that is out of date. 
I’m using OSX but assume the problem happens on all platforms. Any pointers?

Wayne Irvine

Byteserve Pty Ltd
w: http://www.byteserve.com.au/
e: i...@byteserve.com.au
p: +61 02 9960 6099
m: 0409 960 609
f: +61 02 9960 6088





 To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.