首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >HTTPS通知未到达cygnus

HTTPS通知未到达cygnus
EN

Stack Overflow用户
提问于 2019-04-26 21:09:41
回答 1查看 92关注 0票数 1

Orion版本为2.1.0 Orion是使用-https选项在HTTPS中启动的

我们在订阅中的URL中使用了"HTTPS“协议架构--> reference”:"https://cygnus.domain.com/notify

当我们插入一个与订阅匹配的实体时,实体是在Orion中创建的,而不是在STH中创建的。

然而,Orion日志返回:通知已成功发送到https://cygnus.domain.com:443/notify

如果我们在订阅中的URL中使用" HTTP“协议模式,那么如果我们在HTTP或HTTPS中使用curl直接通知Cygnus,它就会工作

Orion日志如下:

代码语言:javascript
复制
time=Friday 22 Feb 11:24:28 2019.158Z | lvl=INFO | corr=N/A | trans=1550831768-689-00000000058 | from=pending | srv=pending | subsrv=pending | comp=Orion | op=logMsg.h[1832]:lmTransactionStart | msg=Starting transaction to https://cygnus.domain.com:443/notify
 time=Friday 22 Feb 11:24:28 2019.159Z | lvl=INFO | corr=6a8319ac-3694-11e9-872e-0242c0a81006 | trans=1550831768-689-00000000056 | from=10.6.11.36 | srv=svctestnca | subsrv=/svcpath/testnca | comp=Orion | op=logMsg.h[1916]:lmTransactionEnd | msg=Transaction ended
 time=Friday 22 Feb 11:24:28 2019.177Z | lvl=INFO | corr=N/A | trans=1550831768-689-00000000057 | from=pending | srv=pending | subsrv=pending | comp=Orion | op=httpRequestSend.cpp[615]:httpRequestSendWithCurl | msg=Notification Successfully Sent to https://cygnus.domain.com:443/notify
 time=Friday 22 Feb 11:24:28 2019.159Z | lvl=INFO | corr=N/A | trans=1550831768-689-00000000058 | from=pending | srv=pending | subsrv=pending | comp=Orion | op=httpRequestSend.cpp[594]:httpRequestSendWithCurl | msg=Sending message 20 to HTTP server: sending message of 826 bytes to HTTP server
 time=Friday 22 Feb 11:24:28 2019.176Z | lvl=INFO | corr=N/A | trans=1550831768-689-00000000058 | from=pending | srv=pending | subsrv=pending | comp=Orion | op=logMsg.h[1916]:lmTransactionEnd | msg=Transaction ended

谢谢你的帮助。

EN

回答 1

Stack Overflow用户

发布于 2019-05-01 00:07:57

这个问题已经解决了,订阅引用是https://cygnus.domain.com/notify,但Orion在https://cygnus.domain.com:443/notify中对此进行了转换

我们有一个HAProxy来负载均衡请求。存在用于接受cygnus.domain.com:443的ACL,但不存在用于接受doamin cygnus.domain.com的ACL。

修改ACL可解决此问题

旧ACL : acl cygnus.domain.com

  • New hdr( cygnus.domain.com

) -i cygnus.domain.com

  • New ACL : acl IS_Cygnus hdr_beg(主机) -i acl
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/55868359

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档