~soapdog/racket-gemini#4: 
port1965.eu doesn't render

gemini://port1965.eu/ is an IPv6-only, dual stacked (normal and yggdrasil IPv6) gemini site served by the jetforce gemini server.

When attempting to spacewalk from Port 1965, the server responds with green lights (»"gemini://port1965.eu/" 20 text/gemini 2135« — i.e., status code 20 and mime-type text/gemini). However, the page is never parsed and fafi keeps showing a “Parsing…” message in its status bar.

Uncommenting line 125 in gemini-view.rkt seems to indicate that fafi didn't see the response?

(gemini-response #f "" #f)
car: contract violation
  expected: pair?
  given: '()
  context...:
   [… ]/fafi-browser/gemini-view.rkt:118:4: set-url method in gemini-view%
   /usr/share/racket/pkgs/gui-lib/mred/private/wx/common/queue.rkt:435:6
   /usr/share/racket/pkgs/gui-lib/mred/private/wx/common/queue.rkt:486:32
   /usr/share/racket/pkgs/gui-lib/mred/private/wx/common/queue.rkt:634:3
Status
RESOLVED FIXED
Submitter
~kas
Assigned to
No-one
Submitted
4 years ago
Updated
9 months ago
Labels
No labels applied.

~soapdog 4 years ago

AHAAAA!!!

so that gemini-response printout shows the problem. The request is failing. The shape of a gemini-response is code, meta, body. The code is false, the meta empty, and the body is false. All these are the default values when the gemini-response structure is initalized. They are never written with the response because somewhere the request failed. I need to spruce up the error checking there. The problem will lie in gemini-protocol, probably in the function that opens the connection. It must be failing.

Thanks a lot!

~soapdog REPORTED FIXED 4 years ago

Fixed!

Register here or Log in to comment, or comment via email.