NetTalk Central
		NetTalk Web Server => Web Server - Ask For Help => Topic started by: ramiro on April 20, 2015, 05:31:03 PM
		
			
			- 
				Client when trying to connect to my web service with SSL received this:
java.net.SocketException: Connection reset
                at java.net.SocketInputStream.read(SocketInputStream.java:168)
                at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293)
                at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331)
Is there any ide what kind of problem is this?
Without SSL no problem
Thank You
 
			 
			
			- 
				I have no idea what this means unfortunately.
Maybe they need to google for that Java error?
cheers
Bruce
			 
			
			- 
				Bruce,
thank you for your reply,
maybe this error in FireFox tell us something:
"Unable to connect safely
Firefox can not guaranty the security of your data because it uses SSLv3 misitioweb.com.mx a broken security protocol.
Advanced information: ssl_error_unsupported_version"
My app. is developed with NetTalk 6, 
Thank you in advance
cheers
			 
			
			- 
				Hi,
I changed the SSL-method from SSL3 (NET:SSLMethodSSLv3) to TLS (NET:SSLMethodTLSv1) and that solved a similar problem that You described. I think NET:SSLMethodTLSv1 is in NT6 too.
Look in netsimp.clw and netall.inc
Hope this might be helpful
:: rainer
			 
			
			- 
				thank you  Rainer,
effectively, this was the problem.
I will get NetTalk 8 to include NET:SSLMethodTLSv1_2
			 
			
			- 
				Hi Ramiro,
I will [need to] get NetTalk 8 to include NET:SSLMethodTLSv1_2 [?]
yes, NT6 only has support up to TLSv1. NT7 and NT8 has support for TLSv1.1 and TLSv1.2
cheers
Bruce
			 
			
			- 
				Hi Bruce,
Thank You.
already installed NetTalk 8 and now in the same application have this error in PageFooterTag Procedure:
Cannot call procedure as function - c:\c8\aplic\inhws\inhws\inhws003.clw:3558,44
packet = clip(packet) & p_web.Script('startCountDown('& int(p_web.site.SessionExpiryAfterHS/100) &',"'& clip(p_web.site.LoginPage) &'","countdown");')
thank you
			 
			
			- 
				Hi Ramiro 
Take a look at this 
http://www.capesoft.com/docs/NetTalk8/NetTalk8Upgrade.htm#ChangesRequired
there is a specific section on changing the packet settings in code you have written when updating from 7 (or before) to 8
			 
			
			- 
				Terry,
thank you.
above problem solved.
A new problem: an application called iHotelier tries to connect
my webservice but the connection is dropped, the client reports this message:
"iH Error: Unable to send outbound as HTTP message to https://reservacionesmision.com.mx:4443/ServicioReqResTC 
 Reason is Connection reset"
Thanks in advance
Ramiro
 
			 
			
			- 
				the problem was solved by changing the protocol to TLSv1
Thank you