전송 연결 net_io_connectionclosed에서 데이터를 읽을 수 없습니다.

에러노트|2019. 3. 15. 13:47
반응형

오류 메시지  : 전송 연결 net_io_connectionclosed에서 데이터를 읽을 수 없습니다.


vb.net 에서 SmtpClient + google smtp 로 메일 발송 시 오류가 남.



SmtpClient는 SSL 모드 (포트 465에 필요한 것)로 SMTP 서버에 연결하는 것을 지원하지 않기 때문에 발생한 오류.


smtpMail = New SmtpClient()

smtpMail.EnableSsl = True

smtpMail.UseDefaultCredentials = False


그리고 기존에 465 포트를 이용했다면 587로 변경.



위와 같이 변경하면 정상적으로 메일 발송이 가능함.

댓글()

Msxml2.ServerXMLHTTP error '80072ee2' - The operation timed out

에러노트|2019. 3. 8. 12:23
반응형

외부 http 통신을 위해 Msxml2.ServerXMLHTTP 를 사용했으나

외부 서비스와의 통신은 정상이었으나 로컬에 위치한 서비스 호출시 

80072ee2 에러 발생.



30분넘게 구글링해서 이것저것 해보았으나 해결이 안되었고

어찌어찌 찾다가 결국 MS 에서찾아냄.


https://social.msdn.microsoft.com/Forums/ko-KR/67522db4-cd9d-46b1-9621-eb0ba09f49de/msxml2serverxmlhttp-problem-moved-from-server-2003iis6-to-2008iis7-simple-xml-between-asp-pages?forum=xmlandnetfx




If is your problem is; While using MSXML2.ServerXMLHTTP

if the url for example MSDN.com its works

but if url is yourdomain.com it does'nt works ( reason is timeout !)

don't listen anothers solutions bla bla bla (update components, make 5 workers, add new users, copy files to another directory, use this script)

solution is = ASP -> Debugging Properties -> Enable Server-side Debugging attribute have to be False

(it is False in default, but many developers set it True for handling errors while programming)

Thats it...

Have a nice day ...



디버깅 한다고 서버 디버깅 활성화 해둔것이 문제였다.


댓글()