Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Google talk - like application

Google talk - like application

Scheduled Pinned Locked Moved C#
csharphelpcomquestionlounge
9 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    ramzg
    wrote on last edited by
    #1

    Hi, I am trying to develop an application in C# to build a chat client that authenticates a user with his gmail account.. As I searched online for any open source software that might help and i found this very promising : Google Chat Desktop Application using Jabber.Net[^] If I execute this from a stand alone computer, it works fine without any problems... However, if I execute this from a corporate environment where there are NAT and firewall being configured, i get this error : A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 74.125.155.125:5222 where 74.125.155.125 is that of google. I am not sure what this means... It doesn't appear like a time out.. It looks like something in the corporate environment is blocking this communication... However, I am able to use Google Talk application in the same environment... What could be the reason? And how could it be overcome? Could someone pls help? Thanks, Ram

    L 1 Reply Last reply
    0
    • R ramzg

      Hi, I am trying to develop an application in C# to build a chat client that authenticates a user with his gmail account.. As I searched online for any open source software that might help and i found this very promising : Google Chat Desktop Application using Jabber.Net[^] If I execute this from a stand alone computer, it works fine without any problems... However, if I execute this from a corporate environment where there are NAT and firewall being configured, i get this error : A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 74.125.155.125:5222 where 74.125.155.125 is that of google. I am not sure what this means... It doesn't appear like a time out.. It looks like something in the corporate environment is blocking this communication... However, I am able to use Google Talk application in the same environment... What could be the reason? And how could it be overcome? Could someone pls help? Thanks, Ram

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx[^] Use this tool to trace the error. Start google talk and start this tool. Then start your jabber.net and start this tool. You can see the differences between google talk and jabber.net. Probably google talk use something like proxy.

      R 1 Reply Last reply
      0
      • L Lost User

        http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx[^] Use this tool to trace the error. Start google talk and start this tool. Then start your jabber.net and start this tool. You can see the differences between google talk and jabber.net. Probably google talk use something like proxy.

        R Offline
        R Offline
        ramzg
        wrote on last edited by
        #3

        Hi stancrm, Thanks for your reply... I shall try this out and get back to you... Thanks, Ram

        R 1 Reply Last reply
        0
        • R ramzg

          Hi stancrm, Thanks for your reply... I shall try this out and get back to you... Thanks, Ram

          R Offline
          R Offline
          ramzg
          wrote on last edited by
          #4

          Hi stancrm, Just an update on this... I tried to use wirebook to get the stats and I found this out : The request is going out and reaching google... But the response is not coming back.. That seems to be the problem... Any idea? Thanks, Ram

          OriginalGriffO L 2 Replies Last reply
          0
          • R ramzg

            Hi stancrm, Just an update on this... I tried to use wirebook to get the stats and I found this out : The request is going out and reaching google... But the response is not coming back.. That seems to be the problem... Any idea? Thanks, Ram

            OriginalGriffO Offline
            OriginalGriffO Offline
            OriginalGriff
            wrote on last edited by
            #5

            Since you said that you have a corporate firewall in the way, I would suspect that this is blocking the responses. If you have a legitimate business reason to access Google Talk, then I suggest you contact your IT department, who may allow such traffic through for you. Otherwise, you are out of luck, probably.

            You should never use standby on an elephant. It always crashes when you lift the ears. - Mark Wallace

            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
            "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

            R 1 Reply Last reply
            0
            • R ramzg

              Hi stancrm, Just an update on this... I tried to use wirebook to get the stats and I found this out : The request is going out and reaching google... But the response is not coming back.. That seems to be the problem... Any idea? Thanks, Ram

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              Firewall problem. Contact IT-Department to open the block.

              1 Reply Last reply
              0
              • OriginalGriffO OriginalGriff

                Since you said that you have a corporate firewall in the way, I would suspect that this is blocking the responses. If you have a legitimate business reason to access Google Talk, then I suggest you contact your IT department, who may allow such traffic through for you. Otherwise, you are out of luck, probably.

                You should never use standby on an elephant. It always crashes when you lift the ears. - Mark Wallace

                R Offline
                R Offline
                ramzg
                wrote on last edited by
                #7

                Hi OriginalGriff,

                OriginalGriff wrote:

                If you have a legitimate business reason to access Google Talk, then I suggest you contact your IT department

                I had mentioned in my first post that I am able to connect using Google Talk and initiate a chat... The problem is while trying to replicate that behavior in my application... If firewall is blocking the response, I would like to have an idea on how Google Talk is able to establish a communication that my application could not... Pls suggest... Thanks, Ram

                L 1 Reply Last reply
                0
                • R ramzg

                  Hi OriginalGriff,

                  OriginalGriff wrote:

                  If you have a legitimate business reason to access Google Talk, then I suggest you contact your IT department

                  I had mentioned in my first post that I am able to connect using Google Talk and initiate a chat... The problem is while trying to replicate that behavior in my application... If firewall is blocking the response, I would like to have an idea on how Google Talk is able to establish a communication that my application could not... Pls suggest... Thanks, Ram

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #8

                  Did you use the tools from microsoft ? You can see there, which server connected to google talk (through proxy http/https, and so on...)

                  R 1 Reply Last reply
                  0
                  • L Lost User

                    Did you use the tools from microsoft ? You can see there, which server connected to google talk (through proxy http/https, and so on...)

                    R Offline
                    R Offline
                    ramzg
                    wrote on last edited by
                    #9

                    No... I havent used it yet... I shall try that also... Thanks, Ram

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups