Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Getting error - discovery resource at https://server/rs/rootservices for "/rs" cannot be accessed:

We have CLM 5.0.2 installation on one server and we installed JRS on another server on separate WAS profile.
CLM server has HTTP server installed and it works as a proxy server (redirects to CLM or to JRS).
We registered JRS application with CLM jts. We use the same server name for CLM and JRS in the URL.
After we registered JRS application, we see the JRS menu item under the LCM Home menu. When we click on it we have the following error:
Error Status Report

Error Status 500

Error Message Internal Error

Error Substatus CRRGW5701E

Detailed Message CRRGW5701E The Oauth provider properties cannot be found.

Also we have this error in the JTS diagnostic under Applications and Friends:
Application: the discovery resource at https://server.1DC.COM/rs/rootservices for "/rs" cannot be accessed:
The returned HTTP status was 500
The response body was

Error 500: java.io.IOException: An error occurred while making a discovery request to "https://w1pvap1196.1dc.com/jts/discovery?type=http%3A%2F%2Fjazz.net%2Fxmlns%2Ffoundation%2F1.0%2FOAuth". The nested exception should contain more details.

SystemOut log on JRS server has the following:
[1/19/17 0:31:15:703 EST] 000000bc webapp        E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet Error]-[RootServicesServlet]: java.io.IOException: An error occurred while making a discovery request to "https://server.1dc.com/jts/discovery?type=http%3A%2F%2Fjazz.net%2Fxmlns%2Ffoundation%2F1.0%2FOAuth". The nested exception should contain more details.
    at com.ibm.team.jfs.app.discovery.internal.DiscoveryHelper.executeServiceQuery(DiscoveryHelper.java:152)
    at com.ibm.team.jfs.app.discovery.internal.DiscoveryHelper.getService(DiscoveryHelper.java:72)
    at com.ibm.team.integration.reporting.common.stores.ServiceStore.getRootServices(ServiceStore.java:87)
    at com.ibm.team.integration.reporting.common.services.RootServices.doGet(RootServices.java:49)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1225)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:775)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:457)
    at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
    at com.ibm.team.integration.reporting.common.services.JRSServletRequestFilter.doFilter(JRSServletRequestFilter.java:111)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
    at com.ibm.team.integration.reporting.common.services.CSRFPreventFilter.doFilter(CSRFPreventFilter.java:81)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
    at com.ibm.team.integration.reporting.common.services.ClickjackFilter.doFilter(ClickjackFilter.java:47)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
    at com.ibm.team.integration.reporting.common.services.EncodingFilter.doFilter(EncodingFilter.java:82)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3761)
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:975)
    at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:283)
    at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.determineNextChannel(SSLConnectionLink.java:1048)
    at com.ibm.ws.ssl.channel.impl.SSLConnectionLink$MyReadCompletedCallback.complete(SSLConnectionLink.java:642)
    at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
    at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
    at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
    at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
    at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1815)
Caused by: org.apache.http.conn.HttpHostConnectException: Connection to https://w1pvap1196.1dc.com refused
    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:158)
    at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
    at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
    at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:573)
    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)
    at com.ibm.team.jfs.app.http.client.internal.ExtensibleRequestDirector.execute(ExtensibleRequestDirector.java:149)
    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
    at com.ibm.team.jfs.app.http.client.JazzHttpClient.execute(JazzHttpClient.java:293)
    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:919)
    at com.ibm.team.jfs.app.discovery.internal.DiscoveryHelper.executeServiceQuery(DiscoveryHelper.java:144)
    ... 45 more
Caused by: java.net.ConnectException: Connection timed out: connect
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:412)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:271)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:258)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:376)
    at java.net.Socket.connect(Socket.java:546)
    at com.ibm.jsse2.SSLSocketImpl.connect(SSLSocketImpl.java:283)
    at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:375)
    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
    ... 54 more

Thank you

0 votes


Accepted answer

Permanent link

Hi Yelena,

It looks like the connection to https://w1pvap1196.1dc.com/jts/discovery?type=http%3A%2F%2Fjazz.net%2Fxmlns%2Ffoundation%2F1.0%2FOAuth"
has a problem, and cannot be accessible. Do you set redirection for JTS as well? Or it could be a https handshake problem, as JRS is running in the separate server.

Yelena Smelyanskaya selected this answer as the correct answer

0 votes

Comments

Thank you Kenji. We do not send redirection to JTS as it is on the same server as HTTP server. We found that we didn't have a firewall port opened from JRS server to JTS server. After we opened a port everything works. Thank you again for your help.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 360

Question asked: Jan 19 '17, 1:18 a.m.

Question was seen: 1,623 times

Last updated: Jan 20 '17, 1:30 a.m.

Confirmation Cancel Confirm