The Dreaded tsNet "Error Previous request not completed" iOS app
matthias_livecode_150811 at m-r-d.de
matthias_livecode_150811 at m-r-d.de
Wed Nov 17 17:26:28 EST 2021
According to Livecode's website https://livecode.com/pro-features/
Complete Advanced Networking Layer:
- Non-blocking, asynchronous operations on SFTP, SMTP, SMTPS and SMTP/TLS
- SFTP authentication via public key authentication giving the best possible security
- SMTP(S/TLS) / SFTP downloads and uploads can either be via file or via variable – you are not limited by the memory available to your variable
- Ability to generate public / private key pairs suitable for use with SFTP – no need for an external application to create these
- Ability to send additional raw commands along with FTP and SFTP transfers to be executed before or after the transfer completes
Regards,
Matthisa
> Am 17.11.2021 um 23:04 schrieb Ralph DiMola via use-livecode <use-livecode at lists.runrev.com>:
>
> What is the "pro version" of tsNet the Charles refers to in that thread?
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdimola at evergreeninfo.net
>
>
> -----Original Message-----
> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
> Of J. Landman Gay via use-livecode
> Sent: Wednesday, November 17, 2021 2:44 PM
> To: How to use LiveCode
> Cc: J. Landman Gay
> Subject: Re: The Dreaded tsNet "Error Previous request not completed" iOS
> app
>
> On 11/16/21 6:51 PM, Ralph DiMola via use-livecode wrote:
>> iOS app built with LC 9.6.5 rc2 on Big Sur using Xcode 12.5.
>> I am doing several synchronous operations in the form "put url
>> (some-url) into tVar". I do 1 or 2 and then every request after that
>> fails. Played with the various timeouts with no success. I also tried
>> setting tsNetLibUrlReuseConnection to false. This code worked in
>> previous versions of LC. Fails on iPad but works in the IDE. Has
>> anyone seen this? I have a little bit of a time crunch. Any suggestions
> would be appreciated.
>
> I asked about the same thing a month ago. Here's the reply by Charles
> Warwick:
> <https://www.mail-archive.com/use-livecode@lists.runrev.com/msg113554.html>
>
> The essence is:
> "In order to fix this, you can use tsNet's asynchronous commands (e.g.
> tsNetGet instead of tsNetGetSync, tsNetPost instead of tsNetPostSync, ...)
> or libURL's "load URL" command. The "load URL" command only support HTTP
> GET requests which means that if you need to use other types of requests
> (e.g. POST) then use the tsNet functions directly."
>
> Rather than rewrite all my scripts I settled for a short wait between
> requests.
>
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list