System.Net.Http.WinHttpException: A security error occurred on unattended config

Have you tried trouble shooting? Yes
Trouble shooting doc
Agent Version and Platform
Version of your agent?
I tried multiple versions. The log that is supplied here is from version 2.122.1.
I also tried 1.125.1 specifying the --sslskipcertvalidation but this gave the same results.
OS of the machine running the agent? windowsservercore Docker
VSTS Type and Version
VisualStudio.com or On-Prem TFS? On prem TFS
If On-Prem TFS, which release? 2017 Version 15.117.27024.0
If VisualStudio.com, what is your account name? http://account.visualstudio.com
What's not working?
I'm getting an error when configuring a build agent in Docker but ONLY when I try to use the --unattended mode. If I use interactive everything works as expected.
I run the following command:
.\config.cmd --unattended --url %vso_url% --auth negotiate --userName %vso_username% --password %vso_password% --pool %vso_agentpool%
Error that I'm getting:
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: A security error occurred
We are using SSL certificates that are self-signed with a self-signed CA authority.
I tried adding the certificates to the Docker container as well with the next commands:
RUN CERTUTIL -addstore -enterprise -f -v root "ca.***.com.cer"
RUN certutil -addstore -user -f "My" "tfs.eu.***.com.cer"

Agent and Worker's Diagnostic Logs
This includes http trace since its probably an SSL related error.
I made sure to mask all routes that give away too much.
[2018-04-13 08:31:33Z WARN HostContext] *****************************************************************************************
[2018-04-13 08:31:33Z WARN HostContext] **                                                                                **
[2018-04-13 08:31:33Z WARN HostContext] ** Http trace is enabled, all your http traffic will be dumped into agent diag log.    **
[2018-04-13 08:31:33Z WARN HostContext] ** DO NOT share the log in public place! The trace may contains secrets in plain text. **
[2018-04-13 08:31:33Z WARN HostContext] **                                                                                **
[2018-04-13 08:31:33Z WARN HostContext] *****************************************************************************************
[2018-04-13 08:31:33Z INFO AgentProcess] Agent is built for Windows - win7-x64.
[2018-04-13 08:31:33Z INFO AgentProcess] RuntimeInformation: Microsoft Windows 10.0.14393 .
[2018-04-13 08:31:33Z INFO AgentProcess] Version: 2.122.1
[2018-04-13 08:31:33Z INFO AgentProcess] Commit: fc6746af2429c6ffa73c0793d732e6853f9fb375
[2018-04-13 08:31:33Z INFO AgentProcess] Culture: en-US
[2018-04-13 08:31:33Z INFO AgentProcess] UI Culture: en-US
[2018-04-13 08:31:33Z INFO HostContext] Well known directory 'Bin': 'C:\agent\bin'
[2018-04-13 08:31:33Z INFO HostContext] Well known directory 'Root': 'C:\agent'
[2018-04-13 08:31:33Z INFO AgentProcess] Validating directory permissions for: 'C:\agent'
[2018-04-13 08:31:33Z INFO PowerShellExeUtil] Generation: '1'
[2018-04-13 08:31:33Z INFO PowerShellExeUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1', value name 'Install': '1'
[2018-04-13 08:31:33Z INFO PowerShellExeUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine', value name 'PowerShellVersion': '2.0'
[2018-04-13 08:31:33Z INFO PowerShellExeUtil] Unsupported version. Skipping.
[2018-04-13 08:31:33Z INFO PowerShellExeUtil] Generation: '3'
[2018-04-13 08:31:33Z INFO PowerShellExeUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\3', value name 'Install': '1'
[2018-04-13 08:31:33Z INFO PowerShellExeUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine', value name 'PowerShellVersion': '5.1.14393.0'
[2018-04-13 08:31:33Z INFO PowerShellExeUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine', value name 'ApplicationBase': 'C:\Windows\System32\WindowsPowerShell\v1.0'
[2018-04-13 08:31:33Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework', value name 'InstallRoot': 'C:\Windows\Microsoft.NET\Framework64\'
[2018-04-13 08:31:33Z INFO NetFrameworkUtil] Key name 'SOFTWARE\Microsoft\NET Framework Setup\NDP' contains sub keys:
[2018-04-13 08:31:33Z INFO NetFrameworkUtil]  'CDF'
[2018-04-13 08:31:33Z INFO NetFrameworkUtil]  'v4'
[2018-04-13 08:31:33Z INFO NetFrameworkUtil]  'v4.0'
[2018-04-13 08:31:33Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4', value name 'Version' is null.
[2018-04-13 08:31:33Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4', value name '' is null.
[2018-04-13 08:31:33Z INFO NetFrameworkUtil] Key name 'SOFTWARE\Microsoft\NET Framework Setup\NDP\v4' contains sub keys:
[2018-04-13 08:31:33Z INFO NetFrameworkUtil]  'Client'
[2018-04-13 08:31:33Z INFO NetFrameworkUtil]  'Full'
[2018-04-13 08:31:33Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client', value name 'Version': '4.6.01586'
[2018-04-13 08:31:33Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client', value name 'Install': '1'
[2018-04-13 08:31:33Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client', value name 'InstallPath': 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\'
[2018-04-13 08:31:33Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client', value name 'Release': '394802'
[2018-04-13 08:31:33Z INFO NetFrameworkUtil] Type is System.Int32
[2018-04-13 08:31:33Z INFO NetFrameworkUtil] Interpreted version: 4.6.2
[2018-04-13 08:31:33Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full', value name 'Version': '4.6.01586'
[2018-04-13 08:31:33Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full', value name 'Install': '1'
[2018-04-13 08:31:33Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full', value name 'InstallPath': 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\'
[2018-04-13 08:31:33Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full', value name 'Release': '394802'
[2018-04-13 08:31:33Z INFO NetFrameworkUtil] Type is System.Int32
[2018-04-13 08:31:33Z INFO NetFrameworkUtil] Interpreted version: 4.6.2
[2018-04-13 08:31:33Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4.0', value name 'Version' is null.
[2018-04-13 08:31:33Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4.0', value name '': 'deprecated'
[2018-04-13 08:31:33Z INFO NetFrameworkUtil] Found 2 versions:
[2018-04-13 08:31:33Z INFO NetFrameworkUtil]  4.6.2
[2018-04-13 08:31:33Z INFO NetFrameworkUtil]  4.6.2
[2018-04-13 08:31:33Z INFO NetFrameworkUtil] Testing for min NET Framework version: '4.5'
[2018-04-13 08:31:33Z INFO CommandLineParser] Parse
[2018-04-13 08:31:33Z INFO CommandLineParser] Parsing 12 args
[2018-04-13 08:31:33Z INFO CommandLineParser] parsing argument
[2018-04-13 08:31:33Z INFO CommandLineParser] HasArgs: False
[2018-04-13 08:31:33Z INFO CommandLineParser] Adding Command: configure
[2018-04-13 08:31:33Z INFO CommandLineParser] parsing argument
[2018-04-13 08:31:33Z INFO CommandLineParser] HasArgs: True
[2018-04-13 08:31:33Z INFO CommandLineParser] arg: unattended
[2018-04-13 08:31:33Z INFO CommandLineParser] parsing argument
[2018-04-13 08:31:33Z INFO CommandLineParser] HasArgs: True
[2018-04-13 08:31:33Z INFO CommandLineParser] arg: url
[2018-04-13 08:31:33Z INFO CommandLineParser] Adding flag: unattended
[2018-04-13 08:31:33Z INFO CommandLineParser] parsing argument
[2018-04-13 08:31:33Z INFO CommandLineParser] HasArgs: True
[2018-04-13 08:31:33Z INFO CommandLineParser] Adding option 'url': 'https://tfs.eu.***software.com:8080/tfs/eucollection'
[2018-04-13 08:31:33Z INFO CommandLineParser] parsing argument
[2018-04-13 08:31:33Z INFO CommandLineParser] HasArgs: True
[2018-04-13 08:31:33Z INFO CommandLineParser] arg: auth
[2018-04-13 08:31:33Z INFO CommandLineParser] parsing argument
[2018-04-13 08:31:33Z INFO CommandLineParser] HasArgs: True
[2018-04-13 08:31:33Z INFO CommandLineParser] Adding option 'auth': 'negotiate'
[2018-04-13 08:31:33Z INFO CommandLineParser] parsing argument
[2018-04-13 08:31:33Z INFO CommandLineParser] HasArgs: True
[2018-04-13 08:31:33Z INFO CommandLineParser] arg: userName
[2018-04-13 08:31:33Z INFO CommandLineParser] parsing argument
[2018-04-13 08:31:33Z INFO CommandLineParser] HasArgs: True
[2018-04-13 08:31:33Z INFO CommandLineParser] Adding option 'userName'<EMAIL_ADDRESS>[2018-04-13 08:31:33Z INFO CommandLineParser] parsing argument
[2018-04-13 08:31:33Z INFO CommandLineParser] HasArgs: True
[2018-04-13 08:31:33Z INFO CommandLineParser] arg: password
[2018-04-13 08:31:33Z INFO CommandLineParser] parsing argument
[2018-04-13 08:31:33Z INFO CommandLineParser] HasArgs: True
[2018-04-13 08:31:33Z INFO CommandLineParser] Adding option 'password': '********'
[2018-04-13 08:31:33Z INFO CommandLineParser] parsing argument
[2018-04-13 08:31:33Z INFO CommandLineParser] HasArgs: True
[2018-04-13 08:31:33Z INFO CommandLineParser] arg: pool
[2018-04-13 08:31:33Z INFO CommandLineParser] parsing argument
[2018-04-13 08:31:33Z INFO CommandLineParser] HasArgs: True
[2018-04-13 08:31:33Z INFO CommandLineParser] Adding option 'pool': 'DockerPool'
[2018-04-13 08:31:33Z INFO AgentProcess] Arguments parsed
[2018-04-13 08:31:33Z INFO VstsAgentWebProxy] No proxy setting found.
[2018-04-13 08:31:33Z INFO Agent] ExecuteCommand
[2018-04-13 08:31:33Z INFO ConfigurationStore] currentAssemblyLocation: C:\agent\bin\Agent.Listener.dll
[2018-04-13 08:31:33Z INFO HostContext] Well known directory 'Bin': 'C:\agent\bin'
[2018-04-13 08:31:33Z INFO ConfigurationStore] binPath: C:\agent\bin
[2018-04-13 08:31:33Z INFO HostContext] Well known directory 'Bin': 'C:\agent\bin'
[2018-04-13 08:31:33Z INFO HostContext] Well known directory 'Root': 'C:\agent'
[2018-04-13 08:31:33Z INFO ConfigurationStore] RootFolder: C:\agent
[2018-04-13 08:31:33Z INFO ConfigurationStore] ConfigFilePath: C:\agent\.agent
[2018-04-13 08:31:33Z INFO ConfigurationStore] CredFilePath: C:\agent\.credentials
[2018-04-13 08:31:33Z INFO ConfigurationStore] ServiceConfigFilePath: C:\agent\.service
[2018-04-13 08:31:33Z INFO ConfigurationStore] AutoLogonSettingsFilePath: C:\agent\.autologon
[2018-04-13 08:31:33Z INFO CommandSettings] Flag 'help': 'False'
[2018-04-13 08:31:33Z INFO CommandSettings] Flag 'version': 'False'
[2018-04-13 08:31:33Z INFO CommandSettings] Flag 'commit': 'False'
[2018-04-13 08:31:33Z INFO CommandSettings] Command 'configure': 'True'
[2018-04-13 08:31:34Z INFO ConfigurationManager] ConfigureAsync
[2018-04-13 08:31:34Z INFO ConfigurationStore] IsConfigured()
[2018-04-13 08:31:34Z INFO ConfigurationStore] IsConfigured: False
[2018-04-13 08:31:34Z INFO ConfigurationManager] Is configured: False
[2018-04-13 08:31:34Z INFO NetFrameworkUtil] Testing for min NET Framework version: '4.6'
[2018-04-13 08:31:34Z INFO CommandSettings] Flag 'machinegroup': 'False'
[2018-04-13 08:31:34Z INFO CommandSettings] Flag 'deploymentgroup': 'False'
[2018-04-13 08:31:34Z INFO ExtensionManager] Getting extensions for interface: 'Microsoft.VisualStudio.Services.Agent.Listener.Configuration.IConfigurationProvider'
[2018-04-13 08:31:34Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Listener.Configuration.BuildReleasesAgentConfigProvider, Agent.Listener
[2018-04-13 08:31:34Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Listener.Configuration.DeploymentGroupAgentConfigProvider, Agent.Listener
[2018-04-13 08:31:34Z INFO Terminal] WRITE LINE:
[2018-04-13 08:31:34Z INFO Terminal] WRITE LINE: >> Connect:
[2018-04-13 08:31:34Z INFO Terminal] WRITE LINE:
[2018-04-13 08:31:34Z INFO CommandSettings] Arg 'url': 'https://tfs.eu.***software.com:8080/tfs/eucollection'
[2018-04-13 08:31:34Z INFO CommandSettings] Remove url from Arg dictionary.
[2018-04-13 08:31:34Z INFO ConfigurationManager] GetCredentialProvider
[2018-04-13 08:31:34Z INFO CommandSettings] Arg 'auth': 'negotiate'
[2018-04-13 08:31:34Z INFO CommandSettings] Remove auth from Arg dictionary.
[2018-04-13 08:31:34Z INFO ConfigurationManager] Creating credential for auth: negotiate
[2018-04-13 08:31:34Z INFO CredentialManager] GetCredentialProvider
[2018-04-13 08:31:34Z INFO CredentialManager] Creating type negotiate
[2018-04-13 08:31:34Z INFO CredentialManager] Creating credential type: negotiate
[2018-04-13 08:31:34Z INFO PersonalAccessToken] EnsureCredential
[2018-04-13 08:31:34Z INFO CommandSettings] Arg 'username'<EMAIL_ADDRESS>[2018-04-13 08:31:34Z INFO CommandSettings] Remove username from Arg dictionary.
[2018-04-13 08:31:34Z INFO CommandSettings] Arg 'password': '********'
[2018-04-13 08:31:34Z INFO CommandSettings] Remove password from Arg dictionary.
[2018-04-13 08:31:34Z INFO NegotiateCredential] GetVssCredentials
[2018-04-13 08:31:34Z INFO NegotiateCredential] User name retrieved.
[2018-04-13 08:31:34Z INFO NegotiateCredential] Password retrieved.
[2018-04-13 08:31:34Z INFO NegotiateCredential] URL retrieved: https://tfs.eu.***software.com:8080/tfs/eucollection
[2018-04-13 08:31:34Z INFO ConfigurationManager] cred retrieved
[2018-04-13 08:31:34Z INFO Terminal] WRITE LINE: Connecting to server ...
[2018-04-13 08:31:34Z INFO VisualStudioServices] Starting operation Location.GetConnectionData
[2018-04-13 08:31:34Z INFO HttpTrace] Trace System.Net.Http.Request event:
{ Request = Method: GET, RequestUri: 'https://tfs.eu.***software.com:8080/tfs/eucollection/_apis/connectionData?connectOptions=1&lastChangeId=-1&lastChangeId64=-1', Version: 1.1, Content: <null>, Headers:
{
  User-Agent: VSServices/15.123.26901.0
  User-Agent: (NetStandard; Microsoft Windows 10.0.14393)
  User-Agent: VstsAgentCore-win7-x64/2.122.1
  User-Agent: (Microsoft Windows 10.0.14393)
  X-VSS-E2EID: 9b465da4-5b70-46bf-af18-53f7ef420527
  Accept-Language: en-US
  X-TFS-FedAuthRedirect: Suppress
  X-TFS-Session: c774f17c-a8df-449a-a45f-c702d9245dca
  Expect: 100-continue
}, LoggingRequestId = c094e596-d3b0-4c62-a413-ec2b7218f271, Timestamp =<PHONE_NUMBER>671 }
[2018-04-13 08:31:38Z ERR  VisualStudioServices] GET request to https://tfs.eu.***software.com:8080/tfs/eucollection/_apis/connectionData?connectOptions=1&lastChangeId=-1&lastChangeId64=-1 failed. System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: A security error occurred
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Net.Http.WinHttpHandler.<StartRequest>d__105.MoveNext()
   --- End of inner exception stack trace ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.<SendAsync>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.<SendAsync>d__4.MoveNext()
[2018-04-13 08:31:38Z INFO VisualStudioServices] Finished operation Location.GetConnectionData
[2018-04-13 08:31:38Z INFO AgentServer] Catch exception during connect. 4 attemp left.
[2018-04-13 08:31:38Z ERR  AgentServer] System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: A security error occurred
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Net.Http.WinHttpHandler.<StartRequest>d__105.MoveNext()
   --- End of inner exception stack trace ---
   at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.<SendAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Net.Http.HttpClient.<FinishSendAsync>d__58.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__49.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__46`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.<GetConnectionDataAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.<ConnectAsync>d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Agent.AgentServer.<ConnectAsync>d__3.MoveNext()
[2018-04-13 08:31:38Z INFO VisualStudioServices] Starting operation Location.GetConnectionData
[2018-04-13 08:31:38Z INFO HttpTrace] Trace System.Net.Http.Request event:
{ Request = Method: GET, RequestUri: 'https://tfs.eu.***software.com:8080/tfs/eucollection/_apis/connectionData?connectOptions=1&lastChangeId=-1&lastChangeId64=-1', Version: 1.1, Content: <null>, Headers:
{
  User-Agent: VSServices/15.123.26901.0
  User-Agent: (NetStandard; Microsoft Windows 10.0.14393)
  User-Agent: VstsAgentCore-win7-x64/2.122.1
  User-Agent: (Microsoft Windows 10.0.14393)
  X-VSS-E2EID: b32e75f0-927f-4b8e-aa65-68b76acb07c2
  Accept-Language: en-US
  X-TFS-FedAuthRedirect: Suppress
  X-TFS-Session: c774f17c-a8df-449a-a45f-c702d9245dca
  Expect: 100-continue
}, LoggingRequestId = a1759800-e2a8-41a1-bc04-291f5a5d7cc5, Timestamp =<PHONE_NUMBER>088 }
[2018-04-13 08:31:38Z ERR  VisualStudioServices] GET request to https://tfs.eu.***software.com:8080/tfs/eucollection/_apis/connectionData?connectOptions=1&lastChangeId=-1&lastChangeId64=-1 failed. System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: A security error occurred
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Net.Http.WinHttpHandler.<StartRequest>d__105.MoveNext()
   --- End of inner exception stack trace ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.<SendAsync>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.<SendAsync>d__4.MoveNext()
[2018-04-13 08:31:38Z INFO VisualStudioServices] Finished operation Location.GetConnectionData
[2018-04-13 08:31:38Z INFO AgentServer] Catch exception during connect. 3 attemp left.
[2018-04-13 08:31:38Z ERR  AgentServer] System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: A security error occurred
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Net.Http.WinHttpHandler.<StartRequest>d__105.MoveNext()
   --- End of inner exception stack trace ---
   at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.<SendAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Net.Http.HttpClient.<FinishSendAsync>d__58.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__49.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__46`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.<GetConnectionDataAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.<ConnectAsync>d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Agent.AgentServer.<ConnectAsync>d__3.MoveNext()
[2018-04-13 08:31:38Z INFO VisualStudioServices] Starting operation Location.GetConnectionData
[2018-04-13 08:31:38Z INFO HttpTrace] Trace System.Net.Http.Request event:
{ Request = Method: GET, RequestUri: 'https://tfs.eu.***software.com:8080/tfs/eucollection/_apis/connectionData?connectOptions=1&lastChangeId=-1&lastChangeId64=-1', Version: 1.1, Content: <null>, Headers:
{
  User-Agent: VSServices/15.123.26901.0
  User-Agent: (NetStandard; Microsoft Windows 10.0.14393)
  User-Agent: VstsAgentCore-win7-x64/2.122.1
  User-Agent: (Microsoft Windows 10.0.14393)
  X-VSS-E2EID: 9c9a9120-306b-4b91-834e-1ad85e61f617
  Accept-Language: en-US
  X-TFS-FedAuthRedirect: Suppress
  X-TFS-Session: c774f17c-a8df-449a-a45f-c702d9245dca
  Expect: 100-continue
}, LoggingRequestId = 4ee4a2fe-f557-4ed3-b0c2-d123b084a26d, Timestamp =<PHONE_NUMBER>769 }
[2018-04-13 08:31:38Z ERR  VisualStudioServices] GET request to https://tfs.eu.***software.com:8080/tfs/eucollection/_apis/connectionData?connectOptions=1&lastChangeId=-1&lastChangeId64=-1 failed. System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: A security error occurred
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Net.Http.WinHttpHandler.<StartRequest>d__105.MoveNext()
   --- End of inner exception stack trace ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.<SendAsync>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.<SendAsync>d__4.MoveNext()
[2018-04-13 08:31:38Z INFO VisualStudioServices] Finished operation Location.GetConnectionData
[2018-04-13 08:31:38Z INFO AgentServer] Catch exception during connect. 2 attemp left.
[2018-04-13 08:31:38Z ERR  AgentServer] System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: A security error occurred
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Net.Http.WinHttpHandler.<StartRequest>d__105.MoveNext()
   --- End of inner exception stack trace ---
   at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.<SendAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Net.Http.HttpClient.<FinishSendAsync>d__58.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__49.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__46`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.<GetConnectionDataAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.<ConnectAsync>d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Agent.AgentServer.<ConnectAsync>d__3.MoveNext()
[2018-04-13 08:31:38Z INFO VisualStudioServices] Starting operation Location.GetConnectionData
[2018-04-13 08:31:38Z INFO HttpTrace] Trace System.Net.Http.Request event:
{ Request = Method: GET, RequestUri: 'https://tfs.eu.***software.com:8080/tfs/eucollection/_apis/connectionData?connectOptions=1&lastChangeId=-1&lastChangeId64=-1', Version: 1.1, Content: <null>, Headers:
{
  User-Agent: VSServices/15.123.26901.0
  User-Agent: (NetStandard; Microsoft Windows 10.0.14393)
  User-Agent: VstsAgentCore-win7-x64/2.122.1
  User-Agent: (Microsoft Windows 10.0.14393)
  X-VSS-E2EID: 70bb371f-764a-4b50-a8b7-a2ea9a3072a8
  Accept-Language: en-US
  X-TFS-FedAuthRedirect: Suppress
  X-TFS-Session: c774f17c-a8df-449a-a45f-c702d9245dca
  Expect: 100-continue
}, LoggingRequestId = 716f8b53-a682-4220-b78d-526fe8cae5dc, Timestamp =<PHONE_NUMBER>643 }
[2018-04-13 08:31:38Z ERR  VisualStudioServices] GET request to https://tfs.eu.***software.com:8080/tfs/eucollection/_apis/connectionData?connectOptions=1&lastChangeId=-1&lastChangeId64=-1 failed. System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: A security error occurred
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Net.Http.WinHttpHandler.<StartRequest>d__105.MoveNext()
   --- End of inner exception stack trace ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.<SendAsync>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.<SendAsync>d__4.MoveNext()
[2018-04-13 08:31:38Z INFO VisualStudioServices] Finished operation Location.GetConnectionData
[2018-04-13 08:31:38Z INFO AgentServer] Catch exception during connect. 1 attemp left.
[2018-04-13 08:31:38Z ERR  AgentServer] System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: A security error occurred
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Net.Http.WinHttpHandler.<StartRequest>d__105.MoveNext()
   --- End of inner exception stack trace ---
   at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.<SendAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Net.Http.HttpClient.<FinishSendAsync>d__58.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__49.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__46`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.<GetConnectionDataAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.<ConnectAsync>d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Agent.AgentServer.<ConnectAsync>d__3.MoveNext()
[2018-04-13 08:31:38Z INFO VisualStudioServices] Starting operation Location.GetConnectionData
[2018-04-13 08:31:38Z INFO HttpTrace] Trace System.Net.Http.Request event:
{ Request = Method: GET, RequestUri: 'https://tfs.eu.***software.com:8080/tfs/eucollection/_apis/connectionData?connectOptions=1&lastChangeId=-1&lastChangeId64=-1', Version: 1.1, Content: <null>, Headers:
{
  User-Agent: VSServices/15.123.26901.0
  User-Agent: (NetStandard; Microsoft Windows 10.0.14393)
  User-Agent: VstsAgentCore-win7-x64/2.122.1
  User-Agent: (Microsoft Windows 10.0.14393)
  X-VSS-E2EID: 2b4b1076-a359-40e2-b053-97c9c50399d1
  Accept-Language: en-US
  X-TFS-FedAuthRedirect: Suppress
  X-TFS-Session: c774f17c-a8df-449a-a45f-c702d9245dca
  Expect: 100-continue
}, LoggingRequestId = 343db0e8-987b-4f74-9286-6ce6900301fc, Timestamp =<PHONE_NUMBER>323 }
[2018-04-13 08:31:41Z ERR  VisualStudioServices] GET request to https://tfs.eu.***software.com:8080/tfs/eucollection/_apis/connectionData?connectOptions=1&lastChangeId=-1&lastChangeId64=-1 failed. System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: A security error occurred
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Net.Http.WinHttpHandler.<StartRequest>d__105.MoveNext()
   --- End of inner exception stack trace ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.<SendAsync>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.<SendAsync>d__4.MoveNext()
[2018-04-13 08:31:41Z INFO VisualStudioServices] Finished operation Location.GetConnectionData
[2018-04-13 08:31:41Z INFO CommandSettings] Flag 'unattended': 'True'
[2018-04-13 08:31:41Z ERR  Agent] System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: A security error occurred
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Net.Http.WinHttpHandler.<StartRequest>d__105.MoveNext()
   --- End of inner exception stack trace ---
   at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.<SendAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Net.Http.HttpClient.<FinishSendAsync>d__58.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__49.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__46`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.<GetConnectionDataAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.<ConnectAsync>d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Agent.AgentServer.<ConnectAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.BuildReleasesAgentConfigProvider.<TestConnectionAsync>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.ConfigurationManager.<ConfigureAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Agent.Listener.Agent.<ExecuteCommand>d__5.MoveNext()
[2018-04-13 08:31:41Z ERR  Terminal] WRITE ERROR: An error occurred while sending the request.
[2018-04-13 08:31:41Z INFO HttpTrace] DiagListeners finished transmitting data.

Related Repositories
Please ensure you are logging issues to the correct repository in order to get the best support.

Tasks Repository - contains all of the inbox tasks we ship with VSTS/TFS. If you are having issues with tasks in Build/Release jobs (e.g. unreasonable task failure) please log an issue here.
Hosted Agent Image Repository - contains the VM image used in the VSTS Hosted Agent Pool. If you are having Build/Release failures that seems like they are related to software installed on the Hosted Agent (e.g. the DotnetSDK is missing or the AzureSDK is not on the latest version) please log an issue here.

If you are hitting a generic issue about VSTS/TFS, please report it to the Developer Community

@Ghkuijer it doesn't make any sense to me, --unattended will only stop config.cmd from prompting input, can you share more detail about how did you configure the agent interactively with Docker and
make it working?

@TingluoHuang I fully understand that it doesn't make any sense to you I have the same thing.
For interactively configuring the agent and for unattended I both go the same way to login to the container:
docker run -it --entrypoint cmd vsts-agent-base powershell.exe (the reseting of the entrypoint is just so my specified entrypoint won't run out of itself)
Then in the container for interactive mode I just call .\config.cmd and answer its questions:

Url: https://tfs.eu.***.com/tfs/EUCollection
Auth: negotiate
Username<EMAIL_ADDRESS>Password: ***
AgentPool: DockerPool

For unattended I save the above values into environment variables during startup of the container and execute:
.\config.cmd --unattended --url %vso_url% --auth negotiate --userName %vso_username% --password %vso_password% --pool %vso_agentpool%
Dockerfile looks like this (the environment variables I override when spinning up the container):
FROM microsoft/windowsservercore

ENV vso_username="user"
ENV vso_password="password"
ENV vso_url="https://server.visualstudio.com"
ENV vso_agentname=$COMPUTERNAME
ENV vso_agentpool=default

WORKDIR /agent
COPY . .

RUN CERTUTIL -addstore -enterprise -f -v root "ca.***.com.cer"
RUN certutil -addstore -user -f "My" "tfs.eu.***.com.cer"
RUN powershell -Command [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri https://go.microsoft.com/fwlink/?linkid=858950 -OutFile "vsts-agent.zip"
RUN powershell -Command Add-Type -AssemblyName System.IO.Compression.FileSystem ; [System.IO.Compression.ZipFile]::ExtractToDirectory(\"vsts-agent.zip\", \"$PWD\")

WORKDIR /

# Install chocolatey
RUN @powershell -NoProfile -ExecutionPolicy unrestricted -Command "$env:chocolateyUseWindowsComp
```ression = 'false'; (iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))) >$null 2>&1" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin

ENTRYPOINT cd C:\\agent && run.bat

The run.bat is not really relevant since I overwrite my entry point and do not use it yet.
Hope all this info helps. I'm sort of desperate so posting all the info I've got.

@TingluoHuang I am very much ashamed... I found out the reason it wasn't working.
Seems that for interactively I was copying the url correctly and for unattended I specified the url wrongly.
Our production and test instance of TFS run on tfs and tfstest.eu.***.com but it seems they also run on different port numbers and that was something I missed.
With the correct url everything works like a charm!
Closing this issue.


adopt new DAP attribute "runInTerminal.shellProcessId"

adopt the new DAP attribute "runInTerminal.shellProcessId" in VS Code.
Corresponding DAP feature request: https://github.com/Microsoft/debug-adapter-protocol/issues/12

Using today's Insiders I confirmed that I get the new shellProcessId attribute. But I also found that the first RunInTerminalRequest that was issued after startup consistently gave a RunInTerminalResponse with "success":false and "message":"terminal shell timeout". Perhaps my environment (Windows 10 x64, and debugging an extension) is too slow, but maybe the 1-second timeout hardcoded as part of https://github.com/Microsoft/vscode/commit/e40df5770d55ba93b1e1f7524ae27d9e70a9dc11 needs to be longer.

Thanks for letting me know. I'll increase the timeout. Coming from macOS I was obviously too optimistic in my guess...

Increased timeout to 5 secs.

That's resolved it for me. Thanks.

@gjsjohnmurray thanks for verifying. Added verified label.


Change Feed StartFrom.Now() not respected with multiple physical partitions

We are continuously addressing and improving the SDK, if possible, make sure the problem persist in the latest SDK version.

Describe the bug
We updated to the newest version of the change feed pull model, when we updated our code to use the new ChangeFeedStartFrom.Time() or ChangeFeedStartFrom.Now(), we received documents that were changed prior to the time we specified.  We tested this with several different collections.  ChangeFeedStartFrom.Time() and ChangeFeedStartFrom.Now() returned the expected number of documents when we ran against a collection with a single physical partition.  We only are seeing this for collections with multiple physical partitions.
To Reproduce
We pulled the latest version of the SDK down, added the following test to the Microsoft.Azure.Cosmos.EmulatorTests.FeedRanges.ChangeFeedIteratorCoreTests file and pointed to our dev environment
[TestMethod]
public async Task ChangeFeedIteratorCore_StartTime_LargeContainer()
{
    int totalCount = 0;
    int batchSize = 25;
    await this.CreateRandomItems(this.LargerContainer, batchSize, randomPartitionKey: true);
    await Task.Delay(1000);
    DateTime now = DateTime.UtcNow;
    await Task.Delay(1000);
    await this.CreateRandomItems(this.LargerContainer, batchSize, randomPartitionKey: true);
    ContainerInternal itemsCore = this.LargerContainer;

    FeedIterator feedIterator = itemsCore.GetChangeFeedStreamIterator(
		ChangeFeedStartFrom.Time(now));
    while (feedIterator.HasMoreResults)
    {
        using (ResponseMessage responseMessage =
	    await feedIterator.ReadNextAsync(this.cancellationToken))
        {
            if (responseMessage.IsSuccessStatusCode)
            {
				Collection<ToDoActivity> response = TestCommon.SerializerCore.FromStream<CosmosFeedResponseUtil<ToDoActivity>>(responseMessage.Content).Data;
                totalCount += response.Count;
            }
        }
    }

    Assert.AreEqual(batchSize, totalCount);
}

Expected behavior
We were expecting the second set of 25 items that were inserted to be returned.
Actual behavior
We are seeing 42 items returned.
Environment summary
SDK Version: 3.13.0 - Preview and 3.13.0

@bchong95 can you confirm this is fixed by the PR #1933

This will be fixed in 3.15.0-preview which should be released in the next few days.

@abranaugh please try the latest 3.15.0-preview

@j82w I tested out the change yesterday and it looks like it is working as expected now, I did have to make a few changes though to our tests.
In the original test that I posted, I had to modify the while loop to this:
    while (feedIterator.HasMoreResults)
    {
        using (ResponseMessage responseMessage =
	    await feedIterator.ReadNextAsync(this.cancellationToken))
        {
            if (!responseMessage.IsSuccessStatusCode)
            {
                break;
            }
	        Collection<ToDoActivity> response = TestCommon.SerializerCore.FromStream<CosmosFeedResponseUtil<ToDoActivity>>(responseMessage.Content).Data;
                totalCount += response.Count;
            }
        }
    }

It looked like the HasMoreResults never flipped to false, even after I have received all of the documents in the container.  Instead, the responseMessage had a 304 and the IsSuccessStatusCode was false.  I also ran a test against the same container, and used ChangeFeedStartFrom.Now().  I didn't add anything to the container in this test, so there should have been no changes to retrieve, and in this case the HasMoreResults is still true.  Based on the description of the HasMoreResults property on the Feed Iterator, I would expect that to be false when there aren't any more documents to be processed.

@bchong95 please take a look at the above feedback since you made the change.


[Feature] Add impact warning on feedback blocks for textual exercises

Checklist

[ ] I tested all changes and all related features with different users (student, tutor, editor, instructor, admin) on the test server https://artemistest.ase.in.tum.de.
[x] Server: I followed the coding and design guidelines.
[x] Server: I added multiple integration tests (Spring) related to the features (with a high test coverage)
[x] Server: I added @PreAuthorize and check the course groups for all new REST Calls (security)
[x] Server: I implemented the changes with a good performance and prevented too many database calls
[x] Server: I documented the Java code using JavaDoc style.
[x] Client: I followed the coding and design guidelines.
[x] Client: I added multiple integration tests (Jest) related to the features (with a high test coverage)
[x] Client: I added authorities to all new routes and check the course groups for displaying navigation elements (links, buttons)
[x] Client: I documented the TypeScript code using JSDoc style.
[x] Client: I added multiple screenshots/screencasts of my UI changes
[x] Client: I translated all the newly inserted strings into German and English

Motivation and Context

This feature allows text exercise graders (tutors) to view the impact of their grading on the other submissions. We expect that having the graders know more about how their added feedback might affect other submissions in terms of how many automatic feedbacks are generated, will make the grading process more qualitative and also more efficient. That's because graders can become more conscious about the effects of their grading and provide better feedback but also also as they are grading similar submissions they will encounter more of their own feedback, which means reducing their own grading time as well.
Description

On the server side:

A field named numberOfAffectedSubmissions is added to the TextBlock entity as a non-persistent value. The end goal is to calculate and set this value on the fly and return it to the client since adding a new column was seen to be inefficient.
A new query function getNumberOfOtherBlocksInCluster is added on the TextBlockRepository. The query takes the block id as an input, finds its respective cluster and counts and returns how many other blocks exist in that cluster. As elements in a cluster represent blocks which have a high degree of similarity between each other (=> distanceBetweenBlocks < 1 = DISTANCE_THRESHOLD) the number of elements in a block should represent an approximate number of how many other submissions would receive an AUTOMATIC Feedback label - if the feedback would be submitted.
A new function : setNumberOfAffectedSubmissionsPerBlock is added on the TextBlockService which:

iterates over the blocks of a given submission,
for each block uses the query getNumberOfOtherBlocksInCluster to find and set the block's numberOfAffectedSubmissions field value.

A check is added on the prepareSubmissionForAssessment function which checks whether Automatic Feedback Suggestions are enabled and then calls setNumberOfAffectedSubmissionsPerBlock on the referenced submission being prepared. The value is thereafter added to the the TextBlock entity which is then returned to the client through the /submission/{submissionId} endpoint

On the client side:

A card-header element with a warning icon and a text is added on textblock-feedback-editor.component.html. The text contains a translated warning sentence with a variable number.  This number is directly fetched from the received TextBlock's numberOfAffectedSubmissions field. In case this number is 0 or the feedback has 0 credits then the warning is not shown.
A field numberOfAffectedSubmissions is added on text-block.model.ts mirroring the same added field on the server side.
Translations for the warning sentence are also added in the respective .json files

Steps for Testing

Prerequisite:
If you are running locally, set up and run Athene on you machine using Docker.
1. Log in to Artemis
2. Create a TextExercise and make sure to enable Automatic assessment suggestions. Also accordingly set the release, due date and assessment due date. Due date can be some day in the future (You will edit this in further steps)
3. Add at least 11 students to the course for this exercise and make a simple submission from each of those students account before the deadline
- An example submission can be just a text: submission for all the students. There is surely a large list of permutations but this is one edge case for this feature, and more simple to test.
4. After submitting >=11 submissions from 11 students log in as an admin/tutor and edit the TextExercise Deadline. Set it to ~2 minutes in the future and save the changes. In 2 minutes Artemis should send jobs to Athene for segmentation, embedding and clustering based on the submissions you entered. The results are then sent back to Artemis and written onto the Database where the text_block table is updated with the retrieved TextBlock information. For context only, this is what the text_block table usually looks like after the deadline is over:

5.  Select a text block as shown below and increase the number of points:

6. The warning shown in the feedback editor should reflect the number of other textblocks in the same cluster. As you might not be able to see the clusters/database on the test server, submitting 11 identical submissions would be the way to go as the resulting number should be 10 in that case.
Test Coverage

TextAssessmentIntegrationTest.java :
textblock-feedback-editor.component.ts :
Screenshots

Closing as had to move the branch from my Fork to base repo.


1477 - Events Hero

Created the hero module for the events landing page
Additions

Created events hero macro with placeholder content

Changes

Updated summary styles to include event date

Testing

Fetch branch and navigate to /events page

Review

@anselmbradford
@sebworks
@duelj

Preview

Notes

Once the events are created in the backend the first event should be passed to the event hero macro and the placeholder content updated.

@jimmynotjim Love your PR summary template at the beginning!

The two color blue between the event title and event date on hover seems a little off to me:

On hover, the title appears to become more prominent and the date becomes less prominent:

Is this color pattern used elsewhere? Might want to give the title the lighter blue on hover.

I've used this PR template for a few years, only recently thought to make it a gist

Ouch, good call on the :hover state. The title is an existing pattern for the blog hero summary, but I think updating the date from @pacific-50 to @pacific-80 on hover could be enough.

This is looking great, sounds like the hover colors was sorted out and seems right at the 80% for both. The one thing I was curious about the 300px height. In a lot of our designs we had been using a height of about 350px (including the stroke), just wondered if this was set at 300px or if it was just an example. As I started looking around on the refresh site it looksl like the blog is using 400px height even. This might be something we should standardize from a design standpoint too. Interested to hear FEWD thoughts on this.

@duelj I think it's mostly up to Design and what your team wants, but I would caution against trying to set a single standard. The aspect ratio of a hero gets so wide at the max-width that it's going to be difficult to always get something to fit a single height and look good. Additionally, what happens if the card just has to have more text than fits in that height?
That said, it can't be arbitrary, or placing images in it that respond to different sizes reasonably well will be impossible. Maybe a good approach would be select 2 or 3 allowed heights and have a CSS modifier class to adjust the styling for each height as necessary?

The height isn't actually set on any of the heros, it's dynamic, so it all depends on the amount of content within the card (you edit the summary text in the chrome inspector on the blog landing to see this). It just happens there isn't any real content yet so it's super short on the events landing.
We could set a min-height and allow cards with more content than is typical to just expand as needed.  @duelj - what that height should be I'll leave up to you.

Cool,flexible height sounds great. Would it make sense to try and control height by limiting content in the cards?  Like a max character count for the description text, limit on number of links, etc. Would something like that make sense? It could control max and min height that way to a degree.

@duelj The char count in the spec is 200, but what if the intro only contains 100 chars, should we use a min-height or are you ok with the hero being shorter in those situations?

:+1: LGTM


Create deploy key for crates.io

@Turbo87 reported the following in Zulip:

https://github.com/rust-lang/crates.io/pull/7648 implemented support for automatic snapshot archival after git index squashing. I just tried it out, but unfortunately it failed with:

Permission to rust-lang/crates.io-index-archive.git denied to deploy key

Can we extend the permissions of the SSH key to the archive repository? Alternatively, can you give me a deploy key for the archive repo?

A brief investigation revealed that we need to create a new deploy key so that crates.io can access the repositoy.

is this still relevant or can we close this issue? 🤔

yes, it's still relevant, though AFAIU @pietroalbini feels strongly that this should be implemented with GitHub apps instead. I'm personally not convinced yet whether it's worth the complexity though.

Personally, Id' be fine unblocking this in the short-term by creating a deploy key and then adding a new issue to the backlog to review all deploy keys in the organization and see how we can move them to private GitHub Apps.


Update connecting-frontend-backend.md

Error from server (NotFound): deployments.apps "hello" not found

chang hello to backend
Name:                   backend
Namespace:              default
CreationTimestamp:      Sun, 18 Jul 2021 07:33:39 +0800
Labels:                 <none>

/lgtm

/approve


Support tus uploadUrl parameter.

Allows uploading to a tus endpoint if you don't actually get to create
your own upload, like with Vimeo's upload API.
In the future we should make endpoint optional, which involves
changing a bunch of checks throughout the Uploader class, but we can't
do that yet because tus-js-client still requires an endpoint currently.

It seems this needs some TypeScript love still @ifedapoolarewaju @goto-bus-stop :
> tsc -p .
src/server/Uploader.js(165,31): error TS2339: Property 'uploadUrl' does not exist on type '{ endpoint: string; protocol: string; metadata: any; size: number; fieldname?: string; pathPrefix...'.

from: https://travis-ci.org/transloadit/uppy-server/builds/343400917#L3159


Reinvent code editor

SingleLineCodeEditor (for single line code inputs)
ResizableCodeEditor (for multiline code inputs, with resize handle)
FocusCodeEditor (single or resizable, but only after focus)
CodeEditorCell with popover monaco

Other stuff done:

Link everywhere the label with the input (via useFieldset hook)
Change test code for new CodeEditor widgets

Cool implementations.
As an inscription mask programmer, I may not be interested how a script editor is implemented (resizable) or how it behaves (focus). All I know is I need to have a macro input field, script input field, macro text area, script text area. How this is implemented is not important for me and may event change in future. By naming the basic buidling blocks independent of the implementation we can change the implementation later without the need to change all inscription mask once again.
Therefore I would suggest that we introduce these five widgets:
ScriptInput
ScriptArea (ScriptEditor?)
MacroInput
MacroArea (MacroEditor?)
ScriptCellEditor
These are used in the inscription masks. How they are implemented is hidden from the user and may change in future.

Cool implementations.
As an inscription mask programmer, I may not be interested how a script editor is implemented (resizable) or how it behaves (focus). All I know is I need to have a macro input field, script input field, macro text area, script text area. How this is implemented is not important for me and may even change in the future. By naming the basic building blocks independent of the implementation we can change the implementation later without the need to change all inscription mask once again.
Therefore I would suggest that we introduce these five widgets: ScriptInput ScriptArea (ScriptEditor?) MacroInput MacroArea (MacroEditor?) ScriptCellEditor
These are used in the inscription masks. How they are implemented is hidden from the user and may change in future.

I can second that the naming seems to technical right now. I like your proposals ... I'd go with the 'Input/area/cellEdit' naming. At least I'd instantly know which one too choose.


Feature Request: Log trial user attributes on neptune

I want to log on neptune custom trial information, in addition to the one logged automatically.
I think it is enough to log on neptune also the trial user attributes. Actually, I do not understand why user attributes are logged for a study but not for a trial.
Thank you for your help!

Hey @danielecastellana22 👋
Could you explain more about what you mean by user attributes?
You can log custom metadata using the base run: https://docs.neptune.ai/integrations/optuna/#manually-logging-metadata.
Would this help?

Thank you for your prompt response!
I mean the trial user attributes that optuna allows to add during the execution of the objective function:
https://optuna.readthedocs.io/en/stable/tutorial/20_recipes/003_attributes.html#attributes
It would be great if the function _log_single_trial called in NeptuneCallback automatically log the user attributes accessible by  Trial.user_attrs
I hope this help to clarify.

Thanks @danielecastellana22 , this helps!
I'll see if this can be implemented soon ✅

Hey @danielecastellana22 ,
I've created PR #44 to add this feature.
Could you test it and let me know if it works for you?
You can install it using pip install git+https://github.com/neptune-ai/neptune-optuna.git@ss/trial_user_attrs

Yes, it works!
I really appreciate your help!

Cool, thanks for confirming! 🎉
We'll merge and release it sometime this week. ✅
You can start watching this repository to get notified when the release is out 🔔

Hey @danielecastellana22 , thaks again for this feature request!
This has been included in neptune-optuna v1.3.0 🚀


Extensions Sync

Add functionality to sync the installed extensions.
Is this possible?

Closing, as this repository is for the website (dev.opera.com).


Twitch oEmbed's

If you could try and help fixing the before and after tests failing that would be epic @johnnyhuy

If you could try and help fixing the before and after tests failing that would be epic @johnnyhuy

Will do, I'll review it later today. Thanks

Fixed a few things here:
Features

Player URLs work
Channel and video vanity links work
Clips work
Updated broken tests
Fixed some merge conflicts


Limit stack frame captures to at most 100 frames

This places a static limit on the number of frames captured by Wasmtime
to ensure that stack traces, for whatever reason, don't get egregiously
long like the issues we've seen in recently in the windows-2022 CI
upgrade where stack overflow tests caused the system unwinder to report
an infinite stream of frames.
Closes #3858

Oops deleted the source branch by accident. Although actually on second thought I'm going to close this since I don't think that this is the best approach for now.


NuGet Package Not The Same As Demo Code

I ran the demo project and it worked as expected. I then pulled the NuGet package into my own project and installed it. There is an issue with the following properties of the Markdown class:

TableBodyStyle`

TableHeaderStyle

I pulled the code out of the sample, pulled in the xaml namespace and recieve the following warning:

With these 2 styles set the app will not build, if these are removed then the app builds and displays the markdown, without table support.

Consider the following markdown document:
# Markdown

## My Markdown Page

This is great I have rendered some markdown!

 - List Item
 - List Item
 - List Item

Lets render a table!

| Name  | Email           |
|-------|-----------------|
| User1 |<EMAIL_ADDRESS>|
| User2 |<EMAIL_ADDRESS>|

Hooray!

When referencing the NuGet package the following is rendered:

If I pull the code from Markdown.Xaml directly into my project (bypassing the NuGet) then it renders correctly:

Does the NuGet package need rebuilding?

it seems so!

The NuGet package is unofficial; I reached out to the maintainer some time ago to see if I could publish an official one under the same name and haven't heard back.
I have intentions of publishing an official NuGet package under another name. However, as it's something I've never done before, I don't know what's involved, and therefore don't have a timeframe to share.

@theunrepentantgeek I haven't done it before but found instructions at docs.microsoft.com and I would try it if it okay for you?


Sets improvements

This improves our implementation of sets, yielding a 60% reduction in globals computation runtime for a heavy production benchmark, as well as reducing total memory usage by about 10%.
Prior to this, PathMatcher (the data structure behind sets) was largely opaque, and the only way to query the contents was via a very expensive paths() method which copied the paths out into a vector of strings. We now have PathMatcher::Iterator to allow direct iteration over the paths instead, and reimplementing all our sets computations to use that gives us the performance improvements.
Having iterators also sets us up a bit better for future sets optimisations where we share PathMatcher::Nodes between PathMatcher instances using lazy-copy-on-write, because the iterators can be thought of as providing public handles to the internal private nodes.

I've rebased this, and added a fix for the problem David diagnosed in #1282.

PathMatcher fix seems to work

Cool. If there are any worries about merging this whole branch for the next release, just let me know, and I'll backport just that commit onto master.


Use instance UID instead of name in broker op backoff/retry

fixes https://github.com/kubernetes-incubator/service-catalog/issues/2279
Use K8s metadata UID instead of instance name
Delete the instance entry from the retryMap on successful deprovisioning
Clarify debug logging
Either fix 1 or 2 would work, the combination looks like the correct approach.

/test pull-service-catalog-integration

/approve

@jboyd01 thanks for fixing this so quickly!


corrected grammar and spelling.

reworded a few things to improve clarity based on following the process myself.

Sorry for late response. For some reason notification was off for me, I'll review and merge this shortly.

Thanks for feedback and the fixes.
As a non-native speaker it is hard for me to maintain proper wording when communicate with people who has different levels of language proficiency, as a result you might such stupid mistakes like singular/plural mismatch, mixing up present/past forms, etc...
Thanks again, I hope this tutorial was helpful.

Hey, glad to help. Would it make sense to combine the wiki with the godot-dlang/README.md somehow? It seems like there's a good amount of overlap.
Also, is there any documentation on the struct vs class option? If not, I could write up something once I understand it.

It might make sense to refine the main readme, but this guide goes into more details, and a readme is here basically for cases such as "I already know how to do that, just don't remember how to do it exactly" or "whatever, just show me how to use it".
These extra details won't be as useful, but the links for an in depth explanation might do.
The difference of using struct vs classes mostly is a D limitations itself, here is a short list of key features(?):

Using GodotScript wrapper when inheriting Godot base classes is not strictly needed with classes version, but to make your code more compatible it is better to add it
Structs version is a bit more easy on the programmer and often don't need an explicit override keyword unlike classes, though adding it will probably work in both cases
From the user code point of view there shouldn't be any difference between the two

Now of course the performance difference is unknown, in theory modern hardware might favor using pointers(classes version) rather than IDs but without profiling code and cache performance it is impossible to tell which one is faster.
There could be more quirks on using classes with hot reload but that's another issue.


Cannot reproduce results on vllava datasets

Dear authors of VideoLLaMA2,
Thanks for the great work. We tried to reproduce your results on vllava datasets using the latest version of the code. However, we observe a large discrepancy in the three test datasets.

Model
MVBench
Egoschema
ActivityNet
Avg

reported
45.5
42.2
47.6
45.1

reproduced
44.475
38.5
43.55
42.175

We directly use your code, and follow your instructions to download the vllava datasets as well as three test sets, i.e. MVBench, Egoschema, and ActivityNet.
Can you hint at how you achieved the average 45.1 results?
Best
Yijiang

Please adopt the new scripts to train our videollama2 under videollava settings. Previous scripts adopt another projector, which is not consistent with the projector of this experiment.

I am using the lastest. Unless you guys updated within two days.

My results were obatined with the code pulled last weekend.

Please adopt the new scripts to train our videollama2 under videollava settings. Previous scripts adopt another projector, which is not consistent with the projector of this experiment.

Hi Yijiang, my colleague may not state this clearly :joy:  We updated the fine-tuning script this afternoon, please check the latest commit and launch your training jobs (on video-llava dataset) with the new script.

Oh thanks!!! Sorry for the misunderstanding. I will try tonight.

Hi @lixin4ever and @clownrat6,
We have switched to connector-v35 but still cannot reproduce. The results are even lower than the first version.

Model
MVBench
Egoschema
ActivityNet
Avg

reported
45.5
42.2
47.6
45.1

reproduced
44.475
38.5
43.55
42.175

reproduced connector-v35
43.5
35.38
41.48
40.12

We attached all the json files generated here:
config.json
generation_config.json
model.safetensors.index.json
special_tokens_map.json
tokenizer.json
tokenizer_config.json
trainer_state.json

env we use:
name: videollama
channels:

defaults
dependencies:
_libgcc_mutex=0.1=main
_openmp_mutex=5.1=1_gnu
ca-certificates=2024.7.2=h06a4308_0
ld_impl_linux-64=2.38=h1181459_1
libffi=3.4.4=h6a678d5_1
libgcc-ng=11.2.0=h1234567_1
libgomp=11.2.0=h1234567_1
libstdcxx-ng=11.2.0=h1234567_1
ncurses=6.4=h6a678d5_0
openssl=3.0.14=h5eee18b_0
pip=24.0=py39h06a4308_0
python=3.9.19=h955ad1f_1
readline=8.2=h5eee18b_0
sqlite=3.45.3=h5eee18b_0
tk=8.6.14=h39e8969_0
wheel=0.43.0=py39h06a4308_0
xz=5.4.6=h5eee18b_1
zlib=1.2.13=h5eee18b_1
pip:

absl-py==2.1.0
accelerate==0.33.0
aiofiles==23.2.1
aliyun-python-sdk-core==2.15.1
aliyun-python-sdk-kms==2.16.3
altair==5.3.0
annotated-types==0.7.0
anyio==4.4.0
attrs==24.2.0
beautifulsoup4==4.7.1
beautifultable==0.7.0
bitsandbytes==0.43.0
boto3==1.34.158
botocore==1.34.158
bypy==1.8.5
certifi==2024.7.4
cffi==1.17.0
chardet==4.0.0
charset-normalizer==3.3.2
click==8.1.7
contourpy==1.2.1
crcmod==1.7
cryptography==43.0.0
cycler==0.12.1
decorator==4.4.2
decord==0.6.0
deepspeed==0.14.4
dill==0.3.8
distro==1.9.0
docker==3.6.0
docker-pycreds==0.4.0
einops==0.6.1
einops-exts==0.0.4
evalai==1.3.18
exceptiongroup==1.2.2
fastapi==0.112.0
ffmpy==0.4.0
filelock==3.14.0
flash-attn==2.5.8
fonttools==4.53.1
fsspec==2024.6.1
gitdb==4.0.11
gitpython==3.1.43
gradio==3.50.0
gradio-client==0.6.1
grpcio==1.65.4
h11==0.14.0
hf-transfer==0.1.8
hjson==3.1.0
httpcore==0.17.3
httpx==0.24.1
huggingface-hub==0.23.4
idna==2.10
imageio==2.34.0
imageio-ffmpeg==0.4.9
importlib-metadata==8.2.0
importlib-resources==6.4.0
jinja2==3.1.4
jiter==0.5.0
jmespath==0.10.0
joblib==1.4.2
jsonschema==4.23.0
jsonschema-specifications==2023.12.1
kiwisolver==1.4.5
latex2mathml==3.77.0
lxml==4.6.2
markdown==3.6
markdown-it-py==3.0.0
markdown2==2.5.0
markupsafe==2.1.5
matplotlib==3.9.1.post1
mdurl==0.1.2
moviepy==1.0.3
mpmath==1.3.0
multiprocess==0.70.16
networkx==3.2.1
ninja==<IP_ADDRESS>
numpy==1.24.4
nvidia-cublas-cu12==<IP_ADDRESS>
nvidia-cuda-cupti-cu12==12.1.105
nvidia-cuda-nvrtc-cu12==12.1.105
nvidia-cuda-runtime-cu12==12.1.105
nvidia-cudnn-cu12==<IP_ADDRESS>
nvidia-cufft-cu12==<IP_ADDRESS>
nvidia-curand-cu12==<IP_ADDRESS>
nvidia-cusolver-cu12==<IP_ADDRESS>
nvidia-cusparse-cu12==<IP_ADDRESS>
nvidia-ml-py==12.560.30
nvidia-nccl-cu12==2.20.5
nvidia-nvjitlink-cu12==12.6.20
nvidia-nvtx-cu12==12.1.105
openai==1.40.1
opencv-python==<IP_ADDRESS>
openxlab==0.1.1
orjson==3.10.6
oss2==2.17.0
packaging==24.1
pandas==2.2.2
peft==0.4.0
pillow==10.4.0
platformdirs==4.2.2
proglog==0.1.10
protobuf==4.25.4
psutil==6.0.0
py-cpuinfo==9.0.0
pyarrow==17.0.0
pycocotools==2.0.8
pycparser==2.22
pycryptodome==3.20.0
pydantic==2.8.2
pydantic-core==2.20.1
pydub==0.25.1
pygments==2.18.0
pynvml==11.5.3
pyparsing==3.1.2
pysubs2==1.7.3
python-dateutil==2.9.0.post0
python-multipart==0.0.9
pytz==2023.4
pyyaml==6.0.2
referencing==0.35.1
regex==2024.7.24
requests==2.28.2
requests-toolbelt==1.0.0
rich==13.4.2
rpds-py==0.20.0
s3transfer==0.10.2
safetensors==0.4.4
scenedetect==0.6.3
scikit-learn==1.2.2
scipy==1.13.1
semantic-version==2.10.0
sentencepiece==0.1.99
sentry-sdk==2.12.0
setproctitle==1.3.3
setuptools==60.2.0
shortuuid==1.0.13
six==1.16.0
smmap==5.0.1
sniffio==1.3.1
soupsieve==2.5
starlette==0.37.2
svgwrite==1.4.3
sympy==1.13.1
tabulate==0.9.0
tensorboard==2.17.0
tensorboard-data-server==0.7.2
termcolor==1.1.0
threadpoolctl==3.5.0
timm==1.0.3
tokenizers==0.19.1
toolz==0.12.1
torch==2.4.0
torchaudio==2.4.0
torchvision==0.19.0
tqdm==4.65.2
transformers==4.44.2
triton==3.0.0
typing-extensions==4.12.2
tzdata==2024.1
urllib3==1.26.19
uvicorn==0.30.5
validators==0.12.6
videollama2==1.0
wandb==0.17.5
wavedrom==2.0.3.post3
websocket-client==1.8.0
websockets==11.0.3
werkzeug==3.0.3
xformers==0.0.27.post2
zipp==3.19.2
prefix: /share/yijiangli/docker_conda/envs/videollama

Hi, I am going to reproduce this experiment. May I ask how many gpus did you use and how many days it took to run?

Hi @lixin4ever and @clownrat6, We have switched to connector-v35 but still cannot reproduce. The results are even lower than the first version.
Model	MVBench	Egoschema	ActivityNet	Avg
reported	45.5	42.2	47.6	45.1
reproduced	44.475	38.5	43.55	42.175
reproduced connector-v35	43.5	35.38	41.48	40.12

Hi Yijiang, We found that the latest codebase, migrated from the older one (I.e., V1.0) to be better compatible with Qwen2 (and other recent LLMs), indeed suffers from performance degradation when switching the language decoder to Mistral. However, due to the lack of resources, we temporarily have no GPUs to further verify if the code migration leads to this issue. We will continue the verification in early October, please stay tuned.

Hi, I am going to reproduce this experiment. May I ask how many gpus did you use and how many days it took to run?

Two A100/A800 nodes (i.e., 16 GPUs) for < 20 hours (pretraining + fine-tuning)

Hi, I am going to reproduce this experiment. May I ask how many gpus did you use and how many days it took to run?

Two A100/A800 nodes (i.e., 16 GPUs) for < 20 hours (pretraining + fine-tuning)

Also, I just tried using 8xA100 for the pretraining stage, it estimates the pretraining stage will take 48 hours, could you please clarify that the pretraining stage should include both valley and llavaimage dataset?

Yes, both Valley and LLaVA-Image should be included.
Regarding the time cost, I just checked the pretraining log of one run and it took around 8 hours on 2 A800 nodes (i.e., 16 80G-A800s).

Yes, both Valley and LLaVA-Image should be included.
Regarding the time cost, I just checked the pretraining log of one run and it took around 8 hours on 2 A800 nodes (i.e., 16 80G-A800s).

Thank you for your response, may I ask for the checkpoint of the model trained on valley dataset? I am keen to see how it performs on my custom dataset.

Hi, I am going to reproduce this experiment. May I ask how many gpus did you use and how many days it took to run?

I use 8 a800 80G GPUs. local and global batch size follows the scripts.

Hi there, I have finished my experiment to reproduce the result with vllava.

Model
MVBENCH
Egoschema
ActivityNet

reported
45.5
42.2
47.6

reproduce
45.65
43.5
-

I will update the performance of ActivityNet later today, the dataset is still downloading.
I have made TWO modifications:

Finetuning with LoRA, r = 128, alpha = 256
Vllava dataset is downloaded from here

@williamium3000 I compared my trainer_state.json with yours, and noticed your grad_norms are much higher than mine. In addition, my loss values are slightly lower as well.
trainer_state.json
I ran my experiment on a 8 x L40s machine.

Here is Egoschema evolution result from Kaggle.

@zhuqiangLu How to train with lora? Do you mean that you first pretrain on the valley pretrain dataset and then use lora to fine-tune on sft dataset?

@zhuqiangLu How to train with lora? Do you mean that you first pretrain on the valley pretrain dataset and then use lora to fine-tune on sft dataset?

That is right. The pretraining is done on valley dataset with the official script.  I have not tried lora though.

Using v1.0 tag version codebase, I retrain the VideoLLaMA with tcadapterv35 on videollava dataset.
git checkout v1.0
bash scripts/vllava/stc/pretrain.sh
bash scripts/vllava/stc/finetune.sh

The results are:

Model
MVBench
Egoschema

reported
45.5
42.2

reproduce (v1.0 tag)
44.1
41.6

The training loss curve is:

The finetuning loss curve is:

The evaluation results are:

I follow @zhuqiangLu and try to reproduce his result with lora.

Model
MVBENCH
Egoschema
ActivityNet

reported
45.5
42.2
47.6

reproduce by @zhuqiangLu
45.65
43.5
-

my lora
43.625
41.62
44.17

Despite it's higher than the full-finetuning, it's still behind the reported or the results by @zhuqiangLu

I was thinking could it be the dataset? My vllava dataset was downloaded from huggingface, then I simply use the jsons provided by videollama2.

I follow @zhuqiangLu and try to reproduce his result with lora.
Model	MVBENCH	Egoschema	ActivityNet
reported	45.5	42.2	47.6
reproduce by @zhuqiangLu	45.65	43.5	-
my lora	43.625	41.62	44.17
Despite it's higher than the full-finetuning, it's still behind the reported or the results by @zhuqiangLu

Could you please attempt v1.0 tag version code? You can checkout this version by git checkout v1.0, which will achieve higher performance than main branch.

Yeah, we have observed a similar trend. v1.0 does seem better. However, I wondering how @zhuqiangLu achieved such high result. @zhuqiangLu Did you use v1.0 as well?

It was default branch, but now I have no available GPUs for this training, I will update when I finish training with the v1.0 branch.


Metadata feed output

We need a metadata feed output for other repositories to pickup on on publications. I'll look at what the format should be.

What do you exactly mean? An rss feed or a json file? This json file already exists.

Hi J,
This is what I mean.
QUOTE
The OPDS Catalog is a syndication format for electronic publications based on Atom & HTTP. Catalogs enable the discovery, distribution & acquisition of publications. Catalogs use existing or emergent open standards, with a priority on simplicity. See http://code.google.com/p/openpub/
S

The gitbook people tried to tackle some of this:
https://github.com/GitbookIO/opds-builder
https://github.com/GitbookIO/onix-builder

This issue was moved to consortium/hybrid-publishing-research#33


Implement bitmap transcoding for most supported PixelFormats

What does the pull request do?

This PR introduces a new interface (IPixelFormatWriter) for writing pixels of different formats.
The IPixelFormatWriter is then used in the new PixelFormatTranscoder class that allows the transcoding of pixels into a different format.
The previous helper method to transcode a bitmap was replaced by the new component.
What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

[x] Added unit tests (if possible)?
[x] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes

Obsoletions / Deprecations

Fixed issues

You can test this PR using the following package version. 11.0.999-cibuild0039289-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0039307-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0039329-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0039363-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0039381-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0039387-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]


Does the adapter functionality work with accelerate?

As far as I can tell, the adapter functionality relies on the adapterTrainer, which is a re-work of the original trainer. But when using accelerate, you doing initialize a trainer, which makes me think the adapter functionality is not available when using accelerate. Am I correct in this assumption? And will accelerate integration be something happening in the future if that's the case?

Hi @SFuller4, you can also train adapters without the AdapterTrainer. The AdapterTrainer only provides the possibility to train adapters as you would train with the hugging face trainer. But you can also specify your own training script.
We haven't tested whether adapter-transformers works with accelerate. Hence, we don't officially support it. But you can try out whether it works and get back to us if it does not.

This issue has been automatically marked as stale because it has been without activity for 90 days. This issue will be closed in 14 days unless you comment or remove the stale label.

This issue was closed because it was stale for 14 days without any activity.


Tab bar opacity?

Thanks for sharing this amazing control. It's exactly what I needed. I'm having a bit of an issue. The tab bar isn't 100% the color I set it, it's a bit brighter and I want it to be the exact color, no transparency. Where can I change/fix this? Thanks in advance.

Hey @haleyngonadi! Nice that you like the control, thanks :)
At the moment, the colors that you can set are the following:

selectedColor: The color of the selection indicator, and the one that is applied to a button when it's selected.
buttonsBackgroundColor: The background color of the buttons container.
separatorLineColor: The color of the line that separates the buttons with the controllers inside the tab bar controller.

The color of the icons is not changed, so it should be the same that they have in your image assets.
To know a bit more about your issue, what is the color that is being a bit brighter?

Thank you for replying. Here's an example: http://i.imgur.com/E2zAFJm.png The square in the background is set to the same color as the tab bar. Also the navigation bar color is the same as the one of the highlighted tab bar but for some reason, the colors don't end up the same :(
Here are the hexes (#f26969 & #081a23) if you wanna check it out :)

@haleyngonadi I couldn't see anything that might change the opacity of the tab bar. May it be anything else changing the opacity of your inner view controller / navigation bar?
May you try setting both colors of the square and the tab bar to [UIColor blackColor]? Then we can check which one has the correct RGB of (0.0, 0.0, 0.0).

I changed both to black color and they both had the right color. Odd. I wonder what it is when it comes to the other colors? But thanks for your help :)

@haleyngonadi That's weird. We could try with other color, say [UIColor redColor]. That should be a (1.0, 0.0, 0.0) in RGB.

@haleyngonadi I will close this one since we couldn't reproduce it. If you have further examples and any code that you can share to help reproducing it, let me know :)


Support for Spark 3.0 or above

We are looking to use SQL bulk copy with Databricks runtime 7.3, which supports Spark 3.0 and above. Can you please let us know what the plan is to make the Spark SQL connector compatible with at least Spark 3.0?

See https://github.com/microsoft/sql-spark-connector/issues/15

See https://github.com/microsoft/sql-spark-connector/issues/15


Dynamic Public Environment Variables are undefined in +server.ts endpoints

Describe the bug
Hello, I want to start off by thanking everyone involved for their hard work and clever ideas that have brought Svelte and Sveltekit to the points that the projects are at now 🥰
I updated to the latest version of Sveltekit today, and after going through all the migrations and fixing everything, I have one remaining problem in my project, that dynamic public environment variables are not available in +server.ts endpoints.
I made a simple example repository showing the issue. After you install and build it, you can see that the public dynamic is rendered correctly when you navigate to /
If you navigate to /static, the endpoint will return a public and a private static environment variable and display 'working foo'.
If you navigate to /dynamic, the endpoint will return a public and private dynamic environment variable, and should display 'working bar'. However, the public dynamic variable is undefined, so it displays 'undefined bar'.
Reproduction
https://github.com/ssbm-oro/sveltekit-dynamic-public-bug
Logs
No response
System Info
System:
    OS: macOS 12.5
    CPU: (8) arm64 Apple M2
    Memory: 78.63 MB / 24.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.6.0 - /opt/homebrew/bin/node
    npm: 8.13.2 - /opt/homebrew/bin/npm
  Browsers:
    Firefox: 103.0.1
    Safari: 15.6
  npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.64
    @sveltejs/kit: next => 1.0.0-next.411
    svelte: ^3.44.0 => 3.49.0
    vite: ^3.0.0 => 3.0.8

Severity
annoyance
Additional Information
No response

Braindumping my investigation so far: this is happening because vite.ssrLoadModule is loading two instances of both $env/dynamic/private and $env/dynamic/public. One is loaded by the plugin itself, in order to call the internal set_public_env and set_private_env functions before the app starts, and a second instance is loaded by the module that imports it. That second instance has env = {}, because its exported set_[mode]_env function is never called.
In theory they should be resolved to the same place, and Vite should just re-use the existing module. For some reason (possibly a bug in Vite? not 100% sure) that's not happening.
Due to a quirk in the module resolution algorithm, this doesn't happen inside the sveltejs/kit repo, only in apps that have the @sveltejs/kit package installed inside node_modules.

In theory they should be resolved to the same place, and Vite should just re-use the existing module. For some reason (possibly a bug in Vite? not 100% sure) that's not happening.

I don't quite understand this part. Are we importing the modules with two different URLs that should ideally be deduped to one single instance? I can't find how this is happening in the codebase, maybe I'm missing something.

#5955 does not fix this issue on Windows. Here are my findings:
next.405

$env/dynamic/public and $env/dynamic/private work as expected

next.408

both env-objects in $env/dynamic/public and $env/dynamic/private are empty on the server side, $env/dynamic/public work on the client side

next.418

fixes the issues for SSR on Linux, but not on Windows

next.427

Still broken for Windows


Updated documentation for VSphere cpi-config with examples

Updated the page with the format and example for a VSphere multi cpi-config. Also moved the examples from before the CPI Block to after it for a better flow

@findneville do you mind signing CLA to unblock this merge?

Dmitry.. we just signed the CLA on behalf of Comcast. I will resubmit a new
PR.
Thanks!
NEVILLE
On Tue, Nov 7, 2017 at 10:08 PM, Dmitriy Kalinin<EMAIL_ADDRESS>wrote:

@findneville https://github.com/findneville do you mind signing CLA to
unblock this merge?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cloudfoundry/docs-bosh/pull/406#issuecomment-342696702,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGzvgdlQUSTTPHUraSl61qbLjGDfWrmHks5s0RsWgaJpZM4QRFjV
.

I have cancelled the pull request. I will resubmit the same as part of the
Comcast Org in Github.
On Wed, Nov 8, 2017 at 7:21 AM, Neville George<EMAIL_ADDRESS>wrote:

Dmitry.. we just signed the CLA on behalf of Comcast. I will resubmit a
new PR.
Thanks!
NEVILLE
On Tue, Nov 7, 2017 at 10:08 PM, Dmitriy Kalinin<EMAIL_ADDRESS>
wrote:

@findneville https://github.com/findneville do you mind signing CLA to
unblock this merge?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cloudfoundry/docs-bosh/pull/406#issuecomment-342696702,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGzvgdlQUSTTPHUraSl61qbLjGDfWrmHks5s0RsWgaJpZM4QRFjV
.


allow reverse proxy in config

Change Rule to allow Ngnix to be used as reverse Proxy

Failed because of: should raise Puppet::Error with message matching /Cannot define both directory and proxy in a virtual host/ (FAILED - 1)
But that's exactly what this PR allows.


Spawn a new thread for the PDR Generation

PDR generation process is quite dbus intensive & in the systems
with more dbus latency , it is observed that PLDM is blocked
while doing these dbus calls & as these are blocking calls pldm
is blocked & was not responding to host which untimately led to
the PHYP initiating the BMC reboot.
Although this does not completely fix the issue, as this only
unblocks the pldm daemon just for the PDR generation process,
This is just a temperory fix, the more concrete and future proof
solution is to switch to sdbusplus::asio infrastructure.
Tested By:

Power off & power on in loop - PASS
https://sys-openbmc-dev-jenkins.swg-devops.com/job/OpenBMC-Dev/job/test/job/continuous-integration/job/ebmc/job/power_on_off_loop/5/console

Suggested-by: Andrew Jeffery<EMAIL_ADDRESS>Signed-off-by: Manojkiran Eda<EMAIL_ADDRESS>

we dont need this PR anymore (and maintainers are not ready to pull this in ) - as the host bumped up the timeouts.


Warning [vee-validate] rules must be either a string or an object

Versions:

VueJs: 2.5.16
Vee-Validate: 2.1.0-beta.5

Description:
I'm getting the following warning every time I refresh my page.
Warning [vee-validate] rules must be either a string or an object
It started when I updated my VeeValidate to the beta one. In the 2.0.9 it won't show the warning.
I've already checked the entire code looking for some miss use off v-validate but it's all correct (I'm using object form).
Can someone help me?
Thanks!

Can you share the code that triggers this warning? Even better if you can produce it in an online demo to make easier for me to debug or point out any mistakes.

Well, the problem is that my project is huge.
I'll try to reproduce the warning on codepen or create a simple project with my configurations and see if it still heapens.

I get the same thing.  Here's my config:
var validationConfig = {
	aria: true,
	classes: true,
	delay: 100,
	locale: 'en',
	strict: true,
	validity: false,
	rules:'',
	dictionary: {
		en: {
			messages: {
				required: function(fieldName) {
					return fieldName + ' is required.';
				},
				regex: function(fieldName) {
					return 'Please enter a valid ' + fieldName.toLowerCase();
				}
			}
		}
	}
};

VeeValidate.Validator.extend('us-phone', {
	getMessage: function() {
		return 'Please enter a valid US phone number like<PHONE_NUMBER>.';
	},
	validate: function(value) {
		// Returns a Boolean or a Promise that resolves to a boolean.
		// var phoneRegex = /^(\d{3})?\-?(\d{3})\-?(\d{4})$/;
		// return phoneRegex.test(value);
		return !!value.match(/^(\d{3})?\-?(\d{3})\-?(\d{4})$/);
	}
});

Vue.use(VeeValidate, validationConfig);

I made a simples CodePen where the VeeValidate fires the warning.
https://codepen.io/luizhenriquerdias/pen/ERMBOW

Thanks for the small demo, it was resolved and should be up in the next release.


March 28th, 2022 Community Meeting

Please add a topic in this thread and add a link to the GitHub issue associated with the topic.
Please make sure you give folks enough time to review/discuss the topic offline on GitHub before coming into the meeting
(optional) Paste the image of an animal 😸

I would like to briefly introduce CDEvents and discuss a proposal to support them in Shipwright. I would also welcome feedback from the Shipwright community on the existing available "Build" events and their data model.

Idea/future SHIP - shared repository for common scripts/code standards.

"Dolphin Encounter" by Just Taken Pics is marked with CC BY 2.0.

cdCon Virtual CFP - follow up from last week.

Reminder: v0.9.0 is planned to close end of next week.
🐪

/close