Comments (4)
Hi @samuellavoie90, thanks for this report!
Did you already try to change the url parameter of webSocket->begin() accordingly? Did it work?
from microocpp.
Yes, I already did the change: I added a new string called 'Path' under Host_Port_Path, and I concatenated the chargerID to it instead of Url. It worked well, but we only tried the non encrypted socket->begin. Before making the change, I also looked at pretty much the entire code path of socket->begin and it really does expect only the path component of the URL (first '/' included). I suspect the error was introduced when the signature for the mocpp_initialize was changed.
from microocpp.
Thanks for taking a deeper look, will fix it like suggested.
Actually this confused me for years. It is possible to send the full URL in HTTP requests, but it's really uncommon and quite a few WS servers had issues with it. I thought the WS lib had a weird behavior there, but it turns out it was just me 😅
from microocpp.
@samuellavoie90 The fix is ready now: #283
Can you check if it works with your WS server?
from microocpp.
Related Issues (20)
- Function to define the current limit of a EVSE HOT 7
- Commercially Available Options HOT 4
- FreeVending Mode for Two conectors Simultaneously HOT 5
- cppcheck fail (cppcheck --force src/MicroOcpp) HOT 4
- Charge profile limiting not working if current is set (tested with the simulator) HOT 1
- First StatusNotification 1970-01-01 timestamp HOT 3
- [Firmware Update]How Can We do The Firmware update in ESP-IDF, there is no any document available how to implement it.. HOT 1
- Unable to Remote Start Transaction strangely one day HOT 3
- Server error, data loss! HOT 1
- Error compiling for board DOIT ESP32 DEVKIT V1
- What value do I measure with "L1" compared to "L1-N" and "L1-L2", according to the protocol specifications? What value do I get via "L1"? HOT 1
- ESP32-IDF ESP32C3 : How to test all the ocpp opetrations over esp32 module HOT 3
- GetDiagnostics‘s issue HOT 2
- Offline Start transaction using local list HOT 2
- Ethernet (W5500) Support with Mongoose WebSocket Adapter on Arduino platform HOT 1
- Error compiling for board DOIT ESP32 DEVKIT V1
- How to send 'Finishing' when receive 'SoftReset' during charging. Not 'Unableable' HOT 2
- Is OCPP 1.6 security whitepaper edition 3 planned HOT 1
- How to pass the OCTT tast case 2.4.3. EV Side Disconnected HOT 1
- How to make specific feature not support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microocpp.