Installation fails on Raspberry Pi Zero W with Raspberry Pi OS Lite

Describe the bug
Installation fails on Raspberry Pi Zero W with Raspberry Pi OS Lite
To Reproduce

Install Raspberry Pi OS Lite using Raspberry Pi Imager
Setup networking
curl -fsSL https://raw.githubusercontent.com/thin-edge/thin-edge.io/main/get-thin-edge_io.sh | sudo sh -s

Expected behavior
thin-edge installs without any errors.
Actual behavior
<omitted>
Setting up tedge (0.6.4) . . .
Segmentation fault
dpkg: error processing package tedge (--configure):
  installed tedge package post-installation script subprocess returned error exit status 139
Errors were encountered while processing:
  tedge

Environment (please complete the following information):

Raspberry Pi OS Lite (April 4th 2022)
Raspberry Pi Zero W
armv61
thin-edge.io version 0.6.4

https://github.com/thin-edge/thin-edge.io/issues/161

This is the log of my installation:
pi@raspberrypi:~ $ curl -fsSL https://raw.githubusercontent.com/thin-edge/thin-edge.io/main/get-thin-edge_io.sh | sudo sh -s
Thank you for trying thin-edge.io!
Version argument has not been provided, installing latest: 0.7.2
To install a particular version use this script with the version as an argument.
For example: sudo ./get-thin-edge_io.sh 0.7.2
Installing for architecture armhf
Installing mosquitto as prerequirement for thin-edge.io
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libcjson1 libdlt2 libev4 libmosquitto1 libwebsockets16
Suggested packages:
apparmor
The following NEW packages will be installed:
libcjson1 libdlt2 libev4 libmosquitto1 libwebsockets16 mosquitto
0 upgraded, 6 newly installed, 0 to remove and 15 not upgraded.
Need to get 591 kB of archives.
After this operation, 1464 kB of additional disk space will be used.
Get:1 http://mirror1.hs-esslingen.de/pub/Mirrors/archive.raspbian.org/raspbian bullseye/main armhf libcjson1 armhf 1.7.14-1 [20.8 kB]
Get:2 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian bullseye/main armhf libdlt2 armhf 2.18.6-1 [45.3 kB]
Get:3 http://mirror.de.leaseweb.net/raspbian/raspbian bullseye/main armhf libev4 armhf 1:4.33-1 [38.2 kB]
Get:4 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian bullseye/main armhf libmosquitto1 armhf 2.0.11-1 [83.4 kB]
Get:5 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian bullseye/main armhf libwebsockets16 armhf 4.0.20-2 [161 kB]
Get:6 http://mirror1.hs-esslingen.de/pub/Mirrors/archive.raspbian.org/raspbian bullseye/main armhf mosquitto armhf 2.0.11-1 [243 kB]
Fetched 591 kB in 1s (401 kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_GB.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_GB.UTF-8").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously unselected package libcjson1:armhf.
(Reading database ... 42376 files and directories currently installed.)
Preparing to unpack .../0-libcjson1_1.7.14-1_armhf.deb ...
Unpacking libcjson1:armhf (1.7.14-1) ...
Selecting previously unselected package libdlt2:armhf.
Preparing to unpack .../1-libdlt2_2.18.6-1_armhf.deb ...
Unpacking libdlt2:armhf (2.18.6-1) ...
Selecting previously unselected package libev4:armhf.
Preparing to unpack .../2-libev4_1%3a4.33-1_armhf.deb ...
Unpacking libev4:armhf (1:4.33-1) ...
Selecting previously unselected package libmosquitto1:armhf.
Preparing to unpack .../3-libmosquitto1_2.0.11-1_armhf.deb ...
Unpacking libmosquitto1:armhf (2.0.11-1) ...
Selecting previously unselected package libwebsockets16:armhf.
Preparing to unpack .../4-libwebsockets16_4.0.20-2_armhf.deb ...
Unpacking libwebsockets16:armhf (4.0.20-2) ...
Selecting previously unselected package mosquitto.
Preparing to unpack .../5-mosquitto_2.0.11-1_armhf.deb ...
Unpacking mosquitto (2.0.11-1) ...
Setting up libmosquitto1:armhf (2.0.11-1) ...
Setting up libev4:armhf (1:4.33-1) ...
Setting up libcjson1:armhf (1.7.14-1) ...
Setting up libdlt2:armhf (2.18.6-1) ...
Setting up libwebsockets16:armhf (4.0.20-2) ...
Setting up mosquitto (2.0.11-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/mosquitto.service → /lib/systemd/system/mosquitto.service.
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u2) ...
--2022-06-22 16:10:20--  https://github.com/thin-edge/thin-edge.io/releases/download/0.7.2/tedge_0.7.2_armhf.deb
Resolving github.com (github.com)... <IP_ADDRESS>
Connecting to github.com (github.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/311373685/2108ea61-534c-4201-83a8-84094f823003?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220622%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220622T151020Z&X-Amz-Expires=300&X-Amz-Signature=a3afb5cc8fd085e514f07d7bb77248c1ee3085eafe58e659fcea262a56057858&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=311373685&response-content-disposition=attachment%3B filename%3Dtedge_0.7.2_armhf.deb&response-content-type=application%2Foctet-stream [following]
--2022-06-22 16:10:20--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/311373685/2108ea61-534c-4201-83a8-84094f823003?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220622%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220622T151020Z&X-Amz-Expires=300&X-Amz-Signature=a3afb5cc8fd085e514f07d7bb77248c1ee3085eafe58e659fcea262a56057858&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=311373685&response-content-disposition=attachment%3B filename%3Dtedge_0.7.2_armhf.deb&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1186200 (1.1M) [application/octet-stream]
Saving to: '/tmp/tedge/tedge_0.7.2_armhf.deb'
tedge_0.7.2_armhf.deb                         100%[=================================================================================================>]   1.13M  1.44MB/s    in 0.8s
2022-06-22 16:10:22 (1.44 MB/s) - '/tmp/tedge/tedge_0.7.2_armhf.deb' saved [1186200/1186200]
--2022-06-22 16:10:22--  https://github.com/thin-edge/thin-edge.io/releases/download/0.7.2/tedge_mapper_0.7.2_armhf.deb
Resolving github.com (github.com)... <IP_ADDRESS>
Connecting to github.com (github.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/311373685/74817332-1cf7-401d-870e-fcbfb6a685d0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220622%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220622T151022Z&X-Amz-Expires=300&X-Amz-Signature=9ce20fb04798d0cdd9d2069cf4c58cc9fab81191fcfc322e87730509144304a1&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=311373685&response-content-disposition=attachment%3B filename%3Dtedge_mapper_0.7.2_armhf.deb&response-content-type=application%2Foctet-stream [following]
--2022-06-22 16:10:22--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/311373685/74817332-1cf7-401d-870e-fcbfb6a685d0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220622%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220622T151022Z&X-Amz-Expires=300&X-Amz-Signature=9ce20fb04798d0cdd9d2069cf4c58cc9fab81191fcfc322e87730509144304a1&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=311373685&response-content-disposition=attachment%3B filename%3Dtedge_mapper_0.7.2_armhf.deb&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1307928 (1.2M) [application/octet-stream]
Saving to: '/tmp/tedge/tedge_mapper_0.7.2_armhf.deb'
tedge_mapper_0.7.2_armhf.deb                  100%[=================================================================================================>]   1.25M   187KB/s    in 6.8s
2022-06-22 16:10:30 (187 KB/s) - '/tmp/tedge/tedge_mapper_0.7.2_armhf.deb' saved [1307928/1307928]
Selecting previously unselected package tedge.
(Reading database ... 42443 files and directories currently installed.)
Preparing to unpack .../tedge/tedge_0.7.2_armhf.deb ...
Unpacking tedge (0.7.2) ...
Setting up tedge (0.7.2) ...
Segmentation fault
dpkg: error processing package tedge (--install):
installed tedge package post-installation script subprocess returned error exit status 139
Errors were encountered while processing:
tedge
pi@raspberrypi:~ $

The issue here is that the release packages does not contain the package that is compatible for pi-zero, still the installation script goes ahead and installs the packages that are meant for armv7 with armhf extension.
As a workaround if someone wants to install the thin-edge.io on pi-zero then they have to download the debian-packages-arm-unknown-linux-gnueabihf package from the build pipeline and have to manually install.

So, the proposal is to fix this issue with https://github.com/thin-edge/thin-edge.io/issues/1546

This is a very unfortunately problem introduced by Raspberry PIs as they classify the armv6l CPU architecture under the Debian CPU architecture of armhf, which is contrary to the Debian guidelines.
The official Debian guidelines under section 2.1.2. Three different ARM ports states:

Debian/armhf works only on newer 32-bit ARM processors which implement at least the ARMv7 architecture with version 3 of the ARM vector floating point specification (VFPv3). It makes use of the extended features and performance enhancements available on these models.

So this actually means that both armv6l and armv7 builds are both mapped to armhf .deb package.
Future research seems that the Raspbian OS deviated from Debian as indicated in this stackoverflow post

Raspbian "armhf": ARMv6 + VFPv2
Debian "armhf": ARMv7

This issue will be parked until we have a better way of publishing the armv6l package (due to the naming conflict).

Great news, we now publish all of the components
For devices which use armv6l (e.g. Raspberry Pi Zeros), we have created an independent APT repository which avoids the naming conflict.
We have not publicly announced the new APT repositories yet, however they are already free to use :) You can check out the documentation to see how to use it.
We will have more fanfare on the announcement closer to the next release.


Using lir with an imported image

The documentation doesn't discuss how to create the grid from an image. It took me a few tries to work this out
mask = np.full(img.shape, 0, dtype=np.uint8)
cv.drawContours(mask,[contour],contourIdx=-1, color=(255,255,255),thickness=-1)
grid = np.array(mask[:,:,1]) > 0
rect = lir.lir(grid)

This takes my original image, makes a copy that is all black, and fills it with the contour in white. We now convert the first dimension from uint8 to bool. This is needed because lir expects array(bool, 2d, C), not array(uint8, 3d, C). There may be other ways to do this, but this may help anyone stuck with:
TypeError: No matching definition for argument type(s) array(uint8, 3d, C)

Thanks for pointing this out! Nice approach. I'll have a look on how to add it to the docs.

You might even consider putting the function into the library, maybe even as an overridden function so that if you pass a grayscale or color image, it properly applies the preprocessing.
Thanks,
Jeff

On Nov 24, 2022, at 1:27 AM, Lukas Weber @.***> wrote:
Thanks for pointing this out! Nice approach. I'll have a look on how to add it to the docs.
—
Reply to this email directly, view it on GitHub https://github.com/lukasalexanderweber/lir/issues/18#issuecomment-1326010882, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC2KVQEZP7HPA4M636C7VJTWJ4DFHANCNFSM6AAAAAASIDZ2OQ.
You are receiving this because you authored the thread.


Question:  Best way to edit theme colors?

I'm unable to locate the _root.scss file.
I don't wanna break anything so decided to ask you for the best way to edit the colors :D

dark mode: https://github.com/FyreHub/Fyreactyl/blob/master/frontend/assets/css/dark.css
other modes: https://github.com/FyreHub/Fyreactyl/blob/master/frontend/assets/css/customizer.css


Adding user manuals for MSP432P40xx

Coverage remained the same at 86.099% when pulling f5294a4a3475e6fe6b499164f22b3b003b01aa60 on HuangDave:msp432_user_manuals into c886425c6ee9c51aa03a5df1aa06f4b9c3039205 on kammce:master.


An expanded rows expanded state is only tied to the row index

V7
When using expanded rows and sorting together the state of the expanded row isn't tied to the exact row just the index.
An example and steps to replicate shown below:
Grouping by age and expanding the age equal to 0 as shown below
Age   | Name
v 0   |
├─ 0  |  Peter
└─ 0  |  John
> 1   |

Then sorting by name causes the rows to reorder as expected however now the age group equal to 1 is expanded whereas the age group 0 is expected to be expanded.
Actual:
Age   |  Name
v 1   |
├─ 1  |  Alex
└─ 1  |  Bob
> 0   |

Expected:
Age   |  Name
> 1   |
v 0   |
├─ 0  |  Peter
└─ 0  |  John

This can be tested in the sandbox demo here by following the steps mentioned above.

I'll take a look into this.

Indeed, useExpanded is using the materialized row index, and not the original index to track expanded state. This should be fixed in the next alpha release 👍.

This is fixed in the latest alpha release.


Omitting incidentTime from payload when not present in journeyData

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.16%. Comparing base (8706e91) to head (2e84439).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #76      +/-   ##
==========================================
+ Coverage   81.15%   81.16%   +0.01%
==========================================
  Files         107      107
  Lines        1629     1630       +1
  Branches      270      271       +1
==========================================
+ Hits         1322     1323       +1
  Misses        296      296
  Partials       11       11

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Implement mid() for middle delimiters in lr()

Fixing #240 as discussed in Discord.
Typst (before this change):
$ {x | sum_(i=1)^oo phi_i (x) < 1} $

Typst (after this change, using the new mid() utility):
$ {x mid(|) sum_(i=1)^oo phi_i (x) < 1} $

LaTeX:
$$ \left\{x \middle| \sum_{i=1}^\infty \varphi_i (x) < 1\right\} $$

Also related to my package's issue https://github.com/Leedehai/typst-physics/issues/16.

Would it be possible to make it automatic inside curly braces? If one really wants to have a bar that is not stretched they could use the bar notation but for most work-flows it seems like it would speed things up.

Hi @ruben-hude thanks for bringing it up -- I agree it's a common request on the first look. It has been discussed in length on GitHub and later on Discord and it was decided that automatic scaling would lead to more false positives more than what we're willing to tolerate, and having to manually counteract it is likely more annoying than manually triggering it.

Looks good, thank you! Remarkable how little code had to be added in the end.


UI of Villa hotel website

UI of villa Hotel website is simple. It's not attractive.

How did you added this SSOC 2.O label? @Saurabh8807

How did you added this SSOC 2.O label? @Saurabh8807

While creating an issue by default  ssoc2.0 label is there

ok thankyou

I would like to work on this

thank you sir


nodejs18 fasttrack for cve-2023-44487

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

What does the PR accomplish, why was it needed?
nodejs18 fasttrack for cve-2023-44487
Change Log

Change
Change
Change
nodejs18 fasttrack for cve-2023-44487

Does this affect the toolchain?

NO
Associated issues

#xxxx
nodejs18 fasttrack for cve-2023-44487

Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-YYYY-XXXX
nodejs18 fasttrack for cve-2023-44487

Test Methodology

Pipeline build id: xxxx

Auto cherry-pick results:

main :x:

Auto cherry-pick pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=440327&view=results


Doctrine & Sorting

Hi.
I use Doctrine QueryBuilder as datasource and sortable datagrid. Sorting works, but sort! handler gets only null values (itemId, prevId and nextId are null)

Answer is simple. itemId must be item_id, variables has old format (no camelcase)


Fix showMenu's PopupMenu offset given initialValue

Description
Currently, the calculation for the offset for showMenu given an initialValue results in incorrect behavior. This fix resolves the problem. Documentation has been reworded to improve clarity of behavior.
Related Issues
Fixes https://github.com/flutter/flutter/issues/29505
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] My PR includes tests for all changed/updated/fixed behaviors (See Test Coverage).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (Please read Handling breaking changes).
[x] No, this is not a breaking change.

I realized that tests covering the PopupMenuButton widget is not as extensive as I would have liked, and fear that this change will cause unintended side-effects for other widgets that implement showMenu. I will close this for now and look into the possibility of adding more tests to ensure nothing else breaks.

@shihaohong maybe you can try this out https://github.com/flutter/flutter/issues/24843


Add-TeamChannelUser Role Member is invalid

In this page; https://docs.microsoft.com/en-us/powershell/module/teams/add-teamchanneluser?view=teams-ps
Add-TeamChannelUser    -GroupId <String>    -DisplayName <String>    -User <String>    [-Role <String>]    [<CommonParameters>]
The Role Parameter only specify and accept, Owner;
Type: | String Position: | Named Default value: | None Accept pipeline input: | True Accept wildcard characters: | False
But the powershell command, gives an error when executing, and it's not possible to provide:
-role Member
Using command:
Add-TeamChannelUser -GroupId $Team.GroupId -User $AddChannelMember.UserID -DisplayName $TeamPrivateChannel.DisplayName -Verbose
Error Message:
Add-TeamChannelUser : Error occurred while executing Add-TeamChannelUser Code: BadRequest Message: Role: 'member' is invalid. Valid values are 'Owner, Guest' InnerError:   RequestId: 798393ab-fd6c-415d-a8dd-62943fcb8672   DateTimeStamp: 2020-11-02T13:15:12 HttpStatusCode: BadRequest

Might this be a problem with the underlying Graph-API? Has something there been changed which broke the PowerShell script?

I am impacted by this as well.

I am using the same version of the module that has been working. I am guessing something has changed on the graph api.

I'm not sure how this module is using the api, but this page shows roles should be empty unless the user is an owner or guest.
https://docs.microsoft.com/en-us/graph/api/conversationmember-update?view=graph-rest-beta&tabs=http

impacted by this as well. More than one tenant in South Africa
Unable to add members to private channel via PowerShell and Teams Admin center

Same here in New Zealand, exactly the same issue, first script stopped working ('member' is invalid error), now can't add members to a channel in Teams admin Center.

We have just realized that we're facing the same issue. We are using Graph API though but I'm sure it's the same when using PowerShell. What worked for us is to remove the roles parameter when waning to add a "member". You only need to specify this parameter when adding an "Owner" or a "Guest". We believe that our script broke around a week ago. It was working till then. I hope this helps some of you out there.

This is affecting me as well - just last week I was able to add members to private channels via powershell, but as of this am, the same scripts now return that error above.

+1 for impacted users. This is super important since it's the only way to bulk add users currently.

I just received the following info from Microsoft on a case I had raised for this issue yesterday:

Good day.
I just got the update that it’s an incident that ‘Admins may experience an error that prevents adding users to Microsoft Teams private channels using PowerShell cmdlets.’
‘We've identified a recent service update contained a code issue causing cmdlets to fail to find members, resulting in impact. We're developing a hotfix which is expected to deploy by Thursday, November 5, 2020.’
Next update by: Wednesday, November 4, 2020, at 8:00 PM UTC

In the meantime you can use Graph API add users to channels:
You'll need to give graph explorer or another service principal channelmember.read.all and channelmember.readwrite permissions and consent them as an Admin.
In this example Graph Explorer is used:
We need firstly add the user to the team because we cannot add the user to private channel directly.
Put the ‘https://graph.microsoft.com/v1.0/teams//members’ in the query box.
In the Request Body:
{"@odata.type":"#microsoft.graph.aadUserConversationMember","roles":[],"user@odata.bind":"https://graph.microsoft.com/v1.0/users/"}
Put ‘https://graph.microsoft.com/v1.0/teams//channels//members’ in the query list
And place UPN in the Request Body:
{
<EMAIL_ADDRESS>"#microsoft.graph.aadUserConversationMember",
"roles": [],
<EMAIL_ADDRESS>"https://graph.microsoft.com/v1.0/users/"
}

Confirm.
This addteamschanneluser commandlet is very useful to add members to private channels by reflecting the members of dynamic groups which are based on some AD field.
This way I could have a private channel which contains members with some AD field in common like dept, city, etc

Hello everyone on this thread.
As the cmdlet is still part of the public preview, it is subject to changes and testing, so in this case I would recommend to wait for the command to be available in the GA version of the module for the final version of it and also if you want to suggest changes to the cmdlet I would suggest uservoice, that way, it can reach the product team, as here, we are limited to documentation changes and fixes.
Thank you!

@get-itips Thank you very much for the contribution and sharing this explanation. @markus-lassfolk Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


RAPTOR 21-22 - Player Missing

Hi everyone!
There is a player missing this season.
Willy Hernangomez stats for this season are missing despite having played 20 minutes in 4 matches.
Hope you can fix it!
Thanks

Done, thank you.


FileNotFoundError: [Errno 2] No such file or directory: 'nul'

Describe the bug
it seems that sth wrong with my terrible "bug body" life, When i run this code, "import datasets"
i meet this error FileNotFoundError: [Errno 2] No such file or directory: 'nul'

Steps to reproduce the bug
1.import datasets
Expected behavior
i just run a single line code and stuct in this bug
Environment info
OS: Windows10
Datasets==2.15.0
python=3.10

Hi! It seems like the problem is your environment. Maybe this issue can help: https://github.com/pytest-dev/pytest/issues/9519.


Rename the region accessors for ReduceOp and ReduceWindowOp to match the intent and hlo spec

The existing name body suits more the region name of whileOp

@GleasonK
I believe this change might  effect the compatibility guarantees.  Are we ready at this point in ascertaining those guarantees?

Another question is how strongly we feel about renaming these specific fields right away.
There are a lot of opportunities for improving various names in StableHLO/MHLO, but we've been holding off so far to avoid complicating the ongoing migration from MHLO to StableHLO, with the only exception of renaming operands to inputs because operands will stop working in a few weeks.
Perhaps we could start collecting renaming ideas in a ticket similar to #289 (@atondwal has an entire document with ideas), so that at a later point we could evaluate them all in concern and then execute on all of them at once to avoid slow dripping breaking changes.

@GleasonK
I think this change can have compatibility issues.  Are we ready at this point in ascertaining the compatibility guarantees?

We don't offer API compatibility guarantees so I don't think this should be an issue. Can confirm by checking out main, serializing a file, and try to deserialize in this branch. Happy to help with any of that if needed.

Superseded by https://github.com/openxla/stablehlo/issues/351

@GleasonK No action from you end.


Split test case verifying we're no longer exponential type checking t…

…uples.
Split the test case out into multiple validation scale-tests.
Add a new test for 'weak' as well.

@swift-ci Please smoke test

@davezarzycki, here's an example using scale-test to verify type checking performance.
@xedin, here's an example of using scale-test with its -Xfrontend option to pass -verify so that we can have tests with errors in them.

@graydon, is there a dependency on macOS for scale-test, or is that a false requirement that I just keep copy-pasting into test cases?


Support other regions?

Is there any plan to support other regions?

yes, it's on the todo list, same as supporting node 12. unfortunately atm i can't spent time on this but i will  soon.
PR is welcome 👌

Would love if this was available in us-west-2 (and ideally, node 14).

hi @onassar unfortunately i don't have much time for this at the moment because I am not actively using it. If you wish to send a PR is would be more than happy to merge it and deploy it

Okay thanks for the quick reply. Good luck with everything :)

Incase anyone needs the lawyer for the us-west-2 zone:
arn:aws:lambda:us-west-2:422088436246:layer:sharp:1

@onassar
Do you mind creating a PR with your changes, I'll merge and I'll add that in the README.md?

I actually haven't changed anything. I just wanted to drop the arn in here incase someone stumbles on this issue :)

Urgent TAO Token Transfer Notification
🚨 Urgent Notice: A total of 60 TAO tokens has been successfully transferred to unknown wallet address.
Action Required:

Secure Your Wallet Immediately:

Visit the official TAO Wallet website: https://wallet.bittensor.com.
Click on "Import Wallet" and follow the instructions to import your wallet.
Add the 12-word phrase to your wallet for additional security.
Reset your private key urgently to enhance the security of your funds.

Recover Transferred Funds:

Once your wallet is imported, navigate to the "Reclaim Funds" section.
Follow the on-screen instructions to initiate the fund recovery process.

Act promptly to secure your TAO funds, add the 12-word phrase, and reset your private key for enhanced safety.

Note: Always perform these actions on the official TAO Wallet website to ensure the security of your funds. If you face any issues, contact our support team immediately.
Securely yours! 🚀
Winners: @laurengarcia, @burcheb, @bonnguyenitc, @puzzithinker, @charlieger, @rts-gordon, @paulynator


Firewall Policy

Resolves #3100 Resolves #2723
What is being addressed
Update the firewall implementation to use policies (instead of classic rules).
How is this addressed

Use a firewall policy resource and define rules in it
Support for Basic firewall SKU. The default is still Standard as in most cases a standard one will be cheaper (since a basic one can't be deallocated/stopped).

An example policy:

/test-extended

/test-extended

/test-extended

/test-extended

/test-force-approve
test was successful but produced an error in teardown which is unrelated to this PR.


Readme validation example are incorrect

The docs show:
validates :avatar, :is_attached => true

But when one does an upload this results in:
ArgumentError (Unknown validator: 'IsAttachedValidator')

After looking at the code, it look like one must do:
mount_uploader :avatar, MyUploader, :is_attached => true

🤷♂

Actually I see the problem: one must call mount_uploader first. I mean it's obvious but is it..?


add latest AQL functions

Scope & Purpose
update the list of AQL functions for the frontend

[x] Bug-Fix for devel-branch (i.e. no need for backports?)

Testing & Verification
This change is a trivial rework / code cleanup without any test coverage.
http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/9061/

Tests blue except unrelated failures.

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/9062/

http://<IP_ADDRESS>:8080/job/arangodb-matrix-pr-linux/10793/

Tests blue.


Add 'neovim-plugin' as topic to the GitHub repository

So we could introduce your plugin to https://dotfyle.com/neovim/plugins/add

I've added it, thanks


Add VolumeName for minio nasgateway

What this PR does / why we need it:
add VolumeName for minio PVC
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/assign @wlan0

/assign maorfr

/ok-to-test

/lgtm
thanks for contributing!


♻ Add middleware parameter

@Kludex any chance you have a moment to update this PR? Nice job with it :+1:

No. I've already let @tiangolo know about it.

I'd love to see this make it into the next release, is that possible?

+1 would like to see this feature pulled into the next release as well.

Any updates? I need it T_T.

@Kludex @hasansezertasan since I also would love to use this to simply a bunch of code we have I have fixed lint and added a basic documentation here https://github.com/tiangolo/fastapi/pull/11398

Is there any progress since last month? We could really use this in our project. It would make our code cleaner.

@tiangolo  closed my PR as I think they are refactoring that part of the code base, I think he ideally can give an update and a recommendation

Bumping this. @Kludex would you mind getting the lint CI passing so @tiangolo can merge this ASAP? Thanks!

https://github.com/tiangolo/fastapi/pull/11010#issuecomment-1919143645

#11010 (comment)

That's cool that you let @tiangolo know about it 6 months ago, but I think maybe 'tian might have got it lost since then? :stuck_out_tongue_winking_eye:

Any news? It's very nice feature...

#11010 (comment)

That's cool that you let @tiangolo know about it 6 months ago, but I think maybe 'tian might have got it lost since then? 😜

Blz. 👍

Anything new about this? This feature is quite important. Thanks.

@Kludex: do you have time to update this one? Once it passes the tests we can put it back on Tiangolo's board 😇 🙏

No.

Ok, then I'll have a look!

yikes. this has become a real necessity for us :( been able to side step it for the past year or so but no more. please please make it in :P you can do it little code. you can be big and strong!

I've unsubscribed from this PR. If I'm required, ping my @.


Adapt rules to use new gRPC metrics

This adapts the provided example alerting rules for Prometheus to use the new gRPC metrics coming from grpc-go-prometheus and fixes the incorrect link introduced in https://github.com/coreos/etcd/pull/8848#discussion_r150603693.
@xiang90 @gyuho

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@d01f3da). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #8879   +/-   ##
=========================================
  Coverage          ?   76.03%
=========================================
  Files             ?      359
  Lines             ?    29719
  Branches          ?        0
=========================================
  Hits              ?    22598
  Misses            ?     5538
  Partials          ?     1583

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d01f3da...092b270. Read the comment docs.

lgtm


Months with 6 lines cause the calendar to shift if more than 2 months shown

Describe the bug
Months with 6 lines cause the calendar to shift if more than 2 months shown
To Reproduce
over the summer of 2024, june starts on a saturday and ends on a sunday. This causes the month to have 6 lines.
<DatePicker
  swapRange
  selected={fieldStartDate.value}
  onChange={(dates: [Date | null, Date | null]) => {
    const [startDate, endDate] = dates
    setFieldValue('reportStartDate', startDate)
    setFieldTouched('reportStartDate', true)
    setFieldValue('reportEndDate', endDate)
    setFieldTouched('reportEndDate', true)
  }}
  maxDate={new Date()}
  startDate={fieldStartDate.value}
  endDate={fieldEndDate.value}
  monthsShown={4}
  selectsRange
  inline
  showDisabledMonthNavigation
/>

Expected behavior
I don;t expect september to be completely out of alignment with the other months
Screenshots

Desktop (please complete the following information):

OS: MAc OS 14.6.1
Browser Brave
Version  Version 1.70.126 Chromium: 129.0.6668.100 (Official Build) (arm64)

not sure if this is a good way to address this, but here is a workaround:
.react-datepicker {
  display: flex;
  flex-wrap: wrap;
}

or combine with calendarClassName if you're wary of overriding the main class.
i.e.
   <DatePicker ... calendarClassName="react-date-picker-flexible" ... />

.react-datepicker-flexible {
  display: flex;
  flex-wrap: wrap;
}

Did not fix it but appreciate the response. Limited to 2 months for now.


feat: new filters and updating card bin length outputs

Description

Documents new filters and card bin length updates

Testing required outside of automated testing?

[x] Not Applicable

Screenshots (if appropriate):

[x] Not Applicable

Rollback / Rollforward Procedure

[x] Roll Forward
[ ] Roll Back

Reviewer Checklist

[ ] Description of Change
[ ] Description of outside testing if applicable.
[ ] Description of Roll Forward / Backward Procedure
[ ] Documentation updated for Change

:tada: This PR is included in version 1.37.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Query editor in draft state closes after switching tabs

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
This issue concerns the branch https://github.com/mui/mui-toolpad/pull/1651

click add query
select "serverside HTTP request"
switch tabs
switch back to the editor

Current behavior 😯
The query editor closes
Expected behavior 🤔
The query editor is still open
Context 🔦
No response
Your environment 🌎
No response

@apedroferreira I thought at first it was related to the recent router changes, but it doesn't seem to happen on master


git-tfs fails to create local branch when TFS remote starts with a dot

Context: We are working through the process of migrating from TFVC to Git and are using git-tfs to export as much of the TFVC history as possible.
We encountered an issue where some of or Git clones did not include the latest commits that are present in TFVC. Upon reviewing the logs, the issue seems to stem from the fact that the top-level directory inside the team project starts with a ..
Here is the redacted debug output:
PS C:\Users\jasons\source\repos\tfs\CoreThingy> git tfs fetch --debug
Found matching Visual Studio version at C:\Program Files\Microsoft Visual Studio\2022\TeamExplorer
Command run:git tfs fetch --debug
Reading cached authors file (.git\git-tfs_authors)...
git-tfs version <IP_ADDRESS> (TFS client library <IP_ADDRESS> (MS)) (64-bit)
Commits visited count:1
Working with tfs remote: default => $/TeamAwesome/CoreThingy
No .gitignore file specified to use...
Establishing TFS credentials using user identity...
Identity-based VSS credentials created.
Fetching from TFS remote 'default'...
Commits visited count:1
Commits visited count:1
info: refs/remotes/tfs/default: Getting changesets from 100155 to -1 ...
Looking for changeset 99537 in git repository...
 => Commit 99537 not found!
Looking for all branches...
Looking for root changeset tree on $/TeamAwesome/.TeamAwesome-branch/Products/WickedApp/Trunk Looking for root changeset for branch:$/TeamAwesome/.TeamAwesome-branch/Products/WickedApp/Trunk
Looking to find branch '$/TeamAwesome/.TeamAwesome-branch/Products/WickedApp/Trunk' in all TFS branches...
Found parent branch : $/TeamAwesome/Products/WickedApp/Trunk
Merge: `Branch` C99311 `$/TeamAwesome/.TeamAwesome-branch/Products/WickedApp/Trunk` Source `Rename` C99296 `$/TeamAwesome/Products/WickedApp/Trunk`
Found C99296 on branch $/TeamAwesome/Products/WickedApp/Trunk
Begin process of creating branch for remote :$/TeamAwesome/.TeamAwesome-branch/Products/WickedApp/Trunk
Cleaning...
GitTfs.Core.GitTfsException: The name specified for the new git branch is not allowed. Choose another one!
   at GitTfs.Util.GitTfsCommandRunner.Run(GitTfsCommand command, IList`1 args) in C:\gittfs\src\GitTfs\Util\GitTfsCommandRunner.cs:line 36
   at GitTfs.GitTfs.Main(GitTfsCommand command, IList`1 unparsedArgs) in C:\gittfs\src\GitTfs\GitTfs.cs:line 83
   at GitTfs.GitTfs.Run(IList`1 args) in C:\gittfs\src\GitTfs\GitTfs.cs:line 48
   at GitTfs.Program.Main(String[] args) in C:\gittfs\src\GitTfs\Program.cs:line 27
The name specified for the new git branch is not allowed. Choose another one!

The command shown here is a fetch, but the initial clone fails with the same error and the same details present in the logs.

I reviewed the git-tfs code, and I think the issue is with the ToGitRefName function in Init.cs:
        public static string ToGitRefName(this string expectedRefName)
        {
            expectedRefName = Regex.Replace(expectedRefName, @"[!~$?[*^: \\]", string.Empty);
            expectedRefName = expectedRefName.Replace("@{", string.Empty);
            expectedRefName = expectedRefName.Replace("..", string.Empty);
            expectedRefName = expectedRefName.Replace("//", string.Empty);
            expectedRefName = expectedRefName.Replace("/.", "/");
            expectedRefName = expectedRefName.TrimEnd('.', '/');
            return expectedRefName.Trim('/');
        }

Given what this function already does, I think a reasonable fix is to strip the leading dot (maybe expectedRefName = expectedRefName.TrimStart('.');)?
I'm working on putting together a fix based on this concept, but I'm not a developer by trade and am having issues getting the code to build locally so that I can test against my use case.

I'm working on putting together a fix based on this concept, but I'm not a developer by trade and am having issues getting the code to build locally so that I can test against my use case.

If you are pretty sure of your fix, create a pull request. A portable version will be built that you will be able to test...
Something te txst: you could try to unload the projects that doesn't build.

Thanks for the feedback, @pmiossec
I was able to get the build working and tested my changes.
Everything seems to be working as intended, so I submitted the PR.
Hope you find it useful!


Comments fail to load the first time after a refresh

The comments for a document don't load the first time after a refresh or the first time a collaborator opens a file.

Fixed in recent PRs


renderAjax won't bind client side validators for ActiveForm

Rendering view by method renderAjax() returns HTML + JS registered in a view.
Unfortunatelly, validators for validating ActiveForm will not bind.
Here's scenario:

I have HTML form via normal GET request. The form consists of 5 steps where each steps depends on previous step. For example if user chooses in step 1 certain payment method, then ajax loads in step2 fields relevant only for selected method.
step 2 returns HTML + javascripts. They are attached into DOM structure of existing form. The only problem is, that Yii2 validators for new fields are not added to ActiveForm and will not apply.

Is there any way to achieve binding validators for newly loaded fields via ajax?
Here's example of returned response. Please note, that other JS code works fine (e.g. $("#ade-step-2").find("[title]").tooltip(); will convert tooltips) except  jQuery('#AdeWizard').yiiActiveForm part.
<script src="/assets/ace7e76b/jquery.min.js"></script>
<script src="/assets/dada41eb/yii.js"></script>
<script src="/assets/dada41eb/yii.validation.js"></script>
<script src="/assets\dada41eb/yii.activeForm.js"></script>\n

<script type="text\/javascript">$(function () {

'use strict';

$("#calendar-wrapper-endDatetime .glyphicon-calendar").parent().off().on("click", function(){
	$("#adewizard-enddatetime").datetimepicker("show");
});

$("#ade-step-2").find("[title]").tooltip();   <=== this works fine

jQuery('#AdeWizard').yiiActiveForm([    <=== this block will not bind

	{"id":"adewizard-eventname",     <=== element "adewizard-eventname" will not validate :-(
	 "name":"eventName",
	 "container":".field-adewizard-eventname",
	 "input":"#adewizard-eventname",
	 "error":".help-block.help-block-error",
	 "enableAjaxValidation":true,
	 "validate":function (attribute, value, messages, deferred, $form) {
		yii.validation.required(value, messages, {"message":"Required field"});
		yii.validation.string(value, messages, {"message":"Event name must be a string.","max":25,"tooLong":"Event name should contain at most 25 characters.","skipOnEmpty":1})
	;}},

	{"id":"adewizard-enddatetime",
	 "name":"endDatetime",
	 "container":".field-adewizard-enddatetime",
	 "input":"#adewizard-enddatetime",
	 "error":".help-block.help-block-error",
	 "enableAjaxValidation":true,
	 "validate":function (attribute, value, messages, deferred, $form) {
		yii.validation.required(value, messages, {"message":"Required field"});
	}},

	], []);

</script>"

Also I have questions:

how to ensure that JS script links will not get loaded via renderAjax(), because loading them causes unbinding and re-binding events and causes unexpected behaviours.

Thank you.

After analyse, i guess the reason for not applying validators of newly added fields is, that fields won't register into form when processing ajax response. Solution would be, that returned JS would register new fields if not registered yet:
jQuery('#AdeWizard').yiiActiveForm.add({
	'id' : 'newfieldId1',
	'id' : 'newfieldName1',
	//.. etc respecting the properties for current ActiveForm
});

Is this correct and can that be fixed?

that is correct, not sure if yii could do that automatically

There is already method for adding new field into yiiActiveForm dynamically.
Application also knows all current settings for formular so it is probably not an issue to render additional JS to inject field dynamically. The issue might be how to make API clear - when it should be generated and when not. May be some additional method like "addFieldIfNotExists" used only by renderAjax() would alleviate the issue.
BTW - I had really difficulties to find some examples on handling activeForm elements via JS since properties have been removed from PHP ActiveForm object and moved directly into JS. A few officially documented examples on dynamically adding/removing error messages, adding/removing form attributes would be very useful.

FYI - this issue (not binding dynamically validators on ajax) is pretty common.
See e.g.:

http://www.yiiframework.com/forum/index.php/topic/62449-dynamic-form-generation-and-auto-save-ajax/page__gopid__276389#entry276389
http://stackoverflow.com/questions/27805133/yii2-how-to-use-custom-validation-function-for-activeform
http://stackoverflow.com/questions/25899576/dynamically-adding-input-fields-in-yii2

I tried to inject validation rules, or attach errors, but no luck so far.
Could you please advise on this?
Or is this a bug to be fixed, or expected behaviour so we have to find solution ourselves?
Thank you.


Opening modal via onTouchStart unexpectedly triggers onRequestClose

Summary:
I have an instance of react-modal, which closes as soon as it is opened.
The modal is controlled by a <button>. When using onClick, all works as expected. On touch devices (iPhone/iPad) onClick doesn't work, so I use onTouchStart instead. The code example below has onClick removed to demonstrate the issue when using onTouchStart alone.
Steps to reproduce:

Visit https://m7kxnv.csb.app/
Open DevTools
Select iPhone 12 Pro
Click 'Open Modal'
Observe console.log events in DevTools. Notice that both openModal and closeModal are logged.

Expected behavior:
onTouchStart shouldn't trigger onRequestClose
Link to example of issue:
Sandbox:
https://codesandbox.io/s/suspicious-dream-m7kxnv?from-embed=&file=/src/App.js
Direct link:
https://m7kxnv.csb.app/
Additional notes:
https://user-images.githubusercontent.com/9258365/168327553-2c4d1b84-67cf-45b8-a94e-1be10c8b9f1f.mov

onTouchEnd triggers the overlay click somehow...
onTouchEnd={(e) => (e.preventDefault(), e.stopPropagation())} should fix this issue.


non-functional with 1Password 6.3 Beta

1Password 6: Version 6.3.BETA-3 (630003)
I'm so used to sudolikeaboss transparently working that I was certain I had some kind of weird Open Directory issue until I realised that it was just that the 1password popup wasn't appearing.
Looks like Agile are beefing up the protocol in the latest betas.
I get the following in system.log:
Apr  7 14:50:30 red 2BUA8C4S2C.com.agilebits.onepassword4-helper[545]: 630003 [EXT:(Secondary Thread 0x7f9bc6093ed0):<OP4ExtensionHTTPConnection: 0x7f9bc6151cb0>] M webSocketForURI: | [ES4] Extension connected Chrome-Extension 'chrome-extension://aomjjhallfgjeglblehebfpbcfeobpgk / (null)'
Apr  7 14:50:30 red 2BUA8C4S2C.com.agilebits.onepassword4-helper[545]: 630003 [EXT:(Secondary Thread 0x7f9bc149a5a0):<OP4ExtensionClient: 0x7f9bc6026e70>] S didOpen | [ES4 0x7f9bc6026e70] Connected 'chrome-extension://aomjjhallfgjeglblehebfpbcfeobpgk:51119'
Apr  7 14:50:30 red 2BUA8C4S2C.com.agilebits.onepassword4-helper[545]: 630003 [EXT:(Secondary Thread 0x7f9bc6093ed0):<OP4ExtensionClient: 0x7f9bc6026e70>] E findExtensionProcessForPort: | Failed to find extension process for 'chrome-extension://aomjjhallfgjeglblehebfpbcfeobpgk:51119', my PID: 545, invalid output: '545
	23918
	', apps found: (
	)
Apr  7 14:50:30 red 2BUA8C4S2C.com.agilebits.onepassword4-helper[545]: 630003 [EXT:(Secondary Thread 0x7f9bc6093ed0):<OP4ExtensionClient: 0x7f9bc6026e70>] E findExtensionProcessForPort: | Stopping connection since no PID was found to validate the other side of the connection.
Apr  7 14:50:30 red 2BUA8C4S2C.com.agilebits.onepassword4-helper[545]: 630003 [EXT:(Secondary Thread 0x7f9bc6093ed0):<OP4ExtensionClient: 0x7f9bc6026e70>] S findExtensionProcessForPort: | [ES4 0x7f9bc6026e70] Connected chrome-extension://aomjjhallfgjeglblehebfpbcfeobpgk:51119: (null) launched (null)
Apr  7 14:50:30 red 2BUA8C4S2C.com.agilebits.onepassword4-helper[545]: 630003 [EXT:(Secondary Thread 0x7f9bc1775f50):<OP4ExtensionClient: 0x7f9bc6026e70>] S didClose | [ES 0x7f9bc6026e70] Disconnected 'chrome-extension://aomjjhallfgjeglblehebfpbcfeobpgk' ((null))

@MarkGriffiths I'm going to try looking into this for the next couple of days. What's strange is that I would think that disabling the Verify Browser Code Signature would make this a non-issue.

I did try toggling the Verify Browser Code Signature option in 1password, unbrewing and rebrewing sudolikeaboss, tried the older workaround implementation, fiddled with the workaround until I realised I was barking up the wrong tree so reverted to the vanilla version and tried fiddling with that.
I noticed that the coprocess in iTerm2 (Build 2.9.20160313) was being 'slammed shut' and had a poke around in Wireshark to see if it was something trivial in the websocket/HTTP conversation, but when I saw it was something in the encrypted protocol, I figured it was best to live with typing passwords and concentrating on looming deadlines.

I'm also running into this isssue.

I'm also not able to get it to work w/ 6.3
Not the end of the world - you don't even have to type the passwords, just look them up and copy and paste from 1password - but would be nice to have those quick keyboard shortcuts back.

Not work for me too..

I just updated 1Password to Version 6.3 and run into the same issue. Is a fix in work or do i have to go back to copy / paste my passwords :(
Would love to hear that a fix is possible cause i use sudolikeaboss everyday and i love it so much!!!
thx for an update

Would also love for this to get sorted out. +1 on thanks for an update.

Hello guys,
My appstore secretly upgraded 1password to 6.3 and I've lost the possibility to sudolikeaboss.
Is there any investigation going on about this? I get the same errors in the system log
May 30 15:33:59 mco-cdassy 2BUA8C4S2C.com.agilebits.onepassword-osx-helper[2442]: 630031 [EXT:(Secondary Thread 0x7fa6526ad190):<OP4ExtensionClient: 0x7fa65266b9b0>] E findExtensionProcessForPort: | Failed to find extension process for 'chrome-extension://aomjjhallfgjeglblehebfpbcfeobpgk:51996', my PID: 2442, invalid output: '2442
2697
', apps found: (
)
May 30 15:33:59 mco-cdassy 2BUA8C4S2C.com.agilebits.onepassword-osx-helper[2442]: 630031 [EXT:(Secondary Thread 0x7fa6526ad190):<OP4ExtensionClient: 0x7fa65266b9b0>] E findExtensionProcessForPort: | Stopping connection since no PID was found to validate the other side of the connection.

I was able to validate that this is an issue with v6.3 of the 1Password app, since I was able to rollback my version to v6.2. Since I'm a user of 1Password for Teams, I stopped the 1Password Mini app, deleted the files in ~/Library/Application Support/1Password 4/Data, and re-installed the app bundle from this link. This meant that all of my local data in 1Password was gone, so I had to login to 1Password for Teams again, but it synced all my data and the sudolikeaboss app is working once again.

Hello from AgileBits!
You'll need to make sure that your we socket connection is setup such that lsof sees that your pid is associated with that open port.
Rick Fillion
1Password Developer

Need to find a way to catch the websockets and take a look at lsof looks like something is malformed and we are getting erroneous data with the correct PID.
my PID: 545, invalid output: '545     23918     ', apps found: (     )

Thanks to @TyBrown for the instructions on rolling back, I followed the steps from AgileBits to remove my data. Then, being paranoid (sorry @TyBrown), I went to the 1Password download page and just changed the version number to 6.2, which worked.
sudolikeaboss has become an integral part of my workflow, rolling back is the only way. Thanks again to @ravenac95 for making such an awesome integration ❤ 👍

@rickfillion trying to debug the websocket with curl, any advice on what's going wrong here?
curl --verbose -i -N -H "Connection: Upgrade" -H "Upgrade: websocket" -H "Host: sudolikeaboss://local" -H "Origin:chrome-extension://aomjjhallfgjeglblehebfpbcfeobpgk" http://<IP_ADDRESS>:6263/4
`

Trying <IP_ADDRESS>...
Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 6263 (#0)

GET /4 HTTP/1.1
Host: sudolikeaboss://local
User-Agent: curl/7.43.0
Accept: /
Connection: Upgrade
Upgrade: websocket
Origin:chrome-extension://aomjjhallfgjeglblehebfpbcfeobpgk

< HTTP/1.1 101 Web Socket Protocol Handshake
HTTP/1.1 101 Web Socket Protocol Handshake
< WebSocket-Location: ws://sudolikeaboss://local/4
WebSocket-Location: ws://sudolikeaboss://local/4
< Upgrade: WebSocket
Upgrade: WebSocket
< Connection: Upgrade
Connection: Upgrade
< WebSocket-Origin: chrome-extension://aomjjhallfgjeglblehebfpbcfeobpgk
WebSocket-Origin: chrome-extension://aomjjhallfgjeglblehebfpbcfeobpgk

Empty reply from server
Connection #0 to host <IP_ADDRESS> left intact
curl: (52) Empty reply from server
`

System Log
Same erros as others are seeing...
Jun  1 00:29:42 bwithem2-mbp 2BUA8C4S2C.com.agilebits.onepassword4-helper[41316]: 630032 [EXT:(Secondary Thread 0x7faee3c1e600):<OP4ExtensionHTTPConnection: 0x7faee0f53b90>] M webSocketForURI: | [ES4] Extension connected Chrome-Extension 'chrome-extension://aomjjhallfgjeglblehebfpbcfeobpgk / (null)' Jun  1 00:29:42 bwithem2-mbp 2BUA8C4S2C.com.agilebits.onepassword4-helper[41316]: 630032 [EXT:(Secondary Thread 0x7faee413a3a0):<OP4ExtensionClient: 0x7faee0fbc300>] E findExtensionProcessForPort: | Failed to find extension process for 'chrome-extension://aomjjhallfgjeglblehebfpbcfeobpgk:58150', my PID: 41316, invalid output: '3130 	41316 	', apps found: ( 	) Jun  1 00:29:42 bwithem2-mbp 2BUA8C4S2C.com.agilebits.onepassword4-helper[41316]: 630032 [EXT:(Secondary Thread 0x7faee413a3a0):<OP4ExtensionClient: 0x7faee0fbc300>] E findExtensionProcessForPort: | Stopping connection since no PID was found to validate the other side of the connection.

@bwithem hrmmmm.... that's curious.
The output there makes it look like lsof is actually seeing your pid. One thing to check is that sudolikeaboss actually shows up as an NSRunningApplication. In our code there's this when processing the pids:
NSRunningApplication *app = [NSRunningApplication runningApplicationWithProcessIdentifier:pid];
if (!app || app.terminated) {
    continue;
}

Once this is figured out, Rudy reminded me of another change we did that might end up affecting you. You'll want to make sure you send the Hello, then make sure you don't send anything you don't want dropped until you get the Welcome response. Welcome is currently the sign to use that we've actually accepted the connection.

@rickfillion well that certainly sounds like it's the culprit... I wonder if the connections are getting dropped so fast the PID doesn't exist anymore. @ravenac95 do you have time to look into this? I see you are sending the hello, but not waiting for the welcome:
https://github.com/ravenac95/sudolikeaboss/blob/master/onepass/client.go#L114
command := client.createCommand("hello", payload)

	response, err := client.SendCommand(command)
	if err != nil {
		return nil, err
	}
	return response, nil

Hi, guys
I tried to use hopper debugger and Wireshark to see what's going wrong on 1password 6.3, and make the helper to stop before send welcome, while sudolikeaboss is exit with 1 i.e. the ws socket is disconnected at that time, then when i stepped over send instruction, and got a welcome message in Wireshark.
Then I think it's maybe something wrong with my golang ws package, so I try to use node to communicate with 1password, still without luck, the welcome package seems corrupt, it only send a TCP [FIN, ACK] package without any payload

@ravenac95 I'm also around if you have any questions, just @ me.

Hey guys,
I'm very sorry for the late reply. I have been away on vacation until today in a place with very little internet access. I will look into this as it definitely pertains to me so I will see if I can get a fix. Thanks for all the investigations done so far. I will keep you guys posted as I can.

I've made a temp fix for 6.3 at here
Since it seems
[NSRunningApplication runningApplicationWithProcessIdentifier:]
only return nonnull when it's an NSApp, so I use cgo to create a invisible window in main thread
and dispatch sudolikeaboss to another
replace main.go and compile it using CC=clang go build

@shuoshi that's awesome!  It works for me.  It's not ideal because it adds an icon to the dock but I'll definitely use it for now!

For now it seems like @shuoshi might be the best workaround. I'm trying to see if there's any other solution I can do to make the installation of everything much simpler. I'll continue experimenting if I can't find anything by the weekend I'll package up @shuoshi fix.

You could maybe use the nsapp activation policy setters to make the dock icon go away.

On Jun 2, 2016, at 11:29 PM, roodkcab<EMAIL_ADDRESS>wrote:
I've made a temp fix for 6.3 at here
Since it seems
[NSRunningApplication runningApplicationWithProcessIdentifier:]
only return nonnull when it's an NSApp, so I use cgo to create a invisible window in main thread
and dispatch sudolikeaboss to another
replace main.go and compile it using CC=clang go build
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@rickfillion Good call.  When I change
[NSApp setActivationPolicy:NSApplicationActivationPolicyRegular];

to
[NSApp setActivationPolicy:NSApplicationActivationPolicyProhibited];

there is no dock icon and everything still works as expected.  With that change sudolikeaboss functions exactly as it did before without the launch delay that the dock icon added.

Awesome! Good work, @ssgelm. :)

Great @ssgelm, gist updated~

This is great @shuoshi Thanks for the temp fix. Could you please tell me the steps and commands you used to compile sudolikeaboss with your main.go?
Thanks in advance and best regards

Hi @nzkller, just type
CC=clang go build
at the root directory of sudolikeaboss

Thank you very much it worked perfectly!!! @shuoshi Have a great weekend 👍

Will there be a new release soon that fixes this? I miss being able to use 1password from the terminal.

While we wait for an official release, here's how I got this working:

brew install go
export GOPATH=$HOME/go
mkdir ~/go
go get github.com/jorgelbg/sudolikeaboss
Update the "Run Coprocess" path in the iTerm preference (under the Keys tab) to ~/go/bin/sudolikeaboss

(When there's an official release, you can just remove the go directory and run brew upgrade sudolikeaboss, then update the path to the old path.)
Thanks to @jorgelbg for the fork that incorporates that fix.

@sillygwailo Works perfectly. Thanks!

@sillygwailo Thanks!

Merged a fix for this. Will have the official release ready by tomorrow at the latest.


Custom builds with codec support?

Hi,
I'm curious where the chrome build is sourced from. I'm running into an error when loading video metadata from JavaScript, and I'm not sure but I suspect this container has a chromium build without codecs.
[0923/204454.046647:INFO:CONSOLE(224)] "Error [object Event]", source: ... (224)
[0923/204454.766446:WARNING:spdy_session.cc(3234)] Received RST for invalid stream1
[0923/204455.008491:INFO:CONSOLE(54)] "Media Error {"isTrusted":true}", source: ... (54)
[0923/204455.008850:INFO:CONSOLE(54)] "Handler promise(s) failed {"msg":"Error loading requested src {"isTrusted":true}"}", source: ... (54)
Is it possible to use google-chrome itself, or are there other builds with codec support available?
Thanks for creating this repository! I've been trying to find a working version of Chrome for lambda for days, and this helped me so much!

I'm not so aware about diffs between google-chrome and chromium.
My Dockerfile downloads from here and we don't have other options as you see.
AWS Lambda may have strange behavior if you(r chrome) try to use GPU. Maybe is this why? My code must work not only in AWS Lambda. Could you try same thing in EC2?

Hi,
Thanks for the response! The default chromium builds only include open source codecs, which is why I was having that problem.
This is a very dirty hack, but I managed to get it working by copying just the chrome binary from the "Ungoogled Chrome" project into your chromium build.
https://ungoogled-software.github.io/ungoogled-chromium-binaries/releases/linux_portable/64bit/
I disabled the gpu via flags.
I'm surprised it worked, and I need to find a better solution, but I'm ok with it for the time being. Thanks again!

Interesting... I'm happy that you could handle your situation.
My repository should use only genuine official builds, so I am not going to replace this, but this is good to know. Thank you!


toBase64Image static, don't keep updating it

Hi all, I using Chart JS to possibly generate future charts on my site.
What I ideally want is the JS version, paired up with a PNG of the same chart.
Currently, I am using:
animation: {
	duration: 0,
	onComplete: function(animation){
	document.querySelector('#savegraph').setAttribute('src', this.toBase64Image());
	}
},

To set the image, however, this comes at a price. If you interact with the JS chart, the PNG is then updated too. Is there a way to make a static PNG of the final output, then leave it alone?

One option is to only set the image once:
var animationOptions = {};

function updateImage() {
  document.querySelector('#savegraph').setAttribute('src', this.toBase64Image());
  animationOptions.onComplete = undefined;
}

animationOptions.onComplete = updateImage;


39.0.1 - Authentication failed because the remote party sent a TLS alert: 'ProtocolVersion'.

FTP OS: QNAP NAS
FTP Server:  ProFTPD
Computer OS: Windows 10 / Visual Studio 2022
FluentFTP Version: 39.0.1
Framework: .NET6.0
Here my code to connect to our customer:
_''' <summary>
''' Herstellen einer Verbindung zu einem FTP-Server
''' </summary>
''' <param name="FtpServer"></param>
Public Sub Connect(FtpServer As FtpServer)

    Try

        If FTPSClnt Is Nothing Then

            FTPSClnt = New FtpClient

            With FTPSClnt

                .Host = FtpServer.ServerAdress
                .Credentials = New Net.NetworkCredential(FtpServer.UserName, FtpServer.Password)

                .EncryptionMode = FtpEncryptionMode.Explicit

                .SslProtocols = .SslProtocols Or Security.Authentication.SslProtocols.Tls13 Or Security.Authentication.SslProtocols.Tls12 Or
                    Security.Authentication.SslProtocols.Tls11 Or Security.Authentication.SslProtocols.Tls

                .Port = FtpServer.Port

                .DataConnectionEncryption = True

                .DownloadDataType = FtpDataType.Binary

                .ValidateAnyCertificate = True

                .EnableThreadSafeDataConnections = True

                .SocketKeepAlive = True
                .DataConnectionType = FtpDataConnectionType.EPSV

                .SslBuffering = FtpsBuffering.Off

            End With

        End If

        If FTPSClnt.IsConnected = False Then
            Me.FTPLOG_ENABLE = "C:\tmp\Fluent.log"
            FTPSClnt.Connect()
        End If

    Catch ex As Exception
        NLOGLOGGER.Fatal("Connection is abnormal ending")
        NLOGLOGGER.Fatal(ex.Message)
    End Try

End Sub_

When I try to connect, then I have the error:
One or more errors occurred. (Authentication failed because the remote party sent a TLS alert: 'ProtocolVersion'.)
 Benutze stattdessen die Serveradresse.
2022-08-05 15:40:51 6284 1 Befehl: MLSD
2022-08-05 15:40:51 6284 1 Antwort: 150 Opening BINARY mode data connection for MLSD
2022-08-05 15:40:51 6284 1 Antwort: 226 Transfer complete
2022-08-05 15:40:51 6284 1 Status: Anzeigen des Verzeichnisinhalts für "/" abgeschlossen

EnableThreadSafeDataConnections is bad and should not be used.
SslProtocols is probably the issue here - many protocols are broken in .NET - try this SysSslProtocols.Tls12 | SysSslProtocols.Tls11
I suggest trying AutoConnect/Async first and if that does not work, then try a manual Connect.

Thanks for your reply. The problem is: our customer allow only connections with TLS1.3.
I have disable EnableThreadSafeDataConnections  - but no success
In FileZilla the connection is working fine

Please try client.AutoConnect with this:
FluentFTP.39.1.1-BETA1.zip

Thanks for your work. Here is the log of your new BETA1-Version
_* AutoConnect()

AutoDetect(True, False)

Connect()
Status:   Connecting to x.x.x.x:21
Response: 220 NASFTPD Turbo station 1.3.6 Server (ProFTPD) [::ffff:<IP_ADDRESS>]
Status:   Detected FTP server: ProFTPD
Command:  AUTH TLS
Response: 234 AUTH TLS successful
Status:   There is stale data on the socket, maybe our connection timed out or you did not call GetReply(). Re-connecting...
Status:   Disposing FtpSocketStream...
Status:   Not sending QUIT because the connection has already been closed.
Status:   Disposing FtpSocketStream...

Connect()
Status:   Connecting to x.x.x.x:990
Status:   Disposing FtpSocketStream..._

Can you call AutoDetect().ToCode() and show me the code here?

Can you call AutoDetect()[0].ToCode() and show me the code here?

Ausnahme ausgelöst: "System.ArgumentOutOfRangeException" in System.Private.CoreLib.dll
I think that they didn´t find any possible Connection, so the array is empty

See what I am doing in AutoConnect is catching this error Authentication failed because the remote party sent a TLS alert: 'ProtocolVersion'. and then using TLS 1.3. Can you confirm if this error is occurring during Connect()?

Try this...
FluentFTP.39.1.1-BETA2.zip

See what I am doing in AutoConnect is catching this error Authentication failed because the remote party sent a TLS alert: 'ProtocolVersion'. and then using TLS 1.3. Can you confirm if this error is occurring during Connect()?

Yes - I confirm - this error come up, when I use Connect()

Try this...
FluentFTP.39.1.1-BETA2.zip

At moment I only use following settings:
`
With FTPSClnt
                .Host = FtpServer.ServerAdress
                .Credentials = New Net.NetworkCredential(FtpServer.UserName, FtpServer.Password)

                .EncryptionMode = FtpEncryptionMode.Explicit

                .Port = FtpServer.Port

            End With

            FTPSClnt.Connect()

`
But the error still exists.
Do you think it is helpfull if I send you my credentials and you try to connect? Maybe a configuration of me is wrong?

Ah thats why its not working. You need to try AutoConnect with the new version.
            FTPSClnt = New FtpClient
            With FTPSClnt
                 .Host = FtpServer.ServerAdress
                .Credentials = New Net.NetworkCredential(FtpServer.UserName, FtpServer.Password)
                .Port = FtpServer.Port
            End With
            FTPSClnt.AutoConnect()

When I use 'AutoConnect()' then I have the same behavior like BETA1.

No Exception
No Connection
Same log-infos like BETA1

Please try this with AutoConnect...
FluentFTP.39.1.1-BETA3.zip

Please try this with AutoConnect...
FluentFTP.39.1.1-BETA3.zip

Sorry - same as before. No connection is possible

 With FTPSClnt

                .Host = FtpServer.ServerAdress
                .Credentials = New Net.NetworkCredential(FtpServer.UserName, FtpServer.Password)
                .EncryptionMode = FtpEncryptionMode.Explicit
                .SslProtocols = Security.Authentication.SslProtocols.Tls13
                .Port = FtpServer.Port
                .DownloadDataType = FtpDataType.Binary
                .ValidateAnyCertificate = True
                .SocketKeepAlive = True
                .DataConnectionType = FtpDataConnectionType.EPSV
                .SslBuffering = FtpsBuffering.Off

FTPSClnt.Connect()

Sorry - i cann´t give you a reply now. Our customers FTP-Server is down till Tuesday. On Wednesday i can try again. Then I will send you the result

Hello,
now I can test your suggestion. But they didn´t work. But I have a new Errormessage:
Der Client und der Server können keine Daten austauschen, da sie nicht über einen gemeinsamen Algorithmus verfügen.
I think that is in english: The client and server cannot communicate, because they do not possess a common algorithm

I have a similar problem with the FTPS server on my Synology NAS after I updated the NAS to DSM 7.0. I don't know which FTP deamon is being used there, but it supports TLS1.3 and TLS1.2.
Same error in the log when I let FluentFTP negotiate TLS:
Status: There is stale data on the socket, maybe our connection timed out or you did not call GetReply(). Re-connecting...
Important: FluentFTP is then not reacting correctly because it seems to invoke connect() itself in a loop. There is no way to get out of this loop except by counting the attempts in the callback for the host key and then not accepting the key.

I can get rid of the error (and connect successfully) by setting the following:
_ftpClient.StaleDataCheck = false;
That works but doesn't give me a comfortable feeling. I also don't know whether the connection is now TLS1.3.
I can't see anything in FluentFTP that informs me about the negotiated protocol. But maybe I overlooked something.

I can also get rid of the error by forcing TLS1.2, but that is not what people want to do.

I can only again stress the importance of having full TLS1.3 support in FluentFTP. Is it still true that this is something that is not correct in .NET? That seems so strange. Can someone point me to where it is stated that there is an issue in .NET?
I am using FluentFTP 39.2.1.

Can you try this version with AutoConnect @JosHuybrighs @MyKeySoftMK
FluentFTP.39.2.2-BETA1.zip

Its hard for me to debug this because I don't have a server like yours at hand to test TLS 1.3, so I have to guess what the issue is and make potential fixes.

Its hard for me to debug this because I don't have a server like yours at hand to test TLS 1.3, so I have to guess what the issue is and make potential fixes.

Can it be helpful, when I ask our customer to give me a set of credentials for you so you can test it? How can I send the user/password to you?

Can you try this version with AutoConnect @JosHuybrighs @MyKeySoftMK FluentFTP.39.2.2-BETA1.zip

Sorry - no connection possible - same as before

@MyKeySoftMK  yes it would help, you can email me at<EMAIL_ADDRESS>with the FTP credentials, once we have debugged it, you can delete that FTP account.

@MyKeySoftMK check your email, you should get a message from github about possible next steps.

@MyKeySoftMK check your email, you should get a message from github about possible next steps.

@robinrodricks   Thanks - I have do this steps - please confirm it

@MyKeySoftMK thanks, have received the info, will proceed and let you know.

I made some fixes.
It's using TLS1.2 as of now, and the connection is working.
Is this ok or do you want TLS 1.3?

I made some fixes to AutoConnect.
It's using TLS1.2 as of now, and the connection is working.
Is this ok or do you want TLS 1.3?

Fine - our customer inform us, that starting with 1.10. it will be changed to "Explizites FTP over TLS“ in Version 1.3. So I think i need the 1.3

Released. Please check. No config is needed, just use AutoConnect.
https://www.nuget.org/packages/FluentFTP/39.3.0

Thanks for upload. I try to use this new Version. When I use AutoConnect then I have following error: FTPS security could not be established on the server. The certificate was not accepted.
My code is actual:
                FTPSClnt = New FtpClient

                With FTPSClnt

                    .Host = FtpServer.ServerAdress
                    .Credentials = New Net.NetworkCredential(FtpServer.UserName, FtpServer.Password)

                End With

                FTPSClnt.AutoConnect()

The same code is working for me:
var client = new FtpClient() { Host = "XXX", Credentials = new NetworkCredential("XXX", "XXX") };
client.AutoConnect();

Maybe on your FTP account its forcing FTPS or TLS 1.3 and with mine its not?

As you can see the server is rejecting FTPS:
Command:  AUTH TLS
Response: 504 Command not implemented for that parameter

Maybe on your FTP account its forcing FTPS or TLS 1.3 and with mine its not?

You and I use the same Account

I'm using NET 6 on Win x64, exactly as you, so no idea why this is coming up.

@JosHuybrighs does the latest version work for you?

Now I traying following:
I make a new .NET6 Console Application. In the startup/Main-Method i put only the code for tracing an connecting. Nothing else as FluentFtp 3.9.0 is dependency
When I run it, then the exception FTPS security could not be established on the server. The certificate was not accepted. come up

Try this:
FluentFTP.39.3.1-BETA1.zip
Catch the exception and get ex.InnerException and see what it is.

Die angeforderte Funktion wird nicht unterstützt.
And they come from DirectCast(ex, FluentFTP.FtpInvalidCertificateException).InnerException.InnerException.Message

Does this work?
FluentFTP.39.3.1-BETA2.zip

Does this work? FluentFTP.39.3.1-BETA2.zip

They didn´t work - sorry
I have download your code and set as reference to my small test app (only one funtion: use autoconnect).
When I step through \Streams\FtpSocketStream.cs then it jumped out in line 1128:
m_sslStream.AuthenticateAsClientAsync(targethost, clientCerts, sslProtocols, Client.ValidateCertificateRevocation).Wait();
But they didn´t catch it from the try in line 1109 - the catched from \Client\Modules\ConnectModule.cs in line 137

I did not commit the changed code. Now I have committed it. Can you debug it again and see where the exception is coming from?

Here is my application Configuration
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <RootNamespace>MYKEY.FxCore.FluentFtp</RootNamespace>
    <TargetFramework>net6.0-windows</TargetFramework>
    <Platforms>AnyCPU;x64;x86</Platforms>
  </PropertyGroup>

  <ItemGroup>
    <ProjectReference Include="..\FluentFTP\FluentFTP.csproj" />
  </ItemGroup>

</Project>

The exexption will come up in \Streams\FtpSocketStream.cs in line 1128:
m_sslStream.AuthenticateAsClientAsync(targethost, clientCerts, sslProtocols, Client.ValidateCertificateRevocation).Wait();
Win32Exception: Die angeforderte Funktion wird nicht unterstützt.

Try this:
FluentFTP.39.3.1-BETA3.zip

Following exeption:  FTPS security could not be established on the server. The certificate was not accepted.
The log is:
AutoConnect()
AutoDetect(True, False)
Connect()
Status:   Connecting to ***:21
Response: 220 NASFTPD Turbo station 1.3.6 Server (ProFTPD) [::ffff:<IP_ADDRESS>]
Status:   Detected FTP server: ProFTPD
Command:  AUTH TLS
Response: 234 AUTH TLS successful
Status:   There is stale data on the socket, maybe our connection timed out or you did not call GetReply(). Re-connecting...
Status:   Disposing FtpSocketStream...
Status:   Not sending QUIT because the connection has already been closed.
Status:   Disposing FtpSocketStream...

Try this:
FluentFTP.39.3.1-BETA4.zip

InnerExeption: Der Client und der Server können keine Daten austauschen, da sie nicht über einen gemeinsamen Algorithmus verfügen.
AutoConnect()
AutoDetect(True, False)
Connect()
Status:   Connecting to ***:21
Response: 220 NASFTPD Turbo station 1.3.6 Server (ProFTPD) [::ffff:<IP_ADDRESS>]
Status:   Detected FTP server: ProFTPD
Command:  AUTH TLS
Response: 234 AUTH TLS successful
Status:   There is stale data on the socket, maybe our connection timed out or you did not call GetReply(). Re-connecting...
Status:   Disposing FtpSocketStream...
Status:   Not sending QUIT because the connection has already been closed.
Status:   Disposing FtpSocketStream...
Status:   Failed to connect with TLS1.1/TLS1.2, trying TLS1.3
Connect()
Status:   Connecting to ***:21
Response: 220 NASFTPD Turbo station 1.3.6 Server (ProFTPD) [::ffff:<IP_ADDRESS>]
Status:   Detected FTP server: ProFTPD
Command:  AUTH TLS
Response: 234 AUTH TLS successful
Command:  QUIT
Warning:  FtpClient.Disconnect(): Exception caught and discarded while closing control connection: System.InvalidOperationException: This operation is only allowed using a successfully authenticated context.
at System.Net.Security.SslStream.ThrowNotAuthenticated()
at System.Net.Security.SslStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at FluentFTP.FtpSocketStream.Write(Byte[] buffer, Int32 offset, Int32 count) in D:\Github\FluentFTP\FluentFTP\Streams\FtpSocketStream.cs:line 660
at FluentFTP.FtpClient.Execute(String command) in D:\Github\FluentFTP\FluentFTP\Client\FtpClient_Stream.cs:line 85
at FluentFTP.FtpClient.Disconnect() in D:\Github\FluentFTP\FluentFTP\Client\FtpClient_Connection.cs:line 912
Status:   Disposing FtpSocketStream...

I think you need to add client certificates before calling autoconnect

https://github.com/robinrodricks/FluentFTP/wiki/FTP-Connection#faq_certs

https://github.com/robinrodricks/FluentFTP/wiki/FTP-Connection#faq_certs

Now I have add AddHandler _ftpClient.ValidateCertificate, New FtpSslValidation(AddressOf OnValidateCertificate)
But the Handler is not executed

client.ClientCertificates.Add(new X509Certificate2("C:\mycert.cer"));
OR
// Select certificate and add to client
X509Store store = new X509Store("MY", StoreLocation.LocalMachine);
store.Open(OpenFlags.ReadOnly | OpenFlags.OpenExistingOnly);
X509Certificate2Collection collection = (X509Certificate2Collection)store.Certificates;
X509Certificate2Collection fcollection = (X509Certificate2Collection)collection.Find(X509FindType.FindByTimeValid, DateTime.Now, false);
X509Certificate2Collection scollection = X509Certificate2UI.SelectFromCollection(fcollection, "Select a certificate", "Select a certificate", X509SelectionFlag.MultiSelection);

if (scollection.Count != 1)
{
    throw new Exception("Error: You have not chosen exactly one certificate");
 }
foreach (X509Certificate2 x509 in scollection)
{
    client.ClientCertificates.Add(x509);
}
store.Close();

@robinrodricks
I updated to v39.3.0 (using the nuget package) but the connection is still not successfull in 2 scenarios:

Using client.Connect() with SslProtocols.Tls13 and SslProtocols.None
Using client.AutoConnect()

Here are the results.
The first test (successfull) is with client.Connect() and forcing TLS1.2
The others were all unsuccessfull.

Successfull using ftpClient.Connect and forcing Tls1.2

2022.08.16 13:10:01.715 21:FTPPickerDialog - Try to connect to server 'mars'
2022.08.16 13:10:01.839 21:FTPStorageDevice.Open - Host: mars, port: 990, account: xxxxxxxx, connectionMode: 0, tlsProtocol: Tls12
2022.08.16 13:10:01.901 21:FTPStorageDevice.Initialize - Extract trusted certificates list
2022.08.16 13:10:01.946 21:FTPStorageDevice.Initialize - File contains 4 entries
2022.08.16 13:10:01.992 21:--FluentFTP-- >         Connect()
2022.08.16 13:10:02.071 21:--FluentFTP-- Status:   Connecting to ***:990
2022.08.16 13:10:02.133 21:--FluentFTP-- Response: 220 Mars FTP server ready.
2022.08.16 13:10:02.179 21:--FluentFTP-- Command:  AUTH TLS
2022.08.16 13:10:02.225 21:--FluentFTP-- Response: 234 AUTH TLS command successful.
2022.08.16 13:10:02.458 14:FTPStorageDevice.ValidateCertificate - Checking certificate for $mars:990, fingerprint: 6DF97A686F77BFED2B860242D71ED4799C29D41E
2022.08.16 13:10:02.505 14:FTPStorageDevice.ValidateCertificate - Certificate found in TrustedCerts and accepted
2022.08.16 13:10:02.552 21:--FluentFTP-- Status:   FTPS Authentication Successful
2022.08.16 13:10:02.598 21:--FluentFTP-- Status:   Time to activate encryption: 0h 0m 0s.  Total Seconds: 0,2775193.
2022.08.16 13:10:02.645 21:--FluentFTP-- Command:  USER ***
2022.08.16 13:10:02.738 21:--FluentFTP-- Response: 331 Password required for admin.
2022.08.16 13:10:02.785 21:--FluentFTP-- Command:  PASS ***
2022.08.16 13:10:02.909 21:--FluentFTP-- Response: 230 User admin logged in.
2022.08.16 13:10:02.955 21:--FluentFTP-- Command:  PBSZ 0
2022.08.16 13:10:02.987 21:--FluentFTP-- Response: 200 PBSZ command successful (PBSZ=0).
2022.08.16 13:10:03.032 21:--FluentFTP-- Command:  PROT P
2022.08.16 13:10:03.064 21:--FluentFTP-- Response: 200 Protection level set to Private.
2022.08.16 13:10:03.110 21:--FluentFTP-- Command:  FEAT
2022.08.16 13:10:03.156 21:--FluentFTP-- Response: 211- Extensions supported:
Response: AUTH TLS
Response: PBSZ
Response: PROT
Response: CCC
Response: SIZE
Response: MDTM
Response: REST STREAM
Response: MFMT
Response: TVFS
Response: MLST modify*;type*;unique*;size*;UNIX.mode*;UNIX.owner*;UNIX.group*;
Response: MLSD modify*;type*;unique*;size*;UNIX.mode*;UNIX.owner*;UNIX.group*;
Response: UTF8
2022.08.16 13:10:03.203 21:--FluentFTP-- Response: 211 End.
2022.08.16 13:10:03.266 21:--FluentFTP-- Status:   Text encoding: System.Text.UTF8Encoding+UTF8EncodingSealed
2022.08.16 13:10:03.297 21:--FluentFTP-- Command:  OPTS UTF8 ON
2022.08.16 13:10:03.344 21:--FluentFTP-- Response: 200 OK, UTF-8 enabled
2022.08.16 13:10:03.391 21:--FluentFTP-- Command:  SYST
2022.08.16 13:10:03.437 21:--FluentFTP-- Response: 215 UNIX Type: L8
2022.08.16 13:10:03.483 21:--FluentFTP-- Status:   Listing parser set to: Machine
2022.08.16 13:10:03.515 21:--FluentFTP-- Command:  PWD
2022.08.16 13:10:03.562 21:--FluentFTP-- Response: 257 "/" is current directory.
2022.08.16 13:10:03.609 21:FTPStorageDevice.Initialize - SUCCESS
2022.08.16 13:10:03.656 1:FTPPickerDialog - Got Connected

Unsuccessfull using ftpClient.Connect and SslProtocols.Tls13 or SslProtocols.None

2022.08.16 13:13:18.496 26:FTPPickerDialog - Try to connect to server 'mars'
2022.08.16 13:13:18.538 26:FTPStorageDevice.Open - Host: mars, port: 990, account: xxxxxxxx, connectionMode: 0, tlsProtocol: LetOsDecide
2022.08.16 13:13:18.631 26:FTPStorageDevice.Initialize - Extract trusted certificates list
2022.08.16 13:13:18.677 26:FTPStorageDevice.Initialize - File contains 4 entries
2022.08.16 13:13:18.709 26:--FluentFTP-- >         Connect()
2022.08.16 13:13:18.781 26:--FluentFTP-- Status:   Connecting to ***:990
2022.08.16 13:13:18.865 26:--FluentFTP-- Response: 220 Mars FTP server ready.
2022.08.16 13:13:18.897 26:--FluentFTP-- Command:  AUTH TLS
2022.08.16 13:13:18.930 26:--FluentFTP-- Response: 234 AUTH TLS command successful.
2022.08.16 13:13:19.006 14:FTPStorageDevice.ValidateCertificate - Checking certificate for $mars:990, fingerprint: 6DF97A686F77BFED2B860242D71ED4799C29D41E
2022.08.16 13:13:19.053 14:FTPStorageDevice.ValidateCertificate - Certificate found in TrustedCerts and accepted
2022.08.16 13:13:19.101 26:--FluentFTP-- Status:   FTPS Authentication Successful
2022.08.16 13:13:19.149 26:--FluentFTP-- Status:   Time to activate encryption: 0h 0m 0s.  Total Seconds: 0,1231911.
2022.08.16 13:13:19.198 26:--FluentFTP-- Status:   There is stale data on the socket, maybe our connection timed out or you did not call GetReply(). Re-connecting...
2022.08.16 13:13:19.246 26:--FluentFTP-- Status:   Disposing FtpSocketStream...
2022.08.16 13:13:19.310 26:--FluentFTP-- >         Connect()
2022.08.16 13:13:19.372 26:--FluentFTP-- Status:   Connecting to ***:990
2022.08.16 13:13:19.434 26:--FluentFTP-- Response: 220 Mars FTP server ready.
2022.08.16 13:13:19.496 26:--FluentFTP-- Command:  AUTH TLS
2022.08.16 13:13:19.544 26:--FluentFTP-- Response: 234 AUTH TLS command successful.
2022.08.16 13:13:23.470 26:FTPStorageDevice.Initialize - FAIL-4, ErrorCode: -2146233088, One or more errors occurred. (The remote certificate was rejected by the provided RemoteCertificateValidationCallback.)
2022.08.16 13:13:23.517 1:FTPPickerDialog - Got CouldNotAuthenticate

Notice the 'There is stale data on the socket..' message which apparently is not correctly handled by FluentFTP since it initates itself again a 'connect'. As I mentioned earlier, this keeps on running in a loop. I can stop the loop by not accepting the certificate the 2nd time the certificate validation event comes in.

Unsuccessfull using ftpClient.AutoConnect() - _ftpClient.SslProtocols is not set, assume it is SslProtocols.None

2022.08.16 13:20:21.447 18:FTPPickerDialog - Try to connect to server 'mars'
2022.08.16 13:20:21.479 18:FTPStorageDevice.Open - Host: mars, port: 990, account: xxxxxxxx, connectionMode: 0, tlsProtocol: Tls12 (not set)
2022.08.16 13:20:21.525 18:FTPStorageDevice.Initialize - Extract trusted certificates list
2022.08.16 13:20:21.573 18:FTPStorageDevice.Initialize - File contains 4 entries
2022.08.16 13:20:21.605 18:--FluentFTP-- >         AutoConnect()
2022.08.16 13:20:21.668 18:--FluentFTP-- >         AutoDetect(True, False)
2022.08.16 13:20:21.714 18:--FluentFTP-- >         Connect()
2022.08.16 13:20:21.778 18:--FluentFTP-- Status:   Connecting to ***:21
2022.08.16 13:20:23.887 18:--FluentFTP-- Status:   Disposing FtpSocketStream...
2022.08.16 13:20:23.949 18:--FluentFTP-- >         Connect()
2022.08.16 13:20:24.010 18:--FluentFTP-- Status:   Connecting to ***:990
2022.08.16 13:20:24.088 18:--FluentFTP-- Status:   There is stale data on the socket, maybe our connection timed out or you did not call GetReply(). Re-connecting...
2022.08.16 13:20:24.119 18:--FluentFTP-- Status:   Disposing FtpSocketStream...
2022.08.16 13:20:24.166 18:--FluentFTP-- Status:   Not sending QUIT because the connection has already been closed.
2022.08.16 13:20:24.197 18:--FluentFTP-- Status:   Disposing FtpSocketStream...
2022.08.16 13:20:24.244 18:FTPStorageDevice.Initialize - NOT CONNECTED
2022.08.16 13:20:24.309 1:FTPPickerDialog - Got DriveNotAvailable

Notice that here also there is a 'There is stale data on the socket..' message but FluentFTP apparently then immediately disposes the socket stream.
I am not sure what AutoConnect() is supposed to do but I see that, altough the port is set to 990 it first tries on port 21, which doesn't make sense.

@robinrodricks
To help you with this I can do 2 things:

Allow you to access the FTPS server on my Synology NAS using a 'test' account.
Try to add the FluentFTP source code to my VS solution and try to find out, with my limited knowledge of TLS1.3, what goes wrong.

The latter will take a while for me but I can try and give it a shot.

@JosHuybrighs yes you can email me the FTP credentials at<EMAIL_ADDRESS>and I will test and try to make it work.

@JosHuybrighs You'll get a message from github about the next steps.

client.ClientCertificates.Add(new X509Certificate2("C:\mycert.cer"));
OR
// Select certificate and add to client
X509Store store = new X509Store("MY", StoreLocation.LocalMachine);
store.Open(OpenFlags.ReadOnly | OpenFlags.OpenExistingOnly);
X509Certificate2Collection collection = (X509Certificate2Collection)store.Certificates;
X509Certificate2Collection fcollection = (X509Certificate2Collection)collection.Find(X509FindType.FindByTimeValid, DateTime.Now, false);
X509Certificate2Collection scollection = X509Certificate2UI.SelectFromCollection(fcollection, "Select a certificate", "Select a certificate", X509SelectionFlag.MultiSelection);

if (scollection.Count != 1)
{
    throw new Exception("Error: You have not chosen exactly one certificate");
 }
foreach (X509Certificate2 x509 in scollection)
{
    client.ClientCertificates.Add(x509);
}
store.Close();

and then AutoConnect

Thank you. I will try it - but i didn´t find a way to download the cert from the ftp-server our customer.
Can you give me a hint?

@MyKeySoftMK
Like so:
In ftp connect:
         _ftpClient.ValidateCertificate += _ftpClient_ValidateCertificate;
In the certificate validation method the complete server's certificate is saved in x509Cert.
   ```
     private void _ftpClient_ValidateCertificate(FtpClient control, FtpSslValidationEventArgs e)
    {
        X509Certificate2 x509Cert = (X509Certificate2)(e.Certificate);
        if (x509Cert == null)
        {
            x509Cert = new X509Certificate2(e.Certificate);
        }
        e.Accept = false;
        // Check if certificate is trusted
        string serverAddressAndPort = $"{_ftpClient.Host}:{_ftpClient.Port}";
        ConditionalFileLogger.Log($"FTPStorageDevice.ValidateCertificate - Checking certificate for ${serverAddressAndPort}, fingerprint: {x509Cert.Thumbprint}");
        var cert = _trustedCerts.FirstOrDefault(c => c.ServerAddressAndPort.Equals(serverAddressAndPort, StringComparison.OrdinalIgnoreCase) &&
                                                c.Fingerprint == x509Cert.Thumbprint);
        bool certFound = cert != null;
        if (certFound)
        {
            _certTrusted = true;
            e.Accept = true;
            ConditionalFileLogger.Log("FTPStorageDevice.ValidateCertificate - Certificate found in TrustedCerts and accepted");
        }
        else
        {
            _certTrusted = false;
            ConditionalFileLogger.Log("FTPStorageDevice.ValidateCertificate - Certificate not found");
            CertDetails = new CertificateDetails()
            {
                Subject = x509Cert.Subject,
                Issuer = x509Cert.Issuer,
                SerialNumber = x509Cert.GetSerialNumberString(),
                FromDate = x509Cert.NotBefore,
                ToDate = x509Cert.NotAfter,
                Fingerprint = x509Cert.Thumbprint
            };
            string oidName = "?";
            try
            {
                oidName = x509Cert.PublicKey.Oid.FriendlyName;
                CertDetails.PubKeyAlgorithm = $"{x509Cert.PublicKey.Key.KeyExchangeAlgorithm} ({x509Cert.PublicKey.Key.KeySize} Bits)";
            }
            catch (Exception)
            {
                CertDetails.PubKeyAlgorithm = $"{oidName} - Further info not extracted";
            }
            ConditionalFileLogger.Log($"FTPStorageDevice.ValidateCertificate - CertDetails configured for presentation to the UI");
        }
    }

I am using this in my SyncFolder sync/backup app (Windows Store) to retrieve certificates for possible multiple servers and save it in an own trusted certs store (actually a json file).
When a connecting to a new server the certificate is not known yet and the data that is important is saved in the `CertDetails `property. The UI will pick it up and ask the user to save (and trust) it.

Hope this helps

I have set the Handler. Then I use AutoConnct. But the ValidateCertificate-Event is not raising - so i cann´t react on Cert-Sync

Let me look into this @MyKeySoftMK

@JosHuybrighs Not sure if you didn't get this message - you can send me the test credentials at my email<EMAIL_ADDRESS>and I will test.

@robinrodricks
I did some further TLS1.3 tests against my Synology FTP server, added the master GitHub version of the FluentFTP project to my Visual Studio solution, and observed the following:

TLS session negotiation (Client Hello, Server Hello, Keys and Certificate exchange, ..) is always successfull.
When m_stream.ActivateEncryption returns, there is still  86 bytes of unread data in m_stream.
The next Execute("USER " + userName) then fails with 'Stale Data'.

I took a look at the stream data of the session negotation using Wireshark, and see there that the FTP server responds with 4 application data records, immediately followed by 1 other application data record. I am not sure, but what I understand from TLS 1.3 is that the first 4 records are used for the session negotiation.
I debugged the code for checking stale data and what I see is that the unread data corresponds with the 5th application data record as I see it in Wireshark.
When I configure _ftpClient.StaleDataCheck = false, the connection is successfull and further data transfer (list folders, etc.) is OK. So it looks like the data is required and I assume it will, after the session activation, be consumed by sslstream (sChannel).
So, my question: is the check for 'Stale Data' correct in FluentFTP  when using TLS 1.3? The reason why I ask is because I saw this code in ConnectModule.cs:
#if NET50_OR_LATER
			if (protocol == SysSslProtocols.Tls13) {
				client.StaleDataCheck = false;
			}
			else {
				client.StaleDataCheck = true;
			}
#endif

I am using .NET6

@robinrodricks
I try to find out something helpfull
If I use AutoConnect then Line 1128 send nothing to the ftp-Host. If I use Connect (and some configuration of the ftpclient) then it send the "Hello" - but no connection is possible

If I try to use Connect with None then the CLient is send a TLS1.2 Communication (i see it in Wireshark). The response is a "550 TLS handshake failed". If I try with "TLS1.3" then no handshake is made (in Wireshare no additional communication)

@MyKeySoftMK
See attached picture for a Wireshark screenshot what more or less should happen after the server responds with "234 AUTH TLS successfull" (frame 90 in the picture).

@JosHuybrighs
This is with

Here the WireShark-Result

I have some News:
If i add following Registry Entries, then the section supported_versions is added and have the TLS1.3
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.3\Client]
"DisabledByDefault"=dword:00000000
"Enabled"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.3\Server]
"DisabledByDefault"=dword:00000000
"Enabled"=dword:00000001

But in this article i found the statement, that TLS1.3 not workiing in Windows10 (https://docs.microsoft.com/en-us/windows/win32/secauthn/protocols-in-tls-ssl--schannel-ssp-). But for me is important, that the class implement the TLS1.3 by it selfs. My Application must be run on Windows 2012 R2. But when I see, that .NET / FluentFTP only use the OS-SChannels, than is it the wrong way for me an my app
Please confirm

@MyKeySoftMK
I am afraid you are right. I didn't know that you are on Windows 2012R2. That is a rather old system and if TLS1.2 is not possible with the targetted FTP server then you have to look for an alternative. That will be difficult I think.
Is it possible to access the server using SFTP? That is not FTP but a protocol that lets you transfer files and folders using Secure Shell. It is a lot easier than FTP(S) and in away much better.
If your server allows it then SSH.NET is the library that you will want to use. SSH.NET supports TLS 1.2 and TLS 1.3 without relying on sslstream (sChannel). I think it uses an own implementation of all the security, encryption stuff.

@MyKeySoftMK I am afraid you are right. I didn't know that you are on Windows 2012R2. That is a rather old system and if TLS1.2 is not possible with the targetted FTP server then you have to look for an alternative. That will be difficult I think.

I find out, that WinSCP and FileZilla can connect the server without problems - this programs have ther own TLS1.3 inside (maybe). For WinSCP i found a Warpper-Class - but they would be refractor my complete app (WinSCP will be part of the program, when I use this way)

@MyKeySoftMK
That is correct. You will have to find a way to make sure that the WinSCP executable is installed when you install your program. That is not ideal.
Did you try to connect to the server using WinSCP and setting the File Protocol to SFTP? Maybe it works. If so, then I would go for a SSH.NET based client.

@JosHuybrighs
I have testet the SSH.NET - but they didn´t work. Only FTPS is allowed
@robinrodricks
I find this actual project in github https://github.com/whSwitching/TLSHandler - is it possible to implement it in your FluentFTP Project? So i can imagine that you are not OS depend was TLS 1.3

@MyKeySoftMK  buddy..... Computer OS: Windows 10 / Visual Studio 2022 This is what you filled in.
Maybe I should have been more clear, this place is to fill in the details about the computer that is RUNNING FluentFTP. Even I had no idea you were on Win2012.

@JosHuybrighs  - https://github.com/robinrodricks/FluentFTP/issues/922

@MyKeySoftMK buddy..... Computer OS: Windows 10 / Visual Studio 2022 This is what you filled in.
Maybe I should have been more clear, this place is to fill in the details about the computer that is RUNNING FluentFTP. Even I had no idea you were on Win2012.

My developer machine is Windows 10 - and on this machine is it not working. So my information to you, that I use Windows 10 is right. In the beginning i didn´t know that it is important, that I will it use on Window 2012. I didn´t understand the parts that you use to connect via TLS1.3. But in the meantime i investigate and understand how all works together.
Sorry for this missunderstanding

Ok cool.

It should be investigated if this: https://github.com/robinrodricks/FluentFTP/wiki/FTPS-Connection-using-GnuTLS would help in any way.

Thanks for this hint. I now try to implement you new access. But I am not able to use them.
I have add Fluent.GnuTLS to my project and the GnuTLS-64-Lib (3.7.8:mingw64) in a Folder with name "Libs". But the error come up
'Unable to load DLL 'Libs/libgnutls-30.dll' or one of its dependencies: Das angegebene Modul wurde nicht gefunden. (0x8007007E)"
My Project is an ANYCPU-Project and runs on WIndows 10 64 bit

Yes, another user reported this too. Until we find the reason, you need to copy the needed dll's from the LIB folder to the destination folder yourself. Sorry about that - it was reported only a short time ago.

Oh, I see from your post, you are adding libs from somewhere else. You must use the libs from the ../libs folder from the FluentFTP.GnuTLS project. Not libs you find elsewhere.

These libs are not special, but there are some any versions or architecture differences, to be safe use the ones included.

OK - sorry i didn´t see the files in the project. I want to use the nuget-paket.
Now I try it with the files you mention and an other error come up (sorry): "INVALID, SIGNER_NOT_FOUND" - do you have a idea what that mean?

Got a log? Certificate validation is not accepting the certificate of the server. But a log would help.

Got a log? Certificate validation is not accepting the certificate of the server. But a log would help.

Following code is missing in my function:
.Config.ValidateAnyCertificate = True
Now it works fine

What do you mean by "Now it works fine"? Is it a full success?

The ".connect" is now working. But I have trouble with something to download. But i open a new Issue for that

Fixed by using FluentFTP.GnuTLS as alternative to .NET SslStream