Miranda IM

Page 4 of 39 FirstFirst ... 2345614 ... LastLast
Results 31 to 40 of 390

Thread: SIP (Rendezvous) protocol plugin

  1. #31
    this morning I logged the network activity

    [9.02.21 RVP] Z:\tmp\miranda\miranda\src\modules\netlib\netlibop enconn.c 39: gethostbyname() failed (11001)

    It looks like RVP error 4 comes out because the server name is not resolved...

    Infact I noticed that in the configuration there is no OUTLOOK server name, how does the pluging guesses it ?

    benny59

  2. #32
    Join Date
    March 2005
    Location
    Krakow, Poland
    Posts
    289
    Quote Originally Posted by benny59
    this morning I logged the network activity

    [9.02.21 RVP] Z:\tmp\miranda\miranda\src\modules\netlib\netlibop enconn.c 39: gethostbyname() failed (11001)

    It looks like RVP error 4 comes out because the server name is not resolved...

    Infact I noticed that in the configuration there is no OUTLOOK server name, how does the pluging guesses it ?

    benny59
    If your login is [email protected] then im.company.com is used as Exchange server name.

  3. #33
    [9:32:44 RVP] C:\projects\miranda-tools\installer\build\core\miranda\src\modules\net lib\netlibopenconn.c 36: gethostbyname() failed (11001)

    however, Windows Messaging works correct and uses right server.
    and there are no im.company.com server in our network. It seems to be WM using another method to locate RVP server. And i have no ideas what this method is :-(

    Also is such error code ( Error 4 ) correct for this situation ? Can you generate more readable error message? for example, which host it was trying to resolve ?

    //sorry for my english and thanx for developing such greate plugin :-)
    Last edited by Evgeny; 4 Jul 2005 at 9:49 AM.

  4. #34
    Join Date
    March 2005
    Location
    Krakow, Poland
    Posts
    289
    Quote Originally Posted by Evgeny
    [9:32:44 RVP] C:\projects\miranda-tools\installer\build\core\miranda\src\modules\net lib\netlibopenconn.c 36: gethostbyname() failed (11001)

    however, Windows Messaging works correct and uses right server.
    and there are no im.company.com server in our network. It seems to be WM using another method to locate RVP server. And i have no ideas what this method is :-(

    Also is such error code ( Error 4 ) correct for this situation ? Can you generate more readable error message? for example, which host it was trying to resolve ?

    //sorry for my english and thanx for developing such greate plugin :-)
    so ask your network/Exchange administrator what the Exchange server IP address is and then add it to your hosts.

  5. #35
    Done,
    I inserted the entry in the drivers/etc/hosts table.
    Now I got the following log:
    [[12.57.04 RVP] (2660) Connected to im.mycompany.com:80
    [12.57.04 RVP] (009CB810:4294967295) Connection closed
    [12.57.04 RVP] (1888) Port 2413 opened for incoming connections
    [12.57.06 RVP] (1480) Connected to im.mycompany.com:80
    [12.57.06 RVP] (009CB780:1480) Data sent
    SUBSCRIBE /instmsg/aliases/name.surname HTTP/1.1
    Subscription-Lifetime: 14400
    Notification-Type: pragma/notify
    User-Agent: msmsgs/5.1.0.639
    Call-Back: http://192.168.0.85:2413
    RVP-Notifications-Version: 0.2
    RVP-From-Principal: http://im.mycompany.com/instmsg/aliases/name.surname
    Host: im.mycompany.com
    Content-Length: 0


    [12.57.06 RVP] (009CB780:1480) Data sent

    [12.57.06 RVP] (009CB780:1480) Data received
    HTTP/1.1 501 Not Implemented

    Server: Microsoft-IIS/5.0

    Date: Mon, 04 Jul 2005 10:57:10 GMT

    Connection: close

    Content-Type: text/html

    Content-Length: 50




    [12.57.06 RVP] (009CB780:1480) Data received
    <body><h2>HTTP/1.1 501 Not Implemented</h2></body>
    [12.57.06 RVP] (009CB780:4294967295) Connection closed
    Last edited by benny59; 4 Jul 2005 at 11:59 AM.

  6. #36
    Annichilez Guest

    Redirect error

    I have try it and find some problem.

    When I try to login, the RVP try to contact one of the web server inside my company, but that web server redirect me to another web server.

    It seems to be fine, but I find that, when it contact the first web server, it try to load a URL that contain my correct login name. But when it redirect to the second web server, it also try to load a URL that contain someone's login name, which is wrong, and that login name keep changing when I try it time by time. Seems that some buffer overflow problem there.
    Last edited by Annichilez; 4 Jul 2005 at 11:47 AM.

  7. #37
    Join Date
    June 2005
    Location
    Austin, TX
    Posts
    3
    I'm getting similar results to Benny59 now. I've addressed the name resolution issue by creating a HOSTS file entry. However, we don't have a server named "im.companyname.com", so the IM server seems to think it's being passed a request for a Virtual Server:

    RVP-Notifications-Version: 0.2
    RVP-From-Principal: http://im.companyname.com/instmsg/al...David.Sullivan
    Host: im.companyname.com
    Content-Length: 0


    [17:43:00 RVP] (00A04E70:1340) Data sent

    [17:43:00 RVP] (00A04E70:1340) Data received
    HTTP/1.1 404 Not Found

    Server: Microsoft-IIS/5.0

    Date: Tue, 05 Jul 2005 22:43:00 GMT

    Connection: close

    Content-Type: text/html

    Content-Length: 245

    RVP-Notifications-Version: 0.2

    Connection: close




    [17:43:00 RVP] (00A04E70:1340) Data received
    <HTML><HEAD><TITLE>Not Found</TITLE></HEAD><BODY><H2>Failure 404 (Not Found)</H2><HR>Virtual server not found for SUBSCRIBE request on node http://im.companyname.com/instmsg/aliases/david.sullivan<HR></BODY></HTML>
    [17:43:00 RVP] (00A04E70:4294967295) Connection closed

    We have a complex domain structure that the plugin is turning in to "im.<servername>.<sub domain>.<corporate domain>.com". I would think it would be a fix for all of these issues to just add a dialog box where we can type in the server name or IP address.

  8. #38
    Join Date
    March 2005
    Location
    Krakow, Poland
    Posts
    289
    Quote Originally Posted by davidsinaus
    I'm getting similar results to Benny59 now...
    Thanks for the detailed information, but I need some more details regarding your network settings:
    1) what would the correct Host (Virtual server) look like
    2) what is the correct RVP-From-Principal ? Is the one generated by the plugin correct ?
    3) what is the address of the Exchange server ? Is it the same as Host ?

  9. #39
    some ideas about how to locate RVP server
    1) resolve im.company.com
    2) DNS query for _rvp._tcp service record
    3) query ActiveDirectory via LDAP protocol

    WinMessenger definitly makes (2) and (3). It loads DNSAPI.dll for (2) and WLDAP32.dll for (3).
    Also AD can contain correct RVP Virtual server URL but i have no tools to explore AD structure :-(

    i have no enough rights to edit HOSTS file :-( Can you complile debug version of plugin where we can manually change all params (host IP, VHost URL, Principal URL, ...)
    Last edited by Evgeny; 6 Jul 2005 at 9:38 AM.

  10. #40
    hi tomorrow I'll be back in the office.

    Please let me know how can I get the information you need.
    what commands...

    the exhange server name is mailxxx.mycompany.com

    cheers
    benny59

Similar Threads

  1. Update to 0.6.8 - ichat bonjour/rendezvous stopped working
    By csjjpm in forum Technical Support
    Replies: 1
    Last Post: 15 Mar 2007, 10:30 PM
  2. Bonjour Rendezvous protocol
    By csjjpm in forum Feature Requests
    Replies: 0
    Last Post: 14 Mar 2007, 2:01 PM
  3. Rendezvous/Bonjour
    By tokei in forum Technical Support
    Replies: 0
    Last Post: 20 Mar 2006, 1:01 AM
  4. Rendezvous PlugIn
    By m[i]ke in forum Technical Support
    Replies: 2
    Last Post: 26 Feb 2006, 5:49 PM
  5. Plugin with own mini-protocol
    By Ksero in forum Plugins
    Replies: 0
    Last Post: 26 Apr 2005, 10:56 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •