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

OCPI responses are missing routing headers #15

Open
ewf-devops opened this issue May 26, 2020 · 1 comment
Open

OCPI responses are missing routing headers #15

ewf-devops opened this issue May 26, 2020 · 1 comment
Labels
bug Something isn't working major

Comments

@ewf-devops
Copy link

Original report by Adam Staveley (Bitbucket: [Adam Staveley](https://bitbucket.org/Adam Staveley), GitHub: adamstaveley).


The OCN Node does not follow the OCPI Transport and Format documentation, which states that responses should also contain the following routing headers:

  • X-Request-ID
  • X-Correlation-ID
  • OCPI-From-Country-Code
  • OCPI-From-Party-ID
  • OCPI-To-Country-Code
  • OCPI-To-Party-ID

Currently only requests are required to contain such headers, but the node should also check that they are in response headers and forward them to the original sender.

@ewf-devops
Copy link
Author

Original comment by Adam Staveley (Bitbucket: [Adam Staveley](https://bitbucket.org/Adam Staveley), GitHub: adamstaveley).


Bumped priority to major. This can be a blocker when using signatures, because the OCN Node will omit such headers when verifying the signature. As the signature contains the headers but the Node omits them, this causes signature verification to fail (signed values will not be the same). The only way around this for now is to not sign such headers on the client side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working major
Projects
None yet
Development

No branches or pull requests

1 participant