View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014512ParaView(No Category)public2014-01-13 17:232015-01-11 08:21
ReporterAlan Scott 
Assigned ToUtkarsh Ayachit 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Versiongit-master 
Target Version4.2Fixed in Version4.2 
Summary0014512: Add error output for connections, debug build
DescriptionPlease add error output prints for failed connections, debug builds only.

As per Utkarsh, this needs to occur on both the client and server side.
TagsNo tags attached.
ProjectSandia
Topic Name14512_print_info_on_handshake_failure
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0032193)
Utkarsh Ayachit (administrator)
2014-01-21 09:48

commit fd3b47f8bc4171f334b4749313021a182d26e52b
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Tue Jan 21 09:45:50 2014 -0500

    BUG 0014512: Print debug info when connection fails.
    
    If a client-server connection handshake fails, it can be tricky for users to
    determine exactly what went wrong. To make it easier, each process now prints
    out information on the standard output providing information about that process
    such as the handshake used by that process, the socket communicator vesion
    number. The user can then compare the values printed out on the client and
    server side to deduce why the connection failed.
    
    Change-Id: Ib7f2adf477abf2cc865f55870dbf87de7557f029
(0032194)
Utkarsh Ayachit (administrator)
2014-01-21 09:48

The result looks like the following:


On client:
----------------------------------

ERROR: In /home/utkarsh/Kitware/ParaView3/ParaView/ParaViewCore/ClientServerCore/Core/vtkTCPNetworkAccessManager.cxx, line 340
vtkTCPNetworkAccessManager (0x11be370):
**********************************************************************
Connection failed during handshake. This can happen for the following reasons:
 1. Connection dropped during the handshake.
 2. vtkSocketCommunicator::GetVersion() returns different values on the
    two connecting processes (Current value: 100).
 3. ParaView handshake strings are different on the two connecting
    processes (Current value: paraview.4.1).
**********************************************************************


On server:
-------------------
ERROR: In /home/utkarsh/Kitware/ParaView3/ParaView/ParaViewCore/ClientServerCore/Core/vtkTCPNetworkAccessManager.cxx, line 424
vtkTCPNetworkAccessManager (0x90f910):
**********************************************************************
Connection failed during handshake. This can happen for the following reasons:
 1. Connection dropped during the handshake.
 2. vtkSocketCommunicator::GetVersion() returns different values on the
    two connecting processes (Current value: 100).
 3. ParaView handshake strings are different on the two connecting
    processes (Current value: paraview.4.1.connect_id.12).
**********************************************************************
(0032242)
Utkarsh Ayachit (administrator)
2014-01-30 08:29

SUMMARY
---------------------------------------------
Topics merged into master:
(VTK) 14508-title-bar
        14512_print_info_on_handshake_failure
        add-rendering-base-edition
(VTK) enable-new-vtk-image-filters
        fix_parallel_amrconnectivity
        fix_tiff_dependency_issues
        popout_tabwidget
        pvweb-apache-doc-fix
        pvweb-fixes
        rescale_over_time_bug
        sqtk-refactor-fixes
(VTK) sticky-axes
        view-settings
(VTK) web-catalyst-module-update
(0032267)
Alan Scott (manager)
2014-02-04 21:18

Excellent.

Tested remote server, Linux, master.

 Issue History
Date Modified Username Field Change
2014-01-13 17:23 Alan Scott New Issue
2014-01-21 09:48 Utkarsh Ayachit Topic Name => 14512_print_info_on_handshake_failure
2014-01-21 09:48 Utkarsh Ayachit Note Added: 0032193
2014-01-21 09:48 Utkarsh Ayachit Status backlog => gatekeeper review
2014-01-21 09:48 Utkarsh Ayachit Fixed in Version => git-next
2014-01-21 09:48 Utkarsh Ayachit Resolution open => fixed
2014-01-21 09:48 Utkarsh Ayachit Assigned To => Utkarsh Ayachit
2014-01-21 09:48 Utkarsh Ayachit Note Added: 0032194
2014-01-30 08:28 Utkarsh Ayachit Fixed in Version git-next => git-master
2014-01-30 08:29 Utkarsh Ayachit Status gatekeeper review => customer review
2014-01-30 08:29 Utkarsh Ayachit Note Added: 0032242
2014-02-04 21:18 Alan Scott Note Added: 0032267
2014-02-04 21:18 Alan Scott Status customer review => closed
2014-06-17 09:22 Utkarsh Ayachit Target Version => 4.2
2014-08-29 11:00 Utkarsh Ayachit Fixed in Version git-master => 4.2
2015-01-11 08:21 Utkarsh Ayachit Source_changeset_attached => ParaView master 391cec74
2015-01-11 08:21 Utkarsh Ayachit Source_changeset_attached => ParaView master fd3b47f8


Copyright © 2000 - 2018 MantisBT Team