cancel
Showing results for 
Search instead for 
Did you mean: 

DecryptPasswordError-Agentry 6.0

Former Member
0 Kudos

Hello Experts,

I am following the tutorial Agentry Essential Study and deploying the Northwind Mobile app. I can load the Customers successfully at the first time with any login user name and password. Then when I click the transmit button to perform transmit action. It always show the error

Logging king into CSCVIEAH498100

DecryptPasswordError

Server error - please contact your administrator (13)

Login request failed.

I uninstall and reinstall the Agentry Test Environment many times  and run as Administrator but it doesnt work. always DecryptPasswordError.

Please help me. Thank you.

Accepted Solutions (0)

Answers (5)

Answers (5)

sudhiranjan_lenka
Contributor
0 Kudos

Hi,

Please do the following steps I guess It will resolve your issue of Decrypt Password Error.

1.     Reset the ATE/Client.

2.     Close the ATE/Client.

3.     Delete the following two folders from your system.

              SAP AG, SAP_AG (path :- C:\Users\Your User\AppData(Hidden)\Local)

4. Start the ATE/Client.

Good Luck....

Thanks,

Sudhir.

Former Member
0 Kudos

Hey,

sorry for the late response. I resolve my issue. What i need to do is to start the Agentry Server as administrator and make communication unencrypted

Former Member
0 Kudos

It is not possible to run the server's connection to the client non-encrypted.

But starting the server as Admin, is what most likely solved the issue, if there was already an Server key and it was locked the Server could access the key when using Adminstrator.

Did you clear the client after you started the server?  I am asking this because the client could have an older encryption key that was removed when cleared the client so when you connected to the server it would get a fresh key from that server.

Former Member
0 Kudos

Now I figure out what happen.

If i change the port to 7003, It works. If I change it to 7004, or anything, the issue happened again. I can load the app successfully at first, but throw communication error (14) when I click transmit.

The problem is we cant have two agentry instances which listen on 7003. Is there any other ports that I can change it into? Please help me. Thank you very much.

Former Member
0 Kudos

Hi Ngu,

that depends on your infrastructure. Means on the Firewall Configuration. Normally I setted it (locally) from 7003 incrementally to 7004 and so forth. If you got an error you should check if the port 7004 is already in use by another application or blocked by the firewall.

Kind regards,

Mike

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

The decrypt password error indicates that the Agentry server you are communicating with is not the same server that you previously loaded definitions from.

You indicated that you are running two development servers (this is absolutely supported if using different ports).  What appears to be happening is that within your definitions (Transmit Config or override file) for the one Agentry server it has a configuration setting telling your application to use the wrong port.  So after a successful initial transmit when you next try to transmit it is connecting to the port for the other Agentry sever on your machine and giving your the decrypt password error.

If the second server is not running you will just get an Error 14 since the server the client is trying to connect to (the second server) is not running.

To help further please connect from the ATE and post a copy of your Agentry.ini file from the ATE (not the server) and let us know what port you originally used to connect.

--Bill

sravanthi_polu
Contributor
0 Kudos

Hi,

Close the ate and login using the username and password.If not solved, reset the Agentry test environment.I have encountered the same error in Ipad, and resolved by closing the agentry application using task manager in the device which clears the old encryption keys.

Thanks & Regards,

Sravanthi Polu

Former Member
0 Kudos

I reset it many times. Issue still remains.

Former Member
0 Kudos

Hello PH Ngu , As Resmi said please remove all files except Agentry Test Environment Uninstall.exe,AgentryTestEnvironment.exe,AgentryTrustedCertificates.sst,sqlapiu.dll and try to test , it should work then . Thanks & Regards, Kunal Varaiya

0 Kudos

Hello,

Usually, this error is sent from the server to the client when the server is not able to read the information the client is sending to the server because of a different Server Encryption Key. This can be resolved by clearing out the client - i.e,Remove all files in the client folder except the following types: *.exe, .*sst, and *.dll and then retransmitting to the server.

Thanks

Resmi

Former Member
0 Kudos

Thanks for your reply. I removed them but it doesnt solve the error.

0 Kudos

Hello,

If you have any old client installed, please uninstall the old and reinstall the new one, so if any old keys that are stored will be deleted. If you still have the issue, please paste the logs here. Also verify the user have enough authorization?. Are you running the ATE - Run as administrator?.

Thanks

Resmi


Former Member
0 Kudos

Now it turns into

Logging king into CSCVIEAH498100

Communications error (14)

'Network' connection failed

Ending transmission

I cannot find any useful info in the log

Updated: It loads successfully at first. Issue only happens when I click transmit to sync with Agentry Server.


11/04/2014 16:51:56, 0,         0,         0, Thr       9944, New files opened events.log, messages.log

11/04/2014 16:51:56, 0,         0,         2, Thr       9944, System Startup

11/04/2014 16:51:56, 0,         0,        18, Thr       9944, Memory: page: 9685291008/16504377344, phys: 2913193984/8253140992, virtual: 8796017573888/8796092891136

11/04/2014 16:51:56, 0,        17,        14, Thr       9944, ANGEL Front End v6.0.30.0

11/04/2014 16:51:56, 0,         0,         2, Thr       9944, Loading the Agentry Server's public/private key for password exchanges.

11/04/2014 16:51:56, 0,         0,         2, Thr       9944, Key pair loaded successfully.

11/04/2014 16:51:56, 0,         1,         4, Thr       9944, Agentry v6.0.30.0

11/04/2014 16:51:56, 0,         0,        30, Thr      11012, Admin client 20.203.152.148:51333 authenticated successfully.

11/04/2014 16:51:57, 0,        21,         4, Thr       9944, Loaded SQL Back End (SQL v6.0.30.0) from ag3sqlbe.dll

11/04/2014 16:51:57, 0,         0,        27, Thr      11012, Admin client 20.203.152.148:51333 has connected

11/04/2014 16:51:57, 0,        20,       150, Thr      11044, Loading Development application definitions

11/04/2014 16:51:57, 0,        20,       152, Thr      11044, Loading Development application definitions for default localization

11/04/2014 16:51:57, 0,        20,       153, Thr      11044, Finished loading Development application definitions for default localization

11/04/2014 16:51:57, 0,        20,       151, Thr      11044, Finished loading Development application definitions

11/04/2014 16:51:57, 0,        21,       101, Thr       9944, dB Connect

11/04/2014 16:51:57, 0,        20,         4, Thr       9944, Server v6.0.30.0

11/04/2014 16:51:57, 0,        17,        10, Thr       9944, 0.0.0.0:7005 open

11/04/2014 16:51:57, 0,        17,        10, Thr       9944, ANGEL Front End v6.0.30.0

11/04/2014 16:51:57, 0,         0,        18, Thr       9944, Memory: page: 9674301440/16504377344, phys: 2900668416/8253140992, virtual: 8795865284608/8796092891136

11/04/2014 16:51:57, 0,         0,        20, Thr       9944, Disk: 107380994048 bytes total, 17782910976 bytes free

11/04/2014 16:51:57, 0,         0,         0, Thr       9944, Old log files moved into Logs-Rolled\2014-11-04-165156

11/04/2014 16:51:57, 0,         0,         2, Thr       9944, Server startup is complete.

11/04/2014 16:52:26, 0,         0,        19, Thr      10900, Virtual memory: 8795863187456 avail (229703680 used)

11/04/2014 16:55:17, 0,         0,        19, Thr      10900, Virtual memory: 8795861024768 avail (231866368 used)

11/04/2014 16:55:47, 0,         0,        19, Thr      10900, Virtual memory: 8795858993152 avail (233897984 used)

0 Kudos

Hello,

So I hope you are not getting the Decrypt password error any more.

The communication error 14 may be tied to a time out issue cause by the amount of data being sync.

We can either increase time out or decrease the amount of data being downloaded for update. From Agentry.ini, by default 300 seconds, ie, 5 minutes, sometimes, it may require more that 5 minutes to execute the query, so need to adjust accordingly, eg: 3000. And also in the transmit configuration under editor, make sure the session settings are stay logged into server, Inactive timeout, adjust based on how long client needs to wait to process eg: 30 minutes. After the changes, restart the Agentry server, clear the client and transmit.

Is there any errors in events logs?.

Thanks

Resmi

Former Member
0 Kudos

No, there is no errors in the events log. I change the setting in Agentry.ini and in Transmit configuration but error still remains

And i dont know exactly what happen to the configuration because there is no error in the log at all.

Note: I run 2 agentry dev servers at the same time and both of them have the same error 14