This is a staging forum for AgileBits, not an official support forum. Visit http://discussions.agilebits.com instead.

Safari and cPanel logins

dezinerau
edited November 2010 in Mac
I use Safari as my main web browser on the Mac and have been having some issues when trying to connect to cPanel servers while the 1Password plugin is enabled. I can save logins just fine, and it will work exactly once during any browser session. If I logout and try to login again, using the same login or another one, manually entered or using the logins saved in 1Password, it will just continue to prompt me for a login. If I manually enter information that already exists in 1Password, it doesn't recognise this as an existing login and asks me to save it again. The only way I can login to the cPanel server again is to totally quit Safari and then reopen it. I have the same problem when logging in to my Web Host Manager: it works once, but then won't work again before a restart. If I disable the 1Password plugin the logins work just fine.



Both of these use HTTP authentication (the one where the panel slides down, not web form-based authentication), and it doesn't appear to have the same issue in Firefox.



Any ideas? Is this a known issue or am I doing something wrong? I could use Firefox just for working with web servers, but I would rather not if there is an option.

Comments

  • khad
    khad Social Choreographer
    Welcome to the forums, dezinerau. I am sorry you're having this problem.



    Are you having trouble with all HTTP Authentication prompts in Safari or only specific ones? I am trying to reproduce the issue.



    Please let me know. Thanks!
  • Hi guys

    love your products but I have the same issue with CPanel. It works properly with Firefox but not with Safari.



    Is there a way to link a browser to a specific entry in 1Password. Some site are not compatible with safari and I would like to startup right away with the right browser without having to think about it.



    Thanks



    André
  • khad
    khad Social Choreographer
    We are looking into this issue, though it does appear to be a cPanel issue and possibly out of our control. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_worried.png' class='bbc_emoticon' alt=':S' /> Then again, that has never stopped up before. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/laugh.gif' class='bbc_emoticon' alt=':lol:' />



    Consider [url="http://www.choosyosx.com/"]Choosy[/url] for advanced URL handling in OS X. You will be able to set all URLs for a particular domain, for example, to open in a specific browser. There is much in the way of controlling which browser opens when and which URLs. A great app to have even apart from this issue.



    Thanks for your patience while we continue to investigate!
  • MikeT
    MikeT Agile Samurai
    edited December 2010
    Hi [color="#1C2837"][size="2"]dezinerau,[/size][/color]

    [color="#1C2837"] [/color]

    [size="3"][color="#1C2837"][size="2"]Do you have a proxy server on your Mac? Can you temporarily turn it off (You can find this option via Systems Preferences > Network > (Your Currently Connected Network) > Advanced > Proxies) and see if 1Password will work fine with the site afterward?[/size][/color][/size]

    [size="3"][color="#1C2837"] [/color][/size]

    [size="3"][color="#1C2837"][size="2"]Firefox use its own proxy settings apart from Safari, that’s why it can work in Firefox and not in Safari.[/size][/color][/size]

    [size="3"][color="#1C2837"] [/color][/size]

    [size="3"][color="#1C2837"][size="2"]Please let me know.[/size][/color][/size]
  • [quote name='MikeT' timestamp='1291492420' post=‘16948’]Do you have a proxy server on your Mac?[/quote]



    Hi Mike, sorry it took me so long to get back to you.



    No, no proxy.



    As for whether it’s just cPanel, I’m not sure. I tried enabling HTTP authentication on one folder on one website on the server and it would login, but as I couldn’t log out without restarting the browser couldn’t test if it would accept a second login attempt.
  • dteare
    dteare Agile Founder
    [quote name='dezinerau' timestamp='1292565890' post='17767']As for whether it’s just cPanel, I’m not sure. I tried enabling HTTP authentication on one folder on one website on the server and it would login, but as I couldn’t log out without restarting the browser couldn’t test if it would accept a second login attempt.

    [/quote]



    What happens if you restart Safari, login to cPanel first, and then try to login to your server? I'm just wondering if the scenario is Http Auth logins only work once ever, or only once per site. I'm guessing it is per site and you can login to Web Host Manager, cPanel, and your web server. Is that correct?



    The other question I had was does Safari behave correctly when you disable 1Password's Http Auth support? You can configure this in the 1Password > Preferences > Browsers window.



    Please let us know and we'll try to dig further.
  • dteare
    dteare Agile Founder
    [quote name='dezinerau' timestamp='1291017759' post='16358']

    If I logout and try to login again, using the same login or another one, manually entered or using the logins saved in 1Password, it will just continue to prompt me for a login.

    [/quote]





    I wanted to add that there is no way to logout when using Http Authentication. There are a few hacks to get around this problem in the specification, but since they are not supported your milage may vary.



    With that said, I'd still be interested in your results when disabling 1Password's Http Auth support.
  • My server's just been upgraded to CPanel and I can confirm I'm still getting this problem, in Safari only.



    Login to CPanel works first time.

    Log out then log back in doesn't work.

    Either quitting Safari or deleting cookies works (for one more login)



    I went into the prefs and the browsers window, but couldn't find anything on HTTP auth.

    Running 1Pwd 3.5.7



    Cheers
  • khad
    khad Social Choreographer
    Thanks for the additional feedback, pjrobertson.



    [quote]Log out then log back in doesn't work.[/quote]

    As Dave mentioned above, HTTP Auth (Basic Authentication) does not directly support logging out, so you will likely need to restart your browser or clear cookies in order to "log out."



    If you wish to toggle 1Password's appearance in HTTP Auth prompt panels, please use the "Show in authentication panels" option in Preferences > Browsers.



    Do you have different results with that option disabled?
  • pjrobertson
    pjrobertson Member
    edited March 2011
    Disabling 'Show Authentication Panel' in the prefs doesn't do anything.



    Still, when I try to log in for a second time I get exactly the same problem <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/emoticon-0106-crying.gif' class='bbc_emoticon' alt=';(' />



    What's strange is that it works fine in Firefox with 1Password
  • dteare
    dteare Agile Founder
    edited March 2011
    Thanks for the update, pjrobertson.



    [quote name='pjrobertson' timestamp='1298971474' post='21657']

    Disabling 'Show Authentication Panel' in the prefs doesn't do anything.[/quote]



    Just to be clear, Safari needs to be restarted after making this change.



    If the problem persists after restarting, it means it is a WebKit issue and not 1Password. When the "show in authentication panels" option is disabled, we don't make any changes to this part of Safari.



    [quote name='pjrobertson' timestamp='1298971474' post='21657']

    What's strange is that it works fine in Firefox with 1Password

    [/quote]



    Firefox and Safari are completely different and make many different design choices. It could be that Firefox "supports" this type of logout behaviour, but as I mentioned, it's not a standard.



    Sorry I don't have a better answer for you but I guess the good news is you can use Firefox for this site since one of the main reasons 1Password was created was to allow easy switching between web browsers <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/smile.gif' class='bbc_emoticon' alt=':)' />
  • pjrobertson
    pjrobertson Member
    Yep. I did a browser restart and that didn't fix anything <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/sad.gif' class='bbc_emoticon' alt=':(' />



    Looks like it's a problem with WebKit then.

    This'll mean that Chrome won't work as well I guess... I'll have to try it out.





    I guess it could also be something that CPanel themselves should look at. Just moved over to them and this isn't a very good start!
  • khad
    khad Social Choreographer
    I am curious to hear of your results in Chrome. Chrome does not allow extensions to interact with HTTP auth prompts via their APIs, so [url="http://forum.agile.ws/index.php?/topic/2447-http-authentication-prompts-not-yet-supported/"]1Password cannot support them in Chrome[/url]. However, that would be a great place to see if you have a similar problem. It could help narrow it down.
  • I came across this thread while researching the same problem. I can login to cPanel once in Safari, but if I choose to logout, and attempt another login again, the browser simply refreshes the screen and amends the URL to add post_login= and a number. I'm not using 1Password, but Keychain to store usernames and passwords.



    I've just switched to a web host that uses cPanel and I plan to be in there frequently. This is not good news to hear Safari has issues in this area.



    Any insights would be appreciated when they arise.
  • khad
    khad Social Choreographer
    edited March 2011
    Welcome to the forums, Auggie. It sounds like you are confirming that this is a cPanel issue unrelated to 1Password since you are not using 1Password. Thank you for taking the time to share that information!



    In fact, another user just made us aware of his own contact with cPanel support in which they said:



    [quote]You are only allowed to have one open cPanel session at a time as well as one open WHM session. Unfortunately, you cannot logon to multiple cPanel accounts at the same time. You could use two *completely* separate browsers (such as one session in Firefox, one in Internet Explorer or Safari) to accomplish this, however.



    So it appears you will have to continue to manage one account at a time.[/quote]



    That could also have an effect on this discussion for some folks. Another possible wrench in the gears, so to speak. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_worried.png' class='bbc_emoticon' alt=':S' />