A gitpod of a nodeJS websocket see https://github.com/hpssjellis/gitpod-portenta-websocket works using an older Arduino called the Nano33 IOT but doesn't seem to work using the modern "Pro" Arduino Microcontrollers as websocket clients.
signal strength (RSSI):-49 dBm
Starting connection to server...
connected to server failed
disconnecting from server.
The websocket server on Gitpod works as tested by the contained browser page, but the new Arduino PortentaH7 does not connect. The code does work as tested on a different platform. I am not sure if the new Arduino has a security issue causing the problem or Gitpod has the security issue.
Presently I am not sure how Gitpod switches from port 8080 to port 443, which the WiFi SSL client is expecting, but it used to work with the older Arduinos.
If you have any suggestions I can test it out with my Arduino. The Arduino code is in the repository.
Here is the output when it runs (I used a different cloud server): (Kind of messy since it is debug info, but yes it can send a string of 125 characters in a payload 131 bytes long (extra at the start 2 bytes for format codes and 4 bytes for masking)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Bug description
@axonasif
A gitpod of a nodeJS websocket see https://github.com/hpssjellis/gitpod-portenta-websocket works using an older Arduino called the Nano33 IOT but doesn't seem to work using the modern "Pro" Arduino Microcontrollers as websocket clients.
The websocket server on Gitpod works as tested by the contained browser page, but the new Arduino PortentaH7 does not connect. The code does work as tested on a different platform. I am not sure if the new Arduino has a security issue causing the problem or Gitpod has the security issue.
Presently I am not sure how Gitpod switches from port 8080 to port 443, which the WiFi SSL client is expecting, but it used to work with the older Arduinos.
If you have any suggestions I can test it out with my Arduino. The Arduino code is in the repository.
Here is the output when it runs (I used a different cloud server): (Kind of messy since it is debug info, but yes it can send a string of 125 characters in a payload 131 bytes long (extra at the start 2 bytes for format codes and 4 bytes for masking)
Any suggestions to try would be appreciated.
Steps to reproduce
Without an Arduino PortentaH7 you wont be able to test the code, buyt everything is in the repository README.md file
Workspace affected
No response
Expected behavior
See listing above and this image of the webpage
Example repository
https://github.com/hpssjellis/gitpod-portenta-websocket
Anything else?
No response