Can't send messages, pending, encrypted [proxy user blocked from accessing tarpit.fun]

Sending message to anyone from PC never succeeds. Android app works fine. I tried enabling logging, but it’s not too verbose:

96.3s [i]core/event: 1 src/ephemeral.rs:609: Ephemeral loop waiting for deletion in 167h 49m 37s or interrupt

that’s all it says the moment i post message.
a few seconds after it would also post a bunch of stuff:

120.2s [w]core/event: 1 src/smtp/connect.rs:137: Failed to connect to tarpit.fun (152.53.86.246:465): connection timeout: deadline has elapsed.
120.2s [w]core/event: 1 src/smtp.rs:148: SMTP failed to connect and authenticate: SMTP failed to connect: connection failure:Connection refused (os error 111).
120.2s [w]core/event: 1 src/scheduler.rs:798: send_smtp_messages failed: Failed to send message: SMTP connection failure: SMTP failed to connect: connection failure: Connection refused (os error 111).
120.2s [i]core/event: 1 src/scheduler.rs:820: SMTP fake idle started.
120.2s [i]core/event: 1 src/scheduler.rs:832: SMTP has messages to retry, planning to retry 30 seconds later.
120.2s [i]core/event: 1 src/scheduler.rs:852: SMTP fake idle interrupted.
120.2s [i]core/event: 1 src/smtp.rs:512: Selected rows from SMTP queue: [83, 85, 87, 89, 91, 92, 93, 95, 97, 98, 100, 102, 103, 105, 106, 107, 109, 110, 112, 113].
120.2s [i]core/event: 1 src/smtp.rs:133: SMTP trying to connect to tarpit.fun:465:tls.
120.2s [i]core/event: 1 src/net/dns.rs:134: Using memory-cached DNS resolution for tarpit.fun.
120.2s [i]core/event: 1 src/net/dns.rs:180: Resolved tarpit.fun into 152.53.86.246.
120.2s [i]core/event: 1 src/net/dns.rs:180: Resolved tarpit.fun into 2a0a:4cc0:c0:229c:9409:d6ff:fe22:4270.
120.2s [i]core/event: 1 src/smtp/connect.rs:108: Attempting SMTP connection to tarpit.fun (152.53.86.246:465).
120.5s [i]core/event: 1 src/smtp/connect.rs:108: Attempting SMTP connection to tarpit.fun ([2a0a:4cc0:c0:229c:9409:d6ff:fe22:4270]:465).
121.5s [w]core/event: 1 src/smtp/connect.rs:137: Failed to connect to tarpit.fun ([2a0a:4cc0:c0:229c:9409:d6ff:fe22:4270]:465): connection failure: Connection refused (os error 111).
122.9s [i]main/menu: rebuilding menu with locale en
123s [i]core/event: 1 src/imap/idle.rs:78: “INBOX”: Received interrupt, stopping IDLE.
123s [i]core/event: 1 src/imap/idle.rs:93: “INBOX”: Idle wait was interrupted manually.
123s [i]core/event: 1 src/scheduler.rs:425: IMAP loop iteration for inbox finished, keeping the session.
123.1s [i]core/event: 1 src/imap.rs:606: fetch_new_msg_batch(INBOX): UIDVALIDITY=1770728919, UIDNEXT=5013.
123.1s [i]core/event: 1 src/imap.rs:799: 0 mails read from “INBOX”.
123.1s [i]core/event: 1 src/imap/scan_folders.rs:39: Starting full folder scan
123.2s [i]core/event: 1 src/imap/scan_folders.rs:98: Found folders: [“INBOX”].
123.2s [i]core/event: 1 src/imap.rs:578: No new emails in folder “INBOX”.
123.2s [i]core/event: 1 src/scheduler.rs:691: IMAP session in folder “INBOX” supports IDLE, using it.
123.2s [i]core/event: 1 src/imap.rs:1976: “INBOX”: got unsolicited response Other(ResponseData { raw: 4096, response: Data { status: Ok, code: Some(HighestModSeq(12488)), information: Some(“Highest”) } })
123.3s [i]core/event: 1 src/imap/idle.rs:64: IDLE entering wait-on-remote state in folder “INBOX”.
137.2s [i]core/event: 1 src/contact.rs:2095: Recently seen loop waiting for 0h 1m 33s or interrupt

And when focusing app and deleting the pending message, i would get:

164.8s [i]main/menu: rebuilding menu with locale en
164.8s [i]core/event: 1 src/imap/idle.rs:78: “INBOX”: Received interrupt, stopping IDLE.
164.8s [i]core/event: 1 src/imap/idle.rs:93: “INBOX”: Idle wait was interrupted manually.
164.9s [i]core/event: 1 src/scheduler.rs:425: IMAP loop iteration for inbox finished, keeping the session.
164.9s [i]core/event: 1 src/imap.rs:606: fetch_new_msg_batch(INBOX): UIDVALIDITY=1770728919, UIDNEXT=5013.
164.9s [i]core/event: 1 src/imap.rs:799: 0 mails read from “INBOX”.
165s [i]core/event: 1 src/scheduler.rs:691: IMAP session in folder “INBOX” supports IDLE, using it.
165s [i]core/event: 1 src/imap.rs:1976: “INBOX”: got unsolicited response Other(ResponseData { raw: 4096, response: Data { status: Ok, code: Some(HighestModSeq(12488)), information: Some(“Highest”) } })
165s [i]core/event: 1 src/imap/idle.rs:64: IDLE entering wait-on-remote state in folder “INBOX”.
168.8s [i]core/event: 1 src/ephemeral.rs:609: Ephemeral loop waiting for deletion in 167h 48m 25s or interrupt
168.9s [i]core/event: 1 src/imap/idle.rs:78: “INBOX”: Received interrupt, stopping IDLE.
168.9s [i]core/event: 1 src/imap/idle.rs:93: “INBOX”: Idle wait was interrupted manually.
168.9s [i]core/event: 1 src/scheduler.rs:425: IMAP loop iteration for inbox finished, keeping the session.
168.9s [i]core/event: 1 src/sql.rs:942: Start housekeeping…
168.9s [i]core/event: 1 src/sql.rs:1003: 377 files in use.
168.9s [i]core/event: 1 src/sql.rs:1063: Housekeeping: Keeping new unreferenced file #1: “59f508bbef23ef7d5385454409044fc.jpg”.
168.9s [i]core/event: 1 src/sql.rs:1063: Housekeeping: Keeping new unreferenced file #2: “6b421546905ebac4640a68e963df260.jpg”.
168.9s [i]core/event: 1 src/sql.rs:1063: Housekeeping: Keeping new unreferenced file #3: “9b8d0afc48c7e5d87cc7609e3ccfa20.png”.
168.9s [i]core/event: 1 src/sql.rs:1063: Housekeeping: Keeping new unreferenced file #4: “7aa185703d90457bd53346f8d906c07.jpg”.
168.9s [i]core/event: 1 src/sql.rs:1063: Housekeeping: Keeping new unreferenced file #5: “a2f4c79ebd29b92c872fd1f913d45e6.jpg”.
168.9s [i]core/event: 1 src/sql.rs:1063: Housekeeping: Keeping new unreferenced file #6: “9264a7ea87a202b6751139e32c96452.jpg”.
168.9s [i]core/event: 1 src/sql.rs:1063: Housekeeping: Keeping new unreferenced file #7: “c3392a8281f07d72adaa2d5f0be7853.jpg”.
168.9s [i]core/event: 1 src/sql.rs:819: Incremental vacuum freed 0 pages.
168.9s [i]core/event: 1 src/sql.rs:724: wal_checkpoint: Total time: 17.327155ms. Writers blocked for: 243.411µs. Readers blocked for: 198.711µs.
168.9s [i]core/event: 1 src/sql.rs:923: Housekeeping done.
168.9s [i]core/event: 1 src/imap.rs:606: fetch_new_msg_batch(INBOX): UIDVALIDITY=1770728919, UIDNEXT=5013.
169s [i]core/event: 1 src/imap.rs:799: 0 mails read from “INBOX”.
169s [i]core/event: 1 src/scheduler.rs:691: IMAP session in folder “INBOX” supports IDLE, using it.
169.1s [i]core/event: 1 src/imap/idle.rs:64: IDLE entering wait-on-remote state in folder “INBOX”.
175.4s [i]main/menu: rebuilding menu with locale en
175.4s [i]core/event: 1 src/imap/idle.rs:78: “INBOX”: Received interrupt, stopping IDLE.
175.4s [i]core/event: 1 src/imap/idle.rs:93: “INBOX”: Idle wait was interrupted manually.
175.4s [i]core/event: 1 src/scheduler.rs:425: IMAP loop iteration for inbox finished, keeping the session.
175.4s [i]core/event: 1 src/imap.rs:606: fetch_new_msg_batch(INBOX): UIDVALIDITY=1770728919, UIDNEXT=5013.
175.5s [i]core/event: 1 src/imap.rs:799: 0 mails read from “INBOX”.
175.6s [i]core/event: 1 src/scheduler.rs:691: IMAP session in folder “INBOX” supports IDLE, using it.
175.6s [i]core/event: 1 src/imap/idle.rs:64: IDLE entering wait-on-remote state in folder “INBOX”.
180.2s [w]core/event: 1 src/smtp/connect.rs:137: Failed to connect to tarpit.fun (152.53.86.246:465): connection timeout: deadline has elapsed.
180.2s [w]core/event: 1 src/smtp.rs:148: SMTP failed to connect and authenticate: SMTP failed to connect: connection failure:Connection refused (os error 111).
180.2s [w]core/event: 1 src/scheduler.rs:798: send_smtp_messages failed: Failed to send message: SMTP connection failure: SMTP failed to connect: connection failure: Connection refused (os error 111).
180.2s [i]core/event: 1 src/scheduler.rs:820: SMTP fake idle started.
180.2s [i]core/event: 1 src/scheduler.rs:832: SMTP has messages to retry, planning to retry 30 seconds later.
180.2s [i]core/event: 1 src/scheduler.rs:852: SMTP fake idle interrupted.
180.2s [i]core/event: 1 src/smtp.rs:512: Selected rows from SMTP queue: [83, 85, 87, 89, 91, 92, 93, 95, 97, 98, 100, 102, 103, 105, 106, 107, 109, 110, 112, 114].
180.2s [i]core/event: 1 src/smtp.rs:133: SMTP trying to connect to tarpit.fun:465:tls.
180.2s [i]core/event: 1 src/net/dns.rs:134: Using memory-cached DNS resolution for tarpit.fun.
180.2s [i]core/event: 1 src/net/dns.rs:180: Resolved tarpit.fun into 152.53.86.246.
180.2s [i]core/event: 1 src/net/dns.rs:180: Resolved tarpit.fun into 2a0a:4cc0:c0:229c:9409:d6ff:fe22:4270.
180.2s [i]core/event: 1 src/smtp/connect.rs:108: Attempting SMTP connection to tarpit.fun (152.53.86.246:465).
180.5s [i]core/event: 1 src/smtp/connect.rs:108: Attempting SMTP connection to tarpit.fun ([2a0a:4cc0:c0:229c:9409:d6ff:fe22:4270]:465).
181.5s [w]core/event: 1 src/smtp/connect.rs:137: Failed to connect to tarpit.fun ([2a0a:4cc0:c0:229c:9409:d6ff:fe22:4270]:465): connection failure: Connection refused (os error 111).

Delta Chat version

v2.35.0

Expected behavior

i send a message

Actual behavior

i don’t send a message

Debug logs

DC Desktop Version: 2.35.0 (git: v2.35.0-makepkg)
Core Version: v2.35.0
Runtime: ElectronRuntime
[Versions]
electron=39.3.0
node=22.21.1
SQLite=3.46.1
[Runtime Info]
isMac=false
isAppx=false
target=electron
runningUnderARM64Translation=undefined
rpcServerPath=/usr/lib/deltachat-desktop/app.asar.unpacked/node_modules/@deltachat/stdio-rpc-server-linux-x64/deltachat-rpc-server
isContentProtectionSupported=false
buildTimestamp=1766503529000
[Chatmail Core Info | About Current Profile]
Selected Profile ID: 1
arch=64
authserv_id_candidates=
bcc_self=1
bot=0
configured_inbox_folder=INBOX
configured_mvbox_folder=
configured_trash_folder=
database_dir=/home/envy/.config/DeltaChat/accounts/2cfbf2b4-706e-4177-8fe4-1b4c25e98f4a/dc.db
database_encrypted=false
database_version=143
debug_assertions=Off
debug_logging=0
delete_device_after=0
delete_server_after=0
delete_to_trash=
deltachat_core_version=v2.35.0
disable_idle=false
donation_request_next_check=1773331605
download_limit=5242880
fail_on_receiving_full_msg=
fetched_existing_msgs=true
fingerprint=BE51E0DC7730296AADBF2ED4ADE0085CB3C4A38A
first_key_contacts_msg_id=0
fix_is_chatmail=false
folders_configured=5
gossip_period=172800
imap_server_admin=“mailto:root@tarpit.fun
imap_server_comment=“Chatmail server”
imap_server_id={“name”: “Dovecot”}
is_chatmail=true
is_muted=false
journal_mode=wal
last_cant_decrypt_outgoing_msgs=0
last_housekeeping=1772620171
last_msg_id=5127
level=awesome
mdns_enabled=1
media_quality=0
messages_in_contact_requests=0
mvbox_move=0
num_cpus=12
number_of_chat_messages=4032
number_of_chats=9
number_of_contacts=40
only_fetch_mvbox=0
private_key_count=1
private_tag=
proxy_enabled=0
public_key_count=19
quota_exceeding=0
scan_all_folders_debounce_secs=60
show_emails=2
sign_unencrypted=0
sqlite_version=3.46.1
stats_id=
stats_last_sent=0
stats_sending=false
std_header_protection_composing=
sync_msgs=1
test_hooks=
uptime=0h 10m 41s
used_transport_settings=1: @tarpit.fun imap:[tarpit.fun:993:tls:@tarpit.fun] smtp:[tarpit.fun:465:tls:@tarpit.fun] provider:none cert_strict
webxdc_realtime_enabled=true
Storage Usage:
[Blob Directory Size]: 49.95 MiB
[Database Size]: 4.61 MiB
[Largest Tables]:
msgs: 2.16 MiB, 4977 rows
imap: 344 KiB, 4452 rows
smtp: 276 KiB, 21 rows
msgs_mdns: 24 KiB, 1042 rows
public_keys: 16 KiB, 19 rows
msgs_status_updates: 16 KiB, 22 rows
smtp_mdns: 12 KiB, 135 rows
contacts: 12 KiB, 49 rows
transports: 4 KiB, 1 rows
tokens: 4 KiB, 8 rows
[Webxdc With Biggest Status Update Space Usage]:
Msg#4059: 5.23 KiB across 10 updates
Msg#4018: 3.83 KiB across 10 updates
Msg#3322: 326 B across 2 update

This line means your desktop for some reason cannot connect on port 465 (smtps) to 152.53.86.246 which is the IP address of tarpit.fun:
180.2s [w]core/event: 1 src/smtp/connect.rs:137: Failed to connect to tarpit.fun (152.53.86.246:465): connection timeout: deadline has elapsed.

I checked with openssl s_client -connect tarpit.fun:465 and I can connect, so the server is working.

It is either something with your internet connection, or some firewall on tarpit.fun.

oh yeah, i just learned that tarpit in fact does block my proxy. i feel like i checked without proxy few weeks ago and it won’t be available without proxy either. thank you!

Could we explain the problem in plain terms in an error message displayed prominently on screen?

Perhaps while also indicating the last successful connection to the given server (if ever), as downtimes of a few hours are also acceptable.

If the user has a proxy configured, perhaps suggest trying a different proxy or disabling it altogether.

Whether other configured relays can still be connected to (along other resources already contacted such as delta.chat) could also add some context.

Hi,

I’m the admin of tarpit.fun.

I do not block any proxies or networks on purpose.

Can you provide additional information? We can also take this in between to DC Message privately on Delta Chat

Happy to change this.

1 Like

There could then be multiple alternative explanations:

  • (1) the operator or upstream ISP of the given proxy is blocking tarpit
  • (2) the upstream ISP of tarpit is blocking this proxy