【问题标题】:Incoming POST requests fail on Meteor GalaxyMeteor Galaxy 上的传入 POST 请求失败
【发布时间】:2017-03-18 12:33:24
【问题描述】:

一段时间以来,我一直在使用 Mailgun 路由成功接收到 Meteor 应用程序的传入电子邮件,但它现在突然停止工作。

我的设置是将域的所有电子邮件转发到 Mailgun,然后我将它们路由到我的应用程序端点(通过 POST 请求)并解析它们。 Mailgun 提供了一个测试工具,我可以在其中输入我的应用端点 URL,它现在给我以下响应:

Post failed: [Errno 1] _ssl.c:510: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error

该应用程序托管在 Galaxy 上,如果有帮助的话,下面是我的“传入”路线的样子。

有什么想法吗?

Picker.route('/incoming/', function(params, req, res, next) {
  res.writeHead(200, {'content-type': 'text/plain'});
  res.write('received successfully:\n\n');
  res.end("thanks");

  parseEmail(req.body);
});

更新:切换到 http 没有帮助..

【问题讨论】:

    标签: meteor mailgun meteor-galaxy


    【解决方案1】:

    我收到了类似的错误(如下)。我已将回调 URL 配置为 example.com/abc,但它实际上应该是 example.com/abc/ 或 example.com/abc/index.php。结果,当 Mailgun 访问 URL 时,它获得了 HTTP 301 临时重定向。 Mailgun 给出了一个模糊的错误,而不是遵循重定向。

    发布失败:[Errno 1] _ssl.c:510: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error

    【讨论】:

      猜你喜欢
      • 2012-03-07
      • 1970-01-01
      • 1970-01-01
      • 2011-09-07
      • 2013-02-08
      • 2013-03-21
      • 1970-01-01
      • 2012-10-11
      • 2020-07-06
      相关资源
      最近更新 更多