An error has occurred in registration

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

An error has occurred in registration

Tianscar
This post was updated on .
Now nobody can register to my forum.

Error log:

Error 500

NAML exception in customized site: invalid host
        in check_captcha(nabble:reply.naml:536) - <then.check_captcha/> - public void nabble.view.web.template.ServletNamespace.check_captcha(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter) throws nabble.model.ModelException$InvalidRecaptcha,java.io.IOException
        in catch_exception(nabble:register.naml:55) - <n.catch_exception. id="save-block"> - public void nabble.naml.namespaces.BasicNamespace.catch_exception(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
        in process_registration(nabble:register.naml:3) - <then.process_registration/>
        in if(nabble:register.naml:2) - <n.if.is_submitted_form> - public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
        in comment(nabble:utilities.naml:50) - <n.comment.>
        in page_start(responsive:responsive.naml:7) - <n.page_start/>
        in current_permission_version(nabble:permissions.naml:6) - <n.current_permission_version/>
        in (custom_tweak:start_registration_page:1) - <override_macro name="start_registration_page" requires="servlet">

Message: NAML exception in customized site: invalid host

RequestURI: /template/NamlServlet.jtp

Server: s1.nabble.com
Caused by:

nabble.view.lib.JtpContextServlet$JtpServletException: url=http://forum.tianscar.com/template/NamlServlet.jtp?macro=start_registration_page&g-recaptcha-response=03AAYGu2TfBot5f6CfZ0JoxtM2C81fHSLxVkR_Sh9oFVaVTcQnnE7_0s6JbSC-hCgGgcvV8Vd-h3MpZpDk3R4FcN-PXLW-m4q5Z_gP6n4bo0lQON0PCIGGltDDA2j-W9TetQfDfn41Pjb8YVon2ioFhtGSdCZ50wBEYrbSQ_peXywZWLsiY-LuV_VcDpN6e_Y6xVFiEjLChAqfD9a8GQjMOg8JQTs3vQJpD7JjAmVJ0rAXJ5dRTy9X40NntlTKy7r3MVxevoUymOBeoSRaFAs5o-5dj4pT98QF7cOk5DKOIwb7HUbAIhgf9VTHIB807ZveUmzTMJnliDh7_4irHUypqVqrStg6hOSorZLXSo7ekQQZ-QOVPbVul_3WI1mnRn9Xquey-0I8r6pCFmxrB1AtgY_dcniOxWNjF7OFI9MDRfto0IWgnMB9w_RHsv2XU8gxE0LfXBj8GaGRBO7mgb64rN7RKTyS4q6IVwmG0rAty5iyWhB8i_t3qdG37vlibPtwYt9gmBRJVyagxOoHlhqw1g5wncPE4BIuyVdBID99FPRE95O3ZqdMja_wLHOYAdN0WNQvARmrIYHT&start_registration_page=&password=test&user_name=test&password2=test&nextUrl=https://forum.tianscar.com/&accept_terms=true&email=org@example.com  user-agent= method=POST referer=https://forum.tianscar.com/template/NamlServlet.jtp?macro=start_registration_page&nextUrl=https%3A%2F%2Fforum.tianscar.com%2F
        at nabble.view.lib.JtpContextServlet.handleException(JtpContextServlet.java:554)
        at nabble.view.lib.JtpContextServlet.service2(JtpContextServlet.java:444)
        at nabble.view.lib.JtpContextServlet.service(JtpContextServlet.java:311)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:565)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1360)
        at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:77)
        at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:144)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
        at cachingfilter.CachingFilter.doFilter(CachingFilter.java:128)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
        at fschmidt.util.servlet.BadBotFilter.doFilter(BadBotFilter.java:74)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
        at fschmidt.util.servlet.ConnectionLimitFilter.doFilter(ConnectionLimitFilter.java:94)
        at nabble.view.lib.NabbleConnectionLimitFilter.doFilter(NabbleConnectionLimitFilter.java:26)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
        at nabble.view.lib.NabbleErrorFilter.doFilter(NabbleErrorFilter.java:21)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:477)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)
        at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
        at org.eclipse.jetty.server.Server.handle(Server.java:349)
        at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:449)
        at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:925)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:857)
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
        at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:76)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45)
        at nabble.model.Executors$1$1.run(Executors.java:27)
        at fschmidt.util.executor.ThreadTimer$1.run(ThreadTimer.java:18)
        at fschmidt.util.executor.AbstractThreadPool$1.run(AbstractThreadPool.java:29)
        at java.lang.Thread.run(Thread.java:748)
Caused by: javax.servlet.ServletException: NAML exception in customized site: invalid host
        in check_captcha(nabble:reply.naml:536) - <then.check_captcha/> - public void nabble.view.web.template.ServletNamespace.check_captcha(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter) throws nabble.model.ModelException$InvalidRecaptcha,java.io.IOException
        in catch_exception(nabble:register.naml:55) - <n.catch_exception. id="save-block"> - public void nabble.naml.namespaces.BasicNamespace.catch_exception(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
        in process_registration(nabble:register.naml:3) - <then.process_registration/>
        in if(nabble:register.naml:2) - <n.if.is_submitted_form> - public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
        in comment(nabble:utilities.naml:50) - <n.comment.>
        in page_start(responsive:responsive.naml:7) - <n.page_start/>
        in current_permission_version(nabble:permissions.naml:6) - <n.current_permission_version/>
        in (custom_tweak:start_registration_page:1) - <override_macro name="start_registration_page" requires="servlet">
        at nabble.view.web.template.NamlServlet.checkTweaked(NamlServlet.java:191)
        at nabble.view.web.template.NamlServlet.service(NamlServlet.java:145)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at nabble.view.lib.JtpContextServlet.service2(JtpContextServlet.java:440)
        ... 38 more
Caused by: nabble.naml.compiler.TemplateRuntimeException: invalid host
        in check_captcha(nabble:reply.naml:536) - <then.check_captcha/> - public void nabble.view.web.template.ServletNamespace.check_captcha(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter) throws nabble.model.ModelException$InvalidRecaptcha,java.io.IOException
        in catch_exception(nabble:register.naml:55) - <n.catch_exception. id="save-block"> - public void nabble.naml.namespaces.BasicNamespace.catch_exception(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
        in process_registration(nabble:register.naml:3) - <then.process_registration/>
        in if(nabble:register.naml:2) - <n.if.is_submitted_form> - public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
        in comment(nabble:utilities.naml:50) - <n.comment.>
        in page_start(responsive:responsive.naml:7) - <n.page_start/>
        in current_permission_version(nabble:permissions.naml:6) - <n.current_permission_version/>
        in (custom_tweak:start_registration_page:1) - <override_macro name="start_registration_page" requires="servlet">
        at nabble.naml.compiler.Compiler.interpFix(Compiler.java:2007)
        at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1636)
        at nabble.naml.compiler.Compiler$Chunks.run(Compiler.java:1121)
        at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:68)
        at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:22)
        at nabble.naml.namespaces.BasicNamespace.catch_exception(BasicNamespace.java:599)
        at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:26)
        at nabble.naml.compiler.Compiler$Block.invoke(Compiler.java:1557)
        at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1631)
        at nabble.naml.compiler.BlockWrapper.printTo(BlockWrapper.java:68)
        at nabble.naml.compiler.TemplatePrintWriter.print(TemplatePrintWriter.java:22)
        at nabble.naml.namespaces.BasicNamespace._if(BasicNamespace.java:140)
        at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:26)
        at nabble.naml.compiler.Compiler$Block.invoke(Compiler.java:1557)
        at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1631)
        at nabble.naml.compiler.Compiler$Chunks.run(Compiler.java:1121)
        at nabble.naml.compiler.Template.run(Template.java:61)
        at nabble.naml.compiler.Template.run(Template.java:33)
        at nabble.modules.ModuleManager.run(ModuleManager.java:268)
        at nabble.view.web.template.NamlServlet.service(NamlServlet.java:167)
        at nabble.view.web.template.NamlServlet.service(NamlServlet.java:135)
        ... 40 more
Caused by: java.lang.RuntimeException: invalid host
        at nabble.view.lib.Recaptcha.check(Recaptcha.java:53)
        at nabble.view.web.template.ServletNamespace.check_captcha(ServletNamespace.java:307)
        at sun.reflect.GeneratedMethodAccessor489.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at nabble.naml.compiler.JavaCall.invoke(JavaCall.java:26)
        at nabble.naml.compiler.Compiler$Block.invoke(Compiler.java:1557)
        at nabble.naml.compiler.Compiler$Block.run(Compiler.java:1625)
        ... 65 more

Reply | Threaded
Open this post in threaded view
|

Re: An error has occurred in registration

Israel <Nabble>
Administrator
Did you change something on your side? If so, is it possible undo the changes?
Reply | Threaded
Open this post in threaded view
|

Re: An error has occurred in registration

Tianscar
The only change:
Added
<script src='https://www.recaptcha.net/recaptcha/api.js'></script>
to <head></head>

And after I undo the change, the same error still occurs
Reply | Threaded
Open this post in threaded view
|

Re: An error has occurred in registration

Tianscar
This post was updated on .
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: An error has occurred in registration

Tianscar
This post was updated on .
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: An error has occurred in registration

Tianscar
Now I'm ensure that the error caused by Cloudflare "Proxied" DNS.
After I changed the DNS record to "DNS only" mode, the error disappears.