I get this error logs in console, if i don't close the editor dialog, the error nummber increased all the time, will not stoped. I post the screenshot and also my host url, it's the same domain, also the Server base url is the same.
can't understand why the error says bad origin.
I find only one related issues in community.atlassian.com
But the errors are still there, even i turned off the Collaborative Editing...
Pls check what happend.
Errors:
My domain:
Server base url setting:
Hello @qukankan,
Thank you for bringing this up to us. We will need more information about your issue.
I would recommend going through the steps in the article below in order to troubleshoot. The error message is very similar so it can help you to solve your issue: After upgrading Confluence, you are unable to create new pages or spaces
If you still encounter errors, it will help if you can gather some more information from your log files about this, including:
Looking forward to hearing from you on this!
Shannon
Hi @Shannon S thx for your attention.
1. This is new installed Confluence, version 7.4.3.
2. Sometimes wenn i open a marco, the content will not show itself. Then i open Chrome console, want to see if some Request are failed, see the lot's of RPC: request rejected (bad origin) was printed.
3. My confluence is running behinde a Nginx. But i didn't get any error in nginx logs (acess.log and error.log).
Where can i upload the HAR file? I only find a insert photo button.
I notice, in chrome Incognito mode the error is not happen.
this is screenshot in Incognito mode, no error in console.
and this is normal mode:
Both was print from the same line: "batch.js?locale=en-US:1980". But they have different beheavior.
wenn i click the link, see this code with a nitification, maybe it can help to figure out what happend.
thx.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the additional information.
If you do not encounter the issue when using Chrome in Incognito mode, then it generally means that something outside of Confluence is causing the issue
Do you currently have any add-ons enabled in Chrome? If so, you'll want to disable them all to see if you still have the problem. Clearing your browser cache and history may also help.
If you continue to have the issue, the next thing I recommend is bypassing your firewall or proxy. We want to rule out that your network setup isn't causing the issue with Confluence.
Thank you!
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sounds reasonable, but the problme is, the error was print from confluence script, exactly from this one:
After futher investigate (by disable each chrome plugin), i fund the conflict, which is Augury. This is a dev tools for Angular application.
But i can't understand why the "batch.js" print RPC Bad Origin error, wenn the Augury Plugin is enabled.
If we can get an reasonable explanation, this ticket can be closed.
Otherwise it means, some plugin in chrome can triger some function in Confluence Scripts?
Can it be a vulnerability?
Thx.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @qukankan , Shannon has asked me to provide some insight on the Augury extension's incompatibility with Confluence.
When installing Augury in Chrome, you grant it read/write permissions to all sites:
Given this very wide permission scoping, it's not unexpected that the extension may be able to make changes on a site that conflict with the site's internal workings via its own scripts. I would not consider this a security vulnerability, in that permission was granted for Augury to make these changes when it was installed in Chrome. More widely, I would consider the usage of Chrome extensions that request read/write on all sites to need more scrutiny.
Chrome doesn't provide a mechanism to use a blocklist with extensions for particular sites. You could however consider changing the permissions Augury has in Chrome (via the settings page for the particular extension) to only activate when you need it:
I would recommend "on specific sites" for this particular extension, and add the URLs for any sites you might be developing. The "on click" option could likely be a bit of a pain since you would need to reload the page after clicking to get the extra information loaded into the developer tools once the extension is allowed to run.
Google themselves have started tightening down what Chrome extensions are allowed to do and permissions they can request in response to issues around the security of the Chrome web store. I definitely understand how extensions like this are helpful and use many myself. However, the security model of extensions in Chrome do allow them to interfere with a site's own functions. Switching extensions might be an option, but I would suggest trying to manually restrict the number of sites extensions are allowed to run on.
Cheers,
Daniel | Atlassian Team
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Daniel Eads
Thx a lot. Oh my fault, i didn't pay attention to restrict the permissions before. Now after i change the settings all things are fine.
@Shannon S also thx u a lot to follow up on this matter :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.