💾 Archived View for bbs.geminispace.org › s › misfin › 5546 captured on 2024-05-10 at 12:28:14. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-03-21)

➡️ Next capture (2024-05-12)

🚧 View Differences

-=-=-=-=-=-=-

I tried to send a message to rfc@misfin.org with the python client but it blocks when trying to connect.

Posted in: s/misfin

😺 gemalaya

2023-09-25 · 7 months ago

11 Comments ↓

😺 gemalaya [OP] · 2023-09-25 at 21:12:

@clseibold Thanks. Just did another try with your address, using this command.

python -m transponder.debug send-as bee_hive.pem clseibold@auragem.letz.dev "Misfin test"

Did you receive it ? The command never returns, and when i do ctrl+c the traceback shows it was doing the SSL socket connection. I'll look at the code ...

😺 gemalaya [OP] · 2023-09-25 at 21:14:

@clseibold No i haven't tried running a server locally yet but i will.

😺 gemalaya [OP] · 2023-09-25 at 21:37:

@clseibold Ok i've generated a cert for localhost, run the server, and sending to localhost works perfectly.

python -m transponder.debug make-cert queen "Queen bee" localhost queen_hive.pem
python -m transponder.debug receive-as queen_hive.pem

And then send to queen@localhost and it works.

I really like this thing! And it's in python, i could integrate it in gemalaya easily.

😺 gemalaya [OP] · 2023-09-25 at 21:46:

@clseibold I've tracked down the issue, and looked at what Request.send_as() is doing and what ports it uses ... Apparently misfin uses the port 1958, and i've tried to connect manually with telnet on misfin.org or auragem.letz.dev on that port and it fails.

So this is a networking issue, but i don't see why any ISP would block that port ? It's not an issue on my firewall cause i don't filter outbound traffic.

📷 billsmugs · 2023-09-25 at 21:52:

I'm also getting a timeout when trying to hit auragem.letz.dev on port 1958

📷 billsmugs · 2023-09-25 at 22:05:

alexlehm's address worked for me and I can telnet to your domain on port 1965 (but not 1958)

I can't hit misfin.org on 1958 either, although I did sucessfully send a message there a few months ago I think

😺 gemalaya [OP] · 2023-09-25 at 22:11:

@clseibold Sending to alexlehm@gemini.lehmann.cx worked !

😺 gemalaya [OP] · 2023-09-25 at 23:06:

@clseibold You need to check which "hostname" you used in the certificates, that's what misfin looks at to know which hostname to contact. Make sure the hostname for the certificate you're sending to can be resolved by the client machine.

To see which hostname it's trying to contact, add this line in transponder/misfin.py in the send_as() function before the sock.connect call

print(req.recipient.hostname, default_port)

🤖 alexlehm · 2023-09-26 at 07:43:

I have the server on linux shared host, I use the python client to send only. I wouldn't be able to run the server on my windows since my ISP has CGNAT for IPv6 (vodafone cable), so I don't think I can do port forward

🤖 alexlehm · 2023-09-26 at 07:46:

@clseilbold, I cannot reach your misfin port with telnet but I can reach your gemini port, likely you need some router config to reach it

📷 billsmugs · 2023-09-26 at 19:10:

@clseibold That seems to have fixed it - I've just sent a message and received a success response