+1 vote
by (130 points)

Locally on Windows (.NET Core 2.0) works fine. However, when deployed to aws lambda (.NET Core 2.0) it throws TlsException:

Rebex.Net.TlsException: The type initializer for 'Rebex.b87f' threw an exception. ---> Rebex.Net.TlsException: The type initializer for 'Rebex.b87f' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Rebex._b87f' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'Bcrypt.dll': The specified module or one of its dependencies could not be found.

I googled and it seems that it references Windows library.
Can you help to find the reason?

Applies to: Rebex FTP/SSL
by (130 points)
Same problem. Will this be fixed in the next release?
by (144k points)
Yes, we have already fixed this and the next release will incorporate the change as well. Until then, please use the beta version - I just sent a link to your email address.

1 Answer

0 votes
by (5.1k points)

Hello,

Support for the .NET Core platform on Linux and MacOS is still experimental. We plan to add full support in one of the next releases.

However, I have identified the cause of the exception. If you are interested, drop me an email at support@rebex.net and I will be glad to prepare hotfix for you.

Thanks!

...