Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem in running the app #52

Closed
kaliaanup opened this issue Feb 10, 2019 · 4 comments
Closed

Problem in running the app #52

kaliaanup opened this issue Feb 10, 2019 · 4 comments

Comments

@kaliaanup
Copy link

kaliaanup commented Feb 10, 2019

I have completed the network part followed by the middleware part. Then I am trying to run the application by running "node app.js", however I am getting the following error.

$node app.js

info: [ClientUtils]:



  • Using temp dir: ../network/client-certs


[2019-02-10 10:55:45.299] [INFO] TradeApp - ****************** SERVER STARTED ************************
[2019-02-10 10:55:45.300] [INFO] TradeApp - *************** http://localhost:4000 ******************
UnauthorizedError: No authorization token was found

@VRamakrishna
Copy link
Collaborator

What query did you send to the server that triggered this error?

@kaliaanup
Copy link
Author

Just tried to invoke the url (http://localhost:4000) on a browser.

@VRamakrishna
Copy link
Collaborator

Ah, I agree that ought to be handled more gracefully, but just hitting the web server like that serves no purpose. Try the queries that hit the blockchain and do something useful. A sample list is given in the README here and in the book.

@kaliaanup
Copy link
Author

I think the issue is resolved. I am able to run curl commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants