New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Failed to connect" v2.99.0 on OSX #110
Comments
|
Same error here |
|
What version of OSX? Any other system info might help us debug. Also clarify if there's any current or legacy core clr tools installations on the box. Our intent is for the OSX drop to be fully self contained ... |
|
OS X 10.11.4 No dotnet CLI installed Anything else I should check? |
|
Investigating. Only diff I see is my two OSX machines are 10.11 and 10.11.4 |
|
For what is worth - I had same issue and after investigating, I found that a pre-req for .Net Core is OpenSSL...I installed OpenSSL via brew and got past that error...unfortunately now I am fighting to get the build process to find xbuild and nuget...I have updated my PATH env variable and verified that I can execute xbuild and nuget from Terminal just fine. Currently stuck with error "nuget was not found in the path."...any suggestions on how to debug the path being searched? Also - I am running OS X 10.11.4 |
|
@danbridgellc - correct, but @cschwarz noted that he had OpenSSL 0.9.8. What version do you have? Mine works. On our machines, we have: $ openssl version
OpenSSL 1.0.2f 28 Jan 2016Regarding PATH (open a separate issue to discuss deeper but quickly) it depends if you are running as a service. When you choose run as a service, we simply generate a plist file. Run ./svc.sh status to see where. In that plist is the path env. You can edit. In node agent, we snapshotted your PATH when writing that. Still not perfect since it doesn't reflect future change (edit it), but better than now. I'm thinking I will output then when configuring. If not running as a svc, we should investigate. Tasks are tool runners and tools are found by running which so they need to be in your path |
|
I was able to repro on a mac which had 0.9.8. I updated the instructions here and confirmed it fixed it. I tested on OSX 10.10 and 10.11 https://github.com/Microsoft/vsts-agent/blob/master/docs/preview/latebreaking.md |
|
Yes I am running OpenSSL 1.0.2g 1 Mar 2016 Regarding PATH - yes I was running as service and found the .plist file where I could modify so I am good for now, thanks! |
|
same error on my customer's machine. it is then I tried brew update. brew install openssl as suggested. just below error comes: uodateing homebrew... my god, it takes so newly version Xcode 8.3.2? the customer didn't want to upgrade to xcode 8.3.2 as they concern the compatible. if we delete the Xcode.I think the build doesn't work, so, what should I do? |
|
thanks. I solved it. some tricky. |
|
I think im seeing this issue on High Sierra 10.13 :
expected output: actual output: |
|
@mgj can you try run |
|
@TingluoHuang thanks for your response. I can run I have opened #1007 which contains the log you asked for as well as the Agent diag log |
|
Thanks for opening the other issue. The segmentation fault is not related to this issue. |
|
Ok. Please let me know if there is any more info you need from me |
tls 1.2 update
Trying the latest preview release but getting the following error after entering PAT:
System.TypeInitializationException: The type initializer for 'System.Net.Http.CurlHandler' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Http' threw an exception. ---> System.TypeInitializationException: The type initializer for 'HttpInitializer' threw an exception. ---> System.TypeInitializationException: The type initializer for 'CryptoInitializer' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'System.Security.Cryptography.Native': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
at Interop.CryptoInitializer.EnsureOpenSslInitialized()
at Interop.CryptoInitializer..cctor()
--- End of inner exception stack trace ---
at Interop.CryptoInitializer.Initialize()
at Interop.HttpInitializer..cctor()
--- End of inner exception stack trace ---
at Interop.HttpInitializer.Initialize()
at Interop.Http..cctor()
--- End of inner exception stack trace ---
at Interop.Http.GetSupportedFeatures()
at System.Net.Http.CurlHandler..cctor()
--- End of inner exception stack trace ---
at System.Net.Http.CurlHandler..ctor()
at System.Net.Http.HttpClientHandler..ctor()
at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler..ctor(VssCredentials credentials, VssHttpRequestSettings settings)
at Microsoft.VisualStudio.Services.Client.VssConnection..ctor(Uri baseUrl, VssCredentials credentials, VssClientHttpRequestSettings settings)
at Microsoft.VisualStudio.Services.Agent.Util.ApiUtil.CreateConnection(Uri serverUri, VssCredentials credentials)
at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.ConfigurationManager.d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.ConfigurationManager.d__7.MoveNext()
Are there any prerequisites that needs to be installed?
The text was updated successfully, but these errors were encountered: