ping request logic
fix the error log
ENcode not DEcode