When I use the Nginx proxy Confluence, I write a document that I can't immediately see the content I
Asked by ???:

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.

![1.png](https://community.atlassian.com/t5/image/serverpage/image-id/133557i1FC08CBF14791059/image-size/large?v=v2&px=999 "1.png")

I'll start modifying it now, insert CCC under BBB, and save it.

![2.png](https://community.atlassian.com/t5/image/serverpage/image-id/133558i62CFF8F5D44F78D8/image-size/large?v=v2&px=999 "2.png")

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

![3.png](https://community.atlassian.com/t5/image/serverpage/image-id/133559i09F06B63530EC253/image-size/large?v=v2&px=999 "3.png")

When I refresh the page, the new CCC content will be displayed.

![4.png](https://community.atlassian.com/t5/image/serverpage/image-id/133560iE43182BE6ADCE8B8/image-size/large?v=v2&px=999 "4.png")

Is this a bug in Confluence?


Answers:
author: ???
body: Will no one answer this question?


author: Gonchik Tsymzhitov
body: Hi [@???](/t5/user/viewprofilepage/user-id/4240994) ,

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

comments: author: ???
body: Hello, the browser console did not see an error:

![5.png](https://community.atlassian.com/t5/image/serverpage/image-id/133574i7AF9A1C12B0FEEEE/image-size/large?v=v2&px=999 "5.png")

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?


author: ???
body: Catalina. out did not report an error,

GC-2021-02-01_17-08-46. log also has no error,

Confluence. log error:

<br />

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](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](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


author: Gonchik Tsymzhitov
body: So please, share confluence version?

And share the configuration of Synchrony in admin panel of confuence.

I think it's misconfiguration


author: Gonchik Tsymzhitov
body: Also, I see different proxy passes

proxy_pass http://localhost:8091/synchrony;

proxy_pass [http://192.168.30.207:8090](http://192.168.30.207:8090/);


author: ???
body: My Confluence version is 7.10.2?

![7.png](https://community.atlassian.com/t5/image/serverpage/image-id/133579iD29BECB094B1F739/image-size/large?v=v2&px=999 "7.png")

Which configuration would you like to share?

The configuration of my page is as follows:

![6.png](https://community.atlassian.com/t5/image/serverpage/image-id/133581i3749FE38537D2440/image-size/large?v=v2&px=999 "6.png")![8.png](https://community.atlassian.com/t5/image/serverpage/image-id/133582i15510EEAC632A798/image-size/large?v=v2&px=999 "8.png")


author: ???
body: 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;  
}


author: ???
body: Has anyone ever encountered this situation?


Tags: cloud

confluence-cloud