vrk-kpa / xroad-joint-development

Unmaintained repository. Development moved to: https://github.com/nordic-institute/X-Road-development
19 stars 8 forks source link

Client Registration points to localhost:443 #211

Closed egobsv closed 6 years ago

egobsv commented 6 years ago

USING RELASE 6.16 Affected components: - Security Server Affected documentation: - Security Server Client registration

Problem Client registration fails with " ConnectException: Connection refused" error. proxy.log and signer.log are empty, jetty.log shows error bellow. You can see how client_reg is being passed to localhost, but port 443 is not available.

Acceptance criteria Receive 'Request Sent' message as stated in the documentation.


var/log/xroad/jetty/jetty.log: 2018-01-28 12:04:41,419 [qtp2091156596-8] INFO o.e.j.s.handler.ContextHandler.ROOT - Started POST "/clients/client_regreq" for 127.0.0.1 at 2018-01-28 12:04:41 -0600

2018-01-28 12:04:41,424 [qtp2091156596-8] INFO o.e.j.s.handler.ContextHandler.ROOT - Processing by ClientsController#client_regreq as JSON

2018-01-28 12:04:41,424 [qtp2091156596-8] INFO o.e.j.s.handler.ContextHandler.ROOT - Parameters: {"member_class"=>"GOB", "member_code"=>"2001", "subsystem_code"=>"prueba"}

2018-01-28 12:04:41,462 [qtp2091156596-8] INFO o.e.j.s.handler.ContextHandler.ROOT - Error while executing in transaction: Connect to localhost:443 [localhost/127.0.0.1] failed: Connection refused (Connection refused)

2018-01-28 12:04:41,465 [qtp2091156596-8] INFO o.e.j.s.handler.ContextHandler.ROOT - org.apache.http.conn.HttpHostConnectException: Connect to localhost:443 [localhost/127.0.0.1] failed: Connection refused (Connection refused) at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(org/apache/http/impl/conn/DefaultHttpClientConnectionOperator.java:158) at ...