Skip to content
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

SSLHandshakeException #7

Open
Syntaxrabbit opened this issue Jun 27, 2022 · 1 comment
Open

SSLHandshakeException #7

Syntaxrabbit opened this issue Jun 27, 2022 · 1 comment

Comments

@Syntaxrabbit
Copy link

Syntaxrabbit commented Jun 27, 2022

Seems like it does not run (anymore)?

  • Client Win7 machine
  • Host Win10 machine
  • DNS for channel-service.upc.ubi.com set to IP of Win10 machine in router configuration

GET https://channel-service.upc.ubi.com/v1/profiles/me/channels?membershipType=ACTIVE&spaceId=c0539e9c-90ab-4af8-a2d6-ef7b3883f430 -> javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Any hints to which information is needed for debugging? Thank you in advance.

Edit:

An unexpected error occured!
Please report this to the creator of the program!

ubisoftconnect-win7fix
com.iosoft.helpers.WrapException: Casting problem for object: java.lang.IllegalArgumentException: Illegal character(s) in message header field: :authority
	at sun.net.www.protocol.http.HttpURLConnection.checkMessageHeader(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.isExternalMessageHeaderAllowed(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.setRequestProperty(Unknown Source)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.setRequestProperty(Unknown Source)
	at com.iosoft.ubiconfor.WebRequester.getResponse(WebRequester.java:32)
	at com.iosoft.ubiconfor.UbisoftConnectForwarder.lambda$23(UbisoftConnectForwarder.java:392)
	at com.iosoft.helpers.async.Async.wrapException(Async.java:191)
	at com.iosoft.helpers.async.Async.lambda$14(Async.java:203)
	at com.iosoft.helpers.async.dispatcher.DaemonThreadWorkDistributor.lambda$0(DaemonThreadWorkDistributor.java:39)
	at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.ClassCastException: java.lang.IllegalArgumentException cannot be cast to java.io.IOException
	at com.iosoft.helpers.async.Task.lambda$7(Task.java:134)
	at com.iosoft.helpers.async.Task.call(Task.java:51)
	at com.iosoft.helpers.async.Task.call(Task.java:1)
	at com.iosoft.helpers.async.TaskBase.complete(TaskBase.java:118)
	at com.iosoft.helpers.async.Task.lambda$0(Task.java:44)
	at com.iosoft.helpers.async.TaskSource.setResult(TaskSource.java:24)
	at com.iosoft.helpers.async.dispatcher.DaemonThreadWorkDistributor.lambda$2(DaemonThreadWorkDistributor.java:74)
	at com.iosoft.helpers.async.dispatcher.Dispatcher.runSafe(Dispatcher.java:122)
	at com.iosoft.helpers.async.dispatcher.Dispatcher.lambda$0(Dispatcher.java:90)
	at com.iosoft.helpers.async.dispatcher.BufferedDispatcher.onDispatch(BufferedDispatcher.java:52)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
@TheRealAyCe
Copy link
Owner

TheRealAyCe commented Jun 29, 2022

You shouldn't change any DNS configuration. The fix automatically updates your hosts file when it's started and when it's turned off again. If you redirect the address in your router, it cannot ever make a proper request to the Ubisoft server. Once you remove that, even the current version should work correctly for you. Maybe I need to be clearer about this in the description.

The current version of the fix does not support a "Win7->Win10->Ubisoft server" setup at the moment, though I had planned to add that mode. So instead you should just use the fix on the Win7 machine.

The error in the program is interesting, I'll fix that. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants