|
Интеграция 1С унф и ВАТС Ростелеком ошибка 401.5 | ☑ | ||
---|---|---|---|---|
0
sergio002
24.07.22
✎
13:04
|
Веб сервер IIS. 1C опубликована, и доступна снаружи, пользователи заходят нормально. Подключение к АТС Ростелеком тоже проходит
нормально, исходящие идут, а вот когда АТС пытается подключится к 1С чтобы передать входящий вызов, то идет ошибка 401.5. Ключи в 1С указаны правильно.В логах 1с вызов есть, но пользователь неизвестен. подскажите где может быть косяк? |
|||
1
asady
24.07.22
✎
13:21
|
(0) под каким пользователем ломится атс в 1с?
|
|||
2
sergio002
24.07.22
✎
13:32
|
1С УНФ там стандартный модуль интеграции, прописываются ключи от ростелекома, под которыми идет соединение в обе стороны
к 1с шлет запрос такого вида <request uri="https://0.0.0.0/unf/hs/telephony/rt/call_events/"> <header name="Content-Type">application/json; charset=utf-8</header> <header name="X-Client-ID">1111111</header> <header name="X-Client-Sign">11111111</header> <body>{"order_id":"D9CFB20E-9A6B-48E0-B23E-B45BA1707190","result": 0,"resultMessage":"Обработка выполнена успешно"}</body> </request> |
|||
3
asady
24.07.22
✎
13:48
|
||||
4
sergio002
24.07.22
✎
16:11
|
Не помогает....
|
|||
5
Кура-Цеце
24.07.22
✎
16:18
|
А что говорит документация к "стандартному модулю интеграции УНФ" про публикацию на IIS?
|
|||
6
sergio002
24.07.22
✎
16:21
|
Ничего
|
|||
7
Кура-Цеце
24.07.22
✎
16:44
|
Майкрософтовское 401.5 может еще выбрасыватся, если у исапи/сги нет прав не что-то. Типа файла/каталога и т.п. У тебя там, часом, не авторизация ОС?
|
|||
8
sergio002
24.07.22
✎
16:46
|
Авторизация ОС отключена
|
|||
9
sergio002
25.07.22
✎
11:10
|
Вот что происходит на стороне 1с во время запроса
04:55.126001-0,CONN,1,process=w3wp,OSThread=9940,Txt='addrBelongsToThisComputer2, address=SERVER2008, result=true' 04:55.126002-0,CONN,1,process=w3wp,OSThread=9940,ClientID=3,Protected=0,Txt='Connected, client=(23)[::1]:52528, server=(23)[::1]:1541, marker=1' 04:55.126003-0,CONN,1,process=w3wp,OSThread=9940,Txt='Ping direction opened: address=[::1]:1541,pingTimeout=15000,pingPeriod=3000,lastSentTs=1183846830,lastReceivedTs=1183846830,lastReceivedTestTs=,directionID=e762e333-5caa-443f-a8c6-4192b1443958' 04:55.126004-0,CONN,1,process=w3wp,OSThread=9940,Txt='Connection added to ping direction: address=[::1]:1541,pingTimeout=15000,pingPeriod=3000,lastSentTs=1183846830,lastReceivedTs=1183846830,lastReceivedTestTs=,clientID=3' 04:55.126005-0,CONN,1,process=w3wp,OSThread=9940,Txt=Clnt: MyUserName1: NT AUTHORITY\IUSR 04:55.126007-1,SCALL,1,process=w3wp,OSThread=9940,ClientID=3,Interface=7f58f27d-5ad8-43a1-aa1e-c982f41bed5c,IName=IRemoteCreatorService,Method=0,CallID=857,MName=createRemoteInstance,DstClientID=0 04:55.126008-0,CONN,1,process=w3wp,OSThread=9940,Txt=Clnt: DstUserName1: SERVER2008\USR1CV8 StartProtocol: 0 Success 04:55.126010-1,SCALL,1,process=w3wp,OSThread=9940,ClientID=3,Interface=7f58f27d-5ad8-43a1-aa1e-c982f41bed5c,IName=IRemoteCreatorService,Method=0,CallID=858,MName=createRemoteInstance,DstClientID=0 04:55.126011-0,CONN,1,process=w3wp,OSThread=9940,Txt=Clnt: MyUserName2: 04:55.126013-1,SCALL,1,process=w3wp,OSThread=9940,ClientID=3,Interface=7f58f27d-5ad8-43a1-aa1e-c982f41bed5c,IName=IRemoteCreatorService,Method=0,CallID=859,MName=createRemoteInstance,DstClientID=0 04:55.126015-1,SCALL,1,process=w3wp,OSThread=9940,ClientID=3,Interface=73b7d3a3-fe0b-4fdf-ba70-b74b3589ffc3,IName=ISelectSrvrProcess,CallID=860,MName=methodsCount,DstClientID=13853 04:55.126017-1,SCALL,1,process=w3wp,OSThread=9940,ClientID=3,Interface=73b7d3a3-fe0b-4fdf-ba70-b74b3589ffc3,IName=ISelectSrvrProcess,Method=0,CallID=861,MName=selectProcess,DstClientID=13853 04:55.126019-1,SCALL,1,process=w3wp,OSThread=9940,ClientID=3,CallID=862,MName=Release,DstClientID=13853 04:55.126020-0,CONN,1,process=w3wp,OSThread=9940,Txt='Connection removed from ping direction: address=[::1]:1541,pingTimeout=15000,pingPeriod=3000,lastSentTs=1183846830,lastReceivedTs=1183846830,lastReceivedTestTs=,clientID=3' 04:55.126021-0,CONN,1,process=w3wp,OSThread=9940,Txt='Ping direction closed: address=[::1]:1541,pingTimeout=15000,pingPeriod=3000,lastSentTs=1183846830,lastReceivedTs=1183846830,lastReceivedTestTs=' 04:55.126022-22,CONN,0,process=w3wp,OSThread=9940,ClientID=3,Txt=Outgoing connection closed 04:55.126024-0,CONN,1,process=w3wp,OSThread=9940,ClientID=4,Protected=0,Txt='Connected, client=(23)[::1]:52529, server=(23)[::1]:1560, marker=1' 04:55.126025-0,CONN,1,process=w3wp,OSThread=9940,Txt='Ping direction opened: address=[::1]:1560,pingTimeout=15000,pingPeriod=3000,lastSentTs=1183846830,lastReceivedTs=1183846830,lastReceivedTestTs=,directionID=e762e333-5caa-443f-a8c6-4192b1443958' 04:55.126026-0,CONN,1,process=w3wp,OSThread=9940,Txt='Connection added to ping direction: address=[::1]:1560,pingTimeout=15000,pingPeriod=3000,lastSentTs=1183846830,lastReceivedTs=1183846830,lastReceivedTestTs=,clientID=4' 04:55.126027-0,CONN,1,process=w3wp,OSThread=9940,Txt=Clnt: MyUserName1: NT AUTHORITY\IUSR 04:55.126029-1,SCALL,1,process=w3wp,OSThread=9940,ClientID=4,Interface=7f58f27d-5ad8-43a1-aa1e-c982f41bed5c,IName=IRemoteCreatorService,Method=0,CallID=863,MName=createRemoteInstance,DstClientID=0 04:55.141000-0,CONN,1,process=w3wp,OSThread=9940,Txt=Clnt: DstUserName1: SERVER2008\USR1CV8 StartProtocol: 0 Success 04:55.141002-1,SCALL,1,process=w3wp,OSThread=9940,ClientID=4,Interface=7f58f27d-5ad8-43a1-aa1e-c982f41bed5c,IName=IRemoteCreatorService,Method=0,CallID=864,MName=createRemoteInstance,DstClientID=0 04:55.141003-0,CONN,1,process=w3wp,OSThread=9940,Txt=Clnt: MyUserName2: 04:55.141005-1,SCALL,1,process=w3wp,OSThread=9940,ClientID=4,Interface=7f58f27d-5ad8-43a1-aa1e-c982f41bed5c,IName=IRemoteCreatorService,Method=0,CallID=865,MName=createRemoteInstance,DstClientID=0 04:55.141007-1,SCALL,1,process=w3wp,OSThread=9940,ClientID=4,Interface=bc15bd01-10bf-413c-a856-ddc907fcd123,IName=IVResourceRemoteConnection,CallID=866,MName=methodsCount,DstClientID=12778 04:55.141008-0,CONN,0,process=w3wp,OSThread=13388,Txt='Ping direction statistics: address=[::1]:1560,pingTimeout=15000,pingPeriod=3000,period=9048,packetsSent=3,avgResponseTime=0,maxResponseTime=0,packetsTimedOut=0,packetsLost=0,packetsLostAndFound=0' 04:55.141009-0,VRSREQUEST,1,process=w3wp,OSThread=9940,Method=POST,URI=/hs/telephony/rt/call_events,Headers='Accept-Encoding: gzip,deflate Connection: Keep-Alive X-Client-Sign: 14dda9f1bd1cac43a734fae0e03a41dd8c19a5f5cb780d9b75bd32faf729ac17 X-Client-ID: 92FA971B10DD441672B03749D2FA352A Host: 1.1.1.1 Content-Type: application/json; charset=utf-8 Content-Length: 220 1C-ApplicationName: WebClient X-Radix-Process-ID: 008dabf6-79d8-4142-b210-e330c044d368 1C-OriginalLocation: https://1.1.1.1/unf/hs/telephony/rt/call_events/ 1C-openIDLifetime: 43200 User-Agent: Apache-HttpClient/4.5.8 (Java/1.8.0_202) 1C-ConnectString: Srvr=SERVER2008;Ref=unf;ws=https://1.1.1.1/unf 1C-BaseLocation: https://1.1.1.1/unf 1C-WebLocale: X-Forwarded-For: 95.167.42.110 1C-openIDProviderEndpoint: https://192.168.1.60:443/unf/e1cib/oid2op 1C-openIDAllowedReturnTo: Lio=; 1C-authorizationConfig: ezAsIiIsMH0%3D 1C-servicesPublicationSource: vrd 1C-servicesReuseSeances: %2Funf,hs%2FTelephonyApi,2,20,5,10',Body=220 04:55.141010-0,CONN,0,process=w3wp,OSThread=9940,Txt='Ping direction statistics: address=[::1]:1541,pingTimeout=15000,pingPeriod=3000,period=0,packetsSent=0,avgResponseTime=0,maxResponseTime=0,packetsTimedOut=0,packetsLost=0,packetsLostAndFound=0' 04:56.031001-889990,SCALL,1,process=w3wp,OSThread=9940,ClientID=4,Interface=bc15bd01-10bf-413c-a856-ddc907fcd123,IName=IVResourceRemoteConnection,Method=0,CallID=867,MName=send,DstClientID=12778 04:56.031002-0,CONN,1,process=w3wp,OSThread=9940,Txt=Clnt: MyUserName1: NT AUTHORITY\IUSR 04:56.031004-1,SCALL,1,process=w3wp,OSThread=9940,ClientID=4,Interface=bc15bd01-10bf-413c-a856-ddc907fcd123,IName=IVResourceRemoteConnection,Method=0,CallID=868,MName=send,DstClientID=12778 04:56.031005-0,CONN,1,process=w3wp,OSThread=9940,Txt=Clnt: DstUserName1: SERVER2008\USR1CV8 StartProtocol: 0 Success 04:56.031007-1,SCALL,1,process=w3wp,OSThread=9940,ClientID=4,Interface=bc15bd01-10bf-413c-a856-ddc907fcd123,IName=IVResourceRemoteConnection,Method=0,CallID=869,MName=send,DstClientID=12778 04:56.031008-0,CONN,1,process=w3wp,OSThread=9940,Txt=Clnt: MyUserName2: 04:56.046000-14991,SCALL,1,process=w3wp,OSThread=9940,ClientID=4,Interface=bc15bd01-10bf-413c-a856-ddc907fcd123,IName=IVResourceRemoteConnection,Method=0,CallID=870,MName=send,DstClientID=12778 04:56.046001-0,VRSRESPONSE,1,process=w3wp,OSThread=9940,Status=401,Phrase=Unauthorized,Headers='WWW-Authenticate: Basic realm="1C:Enterprise 8.3" Content-Length: 0',Body=0 05:05.177000-0,CONN,0,process=w3wp,OSThread=13704,Txt='Ping direction statistics: address=[::1]:1560,pingTimeout=15000,pingPeriod=3000,period=10046,packetsSent=3,avgResponseTime=0,maxResponseTime=0,packetsTimedOut=0,packetsLost=0,packetsLostAndFound=0' 05:15.239000-0,CONN,0,process=w3wp,OSThread=13704,Txt='Ping direction statistics: address=[::1]:1560,pingTimeout=15000,pingPeriod=3000,period=10062,packetsSent=3,avgResponseTime=0,maxResponseTime=0,packetsTimedOut=0,packetsLost=0,packetsLostAndFound=0' |
Форум | Правила | Описание | Объявления | Секции | Поиск | Книга знаний | Вики-миста |