Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Unable to access customer channel URL

Akshay Kumar M July 29, 2021

HI All,

 

We have created as JSM and project under it. but unfortunately we are not able to access the customer channel of that project.

We are accessing the customer channel with hostname(same Server where data center is installed) i able to access the URL. but on changes the DNS name and trying. i am not able to navigate to the URL.

Can you please help us on this issue.

 

Thanks,

Akshay Kumar M

2 answers

Suggest an answer

Log in or Sign up to answer
0 votes
subramanian.v August 2, 2021

@Nic Brough -Adaptavist- to give you more details on the issue Akshay posted, we had enabled SSL from load balancer and were able to access the portal using our https://jira.[servername].com.

 

But when we try loading to customer channel URL we seeing this issue in developer console.

I still understand, we need to make some changes to the server.xml for internal redirecting. it would be better if you could help us with that.

 

I am attaching error screenshot and also server.xml Capture.PNG 

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 2, 2021

So not what Akshay said at all.

This error happens when you have got the service incorrectly configured, it's not serving everything as secure content.

Look first at the connector settings in the server xml, I suspect you've not set the secure/https/secure port correctly.

subramanian.v August 2, 2021

I have attached server.xml

i haven't changed anything default 8080 connector is only enabled

<Service name="Catalina">
<!--
==============================================================================================================
DEFAULT - Direct connector with no proxy for unproxied access to Jira.

If using a http/https proxy, comment out this connector.
==============================================================================================================
-->

<!-- Relaxing chars because of JRASERVER-67974 -->
<Connector port="8080" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^&#x5c;&#x60;&quot;&lt;&gt;"
maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false"
maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443"
acceptCount="100" disableUploadTimeout="true" bindOnInit="false"/>

<!--
==============================================================================================================
HTTP - Proxying Jira via Apache or Nginx over HTTP

If you're proxying traffic to Jira over HTTP, uncomment the below connector and comment out the others.
Ensure the proxyName and proxyPort are updated with the appropriate information if necessary as per the docs.

See the following for more information:

Apache - https://confluence.atlassian.com/x/4xQLM
nginx - https://confluence.atlassian.com/x/DAFmGQ
==============================================================================================================
-->

<!--
<Connector port="8080" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^&#x5c;&#x60;&quot;&lt;&gt;"
maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false"
maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443"
acceptCount="100" disableUploadTimeout="true" bindOnInit="false" scheme="http"
proxyName="<subdomain>.<domain>.com" proxyPort="80"/>

-->
<!--
==============================================================================================================
HTTPS - Proxying Jira via Apache or Nginx over HTTPS

If you're proxying traffic to Jira over HTTPS, uncomment the below connector and comment out the others.
Ensure the proxyName and proxyPort are updated with the appropriate information if necessary as per the docs.

See the following for more information:

Apache - https://confluence.atlassian.com/x/PTT3MQ
nginx - https://confluence.atlassian.com/x/DAFmGQ
==============================================================================================================
-->

<!--
<Connector port="8080" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^&#x5c;&#x60;&quot;&lt;&gt;"
maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false"
maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443"
acceptCount="100" disableUploadTimeout="true" bindOnInit="false" secure="true" scheme="https"
proxyName="<subdomain>.<domain>.com" proxyPort="443"/>
-->

<!--
==============================================================================================================
AJP - Proxying Jira via Apache over HTTP or HTTPS

If you're proxying traffic to Jira using the AJP protocol, uncomment the following connector line
See the following for more information:

Apache - https://confluence.atlassian.com/x/QiJ9MQ
==============================================================================================================
-->

<!--
<Connector port="8009" URIEncoding="UTF-8" enableLookups="false" protocol="AJP/1.3"/>
-->

<Engine name="Catalina" defaultHost="localhost">
<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">

<Context path="" docBase="${catalina.home}/atlassian-jira" reloadable="false" useHttpOnly="true">
<Resource name="UserTransaction" auth="Container" type="javax.transaction.UserTransaction"
factory="org.objectweb.jotm.UserTransactionFactory" jotm.timeout="60"/>
<Manager pathname=""/>
<JarScanner scanManifest="false"/>
<Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="120" />
</Context>

</Host>
<Valve className="org.apache.catalina.valves.AccessLogValve"
pattern="%a %{jira.request.id}r %{jira.request.username}r %t &quot;%m %U%{sanitized.query}r %H&quot; %s %b %D &quot;%{sanitized.referer}r&quot; &quot;%{User-Agent}i&quot; &quot;%{jira.request.assession.id}r&quot;"/>
</Engine>
</Service>

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 30, 2021

I am sorry, but this does not make a lot of sense.

You say: "...i able to access the URL. but on changes the DNS name and trying. i am not able to navigate to the URL."

This reads as "I am able to get to the channel on its url, then I change my DNS to resolve it as something else and I can not get to the old url by typing in the new one"

That is exactly what I would expect - if you've changed the DNS, it's going to take you to a different place.

I do think I am misunderstanding the question though.  Could you explain it differently?  Maybe a set of steps, one simple line at a time, like:

  • We set up a JSM portal on url https://abc.def/5/portal
  • I visit that in a browser and it works
  • We changed DNS so that abc.def resolves to a different server
  • Visiting the url now results in "page not found"
TAGS
AUG Leaders

Atlassian Community Events