Editing does not work anymore
Asked by Sascha N.:

Hey there,

starting today, we are not able to edit any pages in our Confluence Server instance anymore. The following error appears:

![Bildschirmfoto 2020-01-06 um 13.13.36.png](/t5/image/serverpage/image-id/77923iAD100623A5A2F299/image-dimensions/316x117?v=v2 "Bildschirmfoto 2020-01-06 um 13.13.36.png")

Based on this article I disabled Synchrony, but it does not help: <https://jira.atlassian.com/browse/CONFCLOUD-65514>

I also restarted the whole instance; but still the same error appears.

Anybody knows that to do? :(

Sascha


Answers:
author: Sascha N.
body: Hey [@Petr Van??ek](/t5/user/viewprofilepage/user-id/1811075)

it's 7.1.0 -- server. Sorry for the confusion :).

Attached, there are some logs:

```
06-Jan-2020 12:34:47.749 WARNUNG [Catalina-utility-4] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [synchrony-proxy] is still processing a request that has yet to finish. This is very likely to create a memory leak. You can control the time allowed for requests to finish by using the unloadDelay attribute of the standard Context implementation. Stack trace of request processing thread:[
java.net.Inet6AddressImpl.getHostByAddr(Native Method)
java.net.InetAddress$2.getHostByAddr(InetAddress.java:932)
java.net.InetAddress.getHostFromNameService(InetAddress.java:617)
java.net.InetAddress.getHostName(InetAddress.java:559)
java.net.InetAddress.getHostName(InetAddress.java:531)
org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.populateLocalName(NioEndpoint.java:1357)
org.apache.tomcat.util.net.SocketWrapperBase.getLocalName(SocketWrapperBase.java:249)
org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:464)
org.apache.coyote.Request.action(Request.java:432)
org.apache.catalina.connector.Request.getLocalName(Request.java:1325)
org.apache.catalina.connector.RequestFacade.getLocalName(RequestFacade.java:1002)
org.eclipse.jetty.proxy.AbstractProxyServlet.addXForwardedHeaders(AbstractProxyServlet.java:523)
org.eclipse.jetty.proxy.AbstractProxyServlet.addProxyHeaders(AbstractProxyServlet.java:510)
org.eclipse.jetty.proxy.ProxyServlet.service(ProxyServlet.java:86)
javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
com.atlassian.synchrony.proxy.web.SynchronyProxyFilter.doFilter(SynchronyProxyFilter.java:71)
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357)
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
org.apache.catalina.valves.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:206)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:853)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587)
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Thread.java:748)]
```

Another one:

```
06-Jan-2020 13:07:35.186 SCHWERWIEGEND [http-nio-8090-exec-2] org.apache.catalina.connector.CoyoteAdapter.asyncDispatch Exception while processing an asynchronous request
java.lang.IllegalStateException: Der Aufruf von [asyncComplete()] ist nicht erlaubt, w?hrend der Request im Async-Status [MUST_COMPLETE] ist
at org.apache.coyote.AsyncStateMachine.doComplete(AsyncStateMachine.java:332)
at org.apache.coyote.AsyncStateMachine.asyncComplete(AsyncStateMachine.java:316)
at org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:496)
at org.apache.coyote.Request.action(Request.java:430)
at org.apache.catalina.core.AsyncContextImpl.complete(AsyncContextImpl.java:92)
at org.apache.catalina.core.AsyncContextImpl.setErrorState(AsyncContextImpl.java:446)
at org.apache.catalina.connector.CoyoteAdapter.asyncDispatch(CoyoteAdapter.java:176)
at org.apache.coyote.AbstractProcessor.dispatch(AbstractProcessor.java:241)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:53)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:853)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)?
```

comments: author: Sascha N.
body: [@Petr Van??ek](/t5/user/viewprofilepage/user-id/1811075)-- any news?


author: Sascha N.
body: [@Petr Van??ek](/t5/user/viewprofilepage/user-id/1811075)-- any news?


author: Petr Van??ek
body: Hi,

sorry, I had busy last week (including weekend).

From your logs it's not clear, but if it works before then it's weird. Something changed in something like proxy, firewall,...?  

What about DB connections? We had similar problem with one of our customer.


author: Sascha N.
body: [@Petr Van??ek](/t5/user/viewprofilepage/user-id/1811075)

the system is internal; no firewall or proxy changes. I now disabled Synchrony and restarted the whole machine; now it is working (which shows that the database is running correctly; it's on the same machine).

Switching back to Synchrony causes the same error.


author: Petr Van??ek
body: It's weird - there must be some kind of problem with accessing synchrony port.  

With DB connections I meant usage - count of used and free.


author: Sascha N.
body: Is it possible to change the port?


author: Petr Van??ek
body: Hi,

based on your question - are you using server (in text) or cloud (tags) instance?

Can you share part of application log where is shower any error like this one? What is your Confluence version?

<https://confluence.atlassian.com/doc/working-with-confluence-logs-108364721.html>


Tags: cloud

confluence-cloud