sahostking Posted August 20, 2020 Share Posted August 20, 2020 Do any of you have issues with WHMCS connect working with the new google chrome version. Cant seem to load it just fails but if I run it via Edge it works. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Dan Posted August 20, 2020 Share Posted August 20, 2020 If you're finding the WHM frame does not load in. WHMCS connect, this indicates that a server side X-Frame-Option is preventing WHM from being loaded within an iFrame by WHMCS. The server configuration must be adjusted to allow this in order for WHMCS Connection to function. This can be adjusted per the cPanel Docs: https://documentation.cpanel.net/display/82Docs/Tweak+Settings+-+Security#TweakSettings-Security-UseX-Frame-OptionsandX-Content-Type-Optionsheaderswithcpsrvd in Server Configuration > Tweak Settings > Security > ‘Use X-Frame-Options and X-Content-Type-Options headers with cpsrvd’ Please try these adjustments to see if this resolves your issue? 0 Quote Link to comment Share on other sites More sharing options...
bluesteam Posted August 26, 2020 Share Posted August 26, 2020 (edited) @WHMCS Dan If you are correct, it would be happeing in all browsers?? no? I am also seeing this after the latest chrome. I tried it in firefox and it works 100%. but not in chrome anymore. I keep getting kicked back to the login screen. https://prnt.sc/u6a1vj Edited August 26, 2020 by bluesteam 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Dan Posted August 26, 2020 Share Posted August 26, 2020 @bluesteam Different browsers implement things slightly differently, some taking a stricter stance on X-Frame options than others for example. Can you confirm if this issue persists after changing the settings in WHM? 0 Quote Link to comment Share on other sites More sharing options...
bluesteam Posted August 26, 2020 Share Posted August 26, 2020 @WHMCS Dan I don't have root access to the server so I cannot change that setting. But what bugs me is I have been using WHMCSConnect FOREVER and only since the latest version of Chrome has this been happening... So, WHMCS should alter their cookie to cater for the SameSite setting by chrome. I will find out from the hosts if they can investigate this. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Dan Posted August 26, 2020 Share Posted August 26, 2020 Hi @bluesteam This isn't something we control as the issue relates to the permissions for cross-site and x-frame settings between WHMCS and WHM so we don't have full control here when Chrome decides to change the way they handle these security settings by default or, how the administrator of the server chooses to intentionally restrict the ability to include WHM in Frames. 0 Quote Link to comment Share on other sites More sharing options...
bluesteam Posted August 26, 2020 Share Posted August 26, 2020 (edited) @WHMCS Dan but didn't cPanel buy a LARGE stake in WHMCS?? Surely the two companies should now be working together to resolve something like this? To say that you can't do anything about it when Chrome decides to change the way they handle security is like saying that if WHMCS breaks because of something Chrome changed then ... well... pffff... tough ...it's broken?? That's a very strange thing to say Dan. Whenever these changes come along, developers have to adapt their code and seeing as though cPanel and WHMCS are now working together, they should both be looking at this problem. Sure, if the admin manually disables it then fine but this is happening now on more than one server that I connect to. Which means that WHMCS and cPanel need to release a patch or something to fix it or remove the WHMCSConnect altogether on Chrome and tell the community that Chrome broke the product and the feature is no longer available. EDIT: My host has now confirmed that this setting has been applied as per your instructions based on the cPanel documentation and yet now we are not able to load the WHMCSConnect at all. See snapshot: https://prnt.sc/u6ejbr Edited August 26, 2020 by bluesteam 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Dan Posted August 26, 2020 Share Posted August 26, 2020 Hello, There are ways to adjust the settings to resolve these issues, I'm just trying to check the details to help debug this further. If this is only happening in Google Chrome and works fine on other browsers, it can usually be resolved by disabling "SameSite by default cookies" flag in Google Chrome. To disable, type "chrome://flags" (without quotes) in the address bar in chrome and then disable the flag "SameSite by default cookies". Can you try this option to see if it resolves the issue? 0 Quote Link to comment Share on other sites More sharing options...
bluesteam Posted August 26, 2020 Share Posted August 26, 2020 (edited) 19 minutes ago, WHMCS Dan said: Hello, There are ways to adjust the settings to resolve these issues, I'm just trying to check the details to help debug this further. If this is only happening in Google Chrome and works fine on other browsers, it can usually be resolved by disabling "SameSite by default cookies" flag in Google Chrome. To disable, type "chrome://flags" (without quotes) in the address bar in chrome and then disable the flag "SameSite by default cookies". Can you try this option to see if it resolves the issue? I don't like the idea of disabling the SameSite option in chrome because that is a bit of a bad workaround as there is a reason that Chrome implemented that feature. Disabling it essentially disables it for ALL websites. https://prnt.sc/u6epvz but nonetheless, I tried what you suggested but I still see the same error as this: https://prnt.sc/u6ejbr Maybe because my host has now made that change perhaps?? Edited August 26, 2020 by bluesteam 0 Quote Link to comment Share on other sites More sharing options...
bluesteam Posted August 27, 2020 Share Posted August 27, 2020 @WHMCS Dan I have asked 2 separate hosts now to make the change you recommended and it fails the same from both hosts. 0 Quote Link to comment Share on other sites More sharing options...
sahostking Posted August 27, 2020 Author Share Posted August 27, 2020 (edited) 12 minutes ago, bluesteam said: @WHMCS Dan I have asked 2 separate hosts now to make the change you recommended and it fails the same from both hosts. Very strange as what WHMCS Dan recommended, worked fine for me and my colleagues. I do however see we have X-Frame off Edited August 27, 2020 by sahostking 0 Quote Link to comment Share on other sites More sharing options...
bluesteam Posted August 27, 2020 Share Posted August 27, 2020 39 minutes ago, sahostking said: Very strange as what WHMCS Dan recommended, worked fine for me and my colleagues. I do however see we have X-Frame off Maybe you and I are running different chrome versions?? Mine is this. Version 85.0.4183.83 (Official Build) (64-bit) But I still see this error when trying to access WHMSConnect https://prnt.sc/u6u3ac 0 Quote Link to comment Share on other sites More sharing options...
sahostking Posted August 29, 2020 Author Share Posted August 29, 2020 Version 85.0.4183.83 aswell 0 Quote Link to comment Share on other sites More sharing options...
bluesteam Posted August 29, 2020 Share Posted August 29, 2020 I've disabled all my extensions and retested. Same story. 0 Quote Link to comment Share on other sites More sharing options...
bluesteam Posted August 31, 2020 Share Posted August 31, 2020 So just an update. I still have this problem and I have asked my 1 host to revert the changes that were suggested by @WHMCS Dan This definitely seems to be a problem with WHMCS not handling the X-Frame properly in Chrome. I am able to use WHMCSConnect perfectly fine in Firefox but not in chrome. 0 Quote Link to comment Share on other sites More sharing options...
Grager Posted September 18, 2020 Share Posted September 18, 2020 Same issue I am facing too but it worked when we disable, type "chrome://flags" (without quotes) in the address bar in chrome and then disable the flag "SameSite by default cookies". We don't everyone to do this. how we can automate this? 0 Quote Link to comment Share on other sites More sharing options...
bluesteam Posted September 21, 2020 Share Posted September 21, 2020 (edited) @Grager Very strange. That flag doesn't work for me. I just tested it and it just kicks me back to the log in screen everytime no matter what. https://prnt.sc/ukv729 https://prnt.sc/ukv876 Edited September 21, 2020 by bluesteam 0 Quote Link to comment Share on other sites More sharing options...
sahostking Posted September 21, 2020 Author Share Posted September 21, 2020 You sure you dont have any extensions in chrome enabled that could be causing it? Also note it may work in firefox too. 0 Quote Link to comment Share on other sites More sharing options...
bluesteam Posted September 21, 2020 Share Posted September 21, 2020 (edited) In firefox I dont have to change any settings. it just works. In chrome, nothing I do fixes it. Let me try it in incognito mode wiuth all extensions disabled and I will revert EDIT: Incognito mode doing the same with all extensions disabled. Edited September 21, 2020 by bluesteam 0 Quote Link to comment Share on other sites More sharing options...
Grager Posted September 22, 2020 Share Posted September 22, 2020 How we can do this in html, PHP java-script. we don't want everyone to go the chrome settings. We need to do this automate. 0 Quote Link to comment Share on other sites More sharing options...
bluesteam Posted September 22, 2020 Share Posted September 22, 2020 I think you would need to Google it to figure that out. WHMCS won't help you with coding. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.