Comments (7)
Try following the steps, and check if the issue still persists.
-
Firstly, test it with PreProduction keys, available on the UIDAI Developer website.
-
If not solved, recheck if you are using the correct UIDAI encryption key. Encryption key and signature key are different in production environment.
-
Try viewing the final XML in debug mode and manually compare the generated ci value with expiry date of the UIDAI encryption key, the ci identifier should be in the "YYYYMMDD" format.
-
If the problem still persists, contact Aadhaar technical team.
from aadhaarapi.net.
Hi Souvik
First of all, Thanks for the reply. See the code for Auth has this region known as Device to Agency and it was commented, shown below:
#region Device to Agency
// TODO: Wrap DeviceContext{T} into AUA specific protocol and send it to AUA.
// On Device Side:
// var deviceXml = deviceContext.ToXml();
// var wrapped = WrapIntoAuaProtocol(deviceXml);
// On Agency Side:
// var auaXml = UnwrapFromAuaProtocol(wrapped);
// var auaContext = new AuthContext();
// auaContext.FromXml(auaXml);
#endregion
I just uncommented deviceXml and found the xml going as device context as follows:
{
NbMR6W7u/9bukL5/6LLnGypU2O2CtUamqjVrQc92gP110CvDI+3vCwki+4GB5fl0N0z3YipYAR91hEo4CCqS3nHXhEQhV+UC9pH1Tq9TiUQHB+5uC6fI4EJgAS0ZCrAP2XqGYwhtHdM+ANkI5NdL6LFJZKwVhN8GMnLxfbphHFldtQJSJ94znR4vYepncPVerVdF4sNFW5s4sJ9xFfgQcD6UTM8OgadhHI7YnmEnB4FYwN628KSML4cmFBFux0Hs9wlmI5Hova1bXuvh12FDgIs0qTdAkT7a0O3y9XXJAfyi883WnIBJDAJg7haZhVfD4rqWzSOVxXx1o6iOtac66Q==
Uofe+M5yhH+CRNteaFGFEZd4nnfDXxOfT3yiH9XdBulTJ74beiSFjAIRHS/sYKe/Ia/qFEtLj0tMSxQFkggYplk8Ju9BQQ+Mlq0aQKOejZI=
3eP5wfunA5n0olDnZXNZYP4mmK4Nyq/+k54zUK2lboSeg6ku0kCj7KqUOnSaOCiM
}
Now there are few questions as 👍
- why this code was commented .
- when we try to uncomment and run it , it is unableto wrapauprotocol and then unwrap.
And still showing the same 501 error even after trying the latest production certificate and aua.p12 signature available at adhaar site.
Please help/guide. I will be thankful.
Thanking you
Himanshu Gehlot
[email protected]
from aadhaarapi.net.
Skey ci="20170227" goinhg this way
from aadhaarapi.net.
and value inside the tag is NbMR6W7u/9bukL5/6LLnGypU2O2CtUamqjVrQc92gP110CvDI+3vCwki+4GB5fl0N0z3YipYAR91hEo4CCqS3nHXhEQhV+UC9pH1Tq9TiUQHB+5uC6fI4EJgAS0ZCrAP2XqGYwhtHdM+ANkI5NdL6LFJZKwVhN8GMnLxfbphHFldtQJSJ94znR4vYepncPVerVdF4sNFW5s4sJ9xFfgQcD6UTM8OgadhHI7YnmEnB4FYwN628KSML4cmFBFux0Hs9wlmI5Hova1bXuvh12FDgIs0qTdAkT7a0O3y9XXJAfyi883WnIBJDAJg7haZhVfD4rqWzSOVxXx1o6iOtac66Q==
from aadhaarapi.net.
In case if your device need to send any extra information to the AUA, you may wrap the device XML in a device-AUA specific protocol and send it to AUA, AUA on the other side, may decode and get the final device XML. This is just an optional part, and the (Un)wrapFromAuaProtocol() needs to be implemented by you.
ALSO add one step to the troubleshooting steps:
5. Check if you are you using the correct API web address.
Remember, every parameter is different and secure in production environment: API web address, AUA/ASA license keys, encryption keys, digital signatures, Aadhaar numbers, etc.
If everything is working fine with the Staging and especially Pre-Production keys, then it should also work with Production keys, as the same code is running and generating the XML in same way. As this does not seem to point to a issue, we need to close it.
You may contact Aadhaar team for help in production environment.
from aadhaarapi.net.
Hi Souvik
How to contact Aadhaar Technical team as the only tollfree number they have provided is not responding. Please send if you have any lead.
Thanking you
Himanshu Gehlot
from aadhaarapi.net.
Please find the group mentioned below, there you will get various email addresses of technical team.
Aadhaar Authentication Discussions Group
Regards,
Souvik
from aadhaarapi.net.
Related Issues (17)
- API and HTTP errors with version 1.6 HOT 7
- 503 Service Unavailable HOT 1
- Error Code 998 while authenticating Aadhaar by OTP HOT 2
- Sample Configuration not working HOT 1
- Getting "Invalid Algorithm Specified" error HOT 4
- project not opening
- requirements for running this project at present ie in may 2018 HOT 1
- Error in running sample
- Update this project api to 2.5
- Provide any demo or any video HOT 1
- When EKYC Module will be added? If added how to use? HOT 14
- how use aadhaar api for c# for web application HOT 1
- Error while running OTP Request? HOT 1
- Error when running sample XmlSignature could not be found HOT 1
- error 937 HOT 7
- Any plans to add device registration? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aadhaarapi.net.