The remote server returned an error: (503) Server Unavailable

Hi,

I am trying to integrate OSLC with IBM DNG version 6.0.6 using Windchill Modeler. I was able to add the DNG server in Modeler. Next, I was prompted to add the DNG user credentials but was receiving an error - The remote server returned an error: (503) Server Unavailable.

What can be the reason behind the error? Is it the DNG version? or any server configuration? or anything other than this?

Do you have access to the DNG server? What do its error logs say?
There is unfortunatly too little information here to be able to help you.


Yes, DNG server is accessible.
I checked the error logs of JTS and here are some repeated errors -

2024-04-24 08:22:00,303 [ Default Executor-thread-92] WARN nal.compatibility.auth.DelegatedAuthHandlerService - CRJAZ2333W Authentication is being requested before the server has been configured. The services required for authentication are not yet available. Requests will be handled as if invoked by an administrator until the server is configured properly.
2024-04-24 08:22:00,303 [ Default Executor-thread-92] WARN .team.repository.servlet.AbstractTeamServerServlet - CRJAZ1972E The “com.ibm.team.repository.servlet.internal.FetchLoggedInContribService” service failed to activate because a service that it depends on, “com.ibm.team.repository.service.IMailerService”, failed to be activated. CRJAZ1170I The request was made by user “ADMIN” from “0:0:0:0:0:0:0:1”.CRJAZ1166I The stack trace hash is F5E96C00E83FF3D049B56CA166017C80021E31EC.
com.ibm.team.repository.common.transport.TeamServiceRegistryException: CRJAZ1972E The “com.ibm.team.repository.servlet.internal.FetchLoggedInContribService” service failed to activate because a service that it depends on, “com.ibm.team.repository.service.IMailerService”, failed to be activated.
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.buildServicesMap(AbstractActivationManagerOwner.java:397)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.doActivate(AbstractActivationManagerOwner.java:836)
at com.ibm.team.repository.common.transport.internal.registry.ServiceProviderActivationManagerOwner.getService(ServiceProviderActivationManagerOwner.java:133)
at com.ibm.team.repository.common.transport.internal.registry.OsgiServicesManager.getService(OsgiServicesManager.java:317)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.getService(AbstractTeamServerServlet.java:1401)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.getFetchLoggedInContribService(AbstractTeamServerServlet.java:2114)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleAppSdkRestServiceRequest2(AbstractTeamServerServlet.java:2086)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.access$2(AbstractTeamServerServlet.java:2055)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet$2.service(AbstractTeamServerServlet.java:271)
at com.ibm.team.repository.service.internal.compatibility.auth.DelegatedAuthHandlerService$3$1.run(DelegatedAuthHandlerService.java:344)
at com.ibm.team.repository.service.internal.TeamServiceContext.runAsAdmin(TeamServiceContext.java:257)
at com.ibm.team.repository.service.internal.compatibility.auth.DelegatedAuthHandlerService$3.run(DelegatedAuthHandlerService.java:338)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleAuthentication(AbstractTeamServerServlet.java:2166)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleAppSdkRestServiceRequest(AbstractTeamServerServlet.java:2031)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1768)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:152)
at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:74)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1255)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:743)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:440)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:147)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:89)
at com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:165)
at com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:198)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:86)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:995)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1124)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4962)
at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.handleRequest(DynamicVirtualHost.java:314)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:995)
at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.run(DynamicVirtualHost.java:279)
at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink$TaskWrapper.run(HttpDispatcherLink.java:1009)
at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.wrapHandlerAndExecute(HttpDispatcherLink.java:412)
at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.ready(HttpDispatcherLink.java:371)
at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:530)
at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleNewRequest(HttpInboundLink.java:464)
at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.processRequest(HttpInboundLink.java:329)
at com.ibm.ws.http.channel.internal.inbound.HttpICLReadCallback.complete(HttpICLReadCallback.java:70)
at com.ibm.ws.channel.ssl.internal.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1803)
at com.ibm.ws.tcpchannel.internal.WorkQueueManager.requestComplete(WorkQueueManager.java:501)
at com.ibm.ws.tcpchannel.internal.WorkQueueManager.attemptIO(WorkQueueManager.java:571)
at com.ibm.ws.tcpchannel.internal.WorkQueueManager.workerRun(WorkQueueManager.java:926)
at com.ibm.ws.tcpchannel.internal.WorkQueueManager$Worker.run(WorkQueueManager.java:1015)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.lang.Thread.run(Thread.java:811)
Caused by: com.ibm.team.repository.common.transport.TeamServiceRegistryException: CRJAZ1972E The “com.ibm.team.repository.service.jts.internal.mailer.JtsMailerService” service failed to activate because a service that it depends on, “com.ibm.team.repository.service.compatibility.internal.mailer.ICompatibilityMailerService”, failed to be activated.
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.buildServicesMap(AbstractActivationManagerOwner.java:397)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.doActivate(AbstractActivationManagerOwner.java:836)
at com.ibm.team.repository.common.transport.internal.registry.ServiceProviderActivationManagerOwner.getService(ServiceProviderActivationManagerOwner.java:133)
at com.ibm.team.repository.common.transport.internal.registry.OsgiServicesManager.getService(OsgiServicesManager.java:317)
at com.ibm.team.repository.common.transport.internal.registry.OsgiServicesManager.getService(OsgiServicesManager.java:326)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.buildServicesMap(AbstractActivationManagerOwner.java:386)
… 53 more
Caused by: com.ibm.team.repository.common.transport.TeamServiceRegistryException: CRJAZ1972E The “com.ibm.team.repository.service.compatibility.internal.mailer.MailerService” service failed to activate because a service that it depends on, “com.ibm.team.repository.service.compatibility.util.http.ICrossServerHttpClientService”, failed to be activated.
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.buildServicesMap(AbstractActivationManagerOwner.java:397)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.doActivate(AbstractActivationManagerOwner.java:836)
at com.ibm.team.repository.common.transport.internal.registry.ServiceProviderActivationManagerOwner.getService(ServiceProviderActivationManagerOwner.java:133)
at com.ibm.team.repository.common.transport.internal.registry.OsgiServicesManager.getService(OsgiServicesManager.java:317)
at com.ibm.team.repository.common.transport.internal.registry.OsgiServicesManager.getService(OsgiServicesManager.java:326)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.buildServicesMap(AbstractActivationManagerOwner.java:386)
… 58 more
Caused by: com.ibm.team.repository.common.transport.TeamServiceRegistryException: CRJAZ1972E The “com.ibm.team.repository.service.compatibility.util.http.CrossServerHttpClientService” service failed to activate because a service that it depends on, “com.ibm.team.repository.service.compatibility.internal.IJtsConfigurationStateService”, failed to be activated.
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.buildServicesMap(AbstractActivationManagerOwner.java:397)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.doActivate(AbstractActivationManagerOwner.java:836)
at com.ibm.team.repository.common.transport.internal.registry.ServiceProviderActivationManagerOwner.getService(ServiceProviderActivationManagerOwner.java:133)
at com.ibm.team.repository.common.transport.internal.registry.OsgiServicesManager.getService(OsgiServicesManager.java:317)
at com.ibm.team.repository.common.transport.internal.registry.OsgiServicesManager.getService(OsgiServicesManager.java:326)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.buildServicesMap(AbstractActivationManagerOwner.java:386)
… 63 more
Caused by: com.ibm.team.repository.common.transport.NoServiceWithMatchingFilterException: CRJAZ1135I Failed to find the service “com.ibm.team.repository.service.compatibility.internal.IJtsConfigurationStateService” with a matching filter “(validJtsConfig=true)”. Use the administrative UI to verify that the server and applications are configured correctly.
at com.ibm.team.repository.common.transport.internal.registry.ServiceProviderActivationManagerOwner.getService(ServiceProviderActivationManagerOwner.java:142)
at com.ibm.team.repository.common.transport.internal.registry.OsgiServicesManager.getService(OsgiServicesManager.java:317)
at com.ibm.team.repository.common.transport.internal.registry.OsgiServicesManager.getService(OsgiServicesManager.java:326)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.buildServicesMap(AbstractActivationManagerOwner.java:386)
… 68 more
2024-04-24 08:22:00,381 [Default Executor-thread-144 @@ 08:22 JazzHttpClient@127.0.0.1 /rm/linkIndex/linkIndexProviderUri] WARN com.ibm.team.repository.servlet.TeamServerServlet - CRJAZ1185W Cannot retrieve user “ADMIN” because the repository is inaccessible. Logging in as “ADMIN”. Check the configuration of the server.
2024-04-24 08:22:04,929 [ JTS Status check] ERROR ompatibility.internal.JtsConfigurationStateService - CRJZS0035E The OAuth signature is not valid. An application might be configured incorrectly or the consumer secret might be mismatched.
2024-04-24 08:22:09,944 [ JTS Status check] ERROR ompatibility.internal.JtsConfigurationStateService - CRJZS0035E The OAuth signature is not valid. An application might be configured incorrectly or the consumer secret might be mismatched.
2024-04-24 08:22:14,936 [ JTS Status check] ERROR ompatibility.internal.JtsConfigurationStateService - CRJZS0035E The OAuth signature is not valid. An application might be configured incorrectly or the consumer secret might be mismatched.
2024-04-24 08:22:19,952 [ JTS Status check] ERROR ompatibility.internal.JtsConfigurationStateService - CRJZS0035E The OAuth signature is not valid. An application might be configured incorrectly or the consumer secret might be mismatched.
2024-04-24 08:22:24,952 [ JTS Status check] ERROR ompatibility.internal.JtsConfigurationStateService - CRJZS0035E The OAuth signature is not valid. An application might be configured incorrectly or the consumer secret might be mismatched.
2024-04-24 08:22:30,046 [ JTS Status check] ERROR ompatibility.internal.JtsConfigurationStateService - CRJZS0035E The OAuth signature is not valid. An application might be configured incorrectly or the consumer secret might be mismatched.
2024-04-24 08:22:35,046 [ JTS Status check] ERROR ompatibility.internal.JtsConfigurationStateService - CRJZS0035E The OAuth signature is not valid. An application might be configured incorrectly or the consumer secret might be mismatched.
2024-04-24 08:22:39,968 [ JTS Status check] ERROR ompatibility.internal.JtsConfigurationStateService - CRJZS0035E The OAuth signature is not valid. An application might be configured incorrectly or the consumer secret might be mismatched.
2024-04-24 08:22:44,968 [ JTS Status check] ERROR ompatibility.internal.JtsConfigurationStateService - CRJZS0035E The OAuth signature is not valid. An application might be configured incorrectly or the consumer secret might be mismatched.
2024-04-24 08:22:49,968 [ JTS Status check] ERROR ompatibility.internal.JtsConfigurationStateService - CRJZS0035E The OAuth signature is not valid. An application might be configured incorrectly or the consumer secret might be mismatched.
2024-04-24 08:22:54,968 [ JTS Status check] ERROR ompatibility.internal.JtsConfigurationStateService - CRJZS0035E The OAuth signature is not valid. An application might be configured incorrectly or the consumer secret might be mismatched.

What does that mean? Did you specify the root services URL of DNG? Did you manage to enter some username/password after that?

The logs shows that you seem to have problems with the oauth credentials.
From the figure, I see also that your URL is https://localhost…

Are you sure you need the “s”? Do you have a sself-signed certificate on your local server?

1 Like

Please go to /jts/admin#action=com.ibm.team.repository.admin.serverDiagnostics and check that you finished configuring the server.

Our DNG is installed in localhost.

Also, where can we get the certificate. Please guide.

Sure Andrew will check.

Hi Andrew,

I went to the above admin URL and all the parameters were given in green check. Does that mean everything in the server is configured? or do I need to check somewhere else.