editing a page in Chrome fails - works in FF
Asked by Theodore Knab:

How should I troubleshoot a potential bug ? We have one page in Confluence that is no longer editable in Chrome. Interestingly, the page is editable in FF. What would cause this ?

Confluence: LTS 7.13.0 ( not cloud version )

In Chrome, the right upper corner displays a popup that says the browser got a 403 error. Application page displays 'Can't connect to the server Looks like your session expired. Log in again to keep working.

<br />

In the logs, I am not seeing any errors.

looked in :

no errors in /var/atlassian/confluence/logs/catalina.out  
no errors in /var/atlassian/application-data/confluence/logs/atlassian-confluence.log

Google in debug mode says:  
batch.js?gatekeeper-ui-v2=true\&healthcheck-resources=true\&highlightactions=true\&hostenabled=true\&locale=en-US\&user-logged-in=true:5381 POST <https://confluence.chesapeakebay.net/rest/tinymce/1/drafts> 403


Answers:
author: Kishan Sharma
body: Hi [@Theodore Knab](/t5/user/viewprofilepage/user-id/4031005)

I have few questions -

If you access the page in Private/Incognito mode, does the problem still occurs?

If you clear your cookies/cache in chrome, does that make any difference ?

Is your google chrome version up to date ?

Are there any proxy settings in your google chrome and not in FireFox?

comments: author: Theodore Knab
body: Thanks for the questions. Here are my findings.

With incognito mode, I get the same error.

Clearing the cache and cookies doesn't do anything. I still get the same error.

Google chrome is Version 94.0.4606.61 (Official Build) (64-bit) ( latest 9/24/21)

no proxy settings are set.


author: Kishan Sharma
body: That's interesting. I think it would be better if you [collect the HAR file](https://confluence.atlassian.com/kb/generating-har-files-and-analyzing-web-requests-720420612.html) on chrome and raise a [support ticket](https://support.atlassian.com/contact/) to Atlassian for them to troubleshoot as its only happening for a single page.


author: Theodore Knab
body: It doesn't appear I can create a support ticket. The web interface is either broken or doesn't allow non cloud users to submit tickets. We run our Confluence onsite. How can we get a ticket started for this ?


author: Kishan Sharma
body: That is not the case, The support website should work on Chrome, you can try it in FireFox otherwise. If you have on-prem instance, you should be able to raise support ticket by providing your Service Entitlement Number.


author: Theodore Knab
body: ah. the nested drop down threw me off. I don't encounter them very often.

thanks.


author: Patrik Lindstr?m
body: Theodore Knab

Did you find a solution? We have the same version and the exakt same problem. People running Mac and Chrome. For some it works as a workaround using Safari or Firefox. They cant save their drafts error in web browsers console shows:

```

VM6:1 POST https://confluence.xxxx.yyy/rest/tinymce/1/drafts 403
```


author: Patrik Lindstr?m
body: It seems related to using code blocks on the page.


author: Theodore Knab
body: For us, we had an WAF rule somewhere that was causing this problem. If you have a WAF you may want to put it in pass through mode for a short time to see if the problem goes away.


author: Patrik Lindstr?m
body: We could not use word like localhost or 127.0.0.1 then the user would get logged out.  
For us it was a also a WAF (Web Applicaiton Firewall ) rule also .

There was a AWS-AWSManagedRulesCommonRuleSet:EC2MetaDataSSRF_BODY rule that interfered.   
So we changed it in the AWS console and set it to count instead of block.   
You can read more about them lhere here.  
<https://itzone.com.vn/en/article/some-problems-when-using-aws-waf/>  
![AWS WAF ruleset.png](https://community.atlassian.com/t5/image/serverpage/image-id/177218i43F5F740B3B18799/image-size/large?v=v2&px=999 "AWS WAF ruleset.png")![AWS WAF rule that causes localhost to not work in confluence cropped and obfuscated.png](https://community.atlassian.com/t5/image/serverpage/image-id/177219iC5706C5D50A1EDB8/image-size/large?v=v2&px=999 "AWS WAF rule that causes localhost to not work in confluence cropped and obfuscated.png")


Tags: confluence-server

server