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

Basic stuff doesn't work #34

Closed
sumlin opened this issue Mar 13, 2018 · 3 comments
Closed

Basic stuff doesn't work #34

sumlin opened this issue Mar 13, 2018 · 3 comments

Comments

@sumlin
Copy link
Contributor

sumlin commented Mar 13, 2018

There is a diff with a testing code: https://pastebin.com/1Xmm8dTj

For JSON please set isJson = true in both client and server runners.
For SOAP isJson = false.

JSON: can't connect to the server, have an error:
10:43:07.753 [Thread-2] DEBUG eu.chargetime.ocpp.WebSocketTransmitter - WebSocketClient.onClose: code = 1002, message = Invalid status code received: 404 Status line: HTTP/1.1 404 WebSocket Upgrade Failure, host closed = false

SOAP: message parser can't parse documents, it produces a null value in Communicator.java:238.

@sumlin
Copy link
Contributor Author

sumlin commented Mar 13, 2018

https://github.com/ChargeTimeEU/Java-OCA-OCPP/tree/revert-33-master helps with connection, but when I send boot and then auth requests, client gets null as a boot response and nothing as a auth response.

@sumlin
Copy link
Contributor Author

sumlin commented Mar 13, 2018

My mistake, JSON works pretty fine, but the problem with SOAP is still there

TVolden added a commit that referenced this issue Apr 14, 2018
@sumlin
Copy link
Contributor Author

sumlin commented Apr 15, 2018

72e5393 commit fixed that issue.

@sumlin sumlin closed this as completed Apr 15, 2018
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

1 participant