AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 547636
Accepted
v_2e
v_2e
Asked: 2013-10-22 12:11:19 +0800 CST2013-10-22 12:11:19 +0800 CST 2013-10-22 12:11:19 +0800 CST

无法建立到 gmail 的 XMPP 服务器到服务器连接

  • 772

我的 jabber-server 无法连接到 gmail.com 并给出错误:传出 s2s 流 myserver.com.ua->bot.talk.google.com 已关闭:未定义条件(myserver.com.ua 是 Google Apps 域 with Talk服务已启用。)

我正在使用 Prosody XMPP 服务器。它适用于我迄今为止测试过的其他 jabber 服务器(例如 jabber.ru)。但是,当我的一些客户尝试将 gmail 联系人添加到他的联系人列表时,订阅请求将永远持续,并且 Prosody 在其日志中提供以下消息序列:

Oct 21 22:57:16 s2sout95897f8   info    Beginning new connection attempt to gmail.com ([173.194.70.125]:5269) 
Oct 21 22:57:16 s2sout95897f8   info    sent dialback key on outgoing s2s stream 
Oct 21 22:57:16 s2sout95897f8   info    Session closed by remote with error: undefined-condition (myserver.com.ua is a Google Apps Domain with Talk service enabled.) 
Oct 21 22:57:16 s2sout95897f8   info    outgoing s2s stream myserver.com.ua->gmail.com closed: undefined-condition (myserver.com.ua is a Google Apps Domain with Talk service enabled.) 
Oct 21 22:57:16 s2sout95897f8   info    sending error replies for 2 queued stanzas because of failed outgoing connection to gmail.com

这里我使用myserver.com.ua的服务器域名

我发现这个线程中描述了一个类似的问题,但那里没有解决方案的详细描述。

至于谷歌服务,我确实有一个谷歌账户,我在其中将有问题的域名添加到了网站管理员工具页面。但是,我很久以前就删除了我的帐户,所以现在还不清楚 Google 的任何服务如何与我的域名相关联。

所以我的问题是:这个问题的真正原因是什么(我的 jabber-server 配置或虚构的 Google 帐户或其他),我怎样才能让我的 Prosody 服务器连接到 gmail.com jabber 服务?

g-suite
  • 2 2 个回答
  • 1998 Views

2 个回答

  • Voted
  1. Best Answer
    Michal Borek
    2013-11-03T06:55:24+08:002013-11-03T06:55:24+08:00

    这是因为 google 使用其内部通过 jabber 协议进行通信的方式。

    如果您在 google 应用配置中禁用 Talk/Hangout,它将开始工作(几个小时后)。

    • 2
  2. Amit Dunsky
    2013-10-28T23:48:15+08:002013-10-28T23:48:15+08:00

    如果您使用的是 Google Apps,则需要在 DNS 中设置一些 SRV 记录。您可以使用这个很棒的工具来检查您的域的 DNS 是否设置正确,如果没有 - 如何。

    我对 myserver.com.ua 进行了检查 - 找不到该域的 Jabber 记录。

    • 1

相关问题

  • 面向公司的 Google 邮件

  • 如何在 Win 2k3 上配置 MailEnable 以允许 Google 通过它中继 SMTP?

  • GMail/Google Apps 到 Gmail 的迁移

  • Firefox 在终端服务器上使用 Google Apps 电子邮件性能问题

  • 免费名称服务器服务的可靠性?[关闭]

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve