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

invalid csrf token [v2.0.0] #233

Closed
shawnyeager opened this issue Aug 17, 2020 · 2 comments
Closed

invalid csrf token [v2.0.0] #233

shawnyeager opened this issue Aug 17, 2020 · 2 comments

Comments

@shawnyeager
Copy link

Using the installer script triggered from raspiblitz's menu [v1.6.0], I'm seeing the following each time I search for a transaction:

Error

invalid csrf token

403

ForbiddenError: invalid csrf token
    at csrf (/home/btcrpcexplorer/btc-rpc-explorer/node_modules/csurf/index.js:112:19)
    at Layer.handle [as handle_request] (/home/btcrpcexplorer/btc-rpc-explorer/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/btcrpcexplorer/btc-rpc-explorer/node_modules/express/lib/router/index.js:317:13)
    at /home/btcrpcexplorer/btc-rpc-explorer/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/home/btcrpcexplorer/btc-rpc-explorer/node_modules/express/lib/router/index.js:335:12)
    at next (/home/btcrpcexplorer/btc-rpc-explorer/node_modules/express/lib/router/index.js:275:10)
    at /home/btcrpcexplorer/btc-rpc-explorer/app.js:586:2
    at Layer.handle [as handle_request] (/home/btcrpcexplorer/btc-rpc-explorer/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/btcrpcexplorer/btc-rpc-explorer/node_modules/express/lib/router/index.js:317:13)
    at /home/btcrpcexplorer/btc-rpc-explorer/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/home/btcrpcexplorer/btc-rpc-explorer/node_modules/express/lib/router/index.js:335:12)
    at next (/home/btcrpcexplorer/btc-rpc-explorer/node_modules/express/lib/router/index.js:275:10)
    at /home/btcrpcexplorer/btc-rpc-explorer/app.js:469:2
    at Layer.handle [as handle_request] (/home/btcrpcexplorer/btc-rpc-explorer/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/btcrpcexplorer/btc-rpc-explorer/node_modules/express/lib/router/index.js:317:13)
    at /home/btcrpcexplorer/btc-rpc-explorer/node_modules/express/lib/router/index.js:284:7
@openoms
Copy link

openoms commented Aug 17, 2020

This happens to me when leaving the site open for a while, but a page refresh solves it every time.

@shawnyeager
Copy link
Author

shawnyeager commented Aug 17, 2020

@openoms Correct, you are. Just tried again in a "fresh" tab, and it worked, as expected.

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

4 participants
@janoside @shawnyeager @openoms and others