cmping hangs if cached configured account cannot connect
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- python
- Domain
- cli, networking
Research direction
Start with cmping.py lines 414-417 and reproduce the issue using a cached account with nftables dropping packets. Trace how the "waiting for profiles to be online" loop handles an unreachable server. Done means cmping exits or reports the connection failure instead of hanging indefinitely.
Written by the indexing model from the issue text.
Description
To reproduce:
- Configure an account on some server by running
cmping example.org example.org(I used ci-chatmail.testrun.org) - Configure nftables to drop all packets
- Run cmping again, see it hangs forever on "waiting for profiles to be online":
Hangs in this loop:
https://github.com/chatmail/cmping/blob/7f6923793a4114f42ee59c54bbcee9f13280fbaa/cmping.py#L414-L417
- Dominant language
- Python
- Stars
- 5
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100