Open himadrinath opened 6 years ago
No, it seems absolutely fine to me. Are you sure the request timestamp is not too old? Could you try once using a synchronized session key? It could be problem with the server, or it could be version 1.6, which may become obsolete.
I didn't run the project for last few days so I could not check myself if it is something related from the library. I'm currently working with the Java API, after which I plan to upgrade to 2.0. In the meantime, if you solved the problem, or found any bug with the library, let me know.
I'm also waiting for the verdict before investing time on it again!
@souvikdc9 i tried your sample and also in my core2.0 web app both of them giving me the same result 504
I downloaded project right now and set "Uidai.Aadhaar.Sample" as start up project and debugged. I am facing below issue. Do i need to modify anything after i downloading. I did not modified any personal information which Uidai test data.
Auth.AuthenticateAsync().GetAwaiter().GetResult(); in program.cs which internally navigates to Auth cs file.
// Perform Authentication var apiClient = new AuthClient { AgencyInfo = Options.AgencyInfo, Request = new AuthRequest(deviceContext) { Signer = Signer }, Response = new AuthResponse { Verifier = Verifier } }; await apiClient.GetResponseAsync(); -- Exception causing at this step.
Pls. help me to solve this. Or am i need to change anything after downloading.
@SatyaPavanKumar the exception is occurring at the HTTP level, and not with API. Make sure that the Auth URL points to a working version.
@himadrinath & @SatyaPavanKumar Currently, UIDAI is phasing out version 1.6, so it is possible that you get Error 998, or HTTP 503. Moreover, many times the Auth or OTP server doesn't work. Sometimes the TEST UIDs doesn't work.
The .NET API worked really nicely at one point of time, but it is currently becoming difficult to use it, as it target older version. Therefore, may be it is time that we upgrade to 2.0. But that requires some delays, mostly because of law issue and free time.
@souvikdc9 can u gave us any timeline how long it will take u too convert into 2.0 and what law issue u talking about.?
@himadrinath Only after Supreme Court of India gives her final verdict on the usage of Aadhaar, I'll start re-developing the library full-fledged.
@souvikdc9 am i doing wrong or missing anything? can u tell
outgoing request
`
`