Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Heartbeat Pong Message (why not Ping?)

Open
#148 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
networking

Research direction

Start with ws4py/websocket.py at line 55 and inspect how the Heartbeat context manager sends control messages. Compare that behavior with the issue's PingControlMessage question and the surrounding WebSocket heartbeat handling. Done means establishing whether the Pong choice is intentional and recording or implementing the agreed behavior.

Written by the indexing model from the issue text.

Description

enhancement

Hello,

I am curious why in Heartbeat context manager you send PongControlMessage ?

https://github.com/Lawouach/WebSocket-for-Python/blob/master/ws4py/websocket.py#L55

for me more logically to send PingControlMessage ?

Thanks in advance!

Dominant language
Python
Stars
1.1k
Forks
285
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Lawouach/WebSocket-for-Python

All issues in Lawouach/WebSocket-for-Python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.