Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
anna_
Partner - Contributor II
Partner - Contributor II

Cloning Qlik Sense Instance to New Server Failed

Hello,

I am trying to clone a Qlik Sense instance to a different server. I followed the guides "Backing up a Qlik Sense site", "Backing up certificates", "Restoring a Qlik Sense site".
The Qlik Services are all running, the Postgres Database can be reached and queried. The problem is, I cannot reach the Application itself (on port 80 or 443). I tried pinging port e.g. 4242 internally which also failed. Here are some excerpts from my log files.


AppDistributionService:

136 20220613T164912.349+02:00 ERROR KPC-TEST-UPD 71 GMMG\svc.qlik Error when validating a license: "A task was canceled." 3748
137 20220613T164912.351+02:00 INFO KPC-TEST-UPD 71 GMMG\svc.qlik Waiting for Message Queue to start. Error "A task was canceled." 3748
138 20220613T164927.534+02:00 INFO KPC-TEST-UPD 4 GMMG\svc.qlik Retry attempt: 1/10. Response: "InternalServerError". 3748
139 20220613T164946.394+02:00 INFO KPC-TEST-UPD 4 GMMG\svc.qlik Retry attempt: 2/10. Response: "InternalServerError". 3748
140 20220613T165005.250+02:00 INFO KPC-TEST-UPD 4 GMMG\svc.qlik Retry attempt: 3/10. Response: "InternalServerError". 3748
141 20220613T165024.127+02:00 INFO KPC-TEST-UPD 4 GMMG\svc.qlik Retry attempt: 4/10. Response: "InternalServerError". 3748

AppMigration:

587 20220613T165208.569+0200 kpc-test-upd.gmmg.local 4.8.3 Request INFO Request 194 will be sent: https://kpc-test-upd.gmmg.local:4242/qrs/servernodeconfiguration/full (GET), payload: <no payload>
588 20220613T165209.572+0200 kpc-test-upd.gmmg.local 4.8.3 Request WARN Request 194 failed: Error: connect ECONNREFUSED 10.6.48.135:4242 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)
589 20220613T165209.573+0200 kpc-test-upd.gmmg.local 4.8.3 Global WARN Repository configuration not available, re-trying in 10 second(s)...: connect ECONNREFUSED 10.6.48.135:4242


HybridDepolymentService:

1576 20220613T165316.911+02:00 ERROR KPC-TEST-UPD 142 GMMG\svc.qlik Error when getting a license: "No connection could be made because the target machine actively refused it" 4564
1577 20220613T165316.913+02:00 ERROR KPC-TEST-UPD 142 GMMG\svc.qlik Connection id ""0HMID8TNU2FPN"", Request id ""0HMID8TNU2FPN:00000001"": An unhandled exception was thrown by the application. System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it


Licences:

{"caller":"qrs_client.go:31","corrId":"46064ddecae3bea3:46064ddecae3bea3:0:1","error":"Get https://localhost:4242/qrs/servernodeconfiguration/local?xrfkey=InHocSignoVinces: dial tcp [::1]:4242: connectex: No connection could be made because the target machine actively refused it.","level":"error","message":"failed retrieve central node info from QRS (communication error)","timestamp":"2022-06-13T14:58:36.9941795Z"}

OdagService:

459 20220613T165905.689+02:00 kpc-test-upd.gmmg.local 3.9.1 QrsRest INFO API-ID [startup]: GET https://kpc-test-upd.gmmg.local:4242/qrs/about/ Error: connect ECONNREFUSED 10.6.48.135:4242


Thanks,
A

Labels (1)
1 Solution

Accepted Solutions
Albert_Candelario

Hello @anna_ ,

Thanks for posting.

Could you kindly apply the best practises on TLS/SSL of the IIS Crypto tool mentioned on Supported TLS and SSL Protocols and Ciphers - Qlik Community - 1710345 and then restart the server and let us know if it makes any difference.

I am suggesting that because of the error ECONNREFUSED.

Cheers,

Albert

Please, remember to mark the thread as solved once getting the correct answer

View solution in original post

3 Replies
Chip_Matejowsky
Support
Support

Hi @anna_,

I suggest that you start with article Qlik Sense: Change hostname (and certificates) after an installation and see how things are after using bootstrap and recreating the certificates.

Best Regards

Principal Technical Support Engineer with Qlik Support
Help users find answers! Don't forget to mark a solution that worked for you!
anna_
Partner - Contributor II
Partner - Contributor II
Author

Thank you for your reply and sorry for being unclear. I started with a fresh Qlik Sense install on a new server. Changing the hostname as (described in the linked article) does not seem necessary, since after the install on the new server I am not touching C:\ProgramData\Qlik. The file host.cfg already has the correct hostname assigned, since I installed Qlik Sense on the Server it will run on. Migrating the postgres Database was no problem, all my data is on the new server now. Backing up and restoring the certificates has also worked (I think, at least no error messages). I replaced the fresh C:\QlikSense directory on the new server with the one from my old server and restarted the services. After that I experienced the problems I described in my post.

Thanks again!

Albert_Candelario

Hello @anna_ ,

Thanks for posting.

Could you kindly apply the best practises on TLS/SSL of the IIS Crypto tool mentioned on Supported TLS and SSL Protocols and Ciphers - Qlik Community - 1710345 and then restart the server and let us know if it makes any difference.

I am suggesting that because of the error ECONNREFUSED.

Cheers,

Albert

Please, remember to mark the thread as solved once getting the correct answer