技术文章 - CS421265

邮件扩展在 ThingWorx 中不起作用

已修改: 16-Jul-2024   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • ThingWorx Platform 9.4 F000 to 9.5 SP2

说明

  • 尝试发送电子邮件时收到错误
2024-03-27 09:29:19.712+0000 [L: ERROR] [O: c.t.w.Things] [I: ] [U: Administrator] [S: ] [P: ] [T: http-nio-80-exec-1] Thing [MailerThing] is not running
2024-03-27 09:29:19.712+0000 [L: WARN] [O: c.t.w.BaseService] [I: ] [U: Administrator] [S: ] [P: ] [T: http-nio-80-exec-1] Transaction has been marked as a failure for request /Thingworx/Things/MailerThing/Services/SendMessage
  • 尝试保存配置时,即使使用管理员用户,用户也会断开连接
2024-05-27 12:51:51.203+0000 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: Administrator] [S: ] [P: ] [T: http-nio-80-exec-7] Servlet execution threw an exception java.lang.Exception: Servlet execution threw an exception
	at com.thingworx.security.authentication.AuthenticationFilter.propagateRequest(AuthenticationFilter.java:755)
	at com.thingworx.security.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:245)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
	at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
	at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
  • 尝试使用不同的浏览器直接从服务器或从组织网络外部发送电子邮件,也可以看到不同的消息
2024-06-10 14:30:28.372+0000 [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: Administrator] [S: ] [P: ] [T: http-nio-80-exec-3] Unable to Invoke Service SendMessage on MailThing : 'void com.thingworx.common.utils.HttpUtilities.validateDomainWithoutProtocol(java.lang.String)' java.lang.Exception: 'void com.thingworx.common.utils.HttpUtilities.validateDomainWithoutProtocol(java.lang.String)'
	at com.thingworx.common.processors.ReflectionProcessor.processService(ReflectionProcessor.java:250)
	at com.thingworx.handlers.ReflectionServiceHandler.processService(ReflectionServiceHandler.java:50)
	at com.thingworx.handlers.ServiceHandlerBase.processServiceWithMetrics(ServiceHandlerBase.java:48)
	at com.thingworx.things.Thing.processServiceRequestDirect(Thing.java:8497)
	at com.thingworx.things.Thing.processAPIServiceRequest(Thing.java:8434)
	at com.thingworx.webservices.BaseService.handleInvoke(BaseService.java:3339)
	... 49 common frames omitted
Wrapped by: com.thingworx.common.exceptions.InvalidRequestException: Unable to Invoke Service SendMessage on MailThing : 'void com.thingworx.common.utils.HttpUtilities.validateDomainWithoutProtocol(java.lang.String)'
	at com.thingworx.webservices.BaseService.handleInvoke(BaseService.java:3396)
	at com.thingworx.webservices.BaseService.service(BaseService.java:478)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)

这是文章 421265 的 PDF 版本,可能已过期。最新版本 CS421265