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

integreting SETEC charging station to bakend #689

Closed
4 tasks
eyalmanor opened this issue Oct 27, 2021 · 2 comments
Closed
4 tasks

integreting SETEC charging station to bakend #689

eyalmanor opened this issue Oct 27, 2021 · 2 comments

Comments

@eyalmanor
Copy link

Checklist

  • I checked other issues already, but found no answer/solution
  • I checked the documentation and wiki, but found no answer/solution
  • I am running the latest version and the issue still occurs
  • I am sure that this issue is about SteVe (and not about the charging station software or something unrelated to SteVe)

Specifications

SteVe Version     : 3.4.5
Operating system  : ubuntu
JDK               : 11.0.11
Database          : 8

#### Expected Behavior
SETEC vendor charging station connect to the bakend
...

#### Actual Behavior
the log:
[WARN ] 2021-10-27 13:56:59,398 org.springframework.web.servlet.PageNotFound - No mapping for GET /steve/websocket/CentralSystemService/4/CBI-1625302527208
[WARN ] 2021-10-27 13:57:02,669 org.springframework.web.servlet.PageNotFound - No mapping for GET /steve/websocket/CentralSystemService/4/CBI-1625302527208
[WARN ] 2021-10-27 13:57:05,955 org.springframework.web.servlet.PageNotFound - No mapping for GET /steve/websocket/CentralSystemService/4/CBI-1625302527208
[WARN ] 2021-10-27 13:57:09,210 org.springframework.web.servlet.PageNotFound - No mapping for GET /steve/websocket/CentralSystemService/4/CBI-1625302527208
...

#### Steps to Reproduce the Problem
the charging station wont connect to steve 
  1. ...
  2. ...
  3. ...


#### Additional context

...
@csamsel
Copy link
Contributor

csamsel commented Oct 28, 2021

you probably entered the the steve url wrongly in the charging station configuration. For example mixed up SOAP and JSON endpoints

@goekay
Copy link
Member

goekay commented Apr 25, 2022

hey @eyalmanor sorry for the really late reply. either what @csamsel said, or.... i think you might have found an edge case:

is my assumption correct that you are using the character / within the chargebox id? steve considers the chargebox id to be the postfix after the last /. this would be CBI-1625302527208 from the URL /steve/websocket/CentralSystemService/4/CBI-1625302527208 . and this value is not in your database since you must have inserted the intended value 4/CBI-1625302527208.

i am unsure what the spec says about having / within the chargebox id. anyways, i will relax the condition when extracting the chargebox id from the json/ws url.

@goekay goekay closed this as completed in eba2a2f Apr 25, 2022
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

3 participants