Bug if OpenEMM behind a Loadbalancer / Firewall

Use this forum to report bugs and to check for bugfixes and new releases of OpenEMM

Moderator: moderator

Shuro
Posts: 20
Joined: Mon Oct 26, 2009 1:26 pm
Location: Germany, Pr. Oldendorf

Bug if OpenEMM behind a Loadbalancer / Firewall

Post by Shuro »

So our OpenEMM-Server (in this example emm.example.de) is behind a Loadbalancer and NAT to the Internet is possible, but wget on own adress emm.example.de is not possible.

The OpenEMM-Backend works fine, but if i try to edit a Template the Browser load and load and nothing happens, after a time i found that in /home/openemm/webapps/core/log/openemm_stdout.log

Code: Select all

2009-11-30 14:34:20,309: ERROR [resin-tcp-connection-*:8080-1] org.agnitas - Error while get ContentModule by mailing java.net.ConnectException: Connection timed out
org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
org.apache.axis.client.Call.invokeEngine(Call.java:2784)
org.apache.axis.client.Call.invoke(Call.java:2767)
org.apache.axis.client.Call.invoke(Call.java:2443)
org.apache.axis.client.Call.invoke(Call.java:2366)
org.apache.axis.client.Call.invoke(Call.java:1812)
org.agnitas.cms.webservices.generated.RemoteContentModuleManagerSoapBindingStub.getContentModulesForMailing(RemoteContentModuleManagerSoapBindingStub.java:1309)
org.agnitas.cms.utils.dataaccess.RemoteContentModuleManager.getContentModulesForMailing(RemoteContentModuleManager.java:270)
org.agnitas.cms.utils.CmsUtils.getAssignedContentModuleIds(CmsUtils.java:135)
org.agnitas.cms.utils.CmsUtils.isCmsMailing(CmsUtils.java:128)
_jsp._mailing._view_0base__jsp._jspService(_view_0base__jsp.java:1226)
com.caucho.jsp.JavaPage.service(JavaPage.java:60)
com.caucho.jsp.Page.pageservice(Page.java:570)
com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179)
com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115)
Seems like OpenEMM somewhere try to access the IP of emm.example.de.

When i add emm.example.de to the /etc/hosts with the local ip (for example 192.168.0.2) it works, but Sendmail doesnt bounce mails to the bav because it think that emm.example.de is local.