Replies: 13 comments
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
I'm sorry - no, this method does never get hit... |
Beta Was this translation helpful? Give feedback.
-
Try Request URL: |
Beta Was this translation helpful? Give feedback.
-
This dos not change anything:
|
Beta Was this translation helpful? Give feedback.
-
Using websocat leads to the same response:
|
Beta Was this translation helpful? Give feedback.
-
Is it possible this has something to do with the fact that I use the experimental arduino version 3 integration? https://github.com/sensslen/Cgf.CameraControl.Camera/blob/2bfa5b64cbff7e6eff9f52a43e03fde59af2aec7/platformio.ini#L18 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
no not at all. there is something wrong in your code... |
Beta Was this translation helpful? Give feedback.
-
OK, I realized that as well - switched to the currently supported arduino sdk and still see the issue. By the way:
|
Beta Was this translation helpful? Give feedback.
-
Do I have to wait for the ethernet/wifi connection to be established before I start the webserver? |
Beta Was this translation helpful? Give feedback.
-
You need to begin the webserver once WiF / Ethi is connected (when you got an IP)., Also, please have a look at: https://github.com/mathieucarbou/ESPAsyncWebServer?tab=readme-ov-file#coordinate-and-dependencies you are using an old version of the lib. edit Also, if you need, you can have a look at this network manager: https://oss.carbou.me/MycilaESPConnect to help you. |
Beta Was this translation helpful? Give feedback.
-
Well then I guess I know why things are not working - I'm not waiting for the connection to be established before starting the server. Will adjust. Thank you so much for your assistance! It's really appreciated.... |
Beta Was this translation helpful? Give feedback.
-
I'm now fully communicating. The issue was that the webserver was started before the network connection was established. Thanks again for pointing me to the right direction and also for the great library! |
Beta Was this translation helpful? Give feedback.
-
I'm trying to create a little websocket server to control a video camera. Most things work flawlessly, however once I try to connect to the websocket, I'm always getting a 500 response....
I'm using postman to test the connection and this is the result I get:
The code that runs on the ESP32 can be found here. As you can tell I tried WiFi and Ethernet. Both do obtain an IP address from the network and respond to ping messages.
Any help is greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions