This problem has been bothering me for several months. I can't find the answer online. I have tried to configure it according to the official configuration, but it still doesn't work. We hope to get official assistance. Thank you very much.
my email:1016401546@qq.com
Please see the screenshot below:
Here is my nginx configuration:
server {
listen 80;
server_name confluence-lan.my.com;
location / {
proxy_pass http://192.168.30.207:8090;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 100m;
proxy_redirect default;
}
access_log /data/logs/confluence-lan.my.com.log access;
}
When I opened Confluence using the domain name conflulan.my.com. All right, then I'm going to edit a document.
I'll start modifying it now, insert CCC under BBB, and save it.
Here's the problem: I didn't see my updated CCC immediately after I saved it
I don't see the CCC I just wrote
When I refresh the page, the new CCC content will be displayed.
Is this a bug in Confluence?
Hi @陈土锋 ,
Please, check via ui the synchrony configuration.
in your nginx conf I did not see, but behaviour like synchrony stucks.
Could you also, double check the errors via console log in dev tools of your browser, please?
Cheers,
Gonchik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, the browser console did not see an error:
Nginx has added a synchronization configuration, also does not work:
Now my full nginx configuration looks like this:
server {
listen 80;
server_name confluence-lan.my.com;
location / {
proxy_pass http://192.168.30.207:8090;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 100m;
proxy_redirect default;
}
location /synchrony {
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://localhost:8091/synchrony;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
}
access_log /data/logs/confluence-lan.my.com.log access;
}
Is this a bug? Have other people experienced this problem?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Catalina. out did not report an error,
GC-2021-02-01_17-08-46. log also has no error,
Confluence. log error:
2021-03-09 14:36:58,001 ERROR [http-nio-8090-exec-15] [renderer.internal.http.HttpClientFetcher] fetch Unable to perform a request to: http://confluence-lan.leniu.com/rest/gadgets/1.0/g/messagebundle/und/gadget.common%2Cgadget.confluence
-- referer: http://confluence-lan.leniu.com/display/SHDL/test | url: /plugins/macrobrowser/browse-macros.action | traceId: fb1723685165b1d9 | userName: admin | action: browse-macros
java.net.UnknownHostException: confluence-lan.leniu.com
2021-03-09 14:37:04,069 ERROR [http-nio-8090-exec-9] [atlassian.troubleshooting.confluence.ConfluenceApplicationInfo] addSynchronyConfiguration com.atlassian.confluence.core.ConfluenceSystemProperties.isSynchronyProxyEnabled()
-- referer: http://confluence-lan.leniu.com/plugins/servlet/troubleshooting/view?source=notification&healthCheck=auditLogCapacityCheck | url: /plugins/servlet/troubleshooting/view/atst-detect-issues/view | traceId: 23ae363378583a2b | userName: admin
2021-03-09 14:37:04,072 ERROR [http-nio-8090-exec-9] [confluence.status.service.DefaultSystemInformationService] getModifications
-- referer: http://confluence-lan.leniu.com/plugins/servlet/troubleshooting/view?source=notification&healthCheck=auditLogCapacityCheck | url: /plugins/servlet/troubleshooting/view/atst-detect-issues/view | traceId: 23ae363378583a2b | userName: admin
2021-03-09 14:37:04,076 INFO [read-only-transaction:thread-1] [atlassian.confluence.user.DefaultUserAccessor] getUserNamesWithConfluenceAccess Found USE permission with no associated username or group: [USECONFLUENCE,0,null,null,null]
2021-03-09 14:37:53,491 WARN [HealthCheckWatchdog:thread-2] [troubleshooting.healthcheck.concurrent.SupportHealthCheckTask] healthCheckTimeout Health check 审核日志容量 was unable to complete within the timeout of 30000.
2021-03-09 14:38:03,515 WARN [HealthCheck:thread-5] [internal.core.service.VCacheLock] lockWithTimeout Interrupted whilst waiting for a lock on cache:
java.lang.InterruptedException
2021-03-09 14:36:57,997 ERROR [http-nio-8090-exec-15] [renderer.internal.http.HttpClientFetcher] fetch Unable to perform a request to: http://confluence-lan.leniu.com/rest/gadgets/1.0/g/messagebundle/zh_CN/gadget.common%2Cgadget.quicknav
-- referer: http://confluence-lan.leniu.com/display/SHDL/test | url: /plugins/macrobrowser/browse-macros.action | traceId: fb1723685165b1d9 | userName: admin | action: browse-macros
java.net.UnknownHostException: confluence-lan.leniu.com
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So please, share confluence version?
And share the configuration of Synchrony in admin panel of confuence.
I think it's misconfiguration
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also, I see different proxy passes
proxy_pass http://localhost:8091/synchrony;
proxy_pass http://192.168.30.207:8090;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have set up several confluences and the situation is the same. The ones using Nginx proxy are not updated in real time. Proxy configuration 1 changed to the same:
As follows:
server {
listen 80;
server_name confluence-lan.my.com;
location / {
proxy_pass http://192.168.30.207:8090;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 100m;
proxy_redirect default;
}
location /synchrony {
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://192.168.30.207:8091/synchrony;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
}
access_log /data/logs/confluence-lan.my.com.log access;
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.