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

Using this Library as a WSS Client as Well as Server #144

Open
gb-123-git opened this issue Dec 12, 2021 · 0 comments
Open

Using this Library as a WSS Client as Well as Server #144

gb-123-git opened this issue Dec 12, 2021 · 0 comments

Comments

@gb-123-git
Copy link

Describe Your Goal
Connect to a WSS Server and also act as a WSS server concurrently.
I am able to run WSS Server but when I combine this library with
https://github.com/gilmaimon/ArduinoWebsockets,
Either this library runs or the other one.
Maybe both using same SSL variables ?

What Does Your Project Look Like
Simple Arduino Library on ESP32

ESP32 Module
Please provide specifications of your module

  • RAM/PSRAM: 320kb
  • Flash Size: 4MB
  • Other special properties: Devkit

Software (please complete the following information if applicable)

  • IDE and Version: [PlatformIO] ESP32 Platfrom Ver : 3.4.0 (Platformio Version}
  • Using this with ESP-Arduino
  • OS: Windows 10
  • Brave

Additional context
The Browser while trying to connect to esp32_https_server gives : ERR_CONNECTION_RESET
Wss connection gets closed.
ESP Serial monitor Gives :
[HTTPS:I] New connection. Socket FID=57
[HTTPS:E] SSL_new failed. Aborting handshake. FID=57
[HTTPS:I] Connection closed. Socket FID=57

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