Ring account creation doesn't work
Issue generated from Tuleap's migration script. Originally submitted by: szotsaki (szotsaki)
Because of an exception in ring-daemon I deleted dring.yml, that's why I had to create a new Ring account to acces the SIP functionality.
First, I started dring with debug options:
$>SIPLOGLEVEL=8 /usr/lib64/ring/dring Ring Daemon 2.3.0, by Savoir-faire Linux 2004-2016 http://www.ring.cx/ [Video support enabled] 15:24:25.112 os\_core\_unix.c !pjlib 2.5.5 for POSIX initialized 15:24:41.577 sip\_endpoint.c Creating endpoint instance... 15:24:41.577 pjlib epoll I/O Queue created (0x1253010) 15:24:41.577 sip\_endpoint.c Module "mod-msg-print" registered 15:24:41.577 sip\_transport. Transport manager created.
In the Gnome client when I choose Create new account, it fails with an error message on the GUI (Error creating/loading account).
In the console I see:
\*\* Message: Ring GNOME client version: 1.0.0 \*\* Message: git ref: unknown Updating all accounts Loading vcf from: QDir( "/home/aki/.local/share/gnome-ring/profiles" , nameFilters = { "\*" }, QDir::SortFlags( Name | IgnoreCase ) , QDir::Filters( Dirs|Files|Drives|AllEntries ) ) (gnome-ring:7482): GLib-GObject-WARNING \*\*: The property GtkSettings:gtk-button-images is deprecated and shouldn't be used anymore. It will be removed in a future version. (gnome-ring:7482): GLib-GObject-WARNING \*\*: The property GtkAlignment:xalign is deprecated and shouldn't be used anymore. It will be removed in a future version. (gnome-ring:7482): GLib-GObject-WARNING \*\*: The property GtkAlignment:yalign is deprecated and shouldn't be used anymore. It will be removed in a future version. (gnome-ring:7482): GLib-GObject-WARNING \*\*: The property GtkEntry:primary-icon-stock is deprecated and shouldn't be used anymore. It will be removed in a future version. (gnome-ring:7482): Gtk-WARNING \*\*: gtkwidget.c:8554: widget not within a GtkWindow (gnome-ring:7482): Gtk-WARNING \*\*: gtkwidget.c:8554: widget not within a GtkWindow (gnome-ring:7482): Gtk-WARNING \*\*: gtkwidget.c:8554: widget not within a GtkWindow (gnome-ring:7482): Gtk-WARNING \*\*: gtkwidget.c:8554: widget not within a GtkWindow (gnome-ring:7482): Gtk-WARNING \*\*: gtkwidget.c:8554: widget not within a GtkWindow (gnome-ring:7482): GLib-GObject-WARNING \*\*: The property GtkWidget:margin-left is deprecated and shouldn't be used anymore. It will be removed in a future version. QDBusMarshaller: type `VectorString' attempts to redefine basic D-BUS type 'as' (QStringList) (Did you forget to call beginStructure() ?) QDBusMarshaller: type `MapStringVectorString' produces invalid D-BUS signature `a{s}' (Did you forget to call beginStructure() ?) QDBusMarshaller: type `QMap<QString,MapStringVectorString>' produces invalid D-BUS signature `a{s}' (Did you forget to call beginStructure() ?) Invalid current audio plugin Selection changed 0 Selection changed 0 Building an account from alias: "test-account-3" Account parameter " "Account.alias" " not found Account parameter " "Account.username" " not found Account parameter " "TLS.password" " not found Account parameter " "Account.type" " not found (gnome-ring:7482): GLib-GObject-WARNING \*\*: The property GtkAlignment:left-padding is deprecated and shouldn't be used anymore. It will be removed in a future version. (gnome-ring:7482): GLib-GObject-WARNING \*\*: The property GtkAlignment:top-padding is deprecated and shouldn't be used anymore. It will be removed in a future version. Account parameter " "Account.routeset" " not found Account parameter " "Account.mailbox" " not found Account parameter " "Account.autoAnswer" " not found Account parameter " "Account.upnpEnabled" " not found Account parameter " "Account.dtmfType" " not found Account parameter " "Account.videoEnabled" " not found Account parameter " "Account.registrationExpire" " not found Account parameter " "TLS.enable" " not found Account parameter " "Account.localPort" " not found Account parameter " "Account.publishedSameAsLocal" " not found Account parameter " "Account.publishedAddress" " not found Account parameter " "Account.publishedPort" " not found Account parameter " "STUN.enable" " not found Account parameter " "STUN.server" " not found Account parameter " "TURN.enable" " not found Account parameter " "TURN.server" " not found Account parameter " "TURN.username" " not found Account parameter " "TURN.password" " not found Account parameter " "TURN.realm" " not found Account parameter " "Account.audioPortMin" " not found Account parameter " "Account.audioPortMax" " not found Account parameter " "Account.videoPortMin" " not found Account parameter " "Account.videoPortMax" " not found Account parameter " "SRTP.enable" " not found Account parameter " "SRTP.keyExchange" " not found Account parameter " "SRTP.rtpFallback" " not found Account parameter " "TLS.certificateListFile" " not found Account parameter " "TLS.certificateFile" " not found Account parameter " "TLS.method" " not found Account parameter " "TLS.serverName" " not found Account parameter " "TLS.negotiationTimeoutSec" " not found Account parameter " "TLS.ciphers" " not found Account parameter " "TLS.verifyServer" " not found Account parameter " "TLS.verifyClient" " not found Account parameter " "TLS.requireClientCertificate" " not found Account parameter " "Account.deviceID" " not found Error : getting AccountId of a new account. Account not configured Error : getting AccountId of a new account. Account not configured Saving profile in: "/home/aki/.local/share/gnome-ring/profiles/1466802808750.vcf" Error : getting AccountId of a new account. Account not configured Error : getting AccountId of a new account. Account not configured Error : getting AccountId of a new account. Account not configured Error : getting AccountId of a new account. Account not configured Error : getting AccountId of a new account. Account not configured Error : getting AccountId of a new account. Account not configured Error : getting AccountId of a new account. Account not configured Error : getting AccountId of a new account. Account not configured Setting accountId = "" Adding the new account to the account list ( "Message did not receive a reply (timeout by message bus)" ) Unknown registration state "" Saving profile in: "/home/aki/.local/share/gnome-ring/profiles/1466802808750.vcf"
The content of the aforementioned file is:
BEGIN:VCARD VERSION:2.1 UID:1466802808750 FN:test-account-3 X-RINGACCOUNTID:a67b376b942ef87c X-RINGACCOUNTID:fdd2ebb3e6f651a9 X-RINGACCOUNTID:Message did not receive a reply (timeout by message bus) X-RINGACCOUNTID:Message did not receive a reply (timeout by message bus) X-RINGACCOUNTID:Message did not receive a reply (timeout by message bus) PHOTO;ENCODING=BASE64;TYPE=PNG: END:VCARD
In Ring Daemon I see only the following:
quitting: VoipLinkException occurred: pjsip\_endpt\_create\_resolver(endpt\_, &resv) failed