Compilation error: 'class WiFiClientSecure' has no member named 'setInsecure' #26
Replies: 2 comments
-
| 
         same issue for me.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| 
         Marlin is supposed doing compilation using platformio not arduino ide, it may work but not using default settings for sure.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
ESP32 core had new release and introduced new features, but marlin fixed version to old one and WebSocket library follow latest ESP32 core features
Solutions in platformIO.ini
1 - use previous version of websocket (add #2.3.4)
arduinoWebSockets=https://github.com/Links2004/arduinoWebSockets.git#2.3.4another solution is to use latest esp32 core (remove fixed version)
2 -
platform = espressif32I did not tested solution 2 yet just solution 1, but it should work, I will update later
Edit: solution 2 is not working due to another issue espressif/arduino-esp32#4905
Beta Was this translation helpful? Give feedback.
All reactions