Hello Sir!
We are Louvette Ting and Daniel Garcia from the University of the Philippines - Diliman. We are computer science students in our senior year, working on a special project as fulfillment of our final course requirements. The project we decided to take on concerns the security mechanism of the OpenHIE, particularly Authentication in the Interoperability Layer.
Our plan for the project is to check and evaluate the current authentication mechanisms of the reference implementation OpenHIM. We've managed to simulate a simple transaction in OpenHIM last semester. Now, we've encountered some problems when we tried some settings in the OpenHIM.
In the 'Routes' section, when we set the secured route option to 'True', an error is reflected in the server logs:
================Excerpt from openhim-core.log
2015-12-15T10:55:49.358Z - info: [worker1] Storing request metadata for inbound transaction
2015-12-15T10:55:49.490Z - info: [worker1] Routing http(s) request
2015-12-15T10:55:50.031Z - error: [worker1] Internal server error occured: Error: socket hang up
2015-12-15T10:55:50.036Z - error: [worker1] Error: socket hang up
at createHangUpError (_http_client.js:215:15)
at Socket.socketOnEnd (_http_client.js:300:23)
at Socket.emit (events.js:129:20)
at _stream_readable.js:908:16
at process._tickCallback (node.js:355:11)
2015-12-15T10:55:50.138Z - info: [worker1] Storing events for transaction: 566ff1b5965f9b290555dc51
2015-12-15T10:55:50.202Z - info: [worker1] Final status for transaction 566ff1b5965f9b290555dc51 : Failed
======================
We've tried searching the current documentation and openhim github page for anything that can help us with this issue but failed to find relevant information. There was a similar socket hang up error in the github issues page, but I'm not sure that it is the same problem.
Note that for the setup,we used the latest openhim version(pushed in github) and we used a nodejs mediator made through the yeoman generator.
We'd also like to ask what are the future plans for authentication/authorization in OpenHIE?
Any help will be greatly appreciated. Thank you!
Best regards,
Louvette and Daniel