Menu

Connecting to ICQ

vl
2010-06-04
2013-03-25
  • vl

    vl - 2010-06-04

    While connecting to ICQ BOS server, right after receiving the Server Ready packet, I'm receiving a 0x1/0x15 packet (unknown packet for the software, seems to be "Common URLs" packet according to some source on the web.) When getting this packet, I'm getting a connection reset. Can someone help? 
    In addition, I'm able to send one packet after receiving Server Ready and before receiving the 0x1/0x15 packet (which supposed to be services request packet), but the only packet I get is the 0x1/0x15, after which there is a connection reset. 

     
  • vl

    vl - 2010-06-04

    I saw there is a problem showing the message on some browser, here it is, again:
    While connecting to ICQ BOS server, right after receiving the Server Ready packet, I'm receiving a 0x1/0x15 packet (unknown
    packet for the software, seems to be "Common URLs" packet according to some source on the web.) When getting this packet,
    I'm getting a connection reset. Can someone help? 
    In addition, I'm able to send one packet after receiving Server Ready and before receiving the 0x1/0x15 packet (which supposed
    to be services request packet), but the only packet I get is the 0x1/0x15, after which there is a connection reset.

     
  • vl

    vl - 2010-06-11

    Anyone.. please help? Is there anyone who has a code that connects to BOS?

     
  • Alex

    Alex - 2010-06-11

    I log into ICQ just fine with jclaim.

    try posting in a joscar group.

     
  • vl

    vl - 2010-06-11

    I sent a request to join the joscar group, but there is no activity and no one replied.
    All the questions about the joscar api/code/library are being forwarded to JCalim's code as I saw. So I found nothing at joscar
    forums. I also tried to understand  JClaim's code, but with connection to BOS I had no luck.

    Thank you for your reply. Do you have any familiarity with the JClaim code? I need to login to BOS after receiving cookie from the
    server and while having the BOS sever. Can anyone help me with that?

     
  • Alex

    Alex - 2010-06-11

    Yes, I know JClaim code pretty well.
    Look at the ICQConnection class.

    Also, I am on joscar forums and I didn't see anyone asking about BOS.
    It's been moved around a bit, try to find the one that's hosted by google.

     
  • vl

    vl - 2010-06-12

    I'm looking at the ICQConnection class now.
    I can't post at joscar forums on google since no one has authorized me yet there. I have to joscar Forums - the one on google and
    one on sourceforge - the newest post is 4 years old. 

    This what I have on logging in:

    (Now in Flap Packet Hundler) handeling FLAP packet: LoginFlapCmd: version=1, cookie=null        FlapPacket (channel=1, seq=10204)
    (Now in SnacRequestAdapter) Got SNAC Response: KeyResponse: key=739508559        SnacRequest for KeyRequest for screenname 631008425: listeners: [icq.MainICQ$1@929206], responses: null
    (Now in SnacRequestAdapter) Got SNAC Response: AuthResponse: sn='631008425', server='64.12.25.90', port=5190, email='null'        SnacRequest for AuthRequest: sn='631008425', version='ClientVersionInfo: , versionString='AOL Instant Messenger, version 5.1.3036/WIN32', clientid=-1, major=5, minor=1, point=0, build=3036, distCode=239', locale=iw_IL: listeners: [icq.MainICQ$1@929206], responses: null
    Cookie: 37 97 21 b0 70 80 74 13 3f 59 50 8c 27 d6 a9 1c a8 da 0a 8d 0a 6b 1e 4f b0 84 0d ee 79 3c ee 85 d6 14 27 ed 05 3e 9b 22 8c 0d b4 e3 2c 45 e0 16 d0 a6 02 6f 1c f5 06 a5 ff 4b fc 65 e7 a9 bd e1 d6 82 04 37 78 c8 9d f1 68 cf 56 d2 62 de ba db 23 80 0a e9 b8 f0 fb 49 1d 7f 7b c7 e0 98 a5 59 76 10 22 6e 23 7a 25 56 de 4c fe fd 29 77 0e c0 d3 eb 61 27 20 52 d3 34 23 68 6a 04 b8 fe b2 aa ae 08 b7 1d 57 ec a2 a1 25 8c 6f 58 23 8c 50 cb 9f 07 fc 8b 35 af 99 83 e4 ee 47 c4 81 91 9e fe c3 2d 0d a2 b3 c2 d9 29 2a d8 4d db 3f 4e 28 99 12 1c c6 c7 f8 eb ea bb ca 64 eb 84 45 0e 9c 1f 35 c5 f0 06 03 98 26 56 0c 85 b4 1b d6 c2 d0 b1 64 1e 0f 12 3d e7 cc 19 b4 cc 98 98 90 91 5e 03 34 af 9a 5a cd 57 0b c2 4a 9a 60 91 94 09 5c 88 80 c1 48 e7 ca 2d 74 2d 3d e5 99 b6 7a 58 31 f2
    (Now in Flap Packet Hundler) handeling FLAP packet: CloseFlapCmd:  url=null        FlapPacket (channel=4, seq=10207)
    (Now in Flap Packet Hundler) handeling FLAP packet: LoginFlapCmd: version=1, cookie=null        FlapPacket (channel=1, seq=59254)
    (Now in Snac Packet Hundker) handeling SNAC command: ServerReadyCmd: snac families: 1, 2, 3, 4, 6, 8, 9, a, b, c, 13, 15, 22, 24, 25
    12/06/2010 07:47:59 net.kano.joscar.snac.AbstractSnacProcessor processPacket
    FINER: Running snac preprocessor FamilyVersionPreprocessor
    12/06/2010 07:47:59 net.kano.joscar.snac.AbstractSnacProcessor processPacket
    FINE: Converted Snac packet SnacPacket type 0x1/0x3: 30 bytes (id=2317355279) to ServerReadyCmd: snac families: 1, 2, 3, 4, 6, 8, 9, a, b, c, 13, 15, 22, 24, 25
    12/06/2010 07:47:59 net.kano.joscar.snac.AbstractSnacProcessor processPacket
    FINER: Running Snac packet listener icq.MainICQ$3@a18aa2
    12/06/2010 07:47:59 net.kano.joscar.snac.AbstractSnacProcessor processPacket
    FINER: Finished processing Snac
    12/06/2010 07:47:59 net.kano.joscar.flap.AbstractFlapProcessor processPacketSynchronously
    FINER: Flap packet listener vetoed further processing: net.kano.joscar.snac.AbstractSnacProcessor$1@f5da06
    12/06/2010 07:47:59 net.kano.joscar.flap.AbstractFlapProcessor processPacketSynchronously
    FINE: FlapProcessor received packet: FlapPacket (channel=2, seq=48332)
    12/06/2010 07:47:59 net.kano.joscar.flap.AbstractFlapProcessor processPacketSynchronously
    FINE: Flap command for FlapPacket (channel=2, seq=48332): SnacFlapCmd: packet=SnacPacket type 0x1/0x15: 501 bytes (id=2317355280)
    12/06/2010 07:47:59 net.kano.joscar.flap.AbstractFlapProcessor processPacketSynchronously
    FINER: Running vetoable flap packet listener: net.kano.joscar.snac.AbstractSnacProcessor$1@f5da06
    12/06/2010 07:47:59 net.kano.joscar.snac.AbstractSnacProcessor$1 handlePacket
    (Now in Snac Packet Hundker) handeling SNAC command: No-op command
    FINER: SnacProcessor intercepted channel-2 snac command
    12/06/2010 07:47:59 net.kano.joscar.snac.AbstractSnacProcessor processPacket
    FINER: Running snac preprocessor FamilyVersionPreprocessor
    12/06/2010 07:47:59 net.kano.joscar.snac.AbstractSnacProcessor processPacket
    [b] FINE: Converted Snac packet SnacPacket type 0x1/0x15: 501 bytes (id=2317355280) to No-op command  [/b]
    12/06/2010 07:47:59 net.kano.joscar.snac.AbstractSnacProcessor processPacket
    FINER: Running Snac packet listener icq.MainICQ$3@a18aa2
    12/06/2010 07:47:59 net.kano.joscar.snac.AbstractSnacProcessor processPacket
    FINER: Finished processing Snac
    12/06/2010 07:47:59 net.kano.joscar.flap.AbstractFlapProcessor processPacketSynchronously
    FINER: Flap packet listener vetoed further processing: net.kano.joscar.snac.AbstractSnacProcessor$1@f5da06
    12/06/2010 07:47:59 icq.MainICQ$4 run
    SEVERE: null
    java.net.SocketException: Connection reset
            at java.net.SocketInputStream.read(SocketInputStream.java:168)
            at net.kano.joscar.flap.FlapHeader.readFLAPHeader(FlapHeader.java:96)
            at net.kano.joscar.flap.AbstractFlapProcessor.readNextFlap(AbstractFlapProcessor.java:336)
            at net.kano.joscar.flap.AbstractFlapProcessor.runFlapLoop(AbstractFlapProcessor.java:314)
            at icq.MainICQ$4.run(MainICQ.java:191)
    12/06/2010 07:48:26 net.kano.joscar.flap.AbstractFlapProcessor readNextFlap
    FINER: Read flap header null
    

    Emboldened line:  I made a change in my joscar library to convert 0x1/0x15 to no-op instead of null (it did nothing actually).
    I have no clue what should I do with that packet.

     
  • vl

    vl - 2010-06-12

    I saw that there is a usage of BOSConn  class, however I do it manually, and I didn't understand how does the BOSConn class
    work (or how it differs from my code in the main idea).

     
  • vl

    vl - 2010-06-15

    I tried to check whether there's a chance to see me online before the connection reset, and no one sees me. The TotorialDemo
    class (joscar's library) doesn't work too - no exceptions, it does not log me in. As I understand there is no manual BOS connection at BOSConn/OSCARConn classes?

     

Log in to post a comment.