devunt / devunt/PassiveX

리눅스에서 Veraport 핸들러가 동작하지 않아요

Open
#1 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
36
Forks
1
PR merge metrics
No merged PRs in 30d

Description

리눅스에서 잘 빌드되고 각 핸들러 스레드가 뜨는데 정상 동작하지 않습니다.
일단 확인한 은행, 핸들러는 하나은행, Veraport 인데, Ubuntu 17.04 Chrome, Firefox 모두

> 전자금융사기예방서비스를 위한 모듈이 설치되지 않았거나
> 정상적으로 실행되지 않았습니다.
>
> 설치화면으로 이동 합니다.
> (조치 후에도 계속 메시지가 나오면 고객센터에 문의 바랍니다.)

라면서 보안 프로그램 설치 페이지로 redirect 되더니 통합설치프로그램 Veraport 미설치가 뜹니다.

여기서부터 Chrome, Firefox 동작이 갈리는데요,

Chrome은 다음과 같은 로그를 내고,
```
[03:29:16] [VeraportHandler] GET /
[03:29:16] Unknown command: getOsInfo
Exception thrown: 'System.Collections.Async.AsyncEnumerationCanceledException' in AsyncEnumerable.dll
Exception thrown: 'System.Threading.Tasks.TaskCanceledException' in System.Private.CoreLib.ni.dll
```

Firefox는 다음과 같은 로그를 냅니다.
```
Exception thrown: 'System.IO.IOException' in System.Private.CoreLib.ni.dll
Exception thrown: 'System.IO.IOException' in System.Private.CoreLib.ni.dll
[03:37:45] Exception occured while handling request on VeraportHandler : System.IO.IOException: The decryption operation failed, see inner exception. ---> Interop+OpenSsl+SslException: Decrypt failed with OpenSSL error - SSL_ERROR_SSL. ---> Interop+Crypto+OpenSslCryptographicException: error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca
--- End of inner exception stack trace ---
at Interop.OpenSsl.Decrypt(SafeSslHandle context, Byte[] outBuffer, Int32 count, SslErrorCode& errorCode)
at System.Net.Security.SslStreamPal.EncryptDecryptHelper(SafeDeleteContext securityContext, Byte[] input, Int32 offset, Int32 size, Boolean encrypt, Byte[]& output, Int32& resultSize)
--- End of inner exception stack trace ---
at System.Net.Security.SslStreamInternal.ProcessReadErrorCode(SecurityStatusPal status, Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest, Byte[] extraBuffer)
at System.Net.Security.SslStreamInternal.ProcessFrameBody(Int32 readBytes, Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStreamInternal.StartFrameBody(Int32 readBytes, Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStreamInternal.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStreamInternal.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStreamInternal.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, BufferAsyncResult asyncResult)
at System.Net.Security.SslStream.BeginRead(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback asyncCallback, Object asyncState)
at System.Threading.Tasks.TaskFactory`1.FromAsyncTrim[TInstance,TArgs](TInstance thisRef, TArgs args, Func`5 beginMethod, Func`3 endMethod)
at System.IO.Stream.BeginEndReadAsync(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.Stream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
at System.IO.Stream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.StreamReader.d__65.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at System.IO.StreamReader.d__59.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at PassiveX.ServiceRunner`1.<>c__DisplayClass11_0.<b__0>d.MoveNext() in /home/foriequal0/workspace/PassiveX/PassiveX/ServiceRunner.cs:line 95
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Collections.Async.ForEachAsyncExtensions.d__13`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at PassiveX.ServiceRunner`1.d__10.MoveNext() in /home/foriequal0/workspace/PassiveX/PassiveX/ServiceRunner.cs:line 71
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.