V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
honmaple
V2EX  ›  问与答

qq 邮箱 smtp 是不是禁止了国外 ip

  •  
  •   honmaple · Nov 29, 2015 · 2784 views
    This topic created in 3810 days ago, the information mentioned may be changed or developed.

    使用 qq 的 smtp 发送邮件,本地测试上正常(国内 ip ),部署到服务器( digitalocean )总是显示 502 错误, nginx 日志显示

    [error] 8145#0: *47 upstream prematurely closed connection while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: xxx.com, request: "POST /sign HTTP/1.1", upstream: "http://127.0.0.1:8000/sign", host: "xxx.com", referrer: "http://xxx.com/sign

    请教大神这是什么原因,该如何解决

    3 replies    2015-11-29 13:38:31 +08:00
    msg7086
        1
    msg7086  
       Nov 29, 2015
    这错误日志怎么看也和 SMTP 无关吧?
    honmaple
        2
    honmaple  
    OP
       Nov 29, 2015
    额,我错了,现在加了异步方案就可以了,虽然不像本地测试般秒速发送
    tanyuxiang
        3
    tanyuxiang  
       Nov 29, 2015 via Android
    没用禁用。并且可以轻松跑满 100M 带宽。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2897 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 52ms · UTC 06:28 · PVG 14:28 · LAX 23:28 · JFK 02:28
    ♥ Do have faith in what you're doing.