14.09.2006 10:42:30мне кажется, что через прокси все-таки не проходит.. Ответов: 0
Шмыков Дима (Казань, компания Центр-Сервис, софт-отдел, lead developer)
Настройки строчек подключения к HTTP-прокси и TSP те же, но вот другой лог. Help!

--------------------------------------------------------

00000000 0.00000000 [3188] In DllGetClassObject
00000001 0.00014024 [3188] CShellExtClassFactory::CShellExtClassFactory()
00000002 0.00025171 [3188] CShellExtClassFactory::QueryInterface()
00000003 0.00035396 [3188] CShellExtClassFactory::CreateInstance()
00000004 0.00045983 [3188] CShellExt::CShellExt()
00000005 0.00318225 [3188] CShellExt::QueryInterface()==>IID_IShellExtInit
00000006 0.00329623 [3188] CShellExt::AddRef()
00000007 0.00348508 [3188] CShellExt::Initialize()
00000008 0.00359096 [3188] CShellExt::QueryInterface()==>IID_IContextMenu
00000009 0.00479558 [3188] CShellExt::AddRef()
00000010 0.00498024 [3188] CShellExt::QueryInterface()==>Unknown Interface!
00000011 0.00509478 [3188] CShellExt::QueryInterface()==>Unknown Interface!
00000012 0.00536185 [3188] CShellExt::QueryContextMenu()
00000013 0.00550461 [3188] CMF_NORMAL...
00000014 0.00563535 [3188] CShellExt::AddRef()
00000015 0.00573900 [3188] CShellExt::Release()
00000016 0.00583566 [3188] CShellExt::Release()
00000017 0.02586251 [3188] CCryptedDocsShellExt::Initialize enter
00000018 0.03122017 [3188] CCryptedDocsShellExt::Initialize exit
00000019 0.03541400 [3188] CCryptedDocsShellExt::QueryContextMenu enter
00000020 0.03909883 [3188] CCryptedDocsShellExt::QueryContextMenu TRY
00000021 0.04340636 [3188] CryptDocument::Serialize enter
00000022 0.04708029 [3188] CryptDocData::Serialize enter
00000023 0.05085870 [3188] CryptDocData::Serialize ar.IsLoading()
00000024 0.05463460 [3188] CryptDocData::Serialize exit
00000025 0.05835183 [3188] CryptDocument::Serialize CryptDocData::Clean
00000026 0.06217522 [3188] CryptDocument::Serialize exit
00000027 0.06601398 [3188] CCryptedDocsShellExt::QueryContextMenu CryptDocument::Clean
00000028 0.06986614 [3188] CCryptedDocsShellExt::QueryContextMenu exit
00000029 0.08384166 [3188] cades.dll: hInstance=6E000000, dwReason=2 lpReserved=0
00000030 1.58062744 [3188] CCryptedDocsShellExt::GetCommandString enter
00000031 1.58462656 [3188] CCryptedDocsShellExt::GetCommandString uFlags & GCS_HELPTEXT
00000032 1.58853257 [3188] CCryptedDocsShellExt::GetCommandString exit
00000033 1.90859568 [3188] CCryptedDocsShellExt::GetCommandString enter
00000034 1.91226649 [3188] CCryptedDocsShellExt::GetCommandString uFlags & GCS_HELPTEXT
00000035 1.91595244 [3188] CCryptedDocsShellExt::GetCommandString exit
00000036 1.92007363 [3188] CCryptedDocsShellExt::InvokeCommand enter
00000037 1.92378747 [3188] CCryptedDocsShellExt::InvokeCommand LOWORD( pCmdInfo->lpVerb ), case 0, this->bSignedFile == FALSE
00000038 2.63311315 [3188] cades.dll: hInstance=6E000000, dwReason=2 lpReserved=0
00000039 4.08086491 [3188] cades.dll: hInstance=6E000000, dwReason=3 lpReserved=0
00000040 4.11410761 [3188] cades.dll: hInstance=6E000000, dwReason=2 lpReserved=0
00000041 4.70826864 [3188] cades.dll: hInstance=6E000000, dwReason=3 lpReserved=0
00000042 4.88353539 [3188] cades.dll: hInstance=6E000000, dwReason=2 lpReserved=0
00000043 6.65230894 [3188] cades.dll: hInstance=6E000000, dwReason=3 lpReserved=0
00000044 6.65432501 [3188] cades.dll: hInstance=6E000000, dwReason=2 lpReserved=0
00000045 10.29508209 [3188] cades.dll: hInstance=6E000000, dwReason=3 lpReserved=0
00000046 12.41323757 [3188] ServiceParams::ServiceParams enter
00000047 12.42095375 [3188] ServiceParams::ServiceParams params :
00000048 12.42465591 [3188] TSP URI = http://tsp.vrca.ru/tsp/tsp.srf
00000049 12.43017387 [3188] Proxy URI = http://tepmel.center.cg:8080
00000050 12.43378830 [3188] Proxy Authtype = 16
00000051 12.43744659 [3188] TSP Authtype = 0
00000052 12.44116688 [3188] ServiceParams::ServiceParams exit
00000053 12.45573902 [3188] CCryptedDocsShellExt::InvokeCommand pobjAdvSign = new AdvancedSign succes
00000054 12.45978737 [3188] CryptDocument::AddSign pre-objSign.MakeDataSign
00000055 12.46347904 [3188] AdvancedSign::MakeDataSign enter
00000056 12.46710491 [3188] cades.dll: (pSignPara=0x015ECDCC, fDetachedSignature=0, cToBeSigned=1, rgpbToBeSigned=0x015ECE0C, rgcbToBeSigned=0x015ECE00, ppSignedBlob=0x015ECDC0)
00000057 12.50747013 [3188] cades.dll: hInstance=6E000000, dwReason=2 lpReserved=0
00000058 13.10482407 [3188] cades.dll: (dwMsgEncodingType=0x00010001, dwFlags=0x00000000, pvMsgEncodeInfo=0x015EC708, pszInnerContentObjID=0, pStreamInfo=0x00000000)
00000059 13.10502529 [3188] cades.dll: Start.
00000060 13.10516930 [3188] cades.dll: Input parameters checked.
00000061 13.10529995 [3188] cades.dll: Copy of input structures is ready.
00000062 13.10544014 [3188] cades.dll: Signers updating start.
00000063 13.10557842 [3188] cades.dll: Signer #0.
00000064 13.10571003 [3188] cades.dll: (pAttr=0)
00000065 13.10598373 [3188] cades.dll: Signer does not have signinCert or otherSigningCert attribute.
00000066 13.10630226 [3188] cades.dll: hInstance=6E000000, dwReason=3 lpReserved=0
00000067 13.22108936 [3188] cades.dll: Certificates equality checked.
00000068 13.22126007 [3188] cades.dll: Attributes copied.
00000069 13.22140312 [3188] cades.dll: (szHashAlgorithm=1.2.643.2.2.9)
00000070 13.22153664 [3188] cades.dll: Hash algorithm deduced.
00000071 13.22277737 [3188] cades.dll: otherSigningCert attribute assembled.
00000072 13.22292519 [3188] cades.dll: Signed is updated successfully.
00000073 13.22409439 [3188] cades.dll: Calling CryptMsgOpenToEncode()
00000074 13.22440243 [3188] cades.dll: (hMsg=0x01309218, GetLastError=0x00000000
00000075 13.22898674 [3188] cades.dll: (hCryptMsg=0x01309218, dwSignatureIndex=0, pCadesSignPara=0x015ECDE0)
00000076 13.22913361 [3188] cades.dll: Input parameters checked.
00000077 13.22935581 [3188] cades.dll: Signed attributes extracted via CMSG_SIGNER_AUTH_ATTR_PARAM
00000078 13.23090363 [3188] cades.dll: Signer certificate ID found.
00000079 13.23105335 [3188] cades.dll: pSignerCert=0x012FE300
00000080 13.23918056 [3188] cades.dll: Signature verified.
00000081 13.23933887 [3188] cades.dll: Hash algorithm deduced.
00000082 13.23954296 [3188] cades.dll: Signature extracted via CMSG_ENCRYPTED_DIGEST
00000083 13.24595356 [3188] 10:29:58.864 ::*Session* :: WinHttpCrackUrl("http://tsp.vrca.ru/tsp/tsp.srf", 0x0, 0x0, 0x15ebd08)
00000084 13.24612141 [3188] 10:29:58.864 ::*Session* :: WinHttpCrackUrlA("http://tsp.vrca.ru/tsp/tsp.srf", 0x1e, 0x0, 0x15ebbb8)
00000085 13.24625111 [3188] 10:29:58.864 ::*Session* :: WinHttpCrackUrlA() returning TRUE
00000086 13.24637604 [3188] 10:29:58.864 ::*Session* :: WinHttpCrackUrl() returning TRUE
00000087 13.24651814 [3188] 10:29:58.864 ::*Session* :: WinHttpCrackUrl("http://tepmel.center.cg:8080", 0x0, 0x0, 0x15ebd44)
00000088 13.24665260 [3188] 10:29:58.864 ::*Session* :: WinHttpCrackUrlA("http://tepmel.center.cg:8080", 0x1c, 0x0, 0x15ebbb8)
00000089 13.24678421 [3188] 10:29:58.864 ::*Session* :: WinHttpCrackUrlA() returning TRUE
00000090 13.24690819 [3188] 10:29:58.864 ::*Session* :: WinHttpCrackUrl() returning TRUE
00000091 13.24705887 [3188] 10:29:58.864 ::*Session* :: WinHttpSetOption(0x9d36000, (38), 0x15ebcec [0x3], 12)
00000092 13.24728107 [3188] 10:29:58.864 ::*Session* :: WinHttpSetOption() returning TRUE
00000093 13.24741650 [3188] 10:29:58.864 ::*Session* :: WinHttpConnect(0x9d36000, "tsp.vrca.ru", 80, 0x0)
00000094 13.24763489 [3188] 10:29:58.864 ::*Session* :: WinHttpConnect() returning handle 0x9d3e300
00000095 13.24777794 [3188] 10:29:58.864 ::*Session* :: WinHttpOpenRequest(0x9d3e300, "POST", "tsp/tsp.srf", "", "", 0x0, 0x00000000)
00000096 13.24798584 [3188] 10:29:58.864 ::*Session* :: WinHttpCreateUrlA(0x15eba98, 0x0, 0x9d70000, 0x15ebad4)
00000097 13.24812984 [3188] 10:29:58.864 ::*Session* :: WinHttpCreateUrlA() returning TRUE
00000098 13.24829483 [3188] 10:29:58.864 ::*0000002* :: WinHttpOpenRequest() returning handle 0x9d60000
00000099 13.24843216 [3188] 10:29:58.864 ::*0000002* :: WinHttpSetOption(0x9d60000, (77), 0x15ebcc0 [0x2], 4)
00000100 13.24855423 [3188] 10:29:58.864 ::*0000002* :: WinHttpSetOption() returning TRUE
00000101 13.24868488 [3188] 10:29:58.864 ::*0000002* :: WinHttpSendRequest(0x9d60000, "Content-type: application/timestamp-query", -1, 0x9b09598, 64, 64, 0)
00000102 13.24891090 [3188] 10:29:58.864 ::*0000002* :: WinHttpCreateUrlA(0x15eba30, 0x0, 0x9d70000, 0x15eba14)
00000103 13.24906254 [3188] 10:29:58.864 ::*0000002* :: WinHttpCreateUrlA() returning TRUE
00000104 13.24921894 [3188] 10:29:58.864 ::*0000002* :: Using proxy server: tepmel.center.cg:8080
00000105 13.25068474 [3188] 10:29:58.864 ::*0000002* :: sending data:
00000106 13.25081825 [3188] 10:29:58.864 ::*0000002* :: 259 (0x103) bytes
00000107 13.25099468 [3188] 10:29:58.864 ::*0000002* :: <<<<-------- HTTP headers follow below ----------------------------------------------->>>>
00000108 13.25111771 [3188] 10:29:58.864 ::*0000002* ::
00000109 13.25122738 [3188] POST http://tsp.vrca.ru/tsp/tsp.srf HTTP/1.1
00000110 13.25122738 [3188] 10:29:58.864 ::*0000002* :: Content-type: application/timestamp-query
00000111 13.25122738 [3188] 10:29:58.864 ::*0000002* :: User-Agent: Crypto-Pro tspcli.dll
00000112 13.25122738 [3188] 10:29:58.864 ::*0000002* ::
00000113 13.25133801 [3188] Host: tsp.vrca.ru
00000114 13.25133801 [3188] 10:29:58.864 ::*0000002* :: Content-Length: 64
00000115 13.25133801 [3188] 10:29:58.864 ::*0000002* ::
00000116 13.25145435 [3188] Proxy-Connection: Keep-Alive
00000117 13.25156116 [3188]
00000118 13.25183582 [3188] 10:29:58.864 ::*0000002* :: <<<<-------- End ----------------------------------------------->>>>
00000119 13.25198078 [3188] 10:29:58.864 ::*0000002* :: WinHttpSendRequest() returning TRUE
00000120 13.25208950 [3188] 10:29:58.864 ::*0000002* :: WinHttpReceiveResponse(0x9d60000, 0x0)
00000121 13.28093719 [3188] 10:29:58.897 ::*0000002* :: received data:
00000122 13.28105736 [3188] 10:29:58.897 ::*0000002* :: 219 (0xdb) bytes
00000123 13.28125858 [3188] 10:29:58.897 ::*0000002* :: <<<<-------- HTTP headers follow below ----------------------------------------------->>>>
00000124 13.28143215 [3188] 10:29:58.897 ::*0000002* ::
00000125 13.28154469 [3188] HTTP/1.1 200 OK
00000126 13.28154469 [3188] 10:29:58.897 ::*0000002* :: Via: 1.1 TEPMEL
00000127 13.28154469 [3188] 10:29:58.897 ::*0000002* :: Connection: Keep-Alive
00000128 13.28154469 [3188] 10:29:58.897 ::*0000002* :: Proxy-Connection: Keep-Alive
00000129 13.28154469 [3188] 10:29:58.897 ::*0000002* :: Content-Length:
00000130 13.28166771 [3188] 1896
00000131 13.28166771 [3188] 10:29:58.897 ::*0000002* :: Date: Thu, 14 Sep 2006 06:30:10 GMT
00000132 13.28166771 [3188] 10:29:58.897 ::*0000002* :: Content-Type
00000133 13.28177547 [3188] : application/timestamp-reply
00000134 13.28177547 [3188] 10:29:58.897 ::*0000002* ::
00000135 13.28187847 [3188] Server: Microsoft-IIS/6.0
00000136 13.28198433 [3188]
00000137 13.28217411 [3188] 10:29:58.897 ::*0000002* :: <<<<-------- End ----------------------------------------------->>>>
00000138 13.28231716 [3188] 10:29:58.897 ::*0000002* :: WinHttpReceiveResponse() returning TRUE
00000139 13.28244209 [3188] 10:29:58.897 ::*0000002* :: WinHttpQueryHeaders(0x9d60000, (0x20000013), "<null>", 0x9aefda4, 0x15ebcc4 [4], 0x0 [0])
00000140 13.28256893 [3188] 10:29:58.897 ::*0000002* :: WinHttpQueryHeaders() returning TRUE
00000141 13.28269577 [3188] 10:29:58.897 ::*0000002* :: WinHttpQueryAuthSchemes(0x9d60000, 0x15ebcb8, 0x15ebcd4)
00000142 13.28281689 [3188] 10:29:58.897 ::*0000002* :: WinHttpQueryAuthSchemes: error 4317 [0x10dd]
00000143 13.28298283 [3188] 10:29:58.897 ::*0000002* :: WinHttpQueryAuthSchemes() returning FALSE
00000144 13.28400135 [3188] 10:29:58.897 ::*0000002* :: WinHttpReadData(0x9d60000, 0x9b0eff8, 65536, 0x15ebcc4)
00000145 13.28421116 [3188] 10:29:58.897 ::*0000002* :: WinHttpReadData() returning TRUE
00000146 13.28436756 [3188] 10:29:58.897 ::*0000002* :: WinHttpReadData(0x9d60000, 0x9b0eff8, 65536, 0x15ebcc4)
00000147 13.28455067 [3188] 10:29:58.913 ::*0000002* :: WinHttpReadData() returning TRUE
00000148 13.28472710 [3188] 10:29:58.913 ::*0000002* :: WinHttpCloseHandle(0x9d60000)
00000149 13.28485298 [3188] 10:29:58.913 ::*0000002* :: WinHttpCloseHandle() returning TRUE
00000150 13.28499699 [3188] 10:29:58.913 ::*Session* :: WinHttpCloseHandle(0x9d3e300)
00000151 13.28534317 [3188] 10:29:58.913 ::*Session* :: WinHttpCloseHandle() returning TRUE
00000152 13.28549194 [3188] cades.dll: CAtlException, m_hr=0xc2100100
00000153 13.28562355 [3188] cades.dll: (res=0, GetLastError=0xc2100100
00000154 13.28601742 [3188] cades.dll: Exception thrown.
00000155 13.28617382 [3188] cades.dll: CAtlException, m_hr=0xc2100100
00000156 13.28637218 [3188] cades.dll: (res=0, GetLastError=0xc2100100
00000157 13.28697205 [3188] AdvancedSign::MakeDataSign GetLastError() = -1039138560
00000158 13.29073048 [3188] CCryptedDocsShellExt::InvokeCommand AND_CATCH(CUserException, pExc)
00000159 13.30870152 [3188] cades.dll: hInstance=6E000000, dwReason=2 lpReserved=0
00000160 13.90681553 [3188] ServiceParams::ServiceParams enter
00000161 13.91523647 [3188] ServiceParams::ServiceParams params :
00000162 13.91894436 [3188] TSP URI = http://tsp.vrca.ru/tsp/tsp.srf
00000163 13.92301464 [3188] Proxy URI = http://tepmel.center.cg:8080
00000164 13.92621040 [3188] Proxy Authtype = 16
00000165 13.93068790 [3188] TSP Authtype = 0
00000166 13.93440533 [3188] ServiceParams::ServiceParams exit
00000167 13.94915390 [3188] CCryptedDocsShellExt::InvokeCommand pobjSign = new Sign success
00000168 13.95287514 [3188] CryptDocument::AddSign pre-objSign.MakeDataSign
00000169 13.95664501 [3188] Sign::MakeDataSign enter
00000170 13.99920464 [3188] cades.dll: hInstance=6E000000, dwReason=2 lpReserved=0
00000171 14.61116219 [3188] cades.dll: hInstance=6E000000, dwReason=3 lpReserved=0
00000172 14.64105892 [3188] cades.dll: hInstance=6E000000, dwReason=2 lpReserved=0
00000173 14.65301800 [3188] Sign::MakeDataSign !CryptSignMessage 2
00000174 14.65820694 [3188] CCryptedDocsShellExt::InvokeCommand AND_CATCH(CUserException, pExc) pre-delete
00000175 14.66212940 [3188] CCryptedDocsShellExt::InvokeCommand AND_CATCH(CUserException, pExc) post-delete
00000176 14.68161869 [3188] cades.dll: hInstance=6E000000, dwReason=3 lpReserved=0
00000177 15.28227901 [3188] CCryptedDocsShellExt::InvokeCommand AdvSignDocument_cleanup pre
00000178 15.28756046 [3188] CCryptedDocsShellExt::InvokeCommand AdvSignDocument_cleanup post
00000179 15.29189205 [3188] CCryptedDocsShellExt::QueryContextMenu exit
00000180 15.29526043 [3188] CShellExt::QueryInterface()==>Unknown Interface!
00000181 15.29550266 [3188] CShellExt::QueryInterface()==>Unknown Interface!
00000182 15.29601002 [3188] CShellExt::Release()
---------------------------------------------------