Az webapp depoyment config-zip fails certificate verification

Describe the bug
This was working until yesterday.  I'm trying to deploy a zip file to an Azure App Service using the az webapp deployment source config-zip --src zip --subscription guid -g resource_group -n app_service -s slot command.  I am not behind a corporate firewall or proxy.
I login using a service principal az login --service-principal --username guid --password password  --tenant guid --debug
The login works, but when I execute the az webapp.... command I get the following error ( and then including debug info).
I am runing this inside a docker image based on mcr.microsoft.com/dotnet/sdk:6.0 and I install the az tools using RUN curl -sL https://aka.ms/InstallAzureCLIDeb | bash
-- start of error --
cli.azure.cli.core.azclierror: HTTPSConnectionPool(host='*.scm.azurewebsites.net', port=443): Max retries exceeded with url: /api/zipdeploy?isAsync=true (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2396)')))
az_command_data_logger: HTTPSConnectionPool(host='*.scm.azurewebsites.net', port=443): Max retries exceeded with url: /api/zipdeploy?isAsync=true (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2396)')))
Certificate verification failed. This typically happens when using Azure CLI behind a proxy that intercepts traffic with a self-signed certificate. Please add this certificate to the trusted CA bundle. More info: https://docs.microsoft.com/cli/azure/use-cli-effectively#work-behind-a-proxy.
c
-- end of error --
I can provide debug info if required
Related command
az webapp deployment source config-zip
Errors
Certificate verification failed. This typically happens when using Azure CLI behind a proxy that intercepts traffic with a self-signed certificate. Please add this certificate to the trusted CA bundle. More info: https://docs.microsoft.com/cli/azure/use-cli-effectively#work-behind-a-proxy.
Issue script & Debug output
This was working until yesterday.  I'm trying to deploy a zip file to an Azure App Service using the az webapp deployment source config-zip --src zip --subscription guid -g resource_group -n app_service -s slot command.  I am not behind a corporate firewall or proxy.
I login using a service principal az login --service-principal --username guid --password password  --tenant guid --debug
The login works, but when I execute the az webapp.... command I get the following error ( and then including debug info).
I am runing this inside a docker image based on mcr.microsoft.com/dotnet/sdk:6.0 and I install the az tools using RUN curl -sL https://aka.ms/InstallAzureCLIDeb | bash
-- start of error --
cli.azure.cli.core.azclierror: HTTPSConnectionPool(host='*.scm.azurewebsites.net', port=443): Max retries exceeded with url: /api/zipdeploy?isAsync=true (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2396)')))
az_command_data_logger: HTTPSConnectionPool(host='*.scm.azurewebsites.net', port=443): Max retries exceeded with url: /api/zipdeploy?isAsync=true (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2396)')))
Certificate verification failed. This typically happens when using Azure CLI behind a proxy that intercepts traffic with a self-signed certificate. Please add this certificate to the trusted CA bundle. More info: https://docs.microsoft.com/cli/azure/use-cli-effectively#work-behind-a-proxy.
c
-- end of error --
-- start of error and debug --
cli.knack.cli: Command arguments: ['webapp', 'deployment', 'source', 'config-zip', '--src', './WebPortal.zip', '--subscription', 'sub_id', '-g', 'rg, '-n', 'app', '-s', 'slot', '--debug']
cli.knack.cli: init debug log:
Enable color in terminal.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x7f713c57d360>, <function OutputProducer.on_global_arguments at 0x7f713c473f40>, <function CLIQuery.on_global_arguments at 0x7f713c4c51b0>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'webapp': ['azure.cli.command_modules.appservice', 'azure.cli.command_modules.serviceconnector']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name                  Load Time    Groups  Commands
cli.azure.cli.core: appservice                0.120        73       260
cli.azure.cli.core: serviceconnector          0.035         8       129
cli.azure.cli.core: Total (2)                 0.155        81       389
cli.azure.cli.core: Loaded 80 groups, 389 commands.
cli.azure.cli.core: Found a match in the command table.
cli.azure.cli.core: Raw command  : webapp deployment source config-zip
cli.azure.cli.core: Command table: webapp deploy
cli.azure.cli.core: remaining    :               ent source config-zip
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x7f713b4b2c20>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '/root/.azure/commands/2023-06-08.06-07-25.webapp_deployment_source_config-zip.20.log'.
az_command_data_logger: command args: webapp deployment source config-zip --src {} --subscription {} -g {} -n {} -s {} --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument..add_subscription_parameter at 0x7f713b4d3760>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument..add_ids_arguments at 0x7f713b5196c0>, <function register_cache_arguments..add_cache_arguments at 0x7f713b5197e0>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x7f713c498040>, <function CLIQuery.handle_query_parameter at 0x7f713c4c5240>, <function register_ids_argument..parse_ids_arguments at 0x7f713b519750>]
cli.azure.cli.command_modules.appservice.custom: Getting scm site credentials for zip deployment
cli.azure.cli.core.commands.client_factory: Getting management service client client_type=WebSiteManagementClient
cli.azure.cli.core.auth.persistence: build_persistence: location='/root/.azure/service_principal_entries.json', encrypt=False
cli.azure.cli.core.auth.persistence: build_persistence: location='/root/.azure/msal_token_cache.json', encrypt=False
cli.azure.cli.core.auth.binary_cache: load: /root/.azure/msal_http_cache.bin
urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
msal.authority: openid_config = {'token_endpoint': 'https://login.microsoftonline.com/a-guid/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/a-guid/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/a-guid/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/a-guid/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/dsadsa/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/a-guid/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/dsadsa/kerberos', 'tenant_region_scope': 'OC', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'}
msal.application: Broker enabled? False
msal.application: Region to be used: None
cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={}
cli.azure.cli.core.auth.msal_authentication: ServicePrincipalCredential.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={}
msal.application: Cache hit an AT
msal.telemetry: Generate or reuse correlation_id: 8a08e76e-87d4-4da1-ab4f-b46743967a10
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/sub_id/resourceGroups/rg/providers/Microsoft.Web/sites/app-service/slots/slot?api-version=2022-03-01'
cli.azure.cli.core.sdk.policies: Request method: 'GET'
cli.azure.cli.core.sdk.policies: Request headers:
cli.azure.cli.core.sdk.policies:     'Accept': 'application/json'
cli.azure.cli.core.sdk.policies:     'x-ms-client-request-id': 'bd97ef9e-05c2-11ee-b8d1-0242ac110002'
cli.azure.cli.core.sdk.policies:     'CommandName': 'webapp deployment source config-zip'
cli.azure.cli.core.sdk.policies:     'ParameterSetName': '--src --subscription -g -n -s --debug'
cli.azure.cli.core.sdk.policies:     'User-Agent': 'AZURECLI/2.49.0 (DEB) azsdk-python-azure-mgmt-web/7.0.0 Python/3.10.10 (Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.31)'
cli.azure.cli.core.sdk.policies:     'Authorization': ''
cli.azure.cli.core.sdk.policies: Request body:
cli.azure.cli.core.sdk.policies: This request has no body
urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/sub_id/resourceGroups/rg/providers/Microsoft.Web/sites/app-service/slots/slot?api-version=2022-03-01 HTTP/1.1" 200 None
cli.azure.cli.core.sdk.policies: Response status: 200
cli.azure.cli.core.sdk.policies: Response headers:
cli.azure.cli.core.sdk.policies:     'Cache-Control': 'no-cache'
cli.azure.cli.core.sdk.policies:     'Pragma': 'no-cache'
cli.azure.cli.core.sdk.policies:     'Transfer-Encoding': 'chunked'
cli.azure.cli.core.sdk.policies:     'Content-Type': 'application/json'
cli.azure.cli.core.sdk.policies:     'Content-Encoding': 'gzip'
cli.azure.cli.core.sdk.policies:     'Expires': '-1'
cli.azure.cli.core.sdk.policies:     'ETag': '"1D9993C20928120"'
cli.azure.cli.core.sdk.policies:     'Vary': 'Accept-Encoding'
cli.azure.cli.core.sdk.policies:     'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.sdk.policies:     'x-ms-request-id': '63e98241-40b8-49d9-bcd0-d524bc8206c3'
cli.azure.cli.core.sdk.policies:     'Server': 'Microsoft-IIS/10.0'
cli.azure.cli.core.sdk.policies:     'X-AspNet-Version': '4.0.30319'
cli.azure.cli.core.sdk.policies:     'X-Powered-By': 'ASP.NET'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-reads': '11999'
cli.azure.cli.core.sdk.policies:     'x-ms-correlation-request-id': '7c61ce6f-888d-4488-963d-6077e61a688d'
cli.azure.cli.core.sdk.policies:     'x-ms-routing-request-id': 'AUSTRALIASOUTHEAST:20230608T060729Z:7c61ce6f-888d-4488-963d-6077e61a688d'
cli.azure.cli.core.sdk.policies:     'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies:     'Date': 'Thu, 08 Jun 2023 06:07:28 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {"id":"/subscriptions/sub_id/resourceGroups/rg/providers/Microsoft.Web/sites/app-service/slots/slot","name":"app-service/dev","type":"Microsoft.Web/sites/slots","kind":"app","location":"Australia East","tags":{"Environment":"Development","Platform":"aspnetcore","AppProfile":"WebApp"},"properties":{"name":"app-service(dev)","state":"Running","hostNames":["dev-app.superfierce.com.au","app-service-dev.azurewebsites.net"],"webSpace":"SuperFierce-AustraliaEastwebspace","selfLink":"https://waws-prod-sy3-039.api.azurewebsites.windows.net:454/subscriptions/sub_id/webspaces/SuperFierce-AustraliaEastwebspace/sites/app-service","repositorySiteName":"app-service","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["dev-app.superfierce.com.au","app-service-dev.azurewebsites.net","app-service-dev.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"dev-app.superfierce.com.au","sslState":"SniEnabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":"A684014C1221539F00E6833FEB9806BB6A01F13D","certificateResourceId":"/subscriptions/sub_id/resourceGroups/SuperFierce/providers/Microsoft.Web/certificates/dev-app.superfierce.com.au-A684014C1221539F00E6833FEB9806BB6A01F13D","toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"app-service-dev.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"certificateResourceId":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"app-service-dev.scm.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"certificateResourceId":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Repository"}],"computeMode":null,"serverFarm":null,"serverFarmId":"/subscriptions/sub_id/resourceGroups/SuperFierce/providers/Microsoft.Web/serverfarms/Standard-Win-Staging","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2023-06-07T12:32:30.77","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","dnsConfiguration":{"dnsLegacySortOrder":true},"vnetRouteAllEnabled":false,"containerAllocationSubnet":null,"useContainerLocalhostBindings":null,"vnetImagePullEnabled":false,"vnetContentShareEnabled":false,"siteConfig":{"numberOfWorkers":1,"defaultDocuments":null,"netFrameworkVersion":null,"phpVersion":null,"pythonVersion":null,"nodeVersion":null,"powerShellVersion":null,"linuxFxVersion":"","windowsFxVersion":null,"windowsConfiguredStacks":null,"requestTracingEnabled":null,"remoteDebuggingEnabled":null,"remoteDebuggingVersion":null,"httpLoggingEnabled":null,"azureMonitorLogCategories":null,"acrUseManagedIdentityCreds":false,"acrUserManagedIdentityID":null,"logsDirectorySizeLimit":null,"detailedErrorLoggingEnabled":null,"publishingUsername":null,"publishingPassword":null,"appSettings":null,"metadata":null,"connectionStrings":null,"machineKey":null,"handlerMappings":null,"documentRoot":null,"scmType":null,"use32BitWorkerProcess":null,"webSocketsEnabled":null,"alwaysOn":false,"javaVersion":null,"javaContainer":null,"javaContainerVersion":null,"appCommandLine":null,"managedPipelineMode":null,"virtualApplications":null,"winAuthAdminState":null,"winAuthTenantState":null,"customAppPoolIdentityAdminState":null,"customAppPoolIdentityTenantState":null,"runtimeADUser":null,"runtimeADUserPassword":null,"loadBalancing":null,"routingRules":null,"experiments":null,"limits":null,"autoHealEnabled":null,"autoHealRules":null,"tracingOptions":null,"vnetName":null,"vnetRouteAllEnabled":null,"vnetPrivatePortsCount":null,"publicNetworkAccess":null,"cors":null,"push":null,"apiDefinition":null,"apiManagementConfig":null,"autoSwapSlotName":null,"localMySqlEnabled":null,"managedServiceIdentityId":null,"xManagedServiceIdentityId":null,"keyVaultReferenceIdentity":null,"ipSecurityRestrictions":null,"ipSecurityRestrictionsDefaultAction":null,"scmIpSecurityRestrictions":null,"scmIpSecurityRestrictionsDefaultAction":null,"scmIpSecurityRestrictionsUseMain":null,"http20Enabled":false,"minTlsVersion":null,"minTlsCipherSuite":null,"supportedTlsCipherSuites":null,"scmMinTlsVersion":null,"ftpsState":null,"preWarmedInstanceCount":null,"functionAppScaleLimit":0,"elasticWebAppScaleLimit":null,"healthCheckPath":null,"fileChangeAuditEnabled":null,"functionsRuntimeScaleMonitoringEnabled":null,"websiteTimeZone":null,"minimumElasticInstanceCount":1,"azureStorageAccounts":null,"http20ProxyFlag":null,"sitePort":null,"antivirusScanEnabled":null,"storageType":null},"deploymentId":"app-service__7406","slotName":null,"trafficManagerHostNames":null,"sku":"PremiumV2","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":false,"clientCertEnabled":false,"clientCertMode":"Required","clientCertExclusionPaths":null,"hostNamesDisabled":false,"vnetBackupRestoreEnabled":null,"domainVerificationIdentifiers":null,"customDomainVerificationId":"49C714E72D6343660F6DD52F3663DCF9E1866FDA18CE8D27990AC143D8332FDC","kind":"app","managedEnvironmentId":null,"inboundIpAddress":"<IP_ADDRESS>","possibleInboundIpAddresses":"<IP_ADDRESS>","ftpUsername":"app-service__dev\$app-service__dev","ftpsHostName":"ftps://waws-prod-sy3-039.ftp.azurewebsites.windows.net/site/wwwroot","outboundIpAddresses":"<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>","possibleOutboundIpAddresses":"<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-sy3-039","cloningInfo":null,"hostingEnvironmentId":null,"tags":{"Environment":"Development","Platform":"aspnetcore","AppProfile":"WebApp"},"resourceGroup":"rg","defaultHostName":"app-service-dev.azurewebsites.net","slotSwapStatus":null,"httpsOnly":true,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"publicNetworkAccess":null,"buildVersion":null,"targetBuildVersion":null,"migrationState":null,"eligibleLogCategories":"AppServiceAppLogs,AppServiceAuditLogs,AppServiceConsoleLogs,AppServiceHTTPLogs,AppServiceIPSecAuditLogs,AppServicePlatformLogs,ScanLogs,AppServiceFileAuditLogs,AppServiceAntivirusScanAuditLogs","inFlightFeatures":[],"storageAccountRequired":false,"virtualNetworkSubnetId":null,"keyVaultReferenceIdentity":"SystemAssigned","defaultHostNameScope":"Global","privateLinkIdentifiers":null}}
cli.azure.cli.core.commands.client_factory: Getting management service client client_type=WebSiteManagementClient
urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
msal.authority: openid_config = {'token_endpoint': 'https://login.microsoftonline.com/a-guid/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/a-guid/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/a-guid/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/a-guid/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/a-guid/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/a-guid/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/a-guid/kerberos', 'tenant_region_scope': 'OC', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'}
msal.application: Broker enabled? False
msal.application: Region to be used: None
cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={}
cli.azure.cli.core.auth.msal_authentication: ServicePrincipalCredential.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={}
msal.application: Cache hit an AT
msal.telemetry: Generate or reuse correlation_id: 8a289968-4cda-41d9-8297-e00aec66e57d
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/sub_id/resourceGroups/rg/providers/Microsoft.Web/sites/app-service/slots/slot/basicPublishingCredentialsPolicies/scm?api-version=2022-03-01'
cli.azure.cli.core.sdk.policies: Request method: 'GET'
cli.azure.cli.core.sdk.policies: Request headers:
cli.azure.cli.core.sdk.policies:     'Accept': 'application/json'
cli.azure.cli.core.sdk.policies:     'x-ms-client-request-id': 'bd97ef9e-05c2-11ee-b8d1-0242ac110002'
cli.azure.cli.core.sdk.policies:     'CommandName': 'webapp deployment source config-zip'
cli.azure.cli.core.sdk.policies:     'ParameterSetName': '--src --subscription -g -n -s --debug'
cli.azure.cli.core.sdk.policies:     'User-Agent': 'AZURECLI/2.49.0 (DEB) azsdk-python-azure-mgmt-web/7.0.0 Python/3.10.10 (Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.31)'
cli.azure.cli.core.sdk.policies:     'Authorization': ''
cli.azure.cli.core.sdk.policies: Request body:
cli.azure.cli.core.sdk.policies: This request has no body
urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/sub_id/resourceGroups/rg/providers/Microsoft.Web/sites/app-service/slots/slot/basicPublishingCredentialsPolicies/scm?api-version=2022-03-01 HTTP/1.1" 200 None
cli.azure.cli.core.sdk.policies: Response status: 200
cli.azure.cli.core.sdk.policies: Response headers:
cli.azure.cli.core.sdk.policies:     'Cache-Control': 'no-cache'
cli.azure.cli.core.sdk.policies:     'Pragma': 'no-cache'
cli.azure.cli.core.sdk.policies:     'Transfer-Encoding': 'chunked'
cli.azure.cli.core.sdk.policies:     'Content-Type': 'application/json'
cli.azure.cli.core.sdk.policies:     'Content-Encoding': 'gzip'
cli.azure.cli.core.sdk.policies:     'Expires': '-1'
cli.azure.cli.core.sdk.policies:     'Vary': 'Accept-Encoding'
cli.azure.cli.core.sdk.policies:     'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.sdk.policies:     'x-ms-request-id': '8872b28c-8abd-4811-b1ed-456e841a7b81'
cli.azure.cli.core.sdk.policies:     'Server': 'Microsoft-IIS/10.0'
cli.azure.cli.core.sdk.policies:     'X-AspNet-Version': '4.0.30319'
cli.azure.cli.core.sdk.policies:     'X-Powered-By': 'ASP.NET'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-reads': '11999'
cli.azure.cli.core.sdk.policies:     'x-ms-correlation-request-id': '49b91ea1-cec5-4862-aea3-985aef92e16e'
cli.azure.cli.core.sdk.policies:     'x-ms-routing-request-id': 'AUSTRALIASOUTHEAST:20230608T060729Z:49b91ea1-cec5-4862-aea3-985aef92e16e'
cli.azure.cli.core.sdk.policies:     'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies:     'Date': 'Thu, 08 Jun 2023 06:07:29 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {"id":"/subscriptions/sub_id/resourceGroups/rg/providers/Microsoft.Web/sites/app-service/slots/slot/basicPublishingCredentialsPolicies/scm","name":"scm","type":"Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies","location":"Australia East","tags":{"Environment":"Development","Platform":"aspnetcore","AppProfile":"WebApp"},"properties":{"allow":false}}
cli.azure.cli.command_modules.appservice.custom: [AUTH]: AAD
urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
msal.authority: openid_config = {'token_endpoint': 'https://login.microsoftonline.com/a-guid/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/a-guid/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/a-guid/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/a-guid/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/a-guid/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/a-guid/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/a-guid/kerberos', 'tenant_region_scope': 'OC', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'}
msal.application: Broker enabled? False
msal.application: Region to be used: None
cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token: scopes=(), kwargs={}
cli.azure.cli.core.auth.util: No scope is provided by the SDK, use the CLI-managed resource.
cli.azure.cli.core.auth.msal_authentication: ServicePrincipalCredential.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={}
msal.application: Cache hit an AT
msal.telemetry: Generate or reuse correlation_id: fce34183-9d1f-4978-8c5f-7b77a0d186f3
cli.azure.cli.command_modules.appservice.custom: Starting zip deployment. This operation can take a while to complete ...
urllib3.connectionpool: Starting new HTTPS connection (1): app-service-dev.scm.azurewebsites.net:443
cli.azure.cli.core.azclierror: Traceback (most recent call last):
File "/opt/az/lib/python3.10/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/opt/az/lib/python3.10/site-packages/urllib3/connectionpool.py", line 394, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/opt/az/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/opt/az/lib/python3.10/http/client.py", line 1282, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/opt/az/lib/python3.10/http/client.py", line 1328, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/opt/az/lib/python3.10/http/client.py", line 1277, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/opt/az/lib/python3.10/http/client.py", line 1076, in _send_output
self.send(chunk)
File "/opt/az/lib/python3.10/http/client.py", line 998, in send
self.sock.sendall(data)
File "/opt/az/lib/python3.10/ssl.py", line 1237, in sendall
v = self.send(byte_view[count:])
File "/opt/az/lib/python3.10/ssl.py", line 1206, in send
return self._sslobj.write(data)
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:2396)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/az/lib/python3.10/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/opt/az/lib/python3.10/site-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/opt/az/lib/python3.10/site-packages/urllib3/util/retry.py", line 574, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='app-service-dev.scm.azurewebsites.net', port=443): Max retries exceeded with url: /api/zipdeploy?isAsync=true (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2396)')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/az/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 663, in execute
raise ex
File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 726, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 718, in _run_job
return cmd_copy.exception_handler(ex)
File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/appservice/commands.py", line 46, in _ex_handler
raise ex
File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 697, in _run_job
result = cmd_copy(params)
File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 333, in call
return self.handler(*args, **kwargs)
File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/appservice/custom.py", line 584, in enable_zip_deploy_webapp
return enable_zip_deploy(cmd, resource_group_name, name, src, timeout=timeout, slot=slot)
File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/appservice/custom.py", line 610, in enable_zip_deploy
res = requests.post(zip_url, data=zip_content, headers=headers, verify=not should_disable_connection_verify())
File "/opt/az/lib/python3.10/site-packages/requests/api.py", line 117, in post
return request('post', url, data=data, json=json, **kwargs)
File "/opt/az/lib/python3.10/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/opt/az/lib/python3.10/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/opt/az/lib/python3.10/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/opt/az/lib/python3.10/site-packages/requests/adapters.py", line 514, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='app-service-dev.scm.azurewebsites.net', port=443): Max retries exceeded with url: /api/zipdeploy?isAsync=true (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2396)')))
cli.azure.cli.core.azclierror: HTTPSConnectionPool(host='app-service-dev.scm.azurewebsites.net', port=443): Max retries exceeded with url: /api/zipdeploy?isAsync=true (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2396)')))
az_command_data_logger: HTTPSConnectionPool(host='app-service-dev.scm.azurewebsites.net', port=443): Max retries exceeded with url: /api/zipdeploy?isAsync=true (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2396)')))
Certificate verification failed. This typically happens when using Azure CLI behind a proxy that intercepts traffic with a self-signed certificate. Please add this certificate to the trusted CA bundle. More info: https://docs.microsoft.com/cli/azure/use-cli-effectively#work-behind-a-proxy.
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x7f713b4b2e60>]
az_command_data_logger: exit code: 1
cli.main: Command ran in 65.914 seconds (init: 0.193, invoke: 65.721)
telemetry.main: Begin splitting cli events and extra events, total events: 1
telemetry.client: Accumulated 0 events. Flush the clients.
telemetry.main: Finish splitting cli events and extra events, cli events: 1
telemetry.save: Save telemetry record of length 3731 in cache
telemetry.check: Negative: The /root/.azure/telemetry.txt was modified at 2023-06-08 06:06:17.100455, which in less than 600.000000 s
-- end --
Expected behavior
App is deployed correctly.
Environment Summary
azure-cli                         2.49.0
core                              2.49.0
telemetry                          1.0.8
Dependencies:
msal                              1.20.0
azure-mgmt-resource               22.0.0
Python location '/opt/az/bin/python3'
Extensions directory '/root/.azure/cliextensions'
Python (Linux) 3.10.10 (main, May 19 2023, 08:20:28) [GCC 10.2.1 20210110]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response

Thank you for opening this issue, we will look into it.

A little more information.  If I run everything the same, except I log in interactively as myself, using az login, the zip deployment now works.

Hi @kepboy,
It is possible that your app scm endpoint might be having network issues from this environment. You mentioned that you were able to deploy once you logged in interactively as yourself instead of using a service principal. Does the issue persist if you logout and try logging in using service principal?
To verify that site scm endpoint is reachable, can you please try to do the zip deployment using the Kudu API directly with cURL from the environment having this issue:
curl -X POST -u "<username:password>" -T "<zip-package-path>" https://<app-name>.scm.azurewebsites.net/api/publish?type=zip -v
You can get the username and password for the app from the publish profile. You will need to escape special character in username like $ by adding a \ before it.

Hey, should have responded but I completely forgot about this thread.  Turns out that there is a new setting in the App Services Configuration blade, under General Settings, in the azure portal.  Once of our engineers had turned this off not realising it would block access (we always try to reduce our attack surface if we can).
Basic Authentication: On / Off
Disable basic authentication for FTP and SCM access.
It does mention SCM access, what is less clear is that if you have a service principal and you use a client secret, that it uses basic auth.  That's why it was failing.  The error returned didn't help much either.  I raised a support ticket with azure support and also suggested the improve the error reporting.

I think this case should be re-opened.  The problem persists when using either the Basic or Standard App Service Plan.  Interestingly, the issue disappears when we switch to the Premium service plan, like here:

This should be open, the issue persists.

I discovered that the ZIP packages exceeded 2GB, which is Azure's limit. The error itself was cryptic, but support has promised to improve error reporting by adding a 413 Content Too Large message.

Hey, should have responded but I completely forgot about this thread. Turns out that there is a new setting in the App Services Configuration blade, under General Settings, in the azure portal. Once of our engineers had turned this off not realising it would block access (we always try to reduce our attack surface if we can).
Basic Authentication: On / Off Disable basic authentication for FTP and SCM access.
It does mention SCM access, what is less clear is that if you have a service principal and you use a client secret, that it uses basic auth. That's why it was failing. The error returned didn't help much either. I raised a support ticket with azure support and also suggested the improve the error reporting.

I am facing this exact same issue. And because of security requirements, we are mandated to disable the Basic Auth Publishing. Did you hear anything back from Azure Support?
@yonzhan - Could you please reopen this issue?


Log how long analysis took

We should log how long analysis took and send it back to GDA as it needs to know for use in the next data collection.
Acceptance Criteria

The time analysis took was logged
This is sent back to GDA and successfully put in the comment for the following data collection

What is meant by "analysis" ?

Hmm... good question. I think the time between us calling bps.kickoff(fgs_motors), which is when we actually trigger the data collection, and when we get something back fromzocalo_interaction.wait_for_result. This is a bit annoying from a code perspective as it kind of muddles a lot of these timings in with the logic of the plan. I think that really needs looking at in https://github.com/DiamondLightSource/python-artemis/issues/164 though

I guess it would be the time between when you trigger the RunAtEndOfCollect script and when you receive a result from Zocalo (since we are currently triggering analysis at the end, rather than start, of data collection)?

Note that https://github.com/DiamondLightSource/python-artemis/pull/295 now logs this but we need to do part 2 of this issue still so reopening this

This is put in the ISPyB comments for the data collection

Look at whether we can do the x, y, z at the same time

We should put this in the comment for the grid scan, not the subsequent data collection


STS benchmark reproducibility?

Hello,
I was wondering if someone managed to reproduce the results of the sentence similarity scores on the STS benchmark dataset (http://ixa2.si.ehu.es/stswiki/index.php/STSbenchmark). I tried to do that using your function transform_paragraph together with tokenizing the sentences with StanfordTokenizer from the NLTK library, but I managed to get to the Pearson coef. of only a bit over 0.3 on the testing set (the STS shows around 0.4).
I know the transform_paragraph function is only experimental, but I was wondering whether you implemented it completely yourself or you used an official GloVe sentence embedding (I myself do not know how exactly they weighted the individual words to get the sentence vector).
Thanks :)

Now I actually managed to get a Pearson coef. of 0.43 by creating the sentence vectors by simply averaging the word vectors of tokens in the sentence.

My bad, I was using a wrong word tokenizer, now I am getting the correct score... Closing the issue ;).
For anyone that would also like to reproduce the STS Benchmark results, simply tokenize the sentences (I used the SpaCy english tokenizer), lower-case the tokens and make an average of the tokens in the sentence.


MKOB: UI doesn't display labels/buttons well

Running MKOB (python) on Mac doesn't display the label text and the buttons and text-box outlines do not display acceptably.
Information from test:

Mac: MacBook Pro (Retina), Catalina 10.15.4
Warnings/Errors listed during start:

DEPRECATION WARNING: The system version of Tk is deprecated and may be removed in a future release. Please don't rely on it. Set TK_SILENCE_DEPRECATION=1 to suppress this warning.
2020-05-26 23:42:24.352 Python[851:26597] CoreText note: Client requested name ".SFNSMono-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2020-05-26 23:42:24.352 Python[851:26597] CoreText note: Set a breakpoint on CTFontLogSystemFontNameRequest to debug.
2020-05-26 23:42:24.449 Python[851:26597] CoreText note: Client requested name ".SF NS Mono", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2020-05-26 23:42:24.457 Python[851:26597] CoreText note: Client requested name ".SFNSMono-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2020-05-26 23:42:24.457 Python[851:26597] CoreText note: Client requested name ".SF NS Mono", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2020-05-26 23:42:24.457 Python[851:26597] CoreText note: Client requested name ".SFNSMono-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2020-05-26 23:42:24.457 Python[851:26597] CoreText note: Client requested name ".SFNSMono-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2020-05-26 23:42:24.458 Python[851:26597] CoreText note: Client requested name ".SF NS Mono", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2020-05-26 23:42:24.458 Python[851:26597] CoreText note: Client requested name ".SFNSMono-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].

Image of GUI on Mac:

Resolved by installing latest Python from python.org rather than installing with Brew. This fixed the display of the GUI as well as eliminating the errors that occurred during startup.

GUI and command window when running after installing latest Python from python.org:


Prevent window resizing

As you can probably tell, I would really like to try and use eel to make a professional GUI that is semi-indistinguishable from something built with tkinter and suchlike. To do this I think that it is critical that I have the ability to lock the window size. This is possible with some horrible JavaScript that just brings the window size back to the original size if you try and change it:
var size = [1216,739];
$(window).resize(function(){
  window.resizeTo(size[0], size[1]);
});

Although, this is far from ideal.
I tried to save you the work here by looking it up myself, but even after studying the eel source code I'm not too clear as to what's going on so I'm struggling to search for a solution in the correct context. The closest I came was something like this.
If it's not already a chrome flag, perhaps this could be something that you could add to eel?
Thanks.

After a bit of research, this doesn't seem possible unfortunately. Modern browsers don't allow to block resizing as it's considered anti-user. I think that the only way to have this much control is to use Electron as the browser rather than Chrome.
I have tested using Electron and will make a new Issue with instructions now


Getting error while verifying the email

After creating a new user, getting a verification link in mailtrap to verify the email. On clicking the verify email link, getting error message like
{"detail":[{"type":"uuid_parsing","loc":["path","user_id"],"msg":"Input should be a valid UUID, invalid character: expected an optional prefix of urn:uuid: followed by [0-9a-fA-F-], found N at 1","input":"None","ctx":{"error":"invalid character: expected an optional prefix of urn:uuid: followed by [0-9a-fA-F-], found N at 1"},"url":"https://errors.pydantic.dev/2.6/v/uuid_parsing"}]}

{"message":"Email verified successfully"}


Text gets disappeared

Add text
Open add image dialogue and rather than adding image and click done,
do delete image
then text also gets deleted

To add more to this, the text object actually still persists as you can click where the text was and still see that the text object is there and even resize the space that text object has and where you want it on the slide.
To temporarily get the text back, delete one letter and save. Text reappears. Edit again to add back the letter that was deleted.


add configuration parameter to send a POST request

since the Esri batch geocoder can generate requests that are potentially very large, it's better to set the request method to POST for those. this adds a configuration option so GET/POST can be used on any provider.

Hmm... I don't think this is necessary, or particularly useful. It's also kind of misleading because I don't think any of the current APIs support POST requests, so setting this to true would break things. Is there a use case I'm not thinking of? (other than with ESRI batch)

I only confirmed that it works with Esri. The problem is GET requests fail pretty quickly with Esri when doing batch requests, since packing that much data into the query string surpasses the limit. If you'd prefer, I can add this as an option specifically on the Esri provider, but it is definitely necessary there.

I think it could be an option when using ESRI batch, but if there's no benefit to using GET then maybe on that lookup it shouldn't even be an option (it always uses POST). I've envisioned ESRI batch as a separate lookup from single-address ESRI. (Sorry, I haven't had a chance to review your PR for that yet.)

There isn't any benefit to using a GET request with Esri since their API works with GET and POST, the only difference being GET has a limit on the length of the query string. I'll change it to always send a POST request for Esri.

Only for the batch request, right? I think we should leave the single requests as GET.

Frankly, if a provider does support POST requests, then we should always be sending a POST request to them if the request includes a token. Passing tokens in query strings is generally not a good idea, since it's far more likely for the token to be logged at various points throughout the process. I would rather just make all the Esri requests send via POST for this reason.

OK. One concern I have is that it may complicate testing significantly. I'm skeptical, but happy to discuss a PR if you want to submit one.


Restructure notebooks/ folder

During follow-up projects in context of KinFragLib, we will produce more notebook. Let's rethink our notebooks/folder structure.
notebooks/original-kinfraglib  # original notebooks; think about proper name @dominiquesydow
notebooks/custom-kinfraglib  # Sonja's notebooks

After checking with @AndreaVolkamer, let's stick to this:
notebooks/kinfraglib  # Original notebooks
notebooks/custom-kinfraglib  # Sonja's notebooks

as you suggested, @NonaR :)


建议增加 if_query_pattern

[Proposal] Add if_query_pattern function
Some libraries use a complex combination of parameter's values.
For example:
RequestCriteria  of  andersao/l5-repository
http://prettus.local/users?filter=id;name

The values (id and name as well as others) of filter could be  dynamic combination.
Can not easily be matched by if_query.

For too complicated patterns, I think users should test the conditions by themselves and pass the result into the active_class helper function.


Incorrect exit code when ionic build fails (0)

What version of the CLI are you using? Output of ionic --version
Ionic Version: 2.2.1
Short description of the problem:
We use the following command in our build process ionic build browser --release --prod.    When there is a build failure it is returning an exit code of 0 versus 1, and as a result our build server is not correctly notifying us during a build break.
What behavior are you expecting?
When we are building using ionic build browser and our webpack fails we are not getting a correct error code.
Steps to reproduce:
Setup your build so it fails.

ionic build browser --release --prod
Notice the message is correct (npm ERR! Exit status 1) but if you echo its wrong.
echo $?
when builds fail this number should not be 0

insert any relevant code between the above and below backticks

Post the output of ionic info below please
Cordova CLI: 6.5.0
Ionic Framework Version: 2.1.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.1.3
ios-deploy version: 1.9.1
ios-sim version: 5.0.13
OS: macOS Sierra
Node Version: v6.9.5
Xcode version: Xcode 8.2.1 Build version 8C1002
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
In case its useful here is the output.  Our issue was effects had a bad push so our build was failing.
[:~/work/some/client] 86a6b1a(+1/-1)+* 1 ±  ionic build browser --release --prod

<EMAIL_ADDRESS>ionic:build /Users/nick/work/some/client
ionic-app-scripts build  --release --prod "--release" "--prod"

[12:02:16]  ionic-app-scripts 1.1.3
[12:02:16]  build prod started ...
[12:02:16]  clean started ...
[12:02:16]  clean finished in less than 1 ms
[12:02:16]  copy started ...
[12:02:16]  ngc started ...
can't resolve module ./bootstrap-listener from<EMAIL_ADDRESS>[12:02:19]  build prod failed: Cannot read property 'runAfterBootstrapEffects' of undefined, resolving symbol
EffectsModule in<EMAIL_ADDRESS>resolving symbol EffectsModule in
<EMAIL_ADDRESS>[12:02:19]  ionic-app-script task: "build"
[12:02:19]  Error: Cannot read property 'runAfterBootstrapEffects' of undefined, resolving symbol EffectsModule in
<EMAIL_ADDRESS>resolving symbol
EffectsModule in<EMAIL_ADDRESS>Error: Cannot read property 'runAfterBootstrapEffects' of undefined, resolving symbol EffectsModule in<EMAIL_ADDRESS>resolving symbol EffectsModule in<EMAIL_ADDRESS>at simplifyInContext (/Users/nick/work/some/client/node_modules/@angular/compiler-cli/src/static_reflector.js:475:23)
at StaticReflector.simplify (/Users/nick/work/some/client/node_modules/@angular/compiler-cli/src/static_reflector.js:478:22)
at StaticReflector.annotations (/Users/nick/work/some/client/node_modules/@angular/compiler-cli/src/static_reflector.js:60:36)
at NgModuleResolver.resolve (/Users/nick/work/some/client/node_modules/@angular/compiler/bundles/compiler.umd.js:14261:46)
at CompileMetadataResolver._loadNgModuleMetadata (/Users/nick/work/some/client/node_modules/@angular/compiler/bundles/compiler.umd.js:14646:45)
at CompileMetadataResolver.getUnloadedNgModuleMetadata (/Users/nick/work/some/client/node_modules/@angular/compiler/bundles/compiler.umd.js:14636:23)
at addNgModule (/Users/nick/work/some/client/node_modules/@angular/compiler/bundles/compiler.umd.js:12944:43)
at /Users/nick/work/some/client/node_modules/@angular/compiler/bundles/compiler.umd.js:12957:16
at Array.forEach (native)
at _createNgModules (/Users/nick/work/some/client/node_modules/@angular/compiler/bundles/compiler.umd.js:12956:28)
npm ERR! Darwin 16.4.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "ionic:build" "--" "--release" "--prod"
npm ERR! node v6.9.5
npm ERR! npm  v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>ionic:build: ionic-app-scripts build  --release --prod "--release" "--prod"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>ionic:build script 'ionic-app-scripts build  --release --prod "--release" "--prod"'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the some-client package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ionic-app-scripts build  --release --prod "--release" "--prod"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs some-client
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls some-client
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/nick/.npm/_logs/2017-03-21T16_02_19_117Z-debug.log
[:~/work/some/client] 86a6b1a(+1/-1)+* 5s ± echo $?
0

Anyone out there have thoughts on this?   I'm going to poke around this am and see if i can figure out what is gobbling up the failed error code.

Any update on this?

@jthoms1  you all marked this as closed and I'm still seeing the issue.  It's changed now so when a build fials its actually now returning -bash:

echo $0
-bash

Confirming this persists in v3. So, a failed build on CI returns successful even though it's not.

This issue has been automatically closed because it had the v2 label. Please install the new CLI v3 (npm install -g ionic@latest). See CHANGELOG.md#Upgrading from CLI v2 for details.
If this issue is still a problem in CLI v3, please create a new issue. Thank you!

Yes another example of ionic developers closing tickets without fixing them. Shame.

Yes another example of ionic developers closing tickets without fixing them. Shame.

https://github.com/ionic-team/ionic-cli/pull/2040#issuecomment-391443333


Why change validate typings?

https://github.com/yiminghe/async-validator/blob/master/src/index.d.ts#L67
This is new typings 3.5.2
validator?: (
  rule: Rules,
  value: any,
  callback: (error: string | string[] | void) => void,
  source: ValidateSource,
  options: ValidateOption,
) => boolean | Error | Error[];

This is the old one 3.5.1
  validator?: (
    rule: Rules,
    value: any,
    callback: (error: string | string[] | void) => void,
    source: ValidateSource,
    options: ValidateOption,
  ) => void;

The two returned value is different and this caused an error in my ts project.

I don't think this change should be included in a patch version.

Or at least the return type should be boolean | Error | Error[] | void, otherwise callback argument is meaningless: if validator returns boolean | Error | Error[] the cb() is always called instantly by the library itself.

For projects that use the callback parameter the downgrade to 3.5.1 seems to be the only option to make types work. A shame, considering that using this API by the callback parameter is the only way described by eleme.

Upd.: oh, the typing was updated in more recent versions to:
validator?: (rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void;

Guess this ticket can be closed?


Any push fails with invalid header field value Bearer for key Authorization

Hi,
I used the helm chart to deploy gitea.
I can register and sign into gitea and create a repo.
However as soon as I try to add a file or modify a file (in gitea UI), I get the following error message:
The change was rejected by the server with the following message:
Gitea: Internal Server Error
Unable to contact gitea: Post http://<IP_ADDRESS>:3000/api/internal/hook/pre-receive/xxx/test: net/http: invalid header field value "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE1ODk0NTQxOTJ9.iWBvmOHvMVDnPNwVtNaAZ91gMBPljH-3lDVvM0_0HEE\n" for key Authorization
Please check githooks.

I believe the \n at the end of the bearer token might have something to do with it but I am not sure.
I have the same issue on the command line:
$ git push
Username for 'http://gitea.<IP_ADDRESS>.xip.io': xxx
Password for<EMAIL_ADDRESS>Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Writing objects: 100% (3/3), 247 bytes | 247.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: Gitea: Internal Server Error
remote: Unable to contact gitea: Post http://<IP_ADDRESS>:3000/api/internal/hook/pre-receive/xxx/test: net/http: invalid header field value "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE1ODk0NTQxOTJ9.iWBvmOHvMVDnPNwVtNaAZ91gMBPljH-3lDVvM0_0HEE\n" for key Authorization
To http://gitea.<IP_ADDRESS>.xip.io/xxx/test
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'http://gitea.<IP_ADDRESS>.xip.io/xxx/test'

Any help would be greatly appreciated!
Values.yaml:
## Gitea image
## ref: https://hub.docker.com/r/gitea/gitea/tags/
##

tags:
  mariadb: true

images:
  registry: docker.io
  gitea: "gitea/gitea:1.11.5"
  memcached: "memcached:1.5.19-alpine"
  pullPolicy: IfNotPresent

## Cache settings for memcache
memcached:
  maxItemMemory: 64
  verbosity: v
  extendedOptions: modern

## Configure the ingress resource that allows you to access the
## Gitea installation. Set up the URL
## ref: http://kubernetes.io/docs/user-guide/ingress/
##
ingress:
  enabled: true
  certManager: false
  hostname: gitea.<IP_ADDRESS>.xip.io
  annotations: {}
  secrets:

## This chart defaults to using an ingress for http, but change to LoadBalancer if using you cluster supports it
service:
  http:
    serviceType: ClusterIP
    port: 3000
    externalHost: gitea.<IP_ADDRESS>.xip.io

  ## SSH is commonly on port 22.. however.. you most likely already have port 22 being used by your node.
  ## so we use port 8022.
  ssh:
    serviceType: LoadBalancer
    port: 22
    externalPort: 8022
    externalHost: gitea.<IP_ADDRESS>.xip.io
    externalIPs: []

## Configure resource requests and limits
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
##
resources:
  gitea:
    requests:
      memory: 500Mi
      cpu: 300m
    limits:
      memory: 2Gi
      cpu: 1
  memcached:
    requests:
      memory: 64Mi
      cpu: 50m

## Enable persistence using Persistent Volume Claims
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
## ref:
##
persistence:
  enabled: true
  giteaSize: 10Gi
  accessMode: ReadWriteMany
  annotations:
    "helm.sh/resource-policy": keep

##
## MariaDB chart configuration
##
## https://github.com/helm/charts/blob/master/stable/mariadb/values.yaml
##
mariadb:
  enabled: true
  replication:
    enabled: false
  db:
    name: gitea
    user: gitea

  rootUser:
    password: ThisIsMySuperSecretPassword

  master:
    persistence:
      enabled: true
      accessMode: ReadWriteOnce
      size: 8Gi

config:
##  secretName: "<Existing Secret Name>"
##  secretKey: "<random>"  # Generate with 'gitea generate secret SECRET_KEY'
##  jwtSecret: "<random>"  # Generate with 'gitea generate secret JWT_SECRET'
##  lfsJwtSecret: "<random>"  # Generate with 'gitea generate secret LFS_JWT_SECRET'
##  internalToken: "<random>"  # Generate with 'gitea generate secret INTERNAL_TOKEN'
  disableInstaller: false
  offlineMode: false
  requireSignin: false
  disableRegistration: false
  openidSignin: true
  immutableConfig: false  # Regenerate config every time, and set as read-only

## Common helm annotations
## Node labels and tolerations for pod assignment
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#taints-and-tolerations-beta-feature
nodeSelector: {}
tolerations: []
affinity: {}

## Annotations for the deployment and nodes.
deploymentAnnotations: {}
podAnnotations: {}

I also logged it here: https://github.com/go-gitea/gitea/issues/11408
KR,
Kristof

Hi @kristofre could you try an earlier version? I'm unsure if 1.1.15 broke this or not.

Sorry, this was actually caused by #13
I've gone ahead and reverted the commit.
Can you please try 1.3.3 and see if anything breaks?
▶ helm search repo k8s-land -l
NAME            CHART VERSION   APP VERSION     DESCRIPTION
k8s-land/gitea  1.3.3           1.11.5          Git with a cup of tea
k8s-land/gitea  1.3.1           1.11.4          Git with a cup of tea
k8s-land/gitea  1.3.0           1.11.3          Git with a cup of tea
k8s-land/gitea  1.2.3           1.10.1          Git with a cup of tea
k8s-land/gitea  1.2.2           1.9.3           Git with a cup of tea
k8s-land/gitea  1.2.1           1.9.3           Git with a cup of tea

I just redeployed an re-migrated again. Now "git push" works using chart version 1.3.3.
I just moved some parts from /app to /data like the indexers or the lfs or the log, since /app is not persistent, but /data is.

Hi, apologies for the late reply. This resolved the issue. Thanks!


bounds refactoring: not visible and renderable objects, masks

#2955, #2893, #2850 and other issues.
Also, http://www.html5gamedevs.com/topic/25184-animating-mask-thats-a-graphics-shape/
Basically, "renderable" and "visible" properties now affect ONLY recursive calls from parent. You can get bounds of object or manually call updateTransform() even if not invisible.

Please rebase this onto the latest dev branch so it can be reviewed and merged. Thanks!

YEAH!!!


Inconsistent AtlasTexture displaying when Trim Mode is active(?)

Hello again! Thank you so much for implementing my proposal and its configurations for every user to enjoy!
I was in the process of importing my work to utilise this plugin.
Now, the Trim Mode option is pretty useful for saving space. When enabled however, and I don't know if this is intentional, animations are offset unexpectedly. At least, not in the same way as they're shown in Aseprite.
For example, here's a simple ball animation. In Aseprite, and when exported with Trim Mode, the ball moves up and squishes down.
https://user-images.githubusercontent.com/66727710/142782410-9d672d4a-3a5f-4f70-acd6-eb656cbd7c67.mp4
However, in Godot, the ball squishes while stationary.
https://user-images.githubusercontent.com/66727710/142782519-26b106a4-7261-4585-ad30-3b098b9d3098.mp4
I didn't give up on trimming, since I would've loved that bit extra memory squeezing.
I ended up "fixing" this by changing the _create_atlastexture_from_frame() function to take in account how much the sprite was trimmed and applying it to the atlas' margin:
func _create_atlastexture_from_frame(image, frame_data):
	var atlas = AtlasTexture.new()
	var frame = frame_data.frame
	var sprite_source_size = frame_data.spriteSourceSize
	var source_size = frame_data.sourceSize

	atlas.atlas = image
	atlas.region = Rect2(frame.x, frame.y, frame.w, frame.h)
	if (frame_data.trimmed):
		atlas.margin = Rect2(
				sprite_source_size.x, sprite_source_size.y,
				source_size.w - frame.w, source_size.h - frame.h
		)
	return atlas

Once again, I do not know if this is intentional. Could it be that messing with the AtlasTexture's margin has negative effects on textures not used in SpriteFrames? Or, likely, the original behavior is completely fine, since the sprite is being trimmed in memory, and is something to be expected. I'm not sure, I just wanted to document what I believed to be an inconsistency.

Hello! The current behaviour is like that by design, but to be fair I didn't put much thought on the size aspect of it. The behaviour you are suggesting is more concerned with file size and not as much with removing padding from the animation. It could be a good internal improvement, though.
The current behaviour does trimming frame by frame. It becomes useful when you create your animations with movement in Aseprite, but when moving to Godot you wish to control its position via code.
A good example could be a kinematic character with a jumping animation. In Aseprite you would be able to visualise the jump better by having the character changing position across frames, and when importing it in Godot it would be all centralised, so you wouldn't need to adjust the collider to match the position on the sprite.
I don't think it makes sense to expose this as a trimming option as those are mostly visual and the new one would look virtually the same as not using trimming. We could enable it as a file size improvement for non-trimmed files. We could enable it by default and add it as a global configuration, so people can disable it, in case they want the full spritesheet for some reason.
I can't think of any issues with the way you implemented it, but we would have to run some extra tests to be sure.

Hello @Mickeon . I ran some tests with trimming and I found out that there is no improvement on the resource file by using the proposed solution. In fact, it's even worse.
No big deal, because we are talking about bytes here, but it's worth to note.
Here are some examples. The green underlines are the source pngs. The red underline are the resource files.

In the first image, jumper is a small enemy, the canvas size is 29x26. Container has a canvas size of 160x160, but only 80x96 is used.
The second image has a test I made where I created a file with a canvas size of 100x100, 5 frames, having only one pixel printed.
You can see even though the png changes significantly, the resource remains almost the same. Maybe Godot optimises the transparent part in the png already, that's why we don't see much difference. The extra bytes are probably the extra margin info we need to add to each frame for the trimming solution.
There is one benefit on the trimming, though. As mentioned on the issue #32 , Godot has a limit on file width and height. I was working on a boss animation today, and my canvas was too big, blowing this limit. With the internal trimming I was able to import the file with no problem.
I´ll add this as an improvement for the big file problem, but as there is a negative impact on file size (even if small) I'll leave it disabled by default for now.

Maybe it could be combined with the Aseprite command --sheet-pack if the image is too wide, to make sure that the final image is as small as it can be for those scenarios? Although, that would cause inconsistent image sizes as frames are added or removed, which is barely a problem for SpriteFrames, but for the other exported resource types, it very much is.
A new export variable to control how many columns are generated in the sprite sheet, instead of always being a strip? It could be inserted as the argument of Aseprite's --sheet-columns. In theory that would allow a lot more of the image to be usable, and would even allow the trimming to act vertically. In practice, though, I am not sure. It may be a value most users do not need.

Yeah, I'm intending to add --sheet-pack in a upcoming release. I've been trying it and it works well.
About the other resource types, they were added with the importer as a nice-to-have, but as I haven't heard of anyone using that I don't give them the same importance as the main Spritesheet. In other words, I'd rather remove them (or changing their behaviour), than sacrificing features from the main resource.
I'm also fixing an issue that does not allow me to use --ignore-empty. Those two changes may improve file size.
I might not go forward with adding the built-in trimming. As I mentioned, the file size is bigger and does not really solve the problem with sprite dimensions limit, as I can still reach them. I'll have to implement other workarounds for the big sprite issue (or maybe just accepting it as a caveat.


[v2] style tag duplicaton with SSR

SC 2.0.0-4 with babel plugin.
I insert style tag while SSR and on the client it inserts again. Is this normal or a bug?

I could be wrong, but I think this is a glamor problem (which SC uses under-the-hood). Glamor has no way of "rehydrating" itself or even reusing a style tag. I would recommend also filing an issue over there.

@geelen couldn't styled-components add the id/hash to the <style> tag i.e fXgwMh and do a getElementById check on the client side if the style tag has already been inserted with SSR.

Yeah except we use more than one style tag per component, and we need to keep a record of the text nodes where we inject stuff so that we can append dynamic styles but keep all CSS for a given component together, otherwise you get nasty ordering bugs. When parsing the existing style tags on app boot, those text nodes don't exist, and so we need a way to serialise the state so that we can simplify rehydration.
Basically, that's all a lot harder than simply rendering the styles twice!
Was talking to @thisguychris about this last month, not sure where he got to.

@geelen sorry been busy with work.  I'll try to do a WIP this weekend.  I haven't really gone far yet so if anyone wants to do a WIP feel free.

This is fixed with v2 and @geelen's new stylesheet rehydration stuff!


Remove spaces from folders

I noticed this was mentioned in #1 but can't see a corresponding issue for it: I'd like a way to tell synx not to put spaces into folder names. It makes working on the command line a pain because spaces in paths need escaping, which breaks copy and paste etc.
I'd like to have a crack at this myself if I can find the time, but in the event that I can't I thought I'd raise it here just in case someone else wants to take a look :)
Thanks for the tool, it's saved me hours of work!

👍


Runelite fatal error

Upon launching the client I will get the message that Runelite encountered a fatal error while loading the client. I have reinstalled the latest version of Runelite and Java.
Thanks in advance for the help!
The error in the logs are the following:
au18Ch9K.txt

I recommend joining the Discord https://runelite.net/discord for support as this is not a support forum.


Clients can't connect to ESP32 SoftAP. Not getting IP address (IDFGH-4256)

Environment

Module or chip used: ESP32-WROOM-32E
IDF version: v4.3-dev-1720-g494a124d961c
Build System: idf.py
Compiler version: xtensa-esp32-elf-gcc (crosstool-NG esp-2020r3) 8.4.0
Operating System: Linux
Power Supply: USB

Problem Description
The ESP32 is running as SoftAP, sometimes my laptop joins the AP fails, sometimes join success seems success but cannot get IP address.
Below is one of the join failure log on my laptop:
NetworkManager[729]:  [1605173871.7544] device (wlp2s0): Activation: (wifi) access point 'ESP32_8C_6C' has security, but secrets are required.
NetworkManager[729]:  [1605173871.7544] device (wlp2s0): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
NetworkManager[729]:  [1605173871.7573] device (wlp2s0): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
NetworkManager[729]:  [1605173871.7593] device (wlp2s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
NetworkManager[729]:  [1605173871.7596] device (wlp2s0): Activation: (wifi) connection 'ESP32_8C_6C' has security, and secrets exist. No new secrets needed.
NetworkManager[729]:  [1605173876.7903] device (wlp2s0): supplicant interface state: disconnected -> scanning
NetworkManager[729]:  [1605173881.6559] device (wlp2s0): supplicant interface state: scanning -> authenticating
NetworkManager[729]:  [1605173881.6661] device (wlp2s0): supplicant interface state: authenticating -> associating
NetworkManager[729]:  [1605173881.6822] device (wlp2s0): supplicant interface state: associating -> associated
NetworkManager[729]:  [1605173881.6991] device (wlp2s0): supplicant interface state: associated -> 4-way handshake
NetworkManager[729]:  [1605173881.7071] device (wlp2s0): supplicant interface state: 4-way handshake -> completed
NetworkManager[729]:  [1605173881.7072] device (wlp2s0): Activation: (wifi) Stage 2 of 5 (Device Configure) successful. Connected to wireless network "ESP32_8C_6C"
NetworkManager[729]:  [1605173881.7079] device (wlp2s0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
NetworkManager[729]:  [1605173881.7095] dhcp4 (wlp2s0): activation: beginning transaction (timeout in 45 seconds)
NetworkManager[729]:  [1605173926.7282] dhcp4 (wlp2s0): request timed out
NetworkManager[729]:  [1605173926.7283] dhcp4 (wlp2s0): state changed unknown -> timeout
NetworkManager[729]:  [1605173926.7285] device (wlp2s0): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed')
NetworkManager[729]:  [1605173926.7321] device (wlp2s0): Activation: failed for connection 'ESP32_8C_6C'
NetworkManager[729]:  [1605173926.7325] device (wlp2s0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
NetworkManager[729]:  [1605173926.7351] dhcp4 (wlp2s0): canceled DHCP transaction
NetworkManager[729]:  [1605173926.7352] dhcp4 (wlp2s0): state changed timeout -> done
NetworkManager[729]:  [1605173926.7611] sup-iface[0x558f016c8120,wlp2s0]: connection disconnected (reason -3)
NetworkManager[729]:  [1605173926.7622] device (wlp2s0): supplicant interface state: completed -> disconnected
Expected Behavior
The laptop should be able to join ESP32 softap and get IP address.
Actual Behavior
Sometimes failed to join AP, sometimes fail to get IP address.
Steps to reproduce
I don't have good way to reproduce this issue, it just happen sometimes.
This issue was also reported by different people on https://www.esp32.com/viewtopic.php?f=13&t=13748
Also note my device running the latest esp-idf v4.3-dev-1720-g494a124d961c hit this issue, but I recall also
hit the same issue will older esp-idf versions.

HI @AxelLin , could you show me the log of ESP32? Thanks.

I didn't save the log, but I remember ESP32 does not show anything wrong.
Will update if I hit the issue again.
When join success but client does not get IP, it looks like the same
as reported on https://www.esp32.com/viewtopic.php?f=13&t=13748
the ESP32 shows SYSTEM_EVENT_AP_STAIPASSIGNED, but the client (my linux laptop) does not get ip.

@AxelLin It is hard to debug just by this information. Is this issue often happens? Could you try to reproduce it and provide us a paket capture and the log?

Hi @YouDONG-ESP
It's indeed not easy to reproduce.
I only hit a few times in the past months. (I didn't test softAP frequently, most of my testing is on STA mode)
I even didn't realize it could be something wrong until I found someone reports the same symptoms on the forum.
I don't see any error messages on ESP32 when the issue happen, so I guess most people just reset device when hit the issue.

@AxelLin yeah, we had fixed some related issues, but the causes are different, I suggest you update IDF and see if this issue reproduce. It may relate to your device, can you provde the model of your laptop and network adapter?

I can provide a wireshark capture and associated log files as needed.

Hi @ScottBonomi suggest you open a new issue, it seems like something went wrong in 4-way handshake.

I just had the same issue in v4.1, the esp's DHCP server appeared to not hand out IPs.
In my case, it was caused by the AP's WPA2 password being too short, at least that's what I think. It started working after I made it longer, and set ssid_len to the correct value (not zero).
btw, esp_wifi_set_config returned undefined error 11, but the invalid config was still saved (?)

@MightyPork It might happens depanding on scenarios, could you show me the steps to reproduce this error codes, I will take a look.

@YouDONG-ESP This should give you error 11:
ESP_ERROR_CHECK(esp_netif_init());
esp_netif_create_default_wifi_sta();
esp_netif_create_default_wifi_ap();
wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();
ESP_ERROR_CHECK(esp_wifi_init(&cfg));
ESP_ERROR_CHECK(esp_wifi_set_storage(WIFI_STORAGE_FLASH));
ESP_ERROR_CHECK(esp_wifi_set_mode(WIFI_MODE_APSTA));

wifi_config_t apconf = {};
ESP_ERROR_CHECK(esp_wifi_get_config(ESP_IF_WIFI_AP, &apconf));

strcpy((char*)apconf.ap.ssid, "esp-ap");
apconf.ap.ssid_len = 0;

strcpy((char*)apconf.ap.password, "aaa");
apconf.ap.authmode = WIFI_AUTH_WPA2_PSK;

// here is the strange error code
esp_err_t rv = esp_wifi_set_config(ESP_IF_WIFI_AP, &apconf);
if (rv != ESP_OK) {
    ESP_LOGE(TAG, "Error set AP config: %d, %s\n", rv, esp_err_to_name(rv));
}

Output is
I (834) wifi:wifi firmware version: 3ea4c76
I (834) wifi:config NVS flash: enabled
I (834) wifi:config nano formating: disabled
I (835) wifi:Init dynamic tx buffer num: 32
I (838) wifi:Init data frame dynamic rx buffer num: 32
I (843) wifi:Init management frame dynamic rx buffer num: 32
I (848) wifi:Init management short buffer num: 32
I (853) wifi:Init static rx buffer size: 1600
I (858) wifi:Init static rx buffer num: 10
I (861) wifi:Init dynamic rx buffer num: 32
W (866) wifi:password less than 8

E (868) wifi_init: Error set AP config: 11, ERROR

The error persisted after restart (without setting the config again), that's why I think the bad password it is stored in flash.

W (866) wifi:password less than 8
E (868) wifi_init: Error set AP config: 11, ERROR

I checked and the bad password was NOT saved to flash, so only the error code is wrong

Looks like it should return ESP_ERR_WIFI_PASSWORD, i.e. (ESP_ERR_WIFI_BASE + 11), rather than 11.

@MightyPork Just checked, it returned ESP_ERR_WIFI_PASSWORD as @AxelLin said. Only the authentication mode and password had been saved

@MightyPork Just checked, it returned ESP_ERR_WIFI_PASSWORD as @AxelLin said. Only the ssid, password, authentication mode had been saved.

I am seeing a similar issue to the problem reported here.
I have 3 clients connected to the SoftAP, If I pull the power on the esp32, then reboot, some of the clients reconnect using the IP they had previously, but are reported by the esp as having IP <IP_ADDRESS>
This then conflicts with other clients using the same IP address
To explain in more detail
Boot 1: esp reports
client1 <IP_ADDRESS>
client2 <IP_ADDRESS>
client3 <IP_ADDRESS>
Boot 2: esp reports
client1 <IP_ADDRESS>
client2 <IP_ADDRESS>
client3 <IP_ADDRESS>
When I look at the IP address on the device client1, it still thinks it has <IP_ADDRESS>, so now there is a conflict between - client1 and client2, both thinking they have the same IP Address
Is there a way to flush the IP addresses, or force the lease renewal ?

Further info, the only way to get around this seems to be multiple reboots, or telling the clients to ‘forget network’ then reconnect, once they get reallocated an ip traffic seems to resume

code is based upon the simple sofAP example, only difference is that the ip, gw and netmask are bespoke
#define EXAMPLE_ESP_WIFI_SSID      "Testcase"
#define EXAMPLE_ESP_WIFI_PASS      "12345678"
#define EXAMPLE_MAX_STA_CONN       4
`void wifi_init_softap(void)
{
ESP_ERROR_CHECK(esp_netif_init());
ESP_ERROR_CHECK(esp_event_loop_create_default());
esp_netif_t* wifiAP = esp_netif_create_default_wifi_ap();

esp_netif_ip_info_t ipInfo;
IP4_ADDR(&ipInfo.ip, 192,168,1,1);
IP4_ADDR(&ipInfo.gw, 0,0,0,0); // do not advertise as a gateway router
IP4_ADDR(&ipInfo.netmask, 255,255,255,0);
esp_netif_dhcps_stop(wifiAP);
esp_netif_set_ip_info(wifiAP, &ipInfo);
esp_netif_dhcps_start(wifiAP);

wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();
ESP_ERROR_CHECK(esp_wifi_init(&cfg));

ESP_ERROR_CHECK(esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, &wifi_event_handler, NULL));

wifi_config_t wifi_config = {
    .ap = {
        .ssid = "default",
        .ssid_len = 7,
        .password = EXAMPLE_ESP_WIFI_PASS,
        .max_connection = EXAMPLE_MAX_STA_CONN,
        .authmode = WIFI_AUTH_OPEN // WIFI_AUTH_WPA_WPA2_PSK
    },
};

char ssid[32];
sprintf(ssid, "%s-%06X", EXAMPLE_ESP_WIFI_SSID, 0x123456);
memcpy(wifi_config.ap.ssid, ssid, 32);
wifi_config.ap.ssid_len = strlen(ssid);

if (strlen(EXAMPLE_ESP_WIFI_PASS) == 0) {
    wifi_config.ap.authmode = WIFI_AUTH_OPEN;
}

ESP_ERROR_CHECK(esp_wifi_set_mode(WIFI_MODE_AP));
ESP_ERROR_CHECK(esp_wifi_set_config(ESP_IF_WIFI_AP, &wifi_config));
ESP_ERROR_CHECK(esp_wifi_start());

}
`

I can reproduce with the standard Soft-AP example and some addtional logging
This is the good case of a station joining for the first time
I (47186) wifi softAP: station 00:0f:00:e1:d4:8f join, AID=2
I (47186) wifi softAP:
I (47196) wifi softAP: [0]: 4AAE3DE79E6B <IP_ADDRESS>
I (47196) wifi softAP: [1]: 000F00E1D48F <IP_ADDRESS>
I (47596) esp_netif_lwip: DHCP server assigned IP to a station, IP is: <IP_ADDRESS>
I (50766) wifi softAP:
I (50766) wifi softAP: [0]: 4AAE3DE79E6B <IP_ADDRESS>
I (50766) wifi softAP: [1]: 000F00E1D48F <IP_ADDRESS>
on a hard power reset of the ESP, I do not see the call to  "esp_netif_lwip: DHCP server assigned IP to a station"
I (3786) wifi softAP: station 00:0f:00:e1:d4:8f join, AID=2
I (3786) wifi softAP:
I (3796) wifi softAP: [0]: 4AAE3DE79E6B <IP_ADDRESS>
I (3796) wifi softAP: [1]: 000F00E1D48F <IP_ADDRESS>
..repeat
softap_example_main.c.txt

Our design was having this issue, and similar failing to communicate and a nice odd message that said max stations already connected, even though nothing had shown on the monitor with all debugging turned on.   We went back and re-evaluated everything and saw that others had been attenuating 5 MHz Wifi  band signals in their filter in addition to closer noise.  When wi did that, we got one system that is connecting every time.  I am not going to say that everyone has the same issue, but it is worth looking into. Our dev environments were all pretty saturated with WiFi signals from everyone and we had not yet tried running in a Faraday Cage.  It looks like we will not have to.

In mu case was changing from STA mode to AP Mode.
I hadn't the
esp_netif_create_default_wifi_ap();
only the
esp_netif_create_default_wifi_sta();

I have the same exact issue.
I am using ESP-IDF v4.3 and my devices do not get an IP address from the softAP:
I (103324) DB_ESP32: Wifi AP started!
I (110754) wifi:new:<1,0>, old:<1,0>, ap:<1,0>, sta:<255,255>, prof:1
I (110754) wifi:station: 58:96:1d:be:d4:30 join, AID=1, b, 20
I (114814) wifi:station: 58:96:1d:be:d4:30 leave, AID = 1, bss_flags is 655392, bss:0x3ffbccc4
I (114814) wifi:new:<1,0>, old:<1,0>, ap:<1,0>, sta:<255,255>, prof:1
I (115974) wifi:new:<1,0>, old:<1,0>, ap:<1,0>, sta:<255,255>, prof:1
I (115974) wifi:station: 58:96:1d:be:d4:30 join, AID=1, b, 20
I (162364) wifi:station: 58:96:1d:be:d4:30 leave, AID = 1, bss_flags is 655393, bss:0x3ffbccc4
I (162364) wifi:new:<1,0>, old:<1,0>, ap:<1,0>, sta:<255,255>, prof:1
I (162364) DB_ESP32: Wifi AP started!

I have a similar issue with M5Stack-Core2 AWS kit.
My tests include 2 different kits:
1- M5Core2-AWS
2- ESP-WROVER Kit
And 3 different Wifi clients:
1- My PC (Ubuntu 18.04 Kernel: 5.4.0-91-generic)
2- An Android mobile device (Android 12)
3- An iOS device (14.8.1)
I'm using PlatformIO:
(penv) $ pio --version
PlatformIO Core, version 5.2.3
Here is the platformio.ini:
[env:m5stack-core2]
platform =<EMAIL_ADDRESS>board = m5stack-core2
framework = espidf
monitor_speed = 115200
[env:esp-wrover-kit]
platform =<EMAIL_ADDRESS>board = esp-wrover-kit
framework = espidf
monitor_speed = 115200
The code is: https://raw.githubusercontent.com/espressif/esp-idf/master/examples/wifi/getting_started/softAP/main/softap_example_main.c
Observation:
1- My PC connects to any softAP application running on any ESP32 device without any problem. The first try is always successful.
2- My mobile devices (both Android and iOS) connect to the softAP running on the ESP-WROVER kit without any problem. The first try is always successful.
3- My mobile devices (both Android and iOS) SOMETIMES connect to the softAP running on the M5Core2-AWS kit. The initial several tries may connect after several rounds. If connects successfully, when I disconnect my mobile device and retry a new connection, it definitely fails. I need to reboot the M5Core2-AWS kit to get a successful connection.
Here is the logs from the M5Core2-AWS run:
//// softAP starts
␛[0;32mI (779) wifi softAP: wifi_init_softap finished. SSID:Printer_4401 password:deneme123 channel:1␛[0m
I (6729) wifi:new:<1,0>, old:<1,1>, ap:<1,1>, sta:<255,255>, prof:1
I (6739) wifi:station: 1a:3f:85:cf:86:7a join, AID=1, bgn, 20
␛[0;32mI (6849) wifi softAP: station 1a:3f:85:cf:86:7a join, AID=1␛[0m
//// mobile device connects successfully
␛[0;32mI (7179) esp_netif_lwip: DHCP server assigned IP to a station, IP is: <IP_ADDRESS>␛[0m
I (16579) wifi:station: 1a:3f:85:cf:86:7a leave, AID = 1, bss_flags is 134243, bss:0x3ffb8e54
I (16579) wifi:new:<1,0>, old:<1,0>, ap:<1,1>, sta:<255,255>, prof:1
//// mobile device is disconnected intentionally
␛[0;32mI (16589) wifi softAP: station 1a:3f:85:cf:86:7a leave, AID=1␛[0m
//// mobile device tries to connect
I (20099) wifi:new:<1,0>, old:<1,0>, ap:<1,1>, sta:<255,255>, prof:1
I (20099) wifi:station: 1a:3f:85:cf:86:7a join, AID=1, bgn, 20
␛[0;32mI (20149) wifi softAP: station 1a:3f:85:cf:86:7a join, AID=1␛[0m
␛[0;32mI (20359) esp_netif_lwip: DHCP server assigned IP to a station, IP is: <IP_ADDRESS>␛[0m
␛[0;32mI (21439) esp_netif_lwip: DHCP server assigned IP to a station, IP is: <IP_ADDRESS>␛[0m
␛[0;32mI (23289) esp_netif_lwip: DHCP server assigned IP to a station, IP is: <IP_ADDRESS>␛[0m
␛[0;32mI (25429) esp_netif_lwip: DHCP server assigned IP to a station, IP is: <IP_ADDRESS>␛[0m
␛[0;32mI (26339) esp_netif_lwip: DHCP server assigned IP to a station, IP is: <IP_ADDRESS>␛[0m
␛[0;32mI (28309) esp_netif_lwip: DHCP server assigned IP to a station, IP is: <IP_ADDRESS>␛[0m
␛[0;32mI (32439) esp_netif_lwip: DHCP server assigned IP to a station, IP is: <IP_ADDRESS>␛[0m
//// !!!! I see a message on the mobile device saying failed to obtain an IP, and it leaves
I (38209) wifi:station: 1a:3f:85:cf:86:7a leave, AID = 1, bss_flags is 134243, bss:0x3ffb8e54
I (38209) wifi:new:<1,0>, old:<1,0>, ap:<1,1>, sta:<255,255>, prof:1
␛[0;32mI (38209) wifi softAP: station 1a:3f:85:cf:86:7a leave, AID=1␛[0m
//// trying with my PC, success
I (57719) wifi:new:<1,1>, old:<1,0>, ap:<1,1>, sta:<255,255>, prof:1
I (57719) wifi:station: bc:a8:a6:bd:a4:5c join, AID=1, bgn, 40U
␛[0;32mI (57739) wifi softAP: station bc:a8:a6:bd:a4:5c join, AID=1␛[0m
␛[0;32mI (57779) esp_netif_lwip: DHCP server assigned IP to a station, IP is: <IP_ADDRESS>␛[0m
//// leave intentionally
I (68079) wifi:station: bc:a8:a6:bd:a4:5c leave, AID = 1, bss_flags is 134243, bss:0x3ffb8e54
I (68079) wifi:new:<1,0>, old:<1,1>, ap:<1,1>, sta:<255,255>, prof:1
␛[0;32mI (68079) wifi softAP: station bc:a8:a6:bd:a4:5c leave, AID=1␛[0m
//// trying with my PC, success
I (78369) wifi:new:<1,1>, old:<1,0>, ap:<1,1>, sta:<255,255>, prof:1
I (78369) wifi:station: bc:a8:a6:bd:a4:5c join, AID=1, bgn, 40U
␛[0;32mI (78389) wifi softAP: station bc:a8:a6:bd:a4:5c join, AID=1␛[0m
␛[0;32mI (78429) esp_netif_lwip: DHCP server assigned IP to a station, IP is: <IP_ADDRESS>␛[0m
//// leave intentionally
I (96269) wifi:station: bc:a8:a6:bd:a4:5c leave, AID = 1, bss_flags is 134243, bss:0x3ffb8e54
I (96269) wifi:new:<1,0>, old:<1,1>, ap:<1,1>, sta:<255,255>, prof:1
␛[0;32mI (96269) wifi softAP: station bc:a8:a6:bd:a4:5c leave, AID=1␛[0m
I also tried with the latest version of ESP-IDF and I got the same results.
Any help would be highly appreciated.

For me, the solution was to move
esp_event_loop_create_default();
before:
esp_netif_create_default_wifi_ap();
Else, lwip does not start correctly and neither the DHCP server.

@AxelLin  your issue is actually same as #6289 , right?

@JJDS do you have the same issue? Or you have a workaround?

@GeorgeFlorian your issue is related with GPIOs, right? Can you keep GPIOs silent, no input, no output?

@junexuesp It looks in some examples, esp_event_loop_create_default(); is not used before esp_netif_create_default_wifi_ap(); PTAL

@AxelLin your issue is actually same as #6289 , right?

Yes, I think so.


Added --debuginfo argument to create debugging information

Adds a new --debuginfo  argument to the CLI and bool debugInfoEnabled parameter to the relevant API to allow the compilation of shader with debugging information embedded in them.
Tested using RenderDoc with:

[x] SPIR-V: Seems to work fine
[ ] DXIL: RenderDoc doesn't seem to support DXIL debugging. Is there any other way to test this?
[ ] MSL: No Apple hardware available to test.

Closes https://github.com/libsdl-org/SDL_shadercross/issues/64

I think these parameter lists are getting too long now, we should probably abstract the parameters into an info struct that we can append properties onto to avoid future API breaks. I might just bring this in and then rewrite it after, but I'll think about it.

Superseded by https://github.com/libsdl-org/SDL_shadercross/pull/71


Google Summer of Code 2015

Project ideas: ?

Build and release pipeline
Complete testing infrastructure
Possible RPM
Gem
Github.io Community Website

General Thoughts: ?
I was thinking of structuring the project as a not so much a feature driven project but more or a workflow driven project.  Find a student interested in release management and help us stabilize or improve the pipeline from it then current state.
I was also thinking of a monitoring project, possibly combining the sensu-plugin and sensu-spec packages together into a framework that new checks could template or build off of.
@kalabiyau @portertech

@kalabiyau ^^
Thought on a GSoC project for a testing framework for the new repos.  There is one started here and we can use it as a jumping off point but these repos need testing...

@mattyjones I would like to have a student for packaging task. As we need to move it forward.
Not sure if we have more people willing to help with mentoring.

@mattyjones let's hangout on IRC today about that matter

That would be great.  I would also like to touch base with you on packaging and such so we don't dupe effort and keep everything simple.  I will be in the office in about 90 minutes, we can talk then if you would like, otherwise I am available all day.

Idea from rob
I will ask @portertech about that matter
https://github.com/Yelp/sensu/issues/2
http://roobert.github.io/2015/01/08/Sensu-with-Host-Masquerading/


I'm actively maintaining this

Hi powmedia
Thanks for making this essential piece of Backbone stack. I am maintaining a fork of your work here: https://github.com/kahwee/backbone-deep-model
I needed it as part of browserify so there's some bits of changes to your code. I'll be actively maintaining my fork and run it against the newer dependencies, lodash v3 in particular.
I placed it onto Travis and ran tests. So far it's quite good:

Thanks for this :)

Hi kahwee, that's great news.  I've added a link to the main project readme.
On Wed, Feb 25, 2015 at 5:38 PM, Steven Petryk<EMAIL_ADDRESS>wrote:

Thanks for this :)
--
Reply to this email directly or view it on GitHub
https://github.com/powmedia/backbone-deep-model/issues/112#issuecomment-76013940
.


Logs tab show OIDC Error

Describe the bug
When I open the tab for logs I see only an error message.
TypeError: oidc.OpenIDConnectAuth is not a constructor
To Reproduce
Steps to reproduce the behavior:

connect to cluster
select a pod
open the logs tab

Expected behavior
I can see the logs.
Desktop (please complete the following information):

OS: macOS
Version 14.3.1 (23D60)

Additional context
All other actions appear to work just fine.

HI @tharwan - thanks for reporting! what kind of cluster is this? kubernetes version?

This is a VMware tkgi cluster. I am not sure about the version right now, will try to add it as soon as possible.

Kubelet Version is v1.26.10.


input_pill: Change user group pills to be same as PM pills.

This PR fixes #8686. This needs to be merged after #8365 is merged, because some more changes need to be added for user not a member of user group.
Now, the user group pill UI is same as PM pills -

@Kumar-Tarun FYI we just merged #8716, which may require some changes to this.

Merged, since this seems to actually work fine without #8365.


bug: locations is required on interface CheckGroupProps

Node.js version
16.17.0
NPM version
8.15.0
@checkly/cli version
4.6.1
Steps to reproduce
When creating a new CheckGroup(), if the CheckGroupProps argument is using privateLocations and omits locations there is a TypeScript Error:
Property 'locations' is missing in type '{ alertChannels: AlertChannelWrapper[]; name: string; activated: true; muted: false; concurrency: number; frequency: Frequency; tags: string[]; privateLocations: string[]; browserChecks: { ...; }; retryStrategy: RetryStrategy; }' but required in type 'CheckGroupProps'.ts(2345)

Is it ok for locations to be an Optional parameter in the interface CheckGroupProps?
https://github.com/checkly/checkly-cli/blob/bfc68daeeacc92cfe427e20305a2a36dc0fac043/packages/cli/src/constructs/check-group.ts#L70
This would match with interface CheckProps which is used by ApiCheck and BrowserCheck.
https://github.com/checkly/checkly-cli/blob/bfc68daeeacc92cfe427e20305a2a36dc0fac043/packages/cli/src/constructs/check.ts#L51
Thanks!
What is expected?
No TypeScript error
What is actually happening?
TypeScript Error
Any additional comments?
For context, we're running one Group of checks using privateLocations and a separate Group of checks using locations.

thanks @slmoore for reporting this.

@slmoore this was just fixed in v4.8.1 which was just published on NPM
https://www.npmjs.com/package/checkly


.github: bump go versions in ci.yml

Update ci.yml to:

Use go1.17, go1.22, and go1.23
Pin dependencies

@fxamacker Please review #50 - #53.


how can launch web interface?

how can launch web interface?

Do you mean this? https://gradio.app/g/AK391/Anime2Sketch

Yes how can launch in my droplet with digitalocean public IP?
El mar., 1 de jun. de 2021, 1:06 p. m., Xiaoyu Xiang <
@.***> escribió:

Do you mean this? https://gradio.app/g/AK391/Anime2Sketch
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Mukosame/Anime2Sketch/issues/10#issuecomment-852337132,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADIWFHGRB3UZPEXYRGJSVLTQUOSDANCNFSM454BSPCQ
.

I want to clone and deploy in my public IP droplet server

Anyone...

im use this commands
apt update
apt upgrade
shutdown -r now

next
apt install python3-pip
pip install gradio
git clone https://github.com/Mukosame/Anime2Sketch.git
cd Anime2Sketch
pip install -r requirements.txt

i download this
https://drive.google.com/drive/folders/1Srf-WYUixK0wiUddc9y3pNKHHno5PN6R?usp=sharing
and put in weight folder
##Edit
gr.Interface(
    sketch2anime,
    [gr.inputs.Image(type="file", label="Input")],
    gr.outputs.Image(type="pil", label="Output"),
    title=title,
    description=description,
    article=article,
    examples=[
        ["test_samples/madoka.jpg"],
        ["building.jpg"],
        ["wave.jpg"]
    ], server_name="<IP_ADDRESS>").launch(debug=True)

and last one this
python3 gradiodemo.py

and show me this
100%|████████████████████████████████████████| 814k/814k [00:00<00:00, 27.6MB/s]
100%|████████████████████████████████████████| 250k/250k [00:00<00:00, 3.89MB/s]
Traceback (most recent call last):
  File "gradiodemo.py", line 16, in <module>
    model = create_model(gpu_ids)
TypeError: create_model() takes 0 positional arguments but 1 was given

how solved?

Do u help me to deploy your app in my linux server?


Add new solution to RAS Exception Type=ErrorCode = 720 ErrorSource = RAS

I have found a new error type while connecting using the documentation. I checked the error log from the VPN client

On-Error Event	ErrorCode = 720 ErrorSource = RAS

**solution

you have to uninstall all WAN-Miniports from the Device-Manager
and click "Scan for Hardware changes" and the will appear again
run VPN again and it works**

the VPN gateway documentation is straight forward exception this error.
I am using a Windows 10 Pro, 64-bit
see tips here: https://svenvdveen.wordpress.com/2017/11/25/azure-p2s-vpn-connection-problems-error-720/#:~:text=When setting up a P2S,network settings for this connection.&text=Create your VPN connection like you normally should.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 9befee3d-2d6b-4f48-dd2f-db1f6a0af383
Version Independent ID: 8e44b3be-0f8d-c954-bb79-dbaca15da5c7
Content: Troubleshoot Azure point-to-site connection problems - Azure VPN Gateway
Content Source: articles/vpn-gateway/vpn-gateway-troubleshoot-vpn-point-to-site-connection-problems.md
Service: vpn-gateway
GitHub Login: @chadmath
Microsoft Alias: genli

@chadmath Could you please look into this? Thank you.

@chadmath Can you please update the doc as needed? Thank you!

Thank you for you dedication to our documentation.
Unfortunately, we have been unable to review this issue in a timely manner. We sincerely apologize for the delayed response. We are closing this issue. If you feel that the problem persists, please respond to this issue with additional information.
Please continue to provide feedback about the documentation. We appreciate your contributions to our community.
#please-close


have Travis build publish to some public repository

Bintray now holds version 0.1, done via manual release. JCenter has been requested, then snapshots can be deployed via Travis.

More info on the matter in this blog: http://bithacker.org/post/120996678805/publishing-artifacts-to-bintray-from-travis-ci

Example gradle project using jfrog artifactory: https://github.com/ReadyTalk/gradle-readytalk-js/blob/master/build.gradle

The releases (non-snapshot versions) are deployed to https://bintray.com/qkrijger/gradle-plugins/docker-gradle.
There currently is an issue with uploading the snapshots to https://oss.jfrog.org/webapp, but this is being looked at by the JFrog team

The issue with uploading to JFrog doesn't exist. Apparently, the published URL is invalid. Builds can be found under https://oss.jfrog.org/artifactory/webapp/#/builds/gradle-docker

JFrog doesn't appear to work. Reevaluate if this is a goed option - probably remove it from the build and think of something else.