Actions
Task #11418
closed
CkanConnectors: whn-manager is not listening on http
Status:
Closed
Priority:
Urgent
Assignee:
_InfraScience Systems Engineer
Category:
System Application
Target version:
Start date:
Mar 12, 2018
Due date:
% Done:
100%
Estimated time:
Infrastructure:
Production
Description
It seems that every ckanConnector instance is not able to reply to http requests performed by whn-manager client.
From ResourceManager logs, I see the following exception:
javax.xml.ws.WebServiceException: Failed to access the WSDL at: http://ckan-d4s.d4science.org:80/whn-manager/gcube/vremanagement/ws/whnmanager?wsdl. It failed with: Invalid WSDL http://ckan-d4s.d4science.org:80/whn-manager/gcube/vremanagement/ws/whnmanager?wsdl, expected {http://schemas.xmlsoap.org/wsdl/}definitions found html at (lineLine number = 1 Column number = 7 System Id = http://ckan-d4s.d4science.org:80/whn-manager/gcube/vremanagement/ws/whnmanager?wsdl Public Id = null Location Uri= http://ckan-d4s.d4science.org:80/whn-manager/gcube/vremanagement/ws/whnmanager?wsdl CharacterOffset = 10 ). at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLParser.java:173) at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:149) at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:120) at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:258) at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:221) at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:169) at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:101) at javax.xml.ws.Service.<init>(Service.java:77) at javax.xml.ws.Service.create(Service.java:707) at org.gcube.common.calls.jaxws.StubFactory.at(StubFactory.java:41) at org.gcube.common.calls.jaxws.StubFactory.at(StubFactory.java:62) at org.gcube.common.vremanagement.whnmanager.client.plugins.WHNManagerServicePlugin.resolve(WHNManagerServicePlugin.java:41) at org.gcube.common.vremanagement.whnmanager.client.plugins.WHNManagerServicePlugin.resolve(WHNManagerServicePlugin.java:22) at org.gcube.common.clients.delegates.DirectDelegate.make(DirectDelegate.java:46) at org.gcube.common.vremanagement.whnmanager.client.proxies.DefaultWHNManagerProxy.addToContext(DefaultWHNManagerProxy.java:52) at org.gcube.vremanagement.resourcemanager.impl.resources.ScopedRunningInstance.addToScope(ScopedRunningInstance.java:134) at org.gcube.vremanagement.resourcemanager.impl.resources.ScopedResource.doAction(ScopedResource.java:129) at org.gcube.vremanagement.resourcemanager.impl.state.observers.Executor.addResourceToScope(Executor.java:121) at org.gcube.vremanagement.resourcemanager.impl.state.observers.Executor.scopeChanged(Executor.java:41)
If I try to exec this url in a browser: http://ckan-d4s.d4science.org:80/whn-manager/gcube/vremanagement/ws/whnmanager?wsdl
I'm redirecting to https by nginx.
Please could you configure nginx in order to serve these requests on http?
Updated by Andrea Dell'Amico over 7 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 60
The nginx template was fixed time ago but not installed everywhere. I just installed it on ckan-d4s.d4science.org, can you check if it's working?
If so, we can update the instances that still run the old version.
Updated by Andrea Dell'Amico over 7 years ago
You can do it running
./run.sh ckan.yml -i inventory/hosts.production -t nginx -l ckan_web
Updated by Roberto Cirillo over 7 years ago
- Tracker changed from Support to Task
It works properly now. Thanks.
Updated by Andrea Dell'Amico over 7 years ago
- Status changed from In Progress to Closed
- % Done changed from 60 to 100
All the CKAN nodes are now up to date.
Actions