Sudheer Yalaverthi
2016-03-25 17:49:06 UTC
Hi,
I have enabled SSL on 8000(App-Services server) and 8002(Manage server) servers. I have also set the authentication as basic, internal security to false and external security as external security object I created with LDAP for authentication and authorization.
I have added these below properties in my env.properties file.
ssl-certificate-template=DBMLCERT
use-https=true
authentication-method=basic
internal-security=false
external-security-config-name=ldapconfig
I have set these two elements in both http-server and odbc-server elements in the ml-config.xml
<internal-security>@ml.internal-security</internal-security>
<external-security name="@ml.external-security-config-name"/>
My bootstrap command works fine and the application servers are created with basic authentication, internal security as false and external security set to ldapconfig, ssl certificate template as DBMLCERT .
When I try to deploy the modules or content, I am getting the below error.
[***@hostname marklogic-monitoring]$ ./ml local deploy content --ml.user=xyzuser
Password for xyzuser user:
Roxy::Http : request failure count: 1, exception: #<Errno::ECONNRESET: Connection reset by peer>
Roxy::Http : request failure count: 2, exception: #<Errno::ECONNRESET: Connection reset by peer>
Roxy::Http : request failure count: 3, exception: #<Errno::ECONNRESET: Connection reset by peer>
Roxy::Http : request failure count: 4, exception: #<Errno::ECONNRESET: Connection reset by peer>
Roxy::Http : re-raising same error: loninenghadoop64.uk.db.com temporarily unavailable: (Connection reset by peer) -- error count: 4, error age: 0
ERROR: loninenghadoop64.uk.db.com temporarily unavailable: (Connection reset by peer)
ERROR: ["/home/yalasud/MarkLogic/storm/marklogic-monitoring/deploy/lib/RoxyHttp.rb:353:in `block in request'", "/home/yalasud/MarkLogic/storm/marklogic-monitoring/deploy/lib/RoxyHttp.rb:343:in `loop'", "/home/yalasud/MarkLogic/storm/marklogic-monitoring/deploy/lib/RoxyHttp.rb:343:in `request'", "/home/yalasud/MarkLogic/storm/marklogic-monitoring/deploy/lib/MLClient.rb:101:in `go'", "/home/yalasud/MarkLogic/storm/marklogic-monitoring/deploy/lib/xcc.rb:165:in `go'", "/home/yalasud/MarkLogic/storm/marklogic-monitoring/deploy/lib/xcc.rb:132:in `block in load_files'", "/home/yalasud/MarkLogic/storm/marklogic-monitoring/deploy/lib/xcc.rb:125:in `each'", "/home/yalasud/MarkLogic/storm/marklogic-monitoring/deploy/lib/xcc.rb:125:in `each_with_index'", "/home/yalasud/MarkLogic/storm/marklogic-monitoring/deploy/lib/xcc.rb:125:in `load_files'", "/home/yalasud/MarkLogic/storm/marklogic-monitoring/deploy/lib/server_config.rb:874:in `load_data'", "/home/yalasud/MarkLogic/storm/marklogic-monitoring/deploy/lib/server_config.rb:1626:in `deploy_content'", "/home/yalasud/MarkLogic/storm/marklogic-monitoring/deploy/lib/server_config.rb:832:in `deploy'", "deploy/lib/ml.rb:155:in `<main>'"]
When I turned off SSL on the XCC application server (that was created by ROXY), deploy modules and content commands are working fine. Is ROXY not able to make XCCS calls and instead it is trying to XCC even when SSL is enabled on the application XCC server?
Regards,
Sudheer Yalaverthi
---
This communication may contain confidential and/or privileged information. If you are not the intended recipient (or have received this communication in error) please notify the sender immediately and destroy this communication. Any unauthorized copying, disclosure or distribution of the material in this communication is strictly forbidden.
Deutsche Bank does not render legal or tax advice, and the information contained in this communication should not be regarded as such.
I have enabled SSL on 8000(App-Services server) and 8002(Manage server) servers. I have also set the authentication as basic, internal security to false and external security as external security object I created with LDAP for authentication and authorization.
I have added these below properties in my env.properties file.
ssl-certificate-template=DBMLCERT
use-https=true
authentication-method=basic
internal-security=false
external-security-config-name=ldapconfig
I have set these two elements in both http-server and odbc-server elements in the ml-config.xml
<internal-security>@ml.internal-security</internal-security>
<external-security name="@ml.external-security-config-name"/>
My bootstrap command works fine and the application servers are created with basic authentication, internal security as false and external security set to ldapconfig, ssl certificate template as DBMLCERT .
When I try to deploy the modules or content, I am getting the below error.
[***@hostname marklogic-monitoring]$ ./ml local deploy content --ml.user=xyzuser
Password for xyzuser user:
Roxy::Http : request failure count: 1, exception: #<Errno::ECONNRESET: Connection reset by peer>
Roxy::Http : request failure count: 2, exception: #<Errno::ECONNRESET: Connection reset by peer>
Roxy::Http : request failure count: 3, exception: #<Errno::ECONNRESET: Connection reset by peer>
Roxy::Http : request failure count: 4, exception: #<Errno::ECONNRESET: Connection reset by peer>
Roxy::Http : re-raising same error: loninenghadoop64.uk.db.com temporarily unavailable: (Connection reset by peer) -- error count: 4, error age: 0
ERROR: loninenghadoop64.uk.db.com temporarily unavailable: (Connection reset by peer)
ERROR: ["/home/yalasud/MarkLogic/storm/marklogic-monitoring/deploy/lib/RoxyHttp.rb:353:in `block in request'", "/home/yalasud/MarkLogic/storm/marklogic-monitoring/deploy/lib/RoxyHttp.rb:343:in `loop'", "/home/yalasud/MarkLogic/storm/marklogic-monitoring/deploy/lib/RoxyHttp.rb:343:in `request'", "/home/yalasud/MarkLogic/storm/marklogic-monitoring/deploy/lib/MLClient.rb:101:in `go'", "/home/yalasud/MarkLogic/storm/marklogic-monitoring/deploy/lib/xcc.rb:165:in `go'", "/home/yalasud/MarkLogic/storm/marklogic-monitoring/deploy/lib/xcc.rb:132:in `block in load_files'", "/home/yalasud/MarkLogic/storm/marklogic-monitoring/deploy/lib/xcc.rb:125:in `each'", "/home/yalasud/MarkLogic/storm/marklogic-monitoring/deploy/lib/xcc.rb:125:in `each_with_index'", "/home/yalasud/MarkLogic/storm/marklogic-monitoring/deploy/lib/xcc.rb:125:in `load_files'", "/home/yalasud/MarkLogic/storm/marklogic-monitoring/deploy/lib/server_config.rb:874:in `load_data'", "/home/yalasud/MarkLogic/storm/marklogic-monitoring/deploy/lib/server_config.rb:1626:in `deploy_content'", "/home/yalasud/MarkLogic/storm/marklogic-monitoring/deploy/lib/server_config.rb:832:in `deploy'", "deploy/lib/ml.rb:155:in `<main>'"]
When I turned off SSL on the XCC application server (that was created by ROXY), deploy modules and content commands are working fine. Is ROXY not able to make XCCS calls and instead it is trying to XCC even when SSL is enabled on the application XCC server?
Regards,
Sudheer Yalaverthi
---
This communication may contain confidential and/or privileged information. If you are not the intended recipient (or have received this communication in error) please notify the sender immediately and destroy this communication. Any unauthorized copying, disclosure or distribution of the material in this communication is strictly forbidden.
Deutsche Bank does not render legal or tax advice, and the information contained in this communication should not be regarded as such.