[GH-ISSUE #976] Windows10 client: unable to open trustetedServersFile - Username with space #784

Closed
opened 2026-05-05 07:07:09 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @Schlunze on GitHub (Dec 8, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/976

on a Windows Client i have a space and "ä" in the username.
The File trustedServers.txt is written correctly, fingerprint is ok.
The log on client shows continuously: Unable to open trustetedServersFile: C:\Users\xxx xäx\AppData\Local\Barrier...

someone has similar problems with linux client and chinese symbols i think. New issue do to win client.

Thanks for your help in advance

Originally created by @Schlunze on GitHub (Dec 8, 2020). Original GitHub issue: https://github.com/debauchee/barrier/issues/976 on a Windows Client i have a space and "ä" in the username. The File trustedServers.txt is written correctly, fingerprint is ok. The log on client shows continuously: Unable to open trustetedServersFile: C:\Users\xxx xäx\AppData\Local\Barrier... someone has similar problems with linux client and chinese symbols i think. New issue do to win client. Thanks for your help in advance
Author
Owner

@albertony commented on GitHub (Dec 9, 2020):

Would you be willing to test this beta build?
https://dev.azure.com/debauchee/Barrier/_build/results?buildId=355&view=artifacts&pathAsName=false&type=publishedArtifacts

If that fixes it, the problem was the nordic character and not the space.

<!-- gh-comment-id:741359016 --> @albertony commented on GitHub (Dec 9, 2020): Would you be willing to test this beta build? https://dev.azure.com/debauchee/Barrier/_build/results?buildId=355&view=artifacts&pathAsName=false&type=publishedArtifacts If that fixes it, the problem was the nordic character and not the space.
Author
Owner

@albertony commented on GitHub (Dec 9, 2020):

Pushed a fix for an additional related issue; when enabling the drag-drop functionality it would not find the desktop path where it will drop files for the same reason as the previous fix.

Edit: Tracked down another issue, this time in the windows service (deamon) communication. If you want to test your exact case, the beta is here: https://dev.azure.com/debauchee/Barrier/_build/results?buildId=376&view=artifacts&pathAsName=false&type=publishedArtifacts

Edit 2: Aaaaand another issue, this time in the client: https://dev.azure.com/debauchee/Barrier/_build/results?buildId=388&view=artifacts&pathAsName=false&type=publishedArtifacts

PS: The issue were non-ascii characters in user name, space did not seem be problematic.

<!-- gh-comment-id:741631495 --> @albertony commented on GitHub (Dec 9, 2020): Pushed a fix for an additional related issue; when enabling the drag-drop functionality it would not find the desktop path where it will drop files for the same reason as the previous fix. Edit: Tracked down another issue, this time in the windows service (deamon) communication. If you want to test your exact case, the beta is here: ~https://dev.azure.com/debauchee/Barrier/_build/results?buildId=376&view=artifacts&pathAsName=false&type=publishedArtifacts~ Edit 2: Aaaaand another issue, this time in the client: https://dev.azure.com/debauchee/Barrier/_build/results?buildId=388&view=artifacts&pathAsName=false&type=publishedArtifacts PS: The issue were non-ascii characters in user name, space did not seem be problematic.
Author
Owner

@Schlunze commented on GitHub (Dec 18, 2020):

Edit 2: Aaaaand another issue, this time in the client: https://dev.azure.com/debauchee/Barrier/_build/results?buildId=388&view=artifacts&pathAsName=false&type=publishedArtifacts

Hello albertony
sorry for the late reply. I have tested the build from Edit 2.
The non-ascii character in username does not work in this build.
Here is the log:
...
[2020-12-18T11:13:32] NOTE: server fingerprint: 67:44:C8:9F:D8:3F:6E:42:93:2C:4D:60:E5:18:9F:55:11:30:4C:04
[2020-12-18T11:13:32] NOTE: trustedServersFilename: C:\Users\xxxxx xäx\AppData\Local\Barrier /SSL/Fingerprints/TrustedServers.txt
[2020-12-18T11:13:32] NOTE: Unable to open trustedServersFile: C:\Users\xxxxx xäx\AppData\Local\Barrier /SSL/Fingerprints/TrustedServers.txt
[2020-12-18T11:13:32] ERROR: failed to verify server certificate fingerprint
...
btw thank you for your work :)

<!-- gh-comment-id:748030578 --> @Schlunze commented on GitHub (Dec 18, 2020): > Edit 2: Aaaaand another issue, this time in the client: https://dev.azure.com/debauchee/Barrier/_build/results?buildId=388&view=artifacts&pathAsName=false&type=publishedArtifacts Hello albertony sorry for the late reply. I have tested the build from Edit 2. The non-ascii character in username does not work in this build. Here is the log: `...` `[2020-12-18T11:13:32] NOTE: server fingerprint: 67:44:C8:9F:D8:3F:6E:42:93:2C:4D:60:E5:18:9F:55:11:30:4C:04` `[2020-12-18T11:13:32] NOTE: trustedServersFilename: C:\Users\xxxxx xäx\AppData\Local\Barrier /SSL/Fingerprints/TrustedServers.txt` `[2020-12-18T11:13:32] NOTE: Unable to open trustedServersFile: C:\Users\xxxxx xäx\AppData\Local\Barrier /SSL/Fingerprints/TrustedServers.txt` `[2020-12-18T11:13:32] ERROR: failed to verify server certificate fingerprint` `...` btw thank you for your work :)
Author
Owner

@albertony commented on GitHub (Dec 18, 2020):

Thank you for your feedback!

That error is the same as https://github.com/debauchee/barrier/issues/974#issuecomment-744119543 (I think that issue and yours are essentially duplicates, and is about non-ascii characters). I have not been able to reproduce that in my test setup, unfortunately, latest beta works with special characters (and space), but will have another look.

<!-- gh-comment-id:748036684 --> @albertony commented on GitHub (Dec 18, 2020): Thank you for your feedback! That error is the same as https://github.com/debauchee/barrier/issues/974#issuecomment-744119543 (I think that issue and yours are essentially duplicates, and is about non-ascii characters). I have not been able to reproduce that in my test setup, unfortunately, latest beta works with special characters (and space), but will have another look.
Author
Owner

@Schlunze commented on GitHub (Dec 18, 2020):

That build works with non-ascii characters and solved my issue - thank you.
https://dev.azure.com/debauchee/Barrier/_build/results?buildId=396&view=artifacts&pathAsName=false&type=publishedArtifacts

<!-- gh-comment-id:748044723 --> @Schlunze commented on GitHub (Dec 18, 2020): That build works with non-ascii characters and solved my issue - thank you. [https://dev.azure.com/debauchee/Barrier/_build/results?buildId=396&view=artifacts&pathAsName=false&type=publishedArtifacts](url)
Author
Owner

@albertony commented on GitHub (Dec 18, 2020):

Great!!

<!-- gh-comment-id:748045380 --> @albertony commented on GitHub (Dec 18, 2020): Great!!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#784
No description provided.