cancel
Showing results for 
Search instead for 
Did you mean: 

-Solved- First time Oculus Setup run "Can't Connect"

Amantis
Honored Guest
I've read:
 "The issue is rarely a matter of connectivity. The setup app uses this message to indicate any pre-flight error. It CAN be connectivity (I've seen an SSL cert issue throw it), but to know for sure, open %userprofile%/AppData/Local/Oculus/OculusSetup.log"

So I'm going to attach my log at the bottom of this post.  Let me also list the basic solutions I've tried too.
I've completely disabled all Antivirus and Anti-Malware, restarted my router and rebooted the PC.  I have 38.2gb of available space, I'm using the default install location, my partition is basic, my connection is strong (ethernet cable) and so is my network, and the date/time is accurate.

This PC is connected via ethernet cable so unfortunately I can't change networks, but I was able to install the setup just fine using a different computer on this network.  That different computer is a crappy laptop though so I can't use my Oculus with it.

[Debug] [9/25/2017 9:09:22 PM] Starting up OculusSetup v1.16.0.0.
[Debug] [9/25/2017 9:09:22 PM] Command-line arguments:  []
[Debug] [9/25/2017 9:09:23 PM] Setting locale to 'en_US'.
[Debug] [9/25/2017 9:09:23 PM] Setup action:  Install.
[Debug] [9/25/2017 9:09:23 PM] Created secure temp directory at 'C:\Users\Amantis\AppData\Local\Temp\OculusSetup-bb8041ea-d3e0-4d27-862a-d48bda810a21'.
[Debug] [9/25/2017 9:09:23 PM] Extracting asset 'libeay32.dll'.
[Debug] [9/25/2017 9:09:23 PM] Extracting asset 'ssleay32.dll'.
[Debug] [9/25/2017 9:09:23 PM] Extracting asset 'DaybreakNative.dll'.
[Debug] [9/25/2017 9:09:23 PM] Extracting asset 'OafIpc.dll'.
[Error] [9/25/2017 9:09:23 PM] Exception hashing certificate:
System.MissingMethodException: Method not found: 'Void System.Runtime.InteropServices.Marshal.StructureToPtr(!!0, IntPtr, Boolean)'.
   at Daybreak.Net.Wincrypt.ExportAsn1PublicKey(X509Certificate2 netCert)
   at Daybreak.Net.CertificatePinner.ComputeCertificateHash(X509Certificate2 cert)
[Error] [9/25/2017 9:09:23 PM] Exception hashing certificate:
System.MissingMethodException: Method not found: 'Void System.Runtime.InteropServices.Marshal.StructureToPtr(!!0, IntPtr, Boolean)'.
   at Daybreak.Net.Wincrypt.ExportAsn1PublicKey(X509Certificate2 netCert)
   at Daybreak.Net.CertificatePinner.ComputeCertificateHash(X509Certificate2 cert)
[Error] [9/25/2017 9:09:23 PM] Exception hashing certificate:
System.MissingMethodException: Method not found: 'Void System.Runtime.InteropServices.Marshal.StructureToPtr(!!0, IntPtr, Boolean)'.
   at Daybreak.Net.Wincrypt.ExportAsn1PublicKey(X509Certificate2 netCert)
   at Daybreak.Net.CertificatePinner.ComputeCertificateHash(X509Certificate2 cert)
[Warning] [9/25/2017 9:09:23 PM] Couldn't validate certificate chain:  <-  <- 
[Debug] [9/25/2017 9:09:23 PM] Full chain details:
Chain element 0:
[Subject] CN=*.oculus.com, O="Facebook, Inc.", L=Menlo Park, S=CA, C=US
[Issuer] CN=DigiCert SHA2 High Assurance Server CA, OU=www.digicert.com, O=DigiCert Inc, C=US
[Serial Number] 08EB099C2344D6F75F1907A8EEACF476
[Not Before] 7/13/2017 7:00:00 PM
[Not After] 10/23/2017 7:00:00 AM
[Thumbprint] 5982A5580E191BC0EC6B54CC6548FC6045BF6008
Chain element 1:
[Subject] CN=DigiCert SHA2 High Assurance Server CA, OU=www.digicert.com, O=DigiCert Inc, C=US
[Issuer] CN=DigiCert High Assurance EV Root CA, OU=www.digicert.com, O=DigiCert Inc, C=US
[Serial Number] 04E1E7A4DC5CF2F36DC02B42B85D159F
[Not Before] 10/22/2013 7:00:00 AM
[Not After] 10/22/2028 7:00:00 AM
[Thumbprint] A031C46782E6E6C662C2C87C76DA9AA62CCABD8E
Chain element 2:
[Subject] CN=DigiCert High Assurance EV Root CA, OU=www.digicert.com, O=DigiCert Inc, C=US
[Issuer] CN=DigiCert High Assurance EV Root CA, OU=www.digicert.com, O=DigiCert Inc, C=US
[Serial Number] 02AC5C266A0B409B8F0B79F2AE462577
[Not Before] 11/9/2006 6:00:00 PM
[Not After] 11/9/2031 6:00:00 PM
[Thumbprint] 5FB7EE0633E259DBAD0C4C9AE6D38F1A61C7DC25

[Warning] [9/25/2017 9:09:23 PM] SSL certificate failed validation!
[Error] [9/25/2017 9:09:23 PM] Error fetching / parsing config.\nSystem.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
   at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
   at System.Net.PooledStream.EndWrite(IAsyncResult asyncResult)
   at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
   --- End of inner exception stack trace ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Daybreak.Net.Networker.<GetString>d__8.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at System.Threading.Tasks.Task`1.get_Result()
   at Daybreak.Bootstrap.NetworkConfigFetcher.FetchConfigJson()
   at Daybreak.Bootstrap.Config..ctor(IConfigFetcher fetcher)
   at Dawn.DawnSession.InitialiseAsync()
---> (Inner Exception #0) System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
   at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
   at System.Net.PooledStream.EndWrite(IAsyncResult asyncResult)
   at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
   --- End of inner exception stack trace ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Daybreak.Net.Networker.<GetString>d__8.MoveNext()<---

[Debug] [9/25/2017 9:09:25 PM] Initialising Analytics.
[Debug] [9/25/2017 9:09:25 PM] Querying machine metadata.
[Debug] [9/25/2017 9:09:25 PM] Anti-virus found: avast! Antivirus(262144, Disabled, Up-to-date)
[Debug] [9/25/2017 9:09:25 PM] Starting preflight checks.
[Debug] [9/25/2017 9:09:25 PM] RunCheck 'Dawn.Preflight.ConfigInitialisedCheck' failed.
[Error] [9/25/2017 9:09:25 PM] Aborting installation due to failed preflight check.
[Error] [9/25/2017 9:09:33 PM] Uncaught setup task exception!
System.NullReferenceException: Object reference not set to an instance of an object.
   at Daybreak.Net.MarauderClient.<Runloop>d__17.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 Daybreak.Net.MarauderClient.<Shutdown>d__15.MoveNext()
[Debug] [9/25/2017 9:09:33 PM] Removing working directory.
[Debug] [9/25/2017 9:09:33 PM] Exiting with code 1.

Edit: My solution, upgrade to windows 10, or reinstall windows. There must have been a corrupt system file or process.
2 REPLIES 2

cybereality
Grand Champion
You need at least 4GB free on C drive and 120GB free on the game install folder drive.
AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV

Amantis
Honored Guest
Thanks, cybereality, I actually got it to work by upgrading from windows 7, to windows 10.  Didn't free up extra space or anything. Not sure why that fixed it, some system problems I guess.  New problem is blackscreen on the rift, but Home audio (water sloshing sound) working. I'm assuming that's just my video card (gtx 560ti) not being good enough though and I'm awaiting a new card.