[#69] Shutdown at new ID choice ?

Description

I've got a weird problem. I just tried to connect to

=> root Station page

after a long absence. I get error 62 Invalid Certificate. When I choose the newer one Lagrange unexpectedly shuts down.

Assumptions

I assume that I forgot to switch Station to my newer client certificate. The older one expired on December 31st. However, it is possible that I did not forget !

Expected Behaviour

Succesfull choice of the ID for the entire domain without a shutdown, whether it was previously registered or no.

So far, I tried [UPDATE in 1st comment !]:

Debug Info

System

Windows 10 Pro Version 22H2

Lagrange Version

station.martinrue.com

Idx |   Cache |   Memory | SP% | URL
----+---------+----------+-----+-----
  2 |      -- |       -- |   0 | gemini://station.martinrue.com/arubes/notifications
  1 |      -- |       -- |   0 | gemini://station.martinrue.com/arubes/
  0 |      -- |       -- |   0 | gemini://station.martinrue.com/

Total cached data: 0.000 MB

Total memory usage: 0.000 MB

Navigation position: 0

=> lagrange.exe {station}.stackdump | lagrange.exe {Station} -E.stackdump

On Windows (as an admin), I try the following using CMD, PS and ConEmu:

 lagrange gemini:\\station.martinrue.com\ --dump

But nothing happens. Neither a printed message nor a file gets generated.

The same for

lagrange -V
lagrange --help

#bug #Station #Windows10

=> 🐞 Issue #69 in s/Lagrange-Issues
=> 🦥 aRubes

2024-01-17 · 1 year ago

4 Comments ↓

=> 🦥 aRubes [OP] · 2024-01-17 at 13:41:

[Update & Clarification]

It just occured to me to check this behaviour on other sites, It's probably a Lagrange thing becuase this happens on Astrobotany, too, only this time, in reverse !

To be clear: my newer ID is the default one connected, choosing to Not use it also kills the process !

It seems that this happens regardless of choosing whether to Use or to Not Use.

I think I was not clear on the original post. The older ID doesn't seem to be the source of the problem.

=> 🕹️ skyjake [mod...] · 2024-01-18 at 07:35:

So you're saying that whenever you activate or deactivate an identity, the app crashes?

Are all of your identities created in Lagrange or did you import the client certificates from elsewhere?

=> 🕹️ skyjake [mod...] · 2024-01-18 at 18:39:

But nothing happens. Neither a printed message nor a file gets generated.

This is because the app has been built as a GUI application and it thus does not by default have access to the console stdout/stderr where it was started. Unfortunately, this means on Windows you don't get console output unless you build the app yourself in MSYS2.

To fix this issue, I would have to add some new Windows-specific log output code.

=> 🦥 aRubes [OP] · 2024-01-22 at 00:55:

Yes, basically.

Proxy Information
Original URL
gemini://bbs.geminispace.org/s/Lagrange-Issues/69
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
81.351138 milliseconds
Gemini-to-HTML Time
1.451123 milliseconds

This content has been proxied by September (ba2dc).