-
Notifications
You must be signed in to change notification settings - Fork 0
Issues in verification API #1
Comments
Hi Isaac! I cannot reproduce your error. Please attach what you did and a logfile. This worked for me: build and start API:(this uses Tomcat into a simple docker container -- should also work with your own Tomcat, though) mvn build
docker build -t atvapi .
docker run -p 80:8080 atvapi ... API/ATV running at http://localhost/atvpi (open http://localhost/atvapi/api/v1/ to verify) ... this also displays the log of the ATV for diagnostics in case something goes wrong. run a demo/test:cd src/test/python
# make sure BASE envvar is correct (e.g. BASE = 'http://localhost/atvapi')
python XAdESdemo.py output of the python script:
(reminder: this demos will stop working if @partim stops our demo DNS servers, or similar things happen.) HTH! |
Hii stefan, Thanks a lot for your immediate reply. I figured out the problem, it was a problem with jar compatibility. And now i don't get this error anymore. But I have another doubt, I'm trying to setup the ATV from a server which is not DNSSEC protected. Will the system still work ?. Because i have disabled DNSSEC and DANE verification in atv.properties and generated the .war file. And then I deployed it in a server, but i get the following error.
Do you know the reason for it? PS: The server which i deployed is not DNSSEC protected. |
The DNS/DNSSEC setup of the server on which you host the ATV should not matter (it also works on localhost), so I am not sure what's the issue with your attempt. If you let me know what test script this is I can run it and have a look. Do you get the error also with About the flags: As far as I remember the flags disable those checks; maybe we missed one (but I remember that we tested the ATV without DNSSEC in the beginning) -- you could verify that in the ATV sourcecode. |
Hii stefan , Thanks for the reply. I tried deploying in the following server BASE = 'https://essif.iao.fraunhofer.de/atvapi_essif/' with PAdesdemo.py file. The following was the result
|
if I run it with my local ATV (via the Docker setup described above) I get the following:
You could check the log of the ATV (on the server) to figure out what's wrong. For example, it prints the config during initialization, so you can verify it's the one you expect:
Also, can you try with |
Hallo,
I have received this error,
{"timestamp":"2021-03-09T11:56:52.740+0000","status":500,"error":"Internal Server Error","message":"eu/lightest/verifier/model/report/Report","path":"/atvapi/api/v1/addInstance"}
How can this error be rectified?. Although log files have been created.
Do we need to do instantiate something after uploading the .war files?
The text was updated successfully, but these errors were encountered: