synchrony-proxy 404 error
Asked by kang:

I didn't use nginx/apache proxy and use tomcat directly.

When I edit a new document, it shows that POST 404 "[http://10.1.80.29:8090/synchrony-proxy/v1/data/Synchrony-23cb09de-8381-30a1-94e7-021e15acf320/confluence-45580290?state-at=@head\&state-format=type-tagged\&rewrite-request=true\&cached=true](http://10.1.80.29:8090/synchrony-proxy/v1/data/Synchrony-23cb09de-8381-30a1-94e7-021e15acf320/confluence-45580290?state-at=@head&state-format=type-tagged&rewrite-request=true&cached=true)"

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

When I updated confluence from 6.15 to 7.4, I got the same error.

Here is my server.xml

```
 <Connector port="8090" connectionTimeout="20000" redirectPort="8443"
maxThreads="48" minSpareThreads="10"
enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
protocol="org.apache.coyote.http11.Http11NioProtocol"/>
```

Here is the atlassian-synchrony.log

```
2021-07-28 20:47:19,426 DEBUG [311:StdErrHandler [/data/tools/confluence/jre/bin/java]] WARNING: boolean? already refers to: #'clojure.core/boolean? in namespace: medley.core, being repl
aced by: #'medley.core/boolean?
2021-07-28 20:47:19,551 DEBUG [311:StdErrHandler [/data/tools/confluence/jre/bin/java]] WARNING: Inst already refers to: #'clojure.core/Inst in namespace: schema.core, being replaced by:
#'schema.core/Inst
2021-07-28 20:47:22,935 DEBUG [312:StdOutHandler [/data/tools/confluence/jre/bin/java]] Running QueryDSL sytem...
2021-07-28 20:47:23,034 DEBUG [312:StdOutHandler [/data/tools/confluence/jre/bin/java]] {"synchrony":{"message":"synchrony.querydsl.jdbc [info] connection pool test-connection-on-checkin
: true idle-connection-test-period: 100 max-idle-time-excess-connections: 100 max-idle-time: 3600","ns":"synchrony.querydsl.jdbc","level":"info"}}
2021-07-28 20:47:23,082 DEBUG [312:StdOutHandler [/data/tools/confluence/jre/bin/java]] MLog clients using slf4j logging.
2021-07-28 20:47:23,125 DEBUG [312:StdOutHandler [/data/tools/confluence/jre/bin/java]] Initializing c3p0-0.9.5.1 [built 16-June-2015 00:06:36 -0700; debug? true; trace: 10]
2021-07-28 20:47:23,194 DEBUG [312:StdOutHandler [/data/tools/confluence/jre/bin/java]] {"synchrony":{"message":"synchrony.event-bus [info] cluster membership transition","transition":{"
type":"join","member":{"member-id":"local","host":null,"local?":true}},"ns":"synchrony.event-bus","level":"info"}}
2021-07-28 20:47:25,051 DEBUG [312:StdOutHandler [/data/tools/confluence/jre/bin/java]] {"synchrony":{"request":{"remote-addr":"127.0.0.1","uri":"/synchrony/heartbeat","request-method":"
get","query-string":null},"response":{"status":200},"ns":"synchrony.middleware.logging","level":"info","message":"synchrony.middleware.logging [info] null"}}
2021-07-28 20:47:25,073 DEBUG [312:StdOutHandler [/data/tools/confluence/jre/bin/java]] {"synchrony":{"request":{"remote-addr":"127.0.0.1","uri":"/synchrony/jwt-key","request-method":"ge
t","query-string":null},"response":{"status":200},"ns":"synchrony.middleware.logging","level":"info","message":"synchrony.middleware.logging [info] null"}}
2021-07-28 20:47:53,164 DEBUG [312:StdOutHandler [/data/tools/confluence/jre/bin/java]] {"synchrony":{"request":{"remote-addr":"127.0.0.1","uri":"/synchrony/heartbeat","request-method":"
get","query-string":null},"response":{"status":200},"ns":"synchrony.middleware.logging","level":"info","message":"synchrony.middleware.logging [info] null"}}
```


Answers:
author: Gonchik Tsymzhitov
body: Hi [@kang](/t5/user/viewprofilepage/user-id/3849727) ,

Does your synchrony works on 8091 port? looks synchrony-proxy -\> did not reach that service

could you check that parameter?

<https://confluence.atlassian.com/doc/possible-confluence-and-synchrony-configurations-958779064.html>


author: kang
body: My synchrony works on 8091 port.It can be seen in "netstat -npl".I set up a new confluence as a test.All the configure is default.

But when I edit a document,I still get "POST 404 error"

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


Tags: confluence-server

server