Comments (3)
Hi!
I can't be sure exactly what is going wrong, but the script seems to fail to find the public key with which the API server signs its responses. It is checking for it at irma_api_server/pk.pem
, which is wrong, as it is generally located at src/main/resources/pk.pem
.
There are several confusing things about the error:
- the stack trace points to line 31 of
testsp.js
, but the loading of the public key happens at line 30, and there has never been a version where that happens at line 31 - as I mentioned, the path is wrong. The only way that the script would look at a location different from the one I mentioned is by passing it a third parameter, but you have not done so.
Have you perhaps modified the testsp.js script? Are you on the latest master
?
from irma_api_server.
Thank you very much for your response!
I don't change the file and I use the latest version of the master.
I built it again but at this time I executed the command node utils/testsp.js http://localhost:8088 and I got the following different result:
eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJzcHJlcXVlc3QiOnsidmFsaWRpdHkiOjYwLCJ0aW1lb3V0Ijo2MCwicmVxdWVzdCI6eyJjb250ZW50IjpbeyJsYWJlbCI6Ik92ZXIgMjEiLCJhdHRyaWJ1dGVzIjpbImlybWEtZGVtby5NaWpuT3ZlcmhlaWQuYWdlTG93ZXIub3ZlcjE4IiwiaXJtYS1kZW1vLk1pam5PdmVyaGVpZC5hZ2VMb3dlci5vdmVyMjEiXX1dfX0sImlhdCI6MTUyMDk1MDgzNiwiaXNzIjoidGVzdHNwIiwic3ViIjoidmVyaWZpY2F0aW9uX3JlcXVlc3QifQ.
**Error in initial request:
HTTP ERROR: 503
Problem accessing /irma_api_server/api/v2/verification/. Reason:
Service Unavailable
Powered by Jetty:// **
It is not the same with the first problem. How can I deal with this ?
Thank you very much for your time and help.
from irma_api_server.
That looks more familiar. Probably it means that the irma_api_server encountered some error during startup (e.g. missing irma_configuration
folder in src/main/resources
), so that it cannot handle the request that testsp.js sent to it. When you start irma_api_server, does it output an exception?
from irma_api_server.
Related Issues (8)
- Exception when running buildProduct HOT 5
- ATTRIBUTES_WRONG error when running tests HOT 3
- Internal server error on websocket connection to demo server in sign demo HOT 3
- [v1.4.2]: gradle appRun: ERROR org.irmacard.api.web.ApiApplication - Store initialization failed HOT 7
- [ Simple verification: Failure ] Trying to verify/disclose early issued attributes
- CORS enabling on docker image HOT 2
- gradle buildProduct throws test errors HOT 3
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 irma_api_server.