Error on smack 4.2.0 : IN AAAA yielded an error response NX_DOMAIN

前端 未结 2 2063
半阙折子戏
半阙折子戏 2020-12-16 03:27

i start openFire and test it with spark everything is ok but when i try to connect with smack 4.2.0 in android studio i got this error:

Ljavax/naming/directory/Initi

2条回答
  •  北海茫月
    2020-12-16 04:04

    Please check : https://github.com/igniterealtime/Smack/wiki/Smack-4.2-Readme-and-Upgrade-Guide

    In previous versions of Smack, ConnectionConfiguration.setHost(String) could be used to set the XMPP service's host IP address. This is no longer possible due to the added DNSSEC support. You have to use the new connection configuration ConnectionConfiguration.setHostAddress(InetAddress) instead.

    You can check this also.

    failed because: de.measite.minidns.hla.ResolutionUnsuccessfulException: Asking for xxxx. IN AAAA yielded an error response NX_DOMAIN

提交回复
热议问题