1Password 6 Beta - Proxy problems [Cannot enter your proxy details yet, will fix]
I have 1Password 6 beta installed on my work laptop. My office has a proxy server, which is configured in Internet Options. When i try add my 1Password for Families account to 1Password 6, i get an error that says "Unable to sign in, please check details provided and your network connection". I suspected it was a proxy issue and confirmed when looking at the logs. The log file shows this error:
System.Net.WebException, The remote server returned an error: (407) Proxy Authentication Required., at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)!
Failed to lookup!
1Password Version: 6
Extension Version: Not Provided
OS Version: Windows 7
Sync Type: 1Password for Families
Comments
-
Hi @rcork,
We've just added automatic proxy detection support in the latest app update, 169d, please restart the app to install the latest update. If you don't have it installed anymore, you can find it here: https://rink.hockeyapp.net/apps/0cb99692bcdb47abb89fad56dfd56d0c/
Let me know if this works now.
0 -
I´ve installed the 169d today, and now no more Sync ist working. It doesn´t matter which Proxy-Setting ist set.
Since this 169d-Update the "no Proxy / Direct Connection" in the Systemsettings doens´t work anymore. :(0 -
Hi,
Release 169d installed on my work PC. Proxy settings detected : I'm now able to sync with my Family Vaults, through corporate proxy.
Thanks a lot.0 -
Sorry, Wrong Alert!
The Sync via "Auto-Proxy" works perfect!
I was confused, because the "Search" in the "1Password 6 Beta" not search in the "Username-Fields", it search only in the "Login-Name-Fields".
In the "Browser-Version" and the Android-App it is possible to search the "Login-Name-Fields" too.Is this a Bug in the Beta right?
0 -
Hi guys,
Thanks for the confirmations, I'm glad we're making progress in the right direction. We still have some work to do in this area such as supporting PAC files but hopefully, that will be a quick fix.
@Wiggerl, full text search is not yet implemented in the 1Password 6 Beta app, it only searches for the title and the tags right now. We do plan to implement this but I don't have a timeframe on this.
0 -
I'm still unable to connect through my corporate proxy. In Windows Internet Options, i have manually configured proxy server and port. I'm not using a PAC file or the "Automatically detect settings" option. My company uses NTLM authentication (windows credentials). Could that be the issue? The log file still shows:
System.Net.Http.HttpRequestException, An error occurred while sending the request., at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at AgileBits.OnePassword.Framework.HttpExtensions.<ResponseAsync>d__12.MoveNext() in C:\code\onepassword-rt\AgileBits.OnePassword.Shared\Framework\HttpExtensions.cs:line 278!HTTP ERR 0x80131509, System.Net.WebException, The remote server returned an error: (407) Proxy Authentication Required., at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)! Failed to lookup!
0 -
Hi @rcork,
Unfortunately, yes, that would cause it to error out as it can't get your credentials to use the proxy.
There might be a workaround for this, could you email us that log to support+windowsbeta@agilebits.com and let us know here when you've sent the email, so we can confirm we got it.
0 -
Log file sent
0 -
Thanks, I've got your email and replied to it.
0 -
Hello,
I am also trying to use 1 password on Windows behind a proxy w/ a pac file. When I try to log into my account, I get 'unable to sign in, check your network'. I got the credentials from scanning a pac file and I know my master password, so they should be good.
I do not even find a screen to enter any proxy settings. If pac files don't work yet, manual proxy settings would be workaround.
Here is my log:
2016-08-01T16:57:47 #Launched at 01.08.2016 16:57:47 +02:00. (0,72 sec) 2016-08-01T16:57:47 1Password 6.0.183d. Environment 4.0.30319.42000. OS Microsoft Windows NT 6.1.7601 Service Pack 1. Platform Win32NT. 64 bit OS = True. 64 bit process = True. 2016-08-01T16:57:47 Deleted previous log file. 2016-08-01T16:57:47 Arguments=. 2016-08-01T16:57:47 Database started: schema=9. (0,06 sec) 2016-08-01T16:57:47 Using database C:\Users\U898296\AppData\Local\1Password\20160514.sqlite. 2016-08-01T16:57:47 Saving log messages: 7. 2016-08-01T16:57:47 Registering system wide hotkey for Ctrl+Alt+# with virtual key code 223. 2016-08-01T16:57:47 Error 80070581 registering 0x3+0xdf hotkey/0! 2016-08-01T16:57:47 Checked helper registration. (0,00 sec) 2016-08-01T16:57:47 Provisional database key is ready. 2016-08-01T16:57:47 Deleted 2 accounts as part of making provisional database key. 2016-08-01T16:57:47 Routed to op://show. (0,02 sec) 2016-08-01T16:57:47 Redirected to welcome for op://show as there is no app key. 2016-08-01T16:57:47 A6 is a FolderAccount with UUID eeac3585cc3b44a083a9763810d970c3. 2016-08-01T16:57:47 Attempting to listen at 6263... 2016-08-01T16:57:54 Routed to op://signin. (0,04 sec) 2016-08-01T16:57:57 Saving log messages: 18. 2016-08-01T16:57:59 Decoded QR_CODE bar code. (0,09 sec) 2016-08-01T16:58:04 A7 is a TeamAccount with UUID . 2016-08-01T16:58:04 A7 decrypted 0/0 keys. (0,00 sec) 2016-08-01T16:58:04 No JSON from GET https://my.1password.com/api/v1/auth/ol______n%40g__.de/wthbejk77nzxwkefcj4x37hete/- with error 0x80131500 and message An error occurred while sending the request.! (0,01 sec)HTTP ERR 0x80131500, System.Net.Http.HttpRequestException, An error occurred while sending the request., at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at AgileBits.OnePassword.Framework.HttpExtensions.<ResponseAsync>d__12.MoveNext() in C:\code\onepassword-rt\AgileBits.OnePassword.Shared\Framework\HttpExtensions.cs:line 281!HTTP ERR 0x80131509, System.Net.WebException, The remote name could not be resolved: 'my.1password.com', at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)! 2016-08-01T16:58:04 Failed to lookup! 2016-08-01T16:58:11 Saving log messages: 24.
Greetings,
Ole0 -
Hi @cinocode,
The next update should work with your settings out of the box. Please try this and let me know if it helps:
Open Start, search for NotePad, right-click on it to select Run as Administrator
In NotePad, go to the File Menu > Open, on the bottom right next to the file name, change from Text Documents (*.txt) to All Files (*.*), and then open this file: Program Files (x86) > 1Password 6 > AgileBits.OnePassword.Desktop.exe.config
Search for the
<defaultProxy>
block and modify it to this:
<defaultProxy useDefaultCredentials="true"> <proxy autoDetect="True"/> </defaultProxy>
Once you save it, restart the 1Password app, and see if you can connect now.
0 -
No, I already tried that. :(
My proxy has username and password if that makes a difference.
0 -
Hi @cinocode,
Is it stored in the Windows' Credential Manager? Are you actually entering it each time you open your browser?
1Password 6 Beta right now does not have a place to enter your username/password for the proxy, it would use the stored credentials that Windows have.
0 -
Is there a method for manually configuring the proxy server (name/port) or to have 1Password6 just use the system-wide proxy (netsh winhttp set proxy method)? On my system with the system-wide proxy configured, 1Password6 isn't using it... I can see it attempting to connect direct. I saw there's a proxy username/password option but no explicit way to define the proxy server connection details.
0 -
Think I found the answer. Since 1P6 is written in .NET I looked up how to specify a proxy in a .NET config and found the following article:
https://msdn.microsoft.com/en-us/library/dkwyc043(v=vs.110).aspxI changed the proxy section to the following:
<defaultProxy> <proxy proxyaddress="http://myproxyserver:8888" /> </defaultProxy>
It still seems to want to try to make a direct connection for something but it does eventually come up with a successful connection to our Team account. Subsequent uses of 1P6 seem to work just fine.
0 -
Hey @kdnel, it sounds like you were able to get things working, but there's a piece of your last message I cannot see and I'm not sure exactly what was changed to get things fixed.
In any case, if you find 1Password having trouble connecting again, drop us a line and we'll do our best to make things more seamless for you.
0 -
Hi, don't know if it help but I had same issue
netsh winhttp show proxy
says me "direct access" but I know I have a proxy. So I changed the proxy settings to the following :<defaultProxy useDefaultCredentials="false"> <proxy autoDetect="False" usesystemdefault="False" /> </defaultProxy>
And it works0 -
Hi @magiccyril,
That would explain why 1Password couldn't connect by default, the system is saying "no proxy, direct access" to 1Password and so we do the same. Unfortunately, we're seeing a few cases where proxy setups aren't passed on to us properly by Windows.
Hopefully, once we add more fields to the proxy settings view, it'll let you connect without having to deal with the config file.
0