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

Exception reading proxy settings with "Auto Proxy Discovery" enabled #8409

Closed
cyberduck opened this issue Dec 10, 2014 · 7 comments
Closed

Exception reading proxy settings with "Auto Proxy Discovery" enabled #8409

cyberduck opened this issue Dec 10, 2014 · 7 comments

Comments

@cyberduck
Copy link
Collaborator

@cyberduck cyberduck commented Dec 10, 2014

02d712f created the issue

I upgraded to 4.6 today (I believe I was on 4.5.x previously), and now I am unable to connect to any FTP / SFTP server. I tried using bookmarks that worked prior to upgrading, as well as the Open Connection dialog. I removed the preferences .plist file and reinstalled the app but still encounter the error.

When you click Connect, the message 'Opening SFTP connection to [...]' appears for a few milliseconds in the bottom status bar then silently fails.

There is no output in the Log Drawer, but the exception backtrace does appear in Console.app:

Cyberduck[2274]: [background-1] FATAL ch.cyberduck.ui.AbstractController - Unhandled exception running background task Expected scheme name at index 0: ://(null):(null)
	
	java.lang.IllegalArgumentException: Expected scheme name at index 0: ://(null):(null)
		at java.net.URI.create(URI.java:859)
		at ch.cyberduck.core.SystemConfigurationProxy.find(SystemConfigurationProxy.java:67)
		at ch.cyberduck.core.ProxySocketFactory.factory(ProxySocketFactory.java:70)
		at ch.cyberduck.core.ProxySocketFactory.createSocket(ProxySocketFactory.java:89)
		at net.schmizz.sshj.SocketClient.connect(SocketClient.java:49)
		at net.schmizz.sshj.SocketClient.connect(SocketClient.java:57)
		at ch.cyberduck.core.sftp.SFTPSession.connect(SFTPSession.java:160)
		at ch.cyberduck.core.sftp.SFTPSession.connect(SFTPSession.java:123)
		at ch.cyberduck.core.sftp.SFTPSession.connect(SFTPSession.java:75)
		at ch.cyberduck.core.Session.open(Session.java:112)
		at ch.cyberduck.core.LoginConnectionService.connect(LoginConnectionService.java:151)
		at ch.cyberduck.core.LoginConnectionService.check(LoginConnectionService.java:98)
		at ch.cyberduck.core.LoginConnectionService.check(LoginConnectionService.java:105)
		at ch.cyberduck.core.threading.SessionBackgroundAction.connect(SessionBackgroundAction.java:198)
		at ch.cyberduck.ui.threading.BrowserBackgroundAction.connect(BrowserBackgroundAction.java:59)
		at ch.cyberduck.core.threading.SessionBackgroundAction.call(SessionBackgroundAction.java:166)
		at ch.cyberduck.ui.AbstractController$BackgroundCallable.call(AbstractController.java:171)
		at java.util.concurrent.FutureTask.run(FutureTask.java:262)
		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
		at ch.cyberduck.core.threading.NamedThreadFactory$1.run(NamedThreadFactory.java:58)
		at java.lang.Thread.run(Thread.java:724)
	Caused by: java.net.URISyntaxException: Expected scheme name at index 0: ://(null):(null)
		at java.net.URI$Parser.fail(URI.java:2829)
		at java.net.URI$Parser.failExpecting(URI.java:2835)
		at java.net.URI$Parser.parse(URI.java:3027)
		at java.net.URI.<init>(URI.java:595)
		at java.net.URI.create(URI.java:857)
		... 21 more

Attachments

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Dec 10, 2014

@dkocher commented

Can you please make a screenshot of your proxy settings in System Preferences → Network → Advanced… → Proxies and attach it here.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Dec 10, 2014

@dkocher commented

In cedfc62.

@cyberduck cyberduck closed this Dec 10, 2014
@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Dec 10, 2014

@dkocher commented

Please update to the latest snapshot build available and let me know if that fixes the issue.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Dec 10, 2014

02d712f commented

Thanks for the fast response! The latest snapshot build resolved the issue. I've also attached my proxy settings to the ticket.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Dec 10, 2014

@dkocher commented

Replying to [comment:5 peter huss]:

Thanks for the fast response! The latest snapshot build resolved the issue. I've also attached my proxy settings to the ticket.

Thanks for providing the details of your configuration.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Dec 12, 2014

@dkocher commented

#8417 closed as duplicate.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Dec 12, 2014

@dkocher commented

Fix reading type regression from b5e79d7. Handle failures parsing proxy URL and fail silently with direct connection in 1c76796.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant