Re: Server error? SOLVED

2020-12-31 Thread Bob Sneidar via use-livecode
Yup. I said try replacing the older library with the newer one. You would have 
had to do that in the standalone. I didn’t know there were two versions, but it 
seemed obvious there must have been.

Bob S


On Dec 31, 2020, at 9:15 AM, Klaus major-k via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

Hi Bob,

Am 31.12.2020 um 18:01 schrieb Bob Sneidar via use-livecode 
mailto:use-livecode@lists.runrev.com>>:

Hey, what I said! :-)

oh, really?
Sorry must have missed that. :-(

Anyway, a happy (and better) new year, everybody!

Bob S

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Server error? SOLVED

2020-12-31 Thread Klaus major-k via use-livecode
Hi Bob,

> Am 31.12.2020 um 18:01 schrieb Bob Sneidar via use-livecode 
> :
> 
> Hey, what I said! :-)

oh, really? 
Sorry must have missed that. :-(

Anyway, a happy (and better) new year, everybody!

> Bob S
> 
> On Dec 31, 2020, at 3:08 AM, Klaus major-k via use-livecode 
> mailto:use-livecode@lists.runrev.com>> wrote:
> Hi all,
> we could finally solve the problem by copying the revsecurity.dll from
> LC 9 to the LC 5.x runtime folder! 8-)
> ...

Best

Klaus

--
Klaus Major
https://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Server error? SOLVED

2020-12-31 Thread Bob Sneidar via use-livecode
Hey, what I said! :-)

Bob S


On Dec 31, 2020, at 3:08 AM, Klaus major-k via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

Hi all,

we could finally solve the problem by copying the revsecurity.dll from
LC 9 to the LC 5.x runtime folder! 8-)

I really had no idea that they were compatible!?

Nevertheless I will write to the mothership next week, just to get to
know why everythings works fine in the IDE but not in a runtime.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Server error? SOLVED

2020-12-31 Thread Klaus major-k via use-livecode
Hi Mark,

> Am 31.12.2020 um 12:30 schrieb Mark Waddingham via use-livecode 
> :
> 
> On 2020-12-31 11:08, Klaus major-k via use-livecode wrote:
>> Hi all,
>> we could finally solve the problem by copying the revsecurity.dll from
>> LC 9 to the LC 5.x runtime folder! 8-)
>> I really had no idea that they were compatible!?
>> Nevertheless I will write to the mothership next week, just to get to
>> know why everythings works fine in the IDE but not in a runtime.
> 
> The IDE loads different DLLs from those it includes in standalones. So there 
> is a revsecurity.dll (near/next to) the IDE engine on Windows, and also one 
> in the Runtime/Windows... folder. The latter is copied into standalones, the 
> former is only used by the IDE.

OK, so there ARE in fact two different versions.

> It suggests that you have previously copied a newer DLL over the one near the 
> IDE engine - so it works in the IDE...
> Then when you copied the same DLL into the runtime folder, it then works in 
> standalones too.

I cannot speak for my customer, but maybe that is the case with him.

However I have a "stock" Mac installation of LC 5.02 on my Mac, which I did NOT 
alter in any way.
But here the same thing happened, it worked in the IDE, but not in the runtime!?

And on the Mac there is even not revsecurity.dll, I think this functionality is 
in the engine.

> The DLLs from newer versions aren't guaranteed to be compatible with older 
> versions - in the specific case of revsecurity it depends on whether OpenSSL 
> has changed its API in a way which causes an incompatibility but it hasn't 
> done this very often (fortunately in this case, it would seem!).

Yo! :-)

> Warmest Regards,
> 
> Mark.

Thanks for the explanation!


Best

Klaus



--
Klaus Major
https://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Server error? SOLVED

2020-12-31 Thread Mark Waddingham via use-livecode

On 2020-12-31 11:08, Klaus major-k via use-livecode wrote:

Hi all,

we could finally solve the problem by copying the revsecurity.dll from
LC 9 to the LC 5.x runtime folder! 8-)

I really had no idea that they were compatible!?

Nevertheless I will write to the mothership next week, just to get to
know why everythings works fine in the IDE but not in a runtime.


The IDE loads different DLLs from those it includes in standalones. So 
there is a revsecurity.dll (near/next to) the IDE engine on Windows, and 
also one in the Runtime/Windows... folder. The latter is copied into 
standalones, the former is only used by the IDE.


It suggests that you have previously copied a newer DLL over the one 
near the IDE engine - so it works in the IDE... Then when you copied the 
same DLL into the runtime folder, it then works in standalones too.


The DLLs from newer versions aren't guaranteed to be compatible with 
older versions - in the specific case of revsecurity it depends on 
whether OpenSSL has changed its API in a way which causes an 
incompatibility but it hasn't done this very often (fortunately in this 
case, it would seem!).


Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Server error? SOLVED

2020-12-31 Thread Klaus major-k via use-livecode
Hi all,

we could finally solve the problem by copying the revsecurity.dll from 
LC 9 to the LC 5.x runtime folder! 8-)

I really had no idea that they were compatible!?

Nevertheless I will write to the mothership next week, just to get to
know why everythings works fine in the IDE but not in a runtime.

> Am 30.12.2020 um 16:09 schrieb Klaus major-k :
> 
> Hi all,
> 
> I am currently working on a stack in LC 5.x for a customer.
> This stack only loads another stack from a server and displays it.
> 
> Works fine in the IDE, but I get this error when trying this in the 
> standalone, alle externals etc. are in fact present.
> The error reads:
> --
> Cannot connect
> error error:1407742E:SSL
> routines:SSL23_GET_SERVER_HELLO:tlsv1
> alert protocol version
> ---
> Maybe this is a mismatch between the SSL version on the server
> and the SSL version in LC5.x? 
> But then it should also not work in the IDE!? This is very strange.
> Any insights and workarounds, if any, are very welcome, thanks!

Best

Klaus

--
Klaus Major
https://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode