Hello,
I used b4r web socket to connect to a web socket I built. And it worked fine. Now the site default connection changed to https, and I try to use it, but it is not working. I get "connected" message and shortly "disconnected".
This is the log-
I didn’t change any thing in the ws connection sub.
It was-
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
And I changed it to-
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
only the port changed.
Should I do something else?
			
			I used b4r web socket to connect to a web socket I built. And it worked fine. Now the site default connection changed to https, and I try to use it, but it is not working. I get "connected" message and shortly "disconnected".
This is the log-
connecting to web socket
/goodHome.ashx
Connected
switch color on-5
disconnected
I didn’t change any thing in the ws connection sub.
It was-
			
				B4X:
			
		
		
		If wsc.ConnectHost(st.Socket.Stream,"www.thingstoknow.co.il",80,theURL) Then
Log("connected")
Main.turnWifiLedON
Else
Log("problem")
Main.turnWifiLedOff
End IfAnd I changed it to-
			
				B4X:
			
		
		
		If wsc.ConnectHost(st.Socket.Stream,"www.thingstoknow.co.il",443,theURL) Then
Log("connected")
Main.turnWifiLedON
Else
Log("problem")
Main.turnWifiLedOff
End Ifonly the port changed.
Should I do something else?
 
				 
 
		 
 
		 
 
		 
 
		