Two issues seen in Android 9 and above on http and connect to an access point

In 'package:http/http.dart', In Android 9 and above, http is not allowed.  I tried the work-around in the security setup in the manifest files, but that did not help.  I posted an issue on that GitHub but it was closed and was told to post it here.
In 'package:wifi_configuration/wifi_configuration.dart', there is a change in Android 10 in connecting to an access point.  You now have to give a suggested list and it says it might not use that.  Posted an issue on that GitHub.   Seems to be pull requests to fix it, but no action.
My flutter app was a test of connecting to the softAP of an embedding board and then doing an http post to give it a WiFi network to connect to.  The app works fine on Android 6 to 8, but breaks on 9 and 10.  Running out of old devices that still work!

hI @BillMac4440
For the first issue
Can you please provide your flutter doctor -v and flutter run --verbose logs, and a minimal complete reproducible code sample without using wifi_configuration, just package:http/http.dart.
For the second issue
Please file an issue on wifi_configuration's dedicated GitHub
Thank you

hI @BillMac4440
For the first issue
Can you please provide your flutter doctor -v and flutter run --verbose logs, and a minimal complete reproducible code sample without using wifi_configuration, just package:http/http.dart.
For the second issue
Please file an issue on wifi_configuration's dedicated GitHub
Thank you

C:\Data\FlutterApps\CM_Utilities\CM_Connection_App>flutter doctor -v
[√] Flutter (Channel dev, 1.26.0-8.0.pre, on Microsoft Windows [Version
10.0.19042.746], locale en-US)
• Flutter version 1.26.0-8.0.pre at C:\Data\flutter
• Framework revision b9d06fffb2 (2 weeks ago), 2021-01-07 18:36:48 -0800
• Engine revision 42a8d4c681
• Dart version 2.12.0 (build 2.12.0-179.0.dev)
[√] Android toolchain - develop for Android devices (Android SDK version
30.0.3)
• Android SDK at C:\Users\bmccroskey\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] Visual Studio - develop for Windows (Visual Studio Community 2019
16.8.3)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community
• Visual Studio Community 2019 version 16.8.30804.86
• Windows 10 SDK version 10.0.18362.0
[√] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b01)
[√] Connected device (1 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version
10.0.19042.746]
• No issues found!
If I try to do a flutter run, it tries to build for Windows and nothing
is supported on the channels to the libraries.
I don't have a minimal app as I need to connect to that access point to
send the http.post.
See
https://android-developers.googleblog.com/2018/08/introducing-android-9-pie.html
and go to the "HTTPS by default" section of the doc.
I tried all that and no luck.
I did post an issue on wifi_configuration's GitHub.
--Bill
On 1/21/2021 8:00 AM, Taha Tesser wrote:

hI @BillMac4440 https://github.com/BillMac4440
    For the first issue

Can you please provide your |flutter doctor -v| and |flutter run
--verbose| logs, and a minimal complete reproducible code sample
https://stackoverflow.com/help/minimal-reproducible-example without
using |wifi_configuration|, just |package:http/http.dart|.
    For the second issue

Please file an issue on |wifi_configuration|'s dedicated GitHub
https://github.com/RohitKumarMishra/wifi_configuration/issues
Thank you
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/74399#issuecomment-764626828,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASOP67YQMBDY7FUNT4K46YLS3AQPZANCNFSM4WMZJFVQ.

C:\Data\FlutterApps\CM_Utilities\CM_Connection_App>flutter doctor -v
[√] Flutter (Channel dev, 1.26.0-8.0.pre, on Microsoft Windows [Version
10.0.19042.746], locale en-US)
• Flutter version 1.26.0-8.0.pre at C:\Data\flutter
• Framework revision b9d06fffb2 (2 weeks ago), 2021-01-07 18:36:48 -0800
• Engine revision 42a8d4c681
• Dart version 2.12.0 (build 2.12.0-179.0.dev)
[√] Android toolchain - develop for Android devices (Android SDK version
30.0.3)
• Android SDK at C:\Users\bmccroskey\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] Visual Studio - develop for Windows (Visual Studio Community 2019
16.8.3)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community
• Visual Studio Community 2019 version 16.8.30804.86
• Windows 10 SDK version 10.0.18362.0
[√] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b01)
[√] Connected device (1 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version
10.0.19042.746]
• No issues found!
If I try to do a flutter run, it tries to build for Windows and nothing
is supported on the channels to the libraries.
I don't have a minimal app as I need to connect to that access point to
send the http.post.
See
https://android-developers.googleblog.com/2018/08/introducing-android-9-pie.html
and go to the "HTTPS by default" section of the doc.
I tried all that and no luck.
I did post an issue on wifi_configuration's GitHub.
--Bill
On 1/21/2021 8:00 AM, Taha Tesser wrote:

hI @BillMac4440 https://github.com/BillMac4440
    For the first issue

Can you please provide your |flutter doctor -v| and |flutter run
--verbose| logs, and a minimal complete reproducible code sample
https://stackoverflow.com/help/minimal-reproducible-example without
using |wifi_configuration|, just |package:http/http.dart|.
    For the second issue

Please file an issue on |wifi_configuration|'s dedicated GitHub
https://github.com/RohitKumarMishra/wifi_configuration/issues
Thank you
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/74399#issuecomment-764626828,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASOP67YQMBDY7FUNT4K46YLS3AQPZANCNFSM4WMZJFVQ.

Hi @BillMac4440
To better address the issue, Can you please provide  flutter run --verbose logs, and a minimal complete reproducible code sample?
Thank you

Hi @BillMac4440
To better address the issue, Can you please provide  flutter run --verbose logs, and a minimal complete reproducible code sample?
Thank you

[image:
2021_01_22_11_07_25_flutter_app_C_Data_flutter_.pub_cache_hosted_pub.dartlang.org_http_0.12.2_lib.png]
On Fri, Jan 22, 2021 at 5:53 AM Taha Tesser<EMAIL_ADDRESS>wrote:

Hi @BillMac4440 https://github.com/BillMac4440
To better address the issue, Can you please provide flutter run --verbose
logs, and a minimal complete reproducible code sample
https://stackoverflow.com/help/minimal-reproducible-example?
Thank you
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/74399#issuecomment-765320310,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASOP677HNVDTSVKDPZ3LGV3S3FKKRANCNFSM4WMZJFVQ
.

[image:
2021_01_22_11_07_25_flutter_app_C_Data_flutter_.pub_cache_hosted_pub.dartlang.org_http_0.12.2_lib.png]
On Fri, Jan 22, 2021 at 5:53 AM Taha Tesser<EMAIL_ADDRESS>wrote:

Hi @BillMac4440 https://github.com/BillMac4440
To better address the issue, Can you please provide flutter run --verbose
logs, and a minimal complete reproducible code sample
https://stackoverflow.com/help/minimal-reproducible-example?
Thank you
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/74399#issuecomment-765320310,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASOP677HNVDTSVKDPZ3LGV3S3FKKRANCNFSM4WMZJFVQ
.

Ran it on an emulator with API 30 on Android 11.
This error happens from Android 9 up.
On Fri, Jan 22, 2021 at 11:12 AM William M<EMAIL_ADDRESS>wrote:

[image:
2021_01_22_11_07_25_flutter_app_C_Data_flutter_.pub_cache_hosted_pub.dartlang.org_http_0.12.2_lib.png]
On Fri, Jan 22, 2021 at 5:53 AM Taha Tesser<EMAIL_ADDRESS>wrote:

Hi @BillMac4440 https://github.com/BillMac4440
To better address the issue, Can you please provide flutter run --verbose
logs, and a minimal complete reproducible code sample
https://stackoverflow.com/help/minimal-reproducible-example?
Thank you
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/74399#issuecomment-765320310,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASOP677HNVDTSVKDPZ3LGV3S3FKKRANCNFSM4WMZJFVQ
.

Ran it on an emulator with API 30 on Android 11.
This error happens from Android 9 up.
On Fri, Jan 22, 2021 at 11:12 AM William M<EMAIL_ADDRESS>wrote:

[image:
2021_01_22_11_07_25_flutter_app_C_Data_flutter_.pub_cache_hosted_pub.dartlang.org_http_0.12.2_lib.png]
On Fri, Jan 22, 2021 at 5:53 AM Taha Tesser<EMAIL_ADDRESS>wrote:

Hi @BillMac4440 https://github.com/BillMac4440
To better address the issue, Can you please provide flutter run --verbose
logs, and a minimal complete reproducible code sample
https://stackoverflow.com/help/minimal-reproducible-example?
Thank you
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/74399#issuecomment-765320310,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASOP677HNVDTSVKDPZ3LGV3S3FKKRANCNFSM4WMZJFVQ
.

Hi @BillMac4440
Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

Hi @BillMac4440
Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

Yes, it was a change in Android, but Flutter need a way to work around it.  The post on how to fix it did not work on Flutter.  The use case is you have an IoT product and are setting it up.  As it has no config, it boots with a hot spot to connect to for configuration.  You give it the network config over that socket once you connect, then the IoT device is configured.  I've only had to do that on the stove, light switches, mesh nodes, etc.  Flutter is just a great tool to quickly set up an app for this.  Like I said, it runs great on Android 6 to 8, but new devices come up with 9 to 11 and break this.  The IoT space is really growing.  Android and Flutter along with it needs to embrace this.  I see both of these issues as walking away from the embedded world.  I am a firmware engineer on embedded code and Flutter has been the best tool for me to get something working to connect to embedded devices.  I have searched the various posts you mention, but all go back to the write-up on the Android 9 release that did not work on Flutter.  Somehow there needs to be a switch to turn this off for this simple use case to configure an IoT device using http.

Yes, it was a change in Android, but Flutter need a way to work around it.  The post on how to fix it did not work on Flutter.  The use case is you have an IoT product and are setting it up.  As it has no config, it boots with a hot spot to connect to for configuration.  You give it the network config over that socket once you connect, then the IoT device is configured.  I've only had to do that on the stove, light switches, mesh nodes, etc.  Flutter is just a great tool to quickly set up an app for this.  Like I said, it runs great on Android 6 to 8, but new devices come up with 9 to 11 and break this.  The IoT space is really growing.  Android and Flutter along with it needs to embrace this.  I see both of these issues as walking away from the embedded world.  I am a firmware engineer on embedded code and Flutter has been the best tool for me to get something working to connect to embedded devices.  I have searched the various posts you mention, but all go back to the write-up on the Android 9 release that did not work on Flutter.  Somehow there needs to be a switch to turn this off for this simple use case to configure an IoT device using http.

OK, I found the combo if the security allowance to get the http to work with http://neverssl.com.  Just don't use the domain section.
Now, if I can get the access point connection all will work!

OK, I found the combo if the security allowance to get the http to work with http://neverssl.com.  Just don't use the domain section.
Now, if I can get the access point connection all will work!


Allow mixed value in color

Coverage increased (+1.0%) to 95.699% when pulling 572543199f0e47027920b0b21ade511fb06e7ef3 on allow-mixed-value-in-color into ce354c2ebe09260a102e449f83ea06e2dfebe51b on master.

Coverage increased (+1.0%) to 95.699% when pulling 572543199f0e47027920b0b21ade511fb06e7ef3 on allow-mixed-value-in-color into ce354c2ebe09260a102e449f83ea06e2dfebe51b on master.


fix #234: Added method to fixup non json-spec compliant floats to make the resp…

Added method to fixup non json-spec compliant floats to make the response json compliant
Issue #, if available:
https://github.com/awslabs/gluon-ts/issues/234
Description of changes:
Calls a method to sanitize and fix non json-spec compliant floats before returning the response from /invocations endpoint
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-236/1 is complete.
Docs are uploaded to http://gluon-ts-staging.s3-accelerate.dualstack.amazonaws.com/PR-236/1/index.html

Job PR-236/2 is complete.
Docs are uploaded to http://gluon-ts-staging.s3-accelerate.dualstack.amazonaws.com/PR-236/2/index.html


refactoring: use Blueprints to refactoring init.py

init.py has everything and became complicated.  Let's split into cohesive modules.
It might better to wait until moving to a cloud platform, maybe AWS API Gateway and Lambda.

partly done

Done.


gateway-api: Bump to the latest version from upstream

This is to pick up the new format for conformance profile report.

/ci-gateway-api

/ci-gateway-api

/test


ERROR: All memory pool allocations are in use. ERROR: Index p_index = -1 is out of bounds (size() = 0).

Godot version
v3.4.2.stable.official
System information
Windows 10, GLES2, Vulkan
Issue description
Randomly, when executing my code, these two errors show up endlessly on the terminal screen, locking up Godot, forcing me to force quit with Alt+F4. I have no idea why this happens or when.
ERROR: All memory pool allocations are in use.
   at: (./core/pool_vector.h:512)
ERROR: Index p_index = -1 is out of bounds (size() = 0).
   at: set (./core/pool_vector.h:479)

Steps to reproduce

try to edit the game
nobody profits

Minimal reproduction project
shingo.zip
This is definitely not minimal, but I don't have the patience to keep removing elements while Godot continuously hangs.

I'm not very familiar with PoolVector but a quick look suggests there might be a hard limit of 65535 unique PoolVectors. So at a guess either you or maybe some feature you are using is creating a large array of these PoolVectors.
Can't reproduce it offhand here, and don't have much time to investigate this week, maybe someone else can track down.

Duplicate of https://github.com/godotengine/godot/issues/37154 and/or https://github.com/godotengine/godot/issues/53665.


x/tools/gopls: client not receiving messages from server

First reported on Slack.
(From 2 different runs)
Client side: https://gophers.slack.com/files/T029RQSE6/F024HF0KRQE?origin_team=T029RQSE6.
Server side: https://gophers.slack.com/files/T029RQSE6/F024HECSV7Y?origin_team=T029RQSE6.
The next step in investigation is to log jsonrpc2 bytes to files to understand what is actually happening over the wire.

After following the instructions posted: https://gophers.slack.com/archives/C2B4L99RS/p1623424302142500
I have the following logs:
gopls-server.txt
gopls.txt
log-extension-host.txt
None of the other log outputs in VS code seem to have anything interesting, most are empty or just a few lines.
This is the entire project on one screen:

I opened VS Code from my terminal: cd test-project; code .

From those instructions--do you have the trace.log file that should be generated in your test project?

And one more thing to try after this, is to delete the wrapper script and the "go.alternateTools" setting and instead add the following to your settings:
"go.languageServerFlags": [
	"-remote=auto",
	"-rpc.trace",
]

If gopls starts working, then the issue is that we are writing something that doesn't fit the protocol to stdout.

Ah, I had forgotten to make the script an executable and therefore wasn't getting trace.log. I've fixed that now, here's the file. You can ignore the "CANCEL"'s in there (or just know that it means that the Go context got cancelled!). At one point recently we were debugging something and added a `fmt.Println("CANCEL") on context cancel and didn't manage to clean it up (it's buried somewhere deep and it wasn't worth tracking down).
trace.log
I also tried adding the '"-remote=auto",' in there and it seems to somewhat alleviate the problem? It's a bit strange, I can still reproduce the loading packages sometimes but not 100% of the time. It seems to help most on the smaller test projects than on the big project (I haven't got the big project working at all yet) but my data points are fairly limited and it's hard to say for sure.

At one point recently we were debugging something and added a `fmt.Println("CANCEL")

That's the problem. Writing CANCEL to stdout breaks the jsonrpc2 stream.

I also tried adding the '"-remote=auto",' in there and it seems to somewhat alleviate the problem? It's a bit strange, I can still reproduce the loading packages sometimes but not 100% of the time.

I'm guessing that even when operating as a thin forwarder, gopls can hit some context cancellations.
Whelp, mystery solved.  Please re-build gopls with a clean GOROOT.

Oh wow! Thank you so much for your help, that indeed fixed the problem!
I cleaned up cached modules (go clean --modcache) and some other stuff and rebuilt gopls and some other go packages on my system and that fixed things up.
Sorry for the weird issue and thanks for your time @stamblerre and @findleyr!


Unable to get azure token, statusCode 400

Describe the problem
Hi. I self-hosted using docker compose according to the tutorial. I used nginx as reverse proxy and entra id (azure) as IdP. I configured step by step but it gives me this error
WARN management/server/account.go:889: failed warming up cache due to error: unable to get azure token, statusCode 400
In the web interface, it keeps refreshing and complaints about these errors:

To Reproduce
Steps to reproduce the behavior:

Setup reverse proxy, azure id according to tutorial
Open https://netbird.FQDN/
See error

Expected behavior
I should be able to run it without error
Are you using NetBird Cloud?
Self-host
NetBird version
0.26.2
NetBird status -d output:
If applicable, add the `netbird status -d' command output.
I don't have it but I can post the management container log here
management-1  | 2024-03-04T05:19:47Z INFO management/cmd/management.go:447: loading OIDC configuration from the provided IDP configuration endpoint https://login.partner.microsoftonline.cn/<tenant-id>/v2.0/.well-known/openid-configuration management-1  | 2024-03-04T05:19:48Z INFO management/cmd/management.go:452: loaded OIDC configuration from the provided IDP configuration endpoint: https://login.partner.microsoftonline.cn/<tenant-id>/v2.0/.well-known/openid-configuration management-1  | 2024-03-04T05:19:48Z INFO management/cmd/management.go:454: overriding HttpConfig.AuthIssuer with a new value https://login.partner.microsoftonline.cn/<tenant-id>/v2.0, previously configured value: https://login.partner.microsoftonline.cn/<tenant-id>/v2.0 management-1  | 2024-03-04T05:19:48Z INFO management/cmd/management.go:458: overriding HttpConfig.AuthKeysLocation (JWT certs) with a new value https://login.partner.microsoftonline.cn/<tenant-id>/discovery/v2.0/keys, previously configured value: https://login.partner.microsoftonline.cn/<tenant-id>/discovery/v2.0/keys management-1  | 2024-03-04T05:19:48Z INFO management/cmd/management.go:484: overriding PKCEAuthorizationFlow.TokenEndpoint with a new value: https://login.partner.microsoftonline.cn/<tenant-id>/oauth2/v2.0/token, previously configured value: https://login.partner.microsoftonline.cn/<tenant-id>/oauth2/v2.0/token management-1  | 2024-03-04T05:19:48Z INFO management/cmd/management.go:487: overriding PKCEAuthorizationFlow.AuthorizationEndpoint with a new value: https://login.partner.microsoftonline.cn/<tenant-id>/oauth2/v2.0/authorize, previously configured value: https://login.partner.microsoftonline.cn/<tenant-id>/oauth2/v2.0/authorize management-1  | 2024-03-04T05:19:48Z INFO management/server/telemetry/app_metrics.go:177: enabled application metrics and exposing on http://<IP_ADDRESS>:8081 management-1  | 2024-03-04T05:19:48Z INFO management/server/store.go:94: using SQLite store engine management-1  | 2024-03-04T05:22:42Z INFO management/cmd/management.go:447: loading OIDC configuration from the provided IDP configuration endpoint https://login.partner.microsoftonline.cn/<tenant-id>/v2.0/.well-known/openid-configuration management-1  | 2024-03-04T05:22:43Z INFO management/cmd/management.go:452: loaded OIDC configuration from the provided IDP configuration endpoint: https://login.partner.microsoftonline.cn/<tenant-id>/v2.0/.well-known/openid-configuration management-1  | 2024-03-04T05:22:43Z INFO management/cmd/management.go:454: overriding HttpConfig.AuthIssuer with a new value https://login.partner.microsoftonline.cn/<tenant-id>/v2.0, previously configured value: https://login.partner.microsoftonline.cn/<tenant-id>/v2.0 management-1  | 2024-03-04T05:22:43Z INFO management/cmd/management.go:458: overriding HttpConfig.AuthKeysLocation (JWT certs) with a new value https://login.partner.microsoftonline.cn/<tenant-id>/discovery/v2.0/keys, previously configured value: https://login.partner.microsoftonline.cn/<tenant-id>/discovery/v2.0/keys management-1  | 2024-03-04T05:22:43Z INFO management/cmd/management.go:484: overriding PKCEAuthorizationFlow.TokenEndpoint with a new value: https://login.partner.microsoftonline.cn/<tenant-id>/oauth2/v2.0/token, previously configured value: https://login.partner.microsoftonline.cn/<tenant-id>/oauth2/v2.0/token management-1  | 2024-03-04T05:22:43Z INFO management/cmd/management.go:487: overriding PKCEAuthorizationFlow.AuthorizationEndpoint with a new value: https://login.partner.microsoftonline.cn/<tenant-id>/oauth2/v2.0/authorize, previously configured value: https://login.partner.microsoftonline.cn/<tenant-id>/oauth2/v2.0/authorize management-1  | 2024-03-04T05:22:43Z INFO management/server/telemetry/app_metrics.go:177: enabled application metrics and exposing on http://<IP_ADDRESS>:8081 management-1  | 2024-03-04T05:22:43Z INFO management/server/store.go:94: using SQLite store engine management-1  | 2024-03-04T06:35:42Z INFO management/cmd/management.go:171: geo location service has been initialized from /var/lib/netbird/ management-1  | 2024-03-04T06:35:42Z INFO management/server/account.go:849: single account mode enabled, accounts number 0 management-1  | 2024-03-04T06:35:42Z WARN management/cmd/management.go:185: TrustedPeers are configured to default value '<IP_ADDRESS>/0', '::/0'. This allows connection IP spoofing. management-1  | 2024-03-04T06:35:46Z WARN management/server/account.go:889: failed warming up cache due to error: Post "https://login.partner.microsoftonline.cn/<tenant-id>/oauth2/v2.0/token": dial tcp: lookup login.partner.microsoftonline.cn on <IP_ADDRESS>:53: read udp <IP_ADDRESS>:39173-><IP_ADDRESS>:53: i/o timeout management-1  | Error: failed creating JWT validator: Get "https://login.partner.microsoftonline.cn/<tenant-id>/discovery/v2.0/keys": dial tcp: lookup login.partner.microsoftonline.cn on <IP_ADDRESS>:53: read udp <IP_ADDRESS>:39173-><IP_ADDRESS>:53: i/o timeout management-1  | 2024-03-04T06:35:48Z INFO management/cmd/management.go:447: loading OIDC configuration from the provided IDP configuration endpoint https://login.partner.microsoftonline.cn/<tenant-id>/v2.0/.well-known/openid-configuration management-1  | 2024-03-04T06:35:48Z INFO management/cmd/management.go:452: loaded OIDC configuration from the provided IDP configuration endpoint: https://login.partner.microsoftonline.cn/<tenant-id>/v2.0/.well-known/openid-configuration management-1  | 2024-03-04T06:35:48Z INFO management/cmd/management.go:454: overriding HttpConfig.AuthIssuer with a new value https://login.partner.microsoftonline.cn/<tenant-id>/v2.0, previously configured value: https://login.partner.microsoftonline.cn/<tenant-id>/v2.0 management-1  | 2024-03-04T06:35:48Z INFO management/cmd/management.go:458: overriding HttpConfig.AuthKeysLocation (JWT certs) with a new value https://login.partner.microsoftonline.cn/<tenant-id>/discovery/v2.0/keys, previously configured value: https://login.partner.microsoftonline.cn/<tenant-id>/discovery/v2.0/keys management-1  | 2024-03-04T06:35:48Z INFO management/cmd/management.go:484: overriding PKCEAuthorizationFlow.TokenEndpoint with a new value: https://login.partner.microsoftonline.cn/<tenant-id>/oauth2/v2.0/token, previously configured value: https://login.partner.microsoftonline.cn/<tenant-id>/oauth2/v2.0/token management-1  | 2024-03-04T06:35:48Z INFO management/cmd/management.go:487: overriding PKCEAuthorizationFlow.AuthorizationEndpoint with a new value: https://login.partner.microsoftonline.cn/<tenant-id>/oauth2/v2.0/authorize, previously configured value: https://login.partner.microsoftonline.cn/<tenant-id>/oauth2/v2.0/authorize management-1  | 2024-03-04T06:35:48Z INFO management/server/telemetry/app_metrics.go:177: enabled application metrics and exposing on http://<IP_ADDRESS>:8081 management-1  | 2024-03-04T06:35:48Z INFO management/server/store.go:94: using SQLite store engine management-1  | 2024-03-04T06:35:49Z INFO management/cmd/management.go:171: geo location service has been initialized from /var/lib/netbird/ management-1  | 2024-03-04T06:35:49Z INFO management/server/account.go:849: single account mode enabled, accounts number 0 management-1  | 2024-03-04T06:35:49Z WARN management/cmd/management.go:185: TrustedPeers are configured to default value '<IP_ADDRESS>/0', '::/0'. This allows connection IP spoofing. management-1  | 2024-03-04T06:35:49Z INFO management/cmd/management.go:286: running gRPC backward compatibility server: [::]:33073 management-1  | 2024-03-04T06:35:49Z INFO management/cmd/management.go:318: running HTTP server and gRPC server on the same port: [::]:443 management-1  | 2024-03-04T06:35:49Z WARN management/server/account.go:889: failed warming up cache due to error: unable to get azure token, statusCode 400 management-1  | 2024-03-04T06:35:49Z INFO management/server/account.go:1590: overriding JWT Domain and DomainCategory claims since single account mode is enabled management-1  | 2024-03-04T06:35:49Z ERRO management/server/sqlite_store.go:374: when getting account from the store: record not found management-1  | 2024-03-04T06:35:50Z ERRO management/server/http/middleware/auth_middleware.go:88: Error when validating JWT claims: unable to get azure token, statusCode 400 management-1  | 2024-03-04T06:35:50Z ERRO management/server/http/util/util.go:80: got a handler error: token invalid management-1  | 2024-03-04T06:35:50Z ERRO management/server/telemetry/http_api_metrics.go:181: HTTP response<PHONE_NUMBER>: GET /api/peers status 401 management-1  | 2024-03-04T06:35:59Z INFO management/server/account.go:1590: overriding JWT Domain and DomainCategory claims since single account mode is enabled management-1  | 2024-03-04T06:36:00Z ERRO management/server/http/middleware/auth_middleware.go:88: Error when validating JWT claims: unable to get azure token, statusCode 400 management-1  | 2024-03-04T06:36:00Z ERRO management/server/http/util/util.go:80: got a handler error: token invalid management-1  | 2024-03-04T06:36:00Z ERRO management/server/telemetry/http_api_metrics.go:181: HTTP response<PHONE_NUMBER>: GET /api/groups status 401 management-1  | 2024-03-04T06:36:10Z INFO management/server/account.go:1590: overriding JWT Domain and DomainCategory claims since single account mode is enabled management-1  | 2024-03-04T06:36:10Z ERRO management/server/http/middleware/auth_middleware.go:88: Error when validating JWT claims: unable to get azure token, statusCode 400 management-1  | 2024-03-04T06:36:10Z ERRO management/server/http/util/util.go:80: got a handler error: token invalid management-1  | 2024-03-04T06:36:10Z ERRO management/server/telemetry/http_api_metrics.go:181: HTTP response<PHONE_NUMBER>: GET /api/users status 401
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.
I used microsoft 365 operated by 21vianet so the endpoint url is slightly different.
In entra id management centre, it gives me this error:
500011

The resource principal named {name} was not found in the tenant named {tenant}. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant.

Developer error - the app requested access to a resource (application) that isn't installed in your tenant. If you expect the app to be installed, you may need to provide administrator permissions to add it. Check with the developers of the resource and application to understand what the right setup for your tenant is.

Below is my setup.env
## example file, you can copy this file to setup.env and update its values
##

# Image tags
# you can force specific tags for each component; will be set to latest if empty
NETBIRD_DASHBOARD_TAG=""
NETBIRD_SIGNAL_TAG=""
NETBIRD_MANAGEMENT_TAG=""
COTURN_TAG=""

# Dashboard domain. e.g. app.mydomain.com
NETBIRD_DOMAIN="netbird.example.com"

# TURN server domain. e.g. turn.mydomain.com
# if not specified it will assume NETBIRD_DOMAIN
NETBIRD_TURN_DOMAIN=""

# TURN server public IP address
# required for a connection involving peers in
# the same network as the server and external peers
# usually matches the IP for the domain set in NETBIRD_TURN_DOMAIN
NETBIRD_TURN_EXTERNAL_IP=""

# -------------------------------------------
# OIDC
#  e.g., https://example.eu.auth0.com/.well-known/openid-configuration
# -------------------------------------------
NETBIRD_AUTH_OIDC_CONFIGURATION_ENDPOINT="https://login.partner.microsoftonline.cn/<tenant-id>/v2.0/.well-known/openid-configuration"
# The default setting is to transmit the audience to the IDP during authorization. However,
# if your IDP does not have this capability, you can turn this off by setting it to false.
#NETBIRD_DASH_AUTH_USE_AUDIENCE=false
NETBIRD_AUTH_AUDIENCE="<application-id>"
# e.g. netbird-client
NETBIRD_AUTH_CLIENT_ID="<application-id>"
# indicates the scopes that will be requested to the IDP
NETBIRD_AUTH_SUPPORTED_SCOPES="openid profile email offline_access api://<application-id>/api"
# NETBIRD_AUTH_CLIENT_SECRET is required only by Google workspace.
# NETBIRD_AUTH_CLIENT_SECRET=""
# if you want to use a custom claim for the user ID instead of 'sub', set it here
NETBIRD_AUTH_USER_ID_CLAIM="oid"
# indicates whether to use Auth0 or not: true or false
NETBIRD_USE_AUTH0="false"
# if your IDP provider doesn't support fragmented URIs, configure custom
# redirect and silent redirect URIs, these will be concatenated into your NETBIRD_DOMAIN domain.
NETBIRD_AUTH_REDIRECT_URI="/auth"
NETBIRD_AUTH_SILENT_REDIRECT_URI="/silent-auth"
# Updates the preference to use id tokens instead of access token on dashboard
# Okta and Gitlab IDPs can benefit from this
# NETBIRD_TOKEN_SOURCE="idToken"
# -------------------------------------------
# OIDC Device Authorization Flow
# -------------------------------------------
NETBIRD_AUTH_DEVICE_AUTH_PROVIDER="none"
NETBIRD_AUTH_DEVICE_AUTH_CLIENT_ID=""
# Some IDPs requires different audience, scopes and to use id token for device authorization flow
# you can customize here:
NETBIRD_AUTH_DEVICE_AUTH_AUDIENCE=$NETBIRD_AUTH_AUDIENCE
NETBIRD_AUTH_DEVICE_AUTH_SCOPE="openid"
NETBIRD_AUTH_DEVICE_AUTH_USE_ID_TOKEN=false
# -------------------------------------------
# OIDC PKCE Authorization Flow
# -------------------------------------------
# Comma separated port numbers. if already in use, PKCE flow will choose an available port from the list as an alternative
# eg. 53000,54000
NETBIRD_AUTH_PKCE_REDIRECT_URL_PORTS="53000"
# -------------------------------------------
# IDP Management
# -------------------------------------------
# eg. zitadel, auth0, azure, keycloak
NETBIRD_MGMT_IDP="azure"
# Some IDPs requires different client id and client secret for management api
NETBIRD_IDP_MGMT_CLIENT_ID=$NETBIRD_AUTH_CLIENT_ID
NETBIRD_IDP_MGMT_CLIENT_SECRET="<client-secret>"
# Required when setting up with Keycloak "https://<YOUR_KEYCLOAK_HOST_AND_PORT>/admin/realms/netbird"
# NETBIRD_IDP_MGMT_EXTRA_ADMIN_ENDPOINT=
# With some IDPs may be needed enabling automatic refresh of signing keys on expire
NETBIRD_MGMT_IDP_SIGNKEY_REFRESH=true
# NETBIRD_IDP_MGMT_EXTRA_ variables. See https://docs.netbird.io/selfhosted/identity-providers for more information about your IDP of choice.
NETBIRD_IDP_MGMT_EXTRA_OBJECT_ID="<object-id-of-application-azure>"
NETBIRD_IDP_MGMT_EXTRA_GRAPH_API_ENDPOINT="https://microsoftgraph.chinacloudapi.cn/v1.0"
# -------------------------------------------
# Letsencrypt
# -------------------------------------------
# Disable letsencrypt
#  if disabled, cannot use HTTPS anymore and requires setting up a reverse-proxy to do it instead
NETBIRD_DISABLE_LETSENCRYPT=true
# e.g<EMAIL_ADDRESS>NETBIRD_LETSENCRYPT_EMAIL=""
# -------------------------------------------
# Extra settings
# -------------------------------------------
# Disable anonymous metrics collection, see more information at https://netbird.io/docs/FAQ/metrics-collection
NETBIRD_DISABLE_ANONYMOUS_METRICS=true
# DNS DOMAIN configures the domain name used for peer resolution. By default it is netbird.selfhosted
NETBIRD_MGMT_DNS_DOMAIN=netbird.example.com
NETBIRD_MGMT_API_PORT=443
NETBIRD_SIGNAL_PORT=443

No idea where it went wrong but reconfigure from the template solved the issue.

Ok I found the problem. According to the tutorial, this should be set: NETBIRD_MGMT_IDP="azure". But it only works when it is set to NETBIRD_MGMT_IDP="none"
Maybe it is somehow related, when I click 'connectin the windows client, it doesn't do anything. If I runnetbird up`, it complaints no sso provider returned from management.
2024-03-07T02:08:53+08:00 WARN client/cmd/root.go:204: retrying Login to the Management service in 1.606479616s due to error rpc error: code = Unknown desc = no SSO provider returned from management. Please proceed with setting up this device using setup keys https://docs.netbird.io/how-to/register-machines-using-setup-keys

The error message unable to get azure token, statusCode 400 on management indicates a misconfiguration of the Azure Entra ID (AD). To resolve this issue, please review the guidelines and ensure that you follow the outlined steps accurately.

For Windows, open the client, go to settings, and ensure that the management URL and admin URL are pointing to your self-hosted instance url's.

The error message unable to get azure token, statusCode 400 on management indicates a misconfiguration of the Azure Entra ID (AD). To resolve this issue, please review the guidelines and ensure that you follow the outlined steps accurately.

Yes I did check it for at least three times. Please see the screenshots below
Authentication

Scope

Permission

Token. I generated this token and copy and pasted multiple times... It is 100% correct.

can you share your setup.env?

can you share your setup.env?

Please see below
## example file, you can copy this file to setup.env and update its values
##

# Image tags
# you can force specific tags for each component; will be set to latest if empty
NETBIRD_DASHBOARD_TAG=""
NETBIRD_SIGNAL_TAG=""
NETBIRD_MANAGEMENT_TAG=""
COTURN_TAG=""

# Dashboard domain. e.g. app.mydomain.com
NETBIRD_DOMAIN="teleport.example.com"

# TURN server domain. e.g. turn.mydomain.com
# if not specified it will assume NETBIRD_DOMAIN
NETBIRD_TURN_DOMAIN=""

# TURN server public IP address
# required for a connection involving peers in
# the same network as the server and external peers
# usually matches the IP for the domain set in NETBIRD_TURN_DOMAIN
NETBIRD_TURN_EXTERNAL_IP=""

# -------------------------------------------
# OIDC
#  e.g., https://example.eu.auth0.com/.well-known/openid-configuration
# -------------------------------------------
NETBIRD_AUTH_OIDC_CONFIGURATION_ENDPOINT="https://login.partner.microsoftonline.cn/ac3ee95e-****-****-****-52462d585364/v2.0/.well-known/openid-configuration"
# The default setting is to transmit the audience to the IDP during authorization. However,
# if your IDP does not have this capability, you can turn this off by setting it to false.
#NETBIRD_DASH_AUTH_USE_AUDIENCE=false
NETBIRD_AUTH_AUDIENCE="18554d9e-****-****-****-0e7452cc1678"
# e.g. netbird-client
NETBIRD_AUTH_CLIENT_ID="18554d9e-****-****-****-0e7452cc1678"
# indicates the scopes that will be requested to the IDP
NETBIRD_AUTH_SUPPORTED_SCOPES="openid profile email offline_access api://18554d9e-****-****-****-0e7452cc1678/api"
# NETBIRD_AUTH_CLIENT_SECRET is required only by Google workspace.
# NETBIRD_AUTH_CLIENT_SECRET=""
# if you want to use a custom claim for the user ID instead of 'sub', set it here
NETBIRD_AUTH_USER_ID_CLAIM="oid"
# indicates whether to use Auth0 or not: true or false
NETBIRD_USE_AUTH0="false"
# if your IDP provider doesn't support fragmented URIs, configure custom
# redirect and silent redirect URIs, these will be concatenated into your NETBIRD_DOMAIN domain.
NETBIRD_AUTH_REDIRECT_URI="/auth"
NETBIRD_AUTH_SILENT_REDIRECT_URI="/silent-auth"
# Updates the preference to use id tokens instead of access token on dashboard
# Okta and Gitlab IDPs can benefit from this
# NETBIRD_TOKEN_SOURCE="idToken"
# -------------------------------------------
# OIDC Device Authorization Flow
# -------------------------------------------
NETBIRD_AUTH_DEVICE_AUTH_PROVIDER="none"
NETBIRD_AUTH_DEVICE_AUTH_CLIENT_ID=""
# Some IDPs requires different audience, scopes and to use id token for device authorization flow
# you can customize here:
NETBIRD_AUTH_DEVICE_AUTH_AUDIENCE=$NETBIRD_AUTH_AUDIENCE
NETBIRD_AUTH_DEVICE_AUTH_SCOPE="openid"
NETBIRD_AUTH_DEVICE_AUTH_USE_ID_TOKEN=false
# -------------------------------------------
# OIDC PKCE Authorization Flow
# -------------------------------------------
# Comma separated port numbers. if already in use, PKCE flow will choose an available port from the list as an alternative
# eg. 53000,54000
NETBIRD_AUTH_PKCE_REDIRECT_URL_PORTS="53000"
# -------------------------------------------
# IDP Management
# -------------------------------------------
# eg. zitadel, auth0, azure, keycloak
NETBIRD_MGMT_IDP="none"
# Some IDPs requires different client id and client secret for management api
NETBIRD_IDP_MGMT_CLIENT_ID=$NETBIRD_AUTH_CLIENT_ID
NETBIRD_IDP_MGMT_CLIENT_SECRET="0v67ZA-*****************4RiG"
# Required when setting up with Keycloak "https://<YOUR_KEYCLOAK_HOST_AND_PORT>/admin/realms/netbird"
# NETBIRD_IDP_MGMT_EXTRA_ADMIN_ENDPOINT=
# With some IDPs may be needed enabling automatic refresh of signing keys on expire
NETBIRD_MGMT_IDP_SIGNKEY_REFRESH=false
# NETBIRD_IDP_MGMT_EXTRA_ variables. See https://docs.netbird.io/selfhosted/identity-providers for more information about your IDP of choice.
NETBIRD_IDP_MGMT_EXTRA_OBJECT_ID="c95fa6f9-****-****-****-5c2ce0e34e57"
NETBIRD_IDP_MGMT_EXTRA_GRAPH_API_ENDPOINT="https://microsoftgraph.chinacloudapi.cn/v1.0"
# -------------------------------------------
# Letsencrypt
# -------------------------------------------
# Disable letsencrypt
#  if disabled, cannot use HTTPS anymore and requires setting up a reverse-proxy to do it instead
NETBIRD_DISABLE_LETSENCRYPT=true
# e.g<EMAIL_ADDRESS>NETBIRD_LETSENCRYPT_EMAIL=""
# -------------------------------------------
# Extra settings
# -------------------------------------------
# Disable anonymous metrics collection, see more information at https://netbird.io/docs/FAQ/metrics-collection
NETBIRD_DISABLE_ANONYMOUS_METRICS=false
# DNS DOMAIN configures the domain name used for peer resolution. By default it is netbird.selfhosted
NETBIRD_MGMT_DNS_DOMAIN=netbird.selfhosted
NETBIRD_MGMT_API_PORT=443
NETBIRD_SIGNAL_PORT=443

These are my endpoints
Endpoints
OAuth 2.0 authorization endpoint (v2)
https://login.partner.microsoftonline.cn/ac3ee95e-****-****-****-52462d585364/oauth2/v2.0/authorize
OAuth 2.0 token endpoint (v2)
https://login.partner.microsoftonline.cn/ac3ee95e-****-****-****-52462d585364/oauth2/v2.0/token
OAuth 2.0 authorization endpoint (v1)
https://login.partner.microsoftonline.cn/ac3ee95e-****-****-****-52462d585364/oauth2/authorize
OAuth 2.0 token endpoint (v1)
https://login.partner.microsoftonline.cn/ac3ee95e-****-****-****-52462d585364/oauth2/token
OpenID Connect metadata document
https://login.partner.microsoftonline.cn/ac3ee95e-****-****-****-52462d585364/v2.0/.well-known/openid-configuration
Microsoft Graph API endpoint
https://microsoftgraph.chinacloudapi.cn
Federation metadata document
https://login.partner.microsoftonline.cn/ac3ee95e-****-****-****-52462d585364/federationmetadata/2007-06/federationmetadata.xml
WS-Federation sign-on endpoint
https://login.partner.microsoftonline.cn/ac3ee95e-****-****-****-52462d585364/wsfed
SAML-P sign-on endpoint
https://login.partner.microsoftonline.cn/ac3ee95e-****-****-****-52462d585364/saml2
SAML-P sign-out endpoint
https://login.partner.microsoftonline.cn/ac3ee95e-****-****-****-52462d585364/saml2

There are two object IDs. I'm not sure which one to use as it is not specified in the tutorial. I used the one in "properties" (the first screenshot below)

The error message unable to get azure token, statusCode 400 on management indicates a misconfiguration of the Azure Entra ID (AD). To resolve this issue, please review the guidelines and ensure that you follow the outlined steps accurately.

I forked the repo, changed the scope url, built and tested. After changing the scope url to https:///.default, the error seen on server disappeared. Netbird can read user profiles normally. But the bug with no SSO provider etc.. still existed. I had to change device authorization bit in the management.json like below. This is different from what the guideline said. The document seems incomplete as it told me not to fill the device authorization bit.
"DeviceAuthorizationFlow": {
    "Provider": "hosted",
    "ProviderConfig": {
        "ClientID": "<client-id>",
        "ClientSecret": "",
        "Domain": "",
        "Audience": "<client-id>",
        "TokenEndpoint": "https://login.partner.microsoftonline.cn/ac3ee95e-****-****-****-52462d585364/oauth2/v2.0/token",
        "DeviceAuthEndpoint": "https://login.partner.microsoftonline.cn/ac3ee95e-****-****-****-52462d585364/oauth2/v2.0/devicecode",
        "AuthorizationEndpoint": "",
        "Scope": "openid profile email offline_access api://18554d9e-****-****-****-0e7452cc1678/api",
        "UseIDToken": false,
        "RedirectURLs": null
    }
},

Ok I found the problem. According to the tutorial, this should be set: NETBIRD_MGMT_IDP="azure". But it only works when it is set to NETBIRD_MGMT_IDP="none"
Maybe it is somehow related, when I click 'connectin the windows client, it doesn't do anything. If I runnetbird up`, it complaints no sso provider returned from management.
2024-03-07T02:08:53+08:00 WARN client/cmd/root.go:204: retrying Login to the Management service in 1.606479616s due to error rpc error: code = Unknown desc = no SSO provider returned from management. Please proceed with setting up this device using setup keys https://docs.netbird.io/how-to/register-machines-using-setup-keys

Thank you. You saved me much time. I can't thank you enough for this commentary on the "none". @rqi14 Would you be able to help me understand if this is a bug, or I'm missing something? The guide on the netbird site says to set "azure". Is the guide or the codebase bugged? Thanks!

Ok I found the problem. According to the tutorial, this should be set: NETBIRD_MGMT_IDP="azure". But it only works when it is set to NETBIRD_MGMT_IDP="none"
Maybe it is somehow related, when I click 'connectin the windows client, it doesn't do anything. If I runnetbird up, it complaints no sso provider returned from management. 2024-03-07T02:08:53+08:00 WARN client/cmd/root.go:204: retrying Login to the Management service in 1.606479616s due to error rpc error: code = Unknown desc = no SSO provider returned from management. Please proceed with setting up this device using setup keys https://docs.netbird.io/how-to/register-machines-using-setup-keys`

Thank you. You saved me much time. I can't thank you enough for this commentary on the "none". @rqi14 Would you be able to help me understand if this is a bug, or I'm missing something? The guide on the netbird site says to set "azure". Is the guide or the codebase bugged? Thanks!

You shouldn't set it to None. My problem was related to a bug about the scope in the sign in request. The fix has been merged. If setting to azure doesn't work, I suggest checking all the settings again.

Ok I found the problem. According to the tutorial, this should be set: NETBIRD_MGMT_IDP="azure". But it only works when it is set to NETBIRD_MGMT_IDP="none"
Maybe it is somehow related, when I click 'connectin the windows client, it doesn't do anything. If I runnetbird up, it complaints no sso provider returned from management. 2024-03-07T02:08:53+08:00 WARN client/cmd/root.go:204: retrying Login to the Management service in 1.606479616s due to error rpc error: code = Unknown desc = no SSO provider returned from management. Please proceed with setting up this device using setup keys https://docs.netbird.io/how-to/register-machines-using-setup-keys`

Thank you. You saved me much time. I can't thank you enough for this commentary on the "none". @rqi14 Would you be able to help me understand if this is a bug, or I'm missing something? The guide on the netbird site says to set "azure". Is the guide or the codebase bugged? Thanks!

A little late to the party but I was setting up a self hosted Netbird as well and in following the documentation, ended up leading me down the same error trail. I found I had accidentally been using the Azure Secret ID in the configuration instead of the Secret Value (partly because of the documentation not being clear on which to use in my opinion). Just putting this out there in case anyone else is finding the same errors, to just double check if they are using the right Secret.


feat: clean up (a lot)

Updates the dependencies to the latest.
Cleans up the code... A lot! And it could still be improved.

No more Makefile 😱
Would be nice to have it at least

@koalalorenzo ah, ugh, well... I can add it again. We just had it because it was required on jenkins :P

@hacdias could you add it again? It will help a lot!

I did :)


Merging appveyor autogeneration, and updated help files for new cmdlets

Auto generation of help files with Appveyor+PlatyPS and help files for new cmdlets.

Hi @aoatkinson, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

@aoatkinson Whoops!  Looks like you pulled it some of test changes.  This isn't the right thing to pull; I already have another PR for the help content changes at #106.  This PR isn't really needed.


Improved feature flags handling

The PR introduces/modifies:

Fix json-template dependency in the root Cargo.toml (build fix)
Drop cuda as default feature for the library (fix docs.rs doc gen, fix stable-diffusion-cli build with metal|mkl feature)
Add cuda|mkl|metal feature flags to examples/generation, stable-diffusion-cli
Add automatic device selection to examples/generation based on feature flag
Remove ONNX as backend in stable-diffusion Readme (from what I understand candle-onnx adds support to load onnx model files, not to run models on onnx runtime)

Thanks for the PR! I will review it asap. In the meantime, please consider joining the Discord server.


Upgrade hbmqtt to 0.9.4

Description:
Add Python 3.7 support
Changes: https://github.com/beerfactory/hbmqtt/compare/0.9.2...0.9.4
Related issue (if applicable): fixes #16334, partial #15479
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml (if applicable):

Checklist:

[ ] The code change is tested and works locally.
[ ] Local tests pass with tox. Your PR cannot be merged unless tests pass

There is a traceback:
2018-09-02 18:44:27 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/home/fab/Documents/repos/ha/home-assistant/lib64/python3.6/site-packages/hbmqtt/broker.py", line 343, in stream_connected
    yield from self.client_connected(listener_name, StreamReaderAdapter(reader), StreamWriterAdapter(writer))
  File "/home/fab/Documents/repos/ha/home-assistant/lib64/python3.6/site-packages/hbmqtt/broker.py", line 469, in client_connected
    result = yield from self.add_subscription(subscription, client_session)
  File "/home/fab/Documents/repos/ha/home-assistant/lib64/python3.6/site-packages/hbmqtt/broker.py", line 624, in add_subscription
    permitted = yield from self.topic_filtering(session, topic=a_filter)
  File "/home/fab/Documents/repos/ha/home-assistant/lib64/python3.6/site-packages/hbmqtt/broker.py", line 586, in topic_filtering
    filter_plugins=topic_plugins)
  File "/home/fab/Documents/repos/ha/home-assistant/lib64/python3.6/site-packages/hbmqtt/plugins/manager.py", line 207, in map_plugin_coro
    return (yield from self.map(self._call_coro, coro_name, *args, **kwargs))
  File "/home/fab/Documents/repos/ha/home-assistant/lib64/python3.6/site-packages/hbmqtt/plugins/manager.py", line 181, in map
    ret_list = yield from asyncio.gather(*tasks, loop=self._loop)
  File "/home/fab/Documents/repos/ha/home-assistant/lib64/python3.6/site-packages/hbmqtt/plugins/manager.py", line 193, in _call_coro
    return (yield from coro)
  File "/usr/lib64/python3.6/asyncio/coroutines.py", line 212, in coro
    res = func(*args, **kw)
  File "/home/fab/Documents/repos/ha/home-assistant/lib64/python3.6/site-packages/hbmqtt/plugins/topic_checking.py", line 27, in topic_filtering
    filter_result = super().topic_filtering(*args, **kwargs)
  File "/home/fab/Documents/repos/ha/home-assistant/lib64/python3.6/site-packages/hbmqtt/plugins/topic_checking.py", line 13, in topic_filtering
    if not self.topic_config:
AttributeError: 'TopicTabooPlugin' object has no attribute 'topic_config'


Depreate this gem

Fixes #184
/cc @dcarroll

Produces this when required:
$ bundle exec irb
DEPRECATED: Please use restforce (https://github.com/ejholmes/restforce) instead.
irb(main):001:0>


log file flooded with temp readings  after docker upgrade 17.05.0-370

Hello,
upgrade docker to the latest version yesterday.
Now the log is flooded with entries coming from 2 domoticz z-wave devices(probably through MQTT)
used RAM is growing
i was running homebridge v4.2 fine but think it is now running the latest version
is this new functionality
also when running 4.2 38MB of ram is consumed(HOMEBRIDGE_VERSION=0.4.32 is in the .ENV)
when running the latest version 68MB of ram is consumed(#HOMEBRIDGE_VERSION=0.4.32 is in the .ENV)

Hey, I cannot reproduce this one. Maybe the plugin got updated through the upgrade and has increased logs?

Yes, i think so.
i installed an old homebridge version and it is still the same.
Mem usage however has dropped so this was a temp thnig(probably caused by downloading updates during the install)
thanks


Sythesizing of faces of different identities

Hey, guys, I'm wondering whether stylegan2 can :

synthesize faces belonging to different identities
synthesize difference faces belonging to the same identity.

If you give distinct noise to the model then you can get a faces with different identity.
Generally it is hard. There are no reliable methods for stylegan2 that preserves identity as far as I know.

I think StyleFlow https://github.com/RameenAbdal/StyleFlow is the highest quality demonstrated for editing single attributes. The difference is it finds non-linear paths in the latent space using normalizing flows. Most other methods are completely linear.


Can't seem to rotate text

      vectorDoc
        .rotate(90, {origin: [650, 45]})
        .fillColor(is_express ? 'red' : 'black')
        .font('OpenSans-Light')
        .fontSize(12)
        .text('hello', 650, 53)

Seems to make my script fail, I've even tried setting rotation to 89.9, tried this as well:
      vectorDoc
        .save()
        .rotate(90, {origin: [650, 45]})
        .fillColor(is_express ? 'red' : 'black')
        .font('OpenSans-Light')
        .fontSize(12)
        .text('hello', 650, 53)
        .restore()

I've tried removing the font/fontSize options but nothing seems to work. Using the latest npm version with pdftk 2.01 a Handy Tool for Manipulating PDF Documents

Up

So, after some researches, I decided to open this StackOverflow question, and @olance gave me a really helpful answer, that lead me to fix my issue, so if you want to rotate text, you may want to read it.
http://stackoverflow.com/questions/41469801/is-there-any-trick-to-rotate-text-in-pdfkit

This is essentially what I ended up doing, completely forgot about this issue though, thanks for updating me and this issue. Hopefully it'll help others in the future :+1:

The best way to write rotated text is to rotate pdf around certain point, then write it normally and rotate the pdf document back.
Code example:
doc.rotate(angle, { origin: [x,y] };
doc.text( 'TEST', x, y);
doc.rotate(angle * (-1), { origin: [x,y] };
This way you don't need to calculate new position.

This code  maybe useful.
doc
.save() // Save the current state of the document
.translate(startX + 10, startY + 145) // Set the starting point
.rotate(-90, { origin: [0, 0] }) // Rotate the text at a specific angle
.font('Roboto-Bold.ttf')
.fontSize('12')
.text('DEDUCTIONS AND PENALTIES', 0, 0)
.restore(); // Restore the document to its previous state
https://github.com/bugamehmet/PDFkit-text-rotate


Fix documentation for fetch from rest

I've updated a link to the official swashbuckle tutorial

not 100% sure if i got the link correct, please check again

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


[material-ui][docs] Categorize the "How-to guides" pages

[x] I have followed (at least) the PR section of the contributing guide.

This PR attempts to add some categorization to the Material UI "how-to guides" pages. I've felt they needed something like this for a while, as there are already multiple pages with different purposes. I don't think this is still the ideal format, though, but maybe a step forward we can experiment with. Here are some thoughts that came up while drafting this proposal:

Having a sub-section called "Customization" and right above a bigger "Customization" section feels weird. Maybe there's an opportunity to consolidate everything. "Themed components", for example, sounds very similar to "Theming", or at least close enough.
On the Joy UI docs, we introduced an "Integrations" section, as opposed to being a sub-section of the How-tos. Maybe we should do the same here in the future.
"General" was a word I thought about for the pages that explain our way of thinking about stuff/general philosophies (e.g., how we think about API design approaches). Maybe there's a better word alternative?
Feels redundant to have a "Guides" sub-section within the "How-to guides" parent. 😅 An indication that we could break this down into multiple sections.

https://deploy-preview-40403--material-ui.netlify.app/material-ui/guides/understand-mui-packages/

It reminds me a bit of this docs reorganization discussion: https://github.com/mui/material-ui/pull/39972#discussion_r1404378529.

What do you think about:

Moving the customization ones to the customization section
Moving the integrations to a new integrations section
Moving "Migration from @material-ui/pickers" into the migration section
Having the crucial guides without a subsection and a "General" section for more overview stuff:

Yeah, I was hesitant to move things around too much on this PR for the sake of not having SEO impact, but your suggestion makes sense, and as I also mentioned in the description, there are generally more sorting improvement opportunities! Here's an iteration I'm playing with after your comment, and it's making sense to me, but there would be an impact on SEO as the path changes for some of these pages. Let me know what y'all think about this:

Customization
How-to guides
Migration
Integrations

(There's also an opportunity to improve the theme-related pages there — the "Theming", "Creating themed components", and "Components" pages are all confusing as in they seem to be talking about very similar things, mainly the last two. Similarly with "Palette" and "Color").

I was hesitant to move things around too much on this PR for the sake of not having SEO impact

I cannot contribute to the SEO discussion as I have minimal experience.
The proposal makes sense from an information organization structure, though 👍🏼.
I propose a more significant change as I would like to fix this issue once and for all rather than return to it in 6 months.

@oliviertassinari —  any thoughts here? Maybe a more SEO-oriented perspective?

@oliviertassinari — additional bump here! Let me know your thoughts on the proposal at https://github.com/mui/material-ui/pull/40403#issuecomment-1875540979 and potential SEO consequences!

@danilo-leal On the SEO front, I'm not aware of any correlation between the link orders in the page and SEO. The changes look independent.
Otherwise, the grouping makes sense. It says simple but with a bit more order (not too much).

@danilo-leal On the SEO front, I'm not aware of any correlation between the link orders in the page and SEO. The changes look independent.
Otherwise, the grouping makes sense. It says simple but with a bit more order (not too much).

Okay, great — thanks for the feedback! I just committed the proposal I posted on https://github.com/mui/material-ui/pull/40403#issuecomment-1875540979, and they might mean some URL changes, which I assume affect SEO to some extent, but as you said, these aren't necessarily "SEO-heavy" pages, and there wouldn't be a lot of changes, too!

Where would the Framework content would go in the future (guide content type)

I would intuitively think they belong in the Integrations section—that is, if we want to have specific pages for each "framework" (if that applies to us), as we've recently done with Next.js.

Latest changes on the commit above include:

Removed the "General" subsection on the How-to guides. I felt like I was mostly adding it due to the "Understanding MUI packages" link, which I ended up moving to the Getting started section as it feels like something worth knowing to start off with proper context.
Also removed the "General" subsection on the Customization section, and just moved the pages that felt broader to the top.

Bumping this one up — any thoughts/concerns? Would love to get a review :)

Not fully sure about how to fix the failed text_regressions check... would appreciate it if someone could give a hand 😃

@danilo-leal did you try rerunning the regressions test already? I haven't encountered this issue before.

Yeah, just did and got the same error (something with the right-to-left demos) 🤔

I have no clue why the regressions test is failing 😅

@oliviertassinari any clearer pointers about what you mean with "_headers"? I don't think I have to do anything on the _headers file, right? 🤔

I've done that on the commit above, but the regressions test is failing the same way (and it seems to be something unrelated to the PR?).

The regression test fail because of the changed path. These tests are configured to ignore demos from "Guides" directory, but since the RTL page was moved outside of it, tests try to run it. The failing demo requires some additional setup the test runner does not provide, so let's add it back to the ignored list (test/regressions/index.js, the blacklist array at line 29).

Okay — regression test is sorted out; thank you, @michaldudak! But the Vale check can't just be happy now, and I don't know if my last attempt there should be the way to go. I don't know why it started to fail midway through this PR, given I was not changing any content within the moved files. 😪

I've made vale as not failing is case of error
@oliviertassinari I know you're in favor of having a PR failing to force devs to fix it and avoid accumulating mistakes. But here it was failing just because for more that 50 warning the action adding message fails. So it's the only solution I can think about (except solving all the warning in the files @danilo-leal moved

Woo, thank you @alexfauquette! I definitely think we should resolve all of the Vale errors that were being picked up here, but that also means revising the copywriting for several pages, which is a big endeavor, to unblock this PR. It doesn't feel like these things need to be that tied together :) @oliviertassinari would love a double-check here from you.


contributor graph added

Description
Fixes #86
Screenshots

Checklist

[x] Tests have been added or updated to cover the changes
[x] Documentation has been updated to reflect the changes
[x] Code follows the established coding style guidelines
[x] All tests are passing

@S-ishita
That's great to hear! Adding a contributor graph is an excellent way to showcase the project's growth and recognize the contributions of individuals. It's good to acknowledge and appreciate the efforts of others. Thank her for her contribution and efforts in implementing the contributor graph.


refactor profile stats calculation

move bvvRouteStatsProvider to the same package as OlRoutingHandler

introduce a new type CoordinateLike

give our OlCoordinateService two new methods: simplify (reducing the number of coordinates in an array) and toCoordinate (converting a CoordinateLike to a Coordinate)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

52 of 52 (100.0%)  changed or added relevant lines in 9 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.001%) to 99.539%

Totals

Change from base Build<PHONE_NUMBER>:
0.001%

Covered Lines:
11486

Relevant Lines:
11489

💛  - Coveralls


cargo-install--path-. rebuilds everything from scratch, what's the point to first run cargo-build-release then?

I built coreutils and then install it per the instructions:
cargo build --release
cargo install --path .
I then noticed the second step just recompiles everything, do I still need the first cargo-build step at all?

Those sections in the readme are indeed independent. I can see where the confusion comes from. Do you have a suggestion on how we could make that clearer?

Yeah --release is the default for cargo install. I'm sure there are good reasons why cargo install always rebuilds, probably to ensure that you're installing the right thing, or to force rerun build scripts.


RasterSource threads >1 throws Cannot read property 'slice' of undefined

Describe the bug
Settings threads to 2 throws Cannot read property 'slice' of undefined.
https://github.com/openlayers/openlayers/blob/254306496ca5ecd9334aa1e7cae6df29f30eedd1/src/ol/source/Raster.js#L286 Buffers seems to be an array of length 1 instead of an array of length threads
To Reproduce
Steps to reproduce the behavior:

https://openlayers.org/en/latest/examples/raster.html and open example or go to (different tiles and threads added) https://codesandbox.io/s/raster-0pprs?file=/index.js
See error

Expected behavior
No error and multiple working workers

Still seems to be crashing in 6.4.3


Init Data always uses first key ID in DASH manifest (Widevine)

Have you read the Tutorials?
Yes
Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
4.3.0
Please ask your question
I'm having an issue with how Shaka player is parsing DASH manifests for Widevine-encrypted xHE-AAC content on macOS Google Chrome. I have a manifest that contains four key IDs, corresponding to different qualities of the same content. I'm seeing the Shaka player successfully fetch the manifest, first few audio segments for two different qualities, DRM license, and DRM certificate, successfully buffer the first ~25 seconds of content, and then it just hangs with no meaningful errors. Looking at the media tab, there is a decode error happening:

I stepped through the unminified code in a debugger and found that Shaka is correctly creating four different variants for the stream, one for each quality/keyID, but the init data of each variant is using the same first key ID from the manifest. Shaka tries to buffer two different qualities and does so successfully, but doesn't seem to be able to decrypt these (likely because the init data is using the wrong key ID for these qualities).
Looking at the dash/content_protection.js code, I see that this is a purposeful decision: https://github.com/shaka-project/shaka-player/blob/main/lib/dash/content_protection.js#L98
According to the comment, "If we have a default key id, apply it to every initData." Is there a reason for this decision? My understanding is that as per the DASH-IF spec, multiple default key IDs in a single manifest should be supported, and we are providing four different default_KID's in the manifest.

I dug through the history a bit, and this code originated here: https://github.com/shaka-project/shaka-player/commit/5707e1603871e6ec8528c2f336ec1ac62d4fb593#diff-3374bcf6cadf40d4db3067eed37d5906bcb62c230ab5526b318a042f0fd327feR176
So we've been doing that since February 2017.  This change was made to close issue #580.
Could you please provide the text of your manifest to compare to the history?  For most issues, we need a manifest URL with actual content, but I think this issue is just a matter of manifest interpretation.  I'd like to compare your manifest structure to the code and the DASH spec to determine if it's the player or packager/encoder that's mistaken.  Thanks!

Got it, thanks for the quick response on this! Just sent the email with the manifest attached to<EMAIL_ADDRESS>Please let me know if there's anything else you need for the debugging

Hi Joey, just wondering if there's any update on this issue?

Sorry, haven't worked on this yet.  I just tagged it as a bug and gave it a priority.  We will get to it when we can.

@nkam12 Can you send your stream to<EMAIL_ADDRESS>? In order to work on this it is necessary to have a stream to test with. Thanks!


New version: Fort.Firewall version 3.14.3

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

I don't get why someone would modify 3.14.2 when there is an active PR with 3.14.3....
The problem was an internal manifest and I still don't know why in so many days this didn't get merged, there is going to be a new update because the

- Driver can be opened only by Administrator.
is not working as expected so there is already a 3.14.4 in place for testing purposes.

Why nobody just tell me to update that? when I was adding the dependencies I only found the 2022 for the ARM, since I don't have an ARM, I can only hope it worked... but nobody complained about it, I don't even think people are installing Fot from winget, only I do for testing purposes.
Now I guess have to re-do this because for whatever reason now I get the conflict stuff...
Why would a modify for 3.14.2 also gets modified, updated, aproved and merged first than a newer version?.
Winget has so many 'internal' issues, that has nothing to do with my manifest, and then it takes too many days to publish and get in the index which makes the update sometimes useless, but this is just not good when now I have to re-do this PR, only because someone decided to modify something that shouldn't have when there is a PR for a newer version.
I guess I will just wait for 3.14.4 to submit anything, I know on weekends the PR would stay there and don't get approved anyway.


Organization positions are not translatable

Q
A

Bug?
no

New Feature?
yes

Sulu Version
1.1.10

If you assign a contact to an organization, you're able to add a position to the contact, e.g. CEO, Secretary etc.
Now you probably want to display this information on a page. However, if you have a multi-lingual website, you should be able to translate those positions. (since you might not want to display secretary or CEO on your german site). However, SULU does not provide a way to translate positions at the moment.
(We fixed this issue for us by using "language variables" as positions such as administration_sales_marketing, ceo etc. We are now translating them with Symfony Translations).

The hardest question to answer here is probably how that should look in the UI... /@berndhep


Remove FColumn.

Codecov Report

Merging #54 into master will increase coverage by 1.43%.

@@            Coverage Diff             @@
##           master      #54      +/-   ##
==========================================
+ Coverage    15.1%   16.54%   +1.43%
==========================================
  Files          43       40       -3
  Lines        1059      967      -92
  Branches       48       37      -11
==========================================
  Hits          160      160
+ Misses        899      807      -92

Impacted Files
Coverage Δ

.../net/scalax/fsn/json/operation/JsonOperation.scala
0% <ø> (ø)
:white_check_mark:

...t/scalax/fsn/slick/operation/CreateOperation.scala
0% <ø> (ø)
:white_check_mark:

...et/scalax/fsn/mix/helpers/SlickCRUDImplicits.scala
0% <ø> (ø)
:white_check_mark:

.../fsn/mix/slickbase/ListQueryExtensionMethods.scala
0% <ø> (ø)
:white_check_mark:

...src/main/scala/net/scalax/fsn/mix/helpers/In.scala
10.52% <ø> (+0.52%)
:white_check_mark:

...t/scalax/fsn/slick/operation/SelectOperation.scala
0% <ø> (ø)
:white_check_mark:

...et/scalax/fsn/excel/operation/ExcelOperation.scala
0% <ø> (ø)
:white_check_mark:

.../scala/net/scalax/fsn/mix/helpers/QueryExtra.scala
0% <ø> (ø)
:white_check_mark:

.../fsn/mix/slickbase/CrudQueryExtensionMethods.scala
0% <ø> (ø)
:white_check_mark:

... and 4 more

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 d87fb3f...b79894a. Read the comment docs.


Image cleaner error on deploy

We just deployed the image cleaner, and promptly ran into the following error in the logs:
kubectl logs prod-dind-8wqqq image-cleaner
Pruning docker images when /var/lib/docker has less than 0.8% inodes free
Traceback (most recent call last):
  File "/usr/local/bin/image-cleaner.py", line 68, in <module>
    main()
  File "/usr/local/bin/image-cleaner.py", line 50, in main
    client = docker.from_env()
  File "/usr/local/lib/python3.6/site-packages/docker/client.py", line 27, in from_env
    return Client.from_env(**kwargs)
  File "/usr/local/lib/python3.6/site-packages/docker/client.py", line 112, in from_env
    return cls(version=version, **kwargs_from_env(**kwargs))
  File "/usr/local/lib/python3.6/site-packages/docker/client.py", line 59, in __init__
    base_url, constants.IS_WINDOWS_PLATFORM, tls=bool(tls)
  File "/usr/local/lib/python3.6/site-packages/docker/utils/utils.py", line 438, in parse_host
    "Bind address needs a port: {0}".format(addr))
docker.errors.DockerException: Bind address needs a port: /var/run/dind/docker.sock

We've reverted this, so we should spot-check the issue so we can deploy a new binderhub!
cc @yuvipanda

I'm guessing it needs to be unix:///var/run/...
I think this bug snuck through because the docker client isn't created until the inodes are exhausted.

Hi. I'm still getting this error. I tried the latest version of install --version=0.2.0-n221.h1875bcb. Still stuck on the creating container for binder-image-cleaner pod.


Blazor : cannot bind nullable DateTime to input

The issue #5541 is supposed to be solved on the last preview.
It works fine with int? and bool?, but I'm still not able to bind a nullable DateTime to an <input type="date">
The error is different than on the previous issue :
error CS0029: Cannot implicitly convert type 'string' to 'System.DateTime?'
Is it supposed to work, or is there a workaround for that ?

Instead of handling this as a one off case we should look at handling this scenario in a more general way (maybe using TypeConverters or something similar?)

This is already supported.


Converted Spaces' sub components to functional components with hooks

Converted the following components:

SearchSpaces
SpaceDetailContainer
SpacesDetails
SpacesList
SpacesListItem
SpacesTable

I get a Uncaught TypeError: selectedKeyInfo is undefined when visiting https://localhost:5001/caes-cru/spaces/details/3535/keys/associate

That issue should be fixed in the next push


With.files input doesn't work correctly when working-directory is set

Hello,
I have a simple github workflow with a working-directory specified. Obviously Action doesn't take this setting into account when searching for file(s) specified in with.files.
Actual:

Action reports "🤔 Pattern 'Release.txt' does not match any files." and doesn't release the file(s) specified in the input.

Expected:

Action releases file(s) specified in the input.

Example:
name: Some-name
on:
  push:
    branches:
    - master
jobs:
  build-it:
    name:
    runs-on: ubuntu-latest
    defaults:
       run:
         working-directory: some/directory/here
    steps:
    - name: Checkout VCS
      uses: actions/checkout@v2
    - name: Build
      run: echo ${{ github.sha }} > Release.txt
    - name: Test
      run: cat Release.txt
    - name: Release
      uses: softprops/action-gh-release@v1
      with:
        files: Release.txt
        tag_name: latest

This needs urgent fix.

Were you able to find a work-around for this?

Were you able to find a work-around for this?

For a work-around, it seems to work if I specify the path relative to the root of the project.
And for a fix, I think glob needs to be given the custom working-directory in these 2 places:
https://github.com/softprops/action-gh-release/blob/master/src/util.ts#L79
https://github.com/softprops/action-gh-release/blob/master/src/util.ts#L87

The work-around suddenly stopped working for me. (setting the full path to the root folder)

Works fine for me still to specify the full path. The action just doesn't support working-directory which is not documented either. Would be nice if it did maybe, but seems more like a feature request.

for me it doesn't work if I specify global working-directory.
it doesn't find the file
if I specify the full relative path to the root, it finds the file but in the time it will copy it errors like this:
Run<EMAIL_ADDRESS>👩🏭 Creating new GitHub release for tag v0.0.9...
⬆ Uploading oflib_linux64.zip...
Error: Request body length does not match content-length header

I'm supposing it checks if file exists ignoring working-directory, but for the upload phase it seems to take into consideration, so when it tries to upload, it errors with Request body length does not match content-length header.


Add x86_64-unknown-linux-musl build

Note: Do not merge before remove WIP commits.
r? @kinnison
Closes #1517, closes #1053

The build looks good https://travis-ci.com/rust-lang/rustup.rs/builds/113527783 .

I'm still getting sh: /tmp/tmp.eMBGMi/rustup-init: not found on Alpine.
Is there anything else missing for us to build this target?


Belgian number not recognized

Hi,
I found out that a number starting with 0456 / XX XX XX is not recognized as a valid Belgian phone number.
I did the test on the Java version demo and there it's accepted and I could even see the provider.
Is this possible to fix this in a new version?
I currently use version 8.10.15.
A list of possible Belgian numbers is listed on this website: https://en.wikipedia.org/wiki/Telephone_numbers_in_Belgium
Thanks
Jo

Hi Jo,
I'll look into this and report back.

I ran the following and got what I would expect back:
`        static void Main(string[] args)
{
Console.WriteLine("Phone Number Tester");
var numList = new List()
{
"+32 0456 12 34 56",
"+32 04 56 123 456",
"+32 0456 12 34 56",
"+320456123456",
"+320456 12 34 56",
"0456 12 34 56",
"0456123456"
};
        var inst = PhoneNumbers.PhoneNumberUtil.GetInstance();
        foreach (var num in numList)
        {
            Console.WriteLine($"I[{num}]: {ParseInternational(inst,num)}");
            Console.WriteLine($"N[{num}]: {ParseNational(inst,num)}");
        }
        Console.ReadLine();
    }`

When ran, I received the following:

Could you send the code you used to parse the number and the number in it's particular format? I don't suppose the other digits will matter but we'll probably figure that out.

Hi,
I'll check it out asap and come back to you.
Regards
Jo

From: Jim Speir<EMAIL_ADDRESS>Sent: Thursday, September 26, 2019 11:39:04 AM
To: erezak/libphonenumber-csharp<EMAIL_ADDRESS>Cc: Jo Wouters<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [erezak/libphonenumber-csharp] Belgian number not recognized (#32)
I ran the following and got what I would expect back:
` static void Main(string[] args)
{
Console.WriteLine("Phone Number Tester");
var numList = new List()
{
"+32 0456 12 34 56",
"+32 04 56 123 456",
"+32 0456 12 34 56",
"+320456123456",
"+320456 12 34 56",
"0456 12 34 56",
"0456123456"
};
    var inst = PhoneNumbers.PhoneNumberUtil.GetInstance();
    foreach (var num in numList)
    {
        Console.WriteLine($"I[{num}]: {ParseInternational(inst,num)}");
        Console.WriteLine($"N[{num}]: {ParseNational(inst,num)}");
    }
    Console.ReadLine();
}`

When ran, I received the following:
[image]https://user-images.githubusercontent.com/12417556/65677534-b4ad4700-e049-11e9-9399-537c51078dfc.png
Could you send the code you used to parse the number and the number in it's particular format? I don't suppose the other digits will matter but we'll probably figure that out.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/erezak/libphonenumber-csharp/issues/32?email_source=notifications&email_token=AMXL2TY7JVUV3ZWGRGBZDVTQLR7LRA5CNFSM4IHL7ZBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7U67FQ#issuecomment-535424918, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMXL2TYRDHAY7GXJOSHEBMLQLR7LRANCNFSM4IHL7ZBA.

Hi,
I managed to strip the project which reproduces the bug.
A small document describes a walkthrough to get to it.
Download
Good luck

The download was no longer available.
Here is a new link download

Hi,
I have cleaned up this last week because of space issues and the fact that it was old.
The problem occurred when I did a verification from a webpage.
If I run the same via a UnitTest, all works fine.
I took a printscreen from the source code of the entire application of my client.
@.***
I hope this helps you.
Regards
Jo
Van: Mehdi @.>
Verzonden: donderdag 26 augustus 2021 11:12
Aan: erezak/libphonenumber-csharp @.>
CC: Jo Wouters @.>; Author @.>
Onderwerp: Re: [erezak/libphonenumber-csharp] Belgian number not recognized (#32)
The download was no longer available.
Here is a new link downloadhttps://jwlb-my.sharepoint.com/:u:/g/personal/jo_jwlb-it_be/EY0IBUTsNn9Cs6mkzeJ5l6EBdZyqVmqPoS0fpGoVClIleA?e=2j8Rao
Hello, the links you shared seem to be broken. Could you please share the walkthrough with a new link? I am having the same issue with Belgian numbers.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/erezak/libphonenumber-csharp/issues/32#issuecomment-906233962, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMXL2TZO2W7L7LQBY5AHKATT6YAORANCNFSM4IHL7ZBA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.


Download slack files using API

My requirement is to download files from slack. Is there any method to download the files. I could not find any. Thanks!

@sridevikarumuri there is no builtin method, but you can write your own (or make PR). It's easy. Use same token as when slack.New(token)

believe this is resolved by #472


run immediate compaction in task_mgr task // fix flaky test_get_tenant_size_with_multiple_branches

    Test failure from CI: https://neon-github-public-dev.s3.amazonaws.com/reports/pr-2854/release/3495948350/index.html#suites/d70040d097c5c7c438e421e0416d69ce/5314d4642ad7c0d/ from ` test_get_tenant_size_with_multiple_branches`:

AssertionError: assert not ['2022-11-18T10:19:33.924123Z ERROR compaction_loop{tenant_id=2aefe4bc42fa96fa849b620ce4d1faee}: Compaction failed, retrying in 2s: No such file or directory (os error 2)\n']

This looks like another instance of the race condition between GC and tenant detach, not this PR's fault. I restarted it.
Originally posted by @hlinnaka in https://github.com/neondatabase/neon/issues/2854#issuecomment-1320081277

Another flaky run: https://github.com/neondatabase/neon/actions/runs/3499938636/jobs/5862189280
The only thing changed in the commit is documentation.

Likely same here
https://github.com/neondatabase/neon/actions/runs/3532459142/jobs/5927127195

Has test_get_tenant_size_with_multiple_branches flakyness been triaged to be caused by this?

Another flaky run: https://neon-github-public-dev.s3.amazonaws.com/reports/pr-6530/8539801725/index.html#suites/d70040d097c5c7c438e421e0416d69ce/33205a89af7b4f40/
It looks like the test is flaky, but just a bit – it fails only several times per year.

Issue described in OP is unlikely to still be an issue, since this code has changed a lot.


fix with latest ssh library

No, I don't want to blindly ignore keys from the middleman to the real target.  Thanks for the pull request, but I'd rather have an option in there to do proper checking.


release 22.09.2022 v3

:tada: This PR is included in version 1.0.29 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[FLINK-12259] Log stdout,stderr on Program invocation failure

What is the purpose of the change
Improve information available for debugging on method invocation failure.
Brief change log
Dump stdout, stderr in a log message on failure to extract optimizer plan environment.
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.

Closed in favor of https://github.com/apache/flink/pull/8220


"faster inference compared to vanilla Pytorch"-- Pytorch CPU or GPU?

Then, if you spend some time, you can build something over ONNX Runtime and Triton inference server. You will usually get from 2X to 4X faster inference compared to vanilla Pytorch. It's cool!
When you say "faster compared to vanilla Pytorch", are you saying faster than vanilla Pytorch in CPU or GPU?

Both.
First because we replace fastapi by something which is really fast we decrease by large margin the server overheard.
Then for both CPU and GPU deployment we heavily optimize the model, also decreasing significantly the latency.

no activity, closing


No real instructions where to put it once downloaded and extracted so UI cannot find it.

No real instructions where to put it once downloaded and extracted so UI cannot find it.

I download EasyAnimateV2-XL-2-512x512.tar
Do I extract it directly under the EasyAnimate\models folder?  Not EasyAnimate\easyanimate\models?
Or does it need to go into a new folder under models like EasyAnimate\models\512x512\?
Either way, once extracted, I do not see it as an option for it under the Pretrained Model Path dropdown.
Thanks for any clarification on where and how it needs to be saved and extracted.

Also for the lora
https://github.com/aigc-apps/EasyAnimate/issues/12

The provided pretrained models should be put as the follwing:
📦 models/
├── 📂 Diffusion_Transformer/
│   └── 📂 EasyAnimateV2-XL-2-512x512/
├── 📂 Personalized_Model/
└── your trained trainformer model / your trained lora model
Thanks for the suggestion, and we will update readme~

EasyAnimate\models

Please put in the EasyAnimate\models dir


Create Controls Prototype Circuitry

The control devices are currently modeled as simple LEDs in order to observe on/off capabilities. In order to control real devices, the LED/resistor circuitry needs to switch a BJT and thus turn on a relay. The controls circuitry has the following requirements.
Research areas:

[ ] Voltage/Power regulation

Needs 5V, 12V, and 24V.
The grow lamps will likely need 120AC.
Powering the raspberry pi through this same 5V would be ideal.

The best solution for this seems to be powering the pi through USB and having the pi supply the 5V to the rest of the circuitry that needs it (which is mostly ICs)
Make sure the analog sensors won't draw too much current in this case.

Using a supply that can give at least 700mA would likely be safe. RPi uses ~500mA
I've been using a laptop USB port, which theoretically only provides 500mA and have had no issues.

[ ] The IO pins need to be connected to the relays through a transistor.

Pin A0 will belong to the water pump.
Pin A1 will belong to the power switch for the analog sensors.
Other pin mappings can be found in the control model within ControlCluster

Ideally, the protoboard should be laid out so that these pins can be switched.

[x] ADC for water tank level sensing

There needs to be an ADC mounted to the protoboard and hooked into the I2C bus.

Set address to 0x69 to avoid conflicts with SensorCluster ADCs

Use the 16SOIC ADC. It's overkill, but has a lot of address selection and could support other environment sensors later on.

Tasks:

[x] Create schematic

[x] Build breadboard prototype.

Can test with the fans and mini water pump if need be.
Make it at least somewhat re-configurable (using jumpers, perhaps)

[ ] Order in lights

[ ] Connect actual control devices to the board

[ ] Mount on more permanent protoboard.

Created a prototype schematic shown below (using circuitlab)

My intention for the time being is to expose the inputs to each FET-Relay circuit to a jumper so that they can easily be swapped around by simply plugging them into the jumper in a different order.
The power supplies aren't really laid out at all on the schematic. This is because I haven't decided how I'll do it yet. I've been looking into buck converters that I could use to generate the 12V needed to power the fans that would be driven from the 24V pump supply. This same 24V supply will also provide the coil voltage needed to power the relays.
The lights are another story. They'll need to be powered off of 120AC. I can get away with one plug for all of the lights pretty easily provided I design their circuitry safe enough.

Per task 2:
The schematic above seems to work pretty well for making it easy to swap control devices around. It's just a matter of directing the VDD wire of the device to the proper voltage source for that device and connect the other to one of the relays. Other than that change, nothing is really needed to switch devices around. Also, since they're all relays, it doesn't really matter if say the pump is moved to another spot. This is the main benefit of a relay array - You can drive whatever you want on them and so long as the current doesn't exceed 5A, it will work.

Per research areas:
A buck converter will be used to generate the 12V needed to drive the fans and the 24V supply will be the same supply that's driving the pump - albeit with some circuit protection added in. The raspberry pi will be powered from a standard phone charger. The lights will be powered from a standard 110VAC outlet. This means that in total, three plugs will be used by the greenhouse. All power will be routed to a surge protector mounted to the greenhouse.

Creating a new issue to deal with more specific tasks regarding this issue.
The controls prototype functions correctly and has been mostly migrated to a perfboard solution. This perfboard solution needs to be finished and tested. It also needs to be fit into the control box.


What is e?

Todd,
I am just checking back to see if you know what the variable 'e' is in the RSD output. It is an estimate of evolutionary distance/divergence, but what are the units? Number of amino acid difference (this doesn't seem like it could be what it is)? A rate per 1,000 amino acids in the sequences? Something else?

Could you provide an example?


[AMQ-9525] Upgrade Camel 4.4.3

I think in the future, we can also focus only on LTS version. It will limit and "guarantee" the Camel updates.

Right, Camel 4.4.x is an LTS release


No match state?

Thanks for providing the solution and open sourcing it. It's really helpful.
Could you please let me know how can I show "no matches" message when there is no entity match in the auto complete. I want users to see some message when there is no match for auto complete.
Thanks!

Hey!
At the moment this feature it's not implemented. However I'll provide it soon, by tomorrow.
Thank you

Thanks much!
Looking forward.

Check out the latest version: https://github.com/oss6/kamil/releases/tag/v0.2.1
Now you can add a "no matches found" message as follows:
var autoComplete = new Kamil('#tags', {
    source: tags,
    noResultsMessage: 'No results found.',
});

When no matches have been found it will show the message as a dropdown.

Thanks for quick turnaround!
I tried and it did not work. Also there was no script error either.
I might have to spend more time to see why it did not work.

Have you used it like this? Remember to download the latest release or run npm install kamil --save. Bower is not supported anymore.

Yes, i downloaded the latest file and I am using it like this
var ac = new Kamil('#tags', {
source: sEntities,
noResultsMessage: 'No results found.',
autoFocus: true,
minChars: 3
sEntities array has around 13k items.

In that case the autocomplete will only show the 'No results found' message after 3 characters AND if there is no match. Do you want it to show the message even before the minChars value?

By the way, I reproduced your same environment, with 13k items and the options you defined.

No. I want it to show "no match" only after at least 3 characters. Is it working for you for 13k items as well ?
By the way do you think we can connect on Skype or something, If you are interested in seeing the issue . Happy to show you.