[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-717) address="::1" on the tomcat10 connector returns 503

Jean-Frederic Clere (Jira) issues at jboss.org
Sat Apr 4 05:17:01 EDT 2020


    [ https://issues.redhat.com/browse/MODCLUSTER-717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14021102#comment-14021102 ] 

Jean-Frederic Clere edited comment on MODCLUSTER-717 at 4/4/20 5:12 AM:
------------------------------------------------------------------------

[Thu Apr 02 06:50:05.471193 2020] [:debug] [pid 53793:tid 139979940214528] mod_manager.c(2968): manager_handler CONFIG (/) processing: "JVMRoute=22124d11-d760-3867-b2a4-2a5eb4464d08&Host=%5B0%3A0%3A0%3A0%3A0%3A0%3A0%3A1%5D&Port=8009&StickySessionForce=No&Type=ajp"

So host: [0:0:0:0:0:0:0:1] but address="::1" and worker->s->hostname "0:0:0:0:0:0:0:1"
The hostname is the uri.hostname returned by apr_uri_parse(p, url, &uri)
our url is: ajp://[0:0:0:0:0:0:0:1]:
url = apr_pstrcat(pool, node->mess.Type, "://", normalize_hostname(pool,node->mess.Host), ":", node->mess.Port, NULL);


was (Author: jfclere):
[Thu Apr 02 06:50:05.471193 2020] [:debug] [pid 53793:tid 139979940214528] mod_manager.c(2968): manager_handler CONFIG (/) processing: "JVMRoute=22124d11-d760-3867-b2a4-2a5eb4464d08&Host=%5B0%3A0%3A0%3A0%3A0%3A0%3A0%3A1%5D&Port=8009&StickySessionForce=No&Type=ajp"

So host: [0:0:0:0:0:0:0:1] but address="::1" and worker->s->hostname "0:0:0:0:0:0:0:1" messy :-(

> address="::1" on the tomcat10 connector returns 503
> ---------------------------------------------------
>
>                 Key: MODCLUSTER-717
>                 URL: https://issues.redhat.com/browse/MODCLUSTER-717
>             Project: mod_cluster
>          Issue Type: Bug
>            Reporter: Jean-Frederic Clere
>            Assignee: Radoslav Husar
>            Priority: Major
>
> When having in server.xml
> +++
>     <Connector protocol="AJP/1.3"
>                port="8009"
>                address="::1"
>                secret="adelina"
>                redirectPort="8443" />
> +++
> The mod_cluster_manager reports Status: OK but any request to  httpd return 503.
> Using mod_cluster master and mod_proxy_cluster master (and httpd trunk).



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the mod_cluster-issues mailing list