textual-dev icon indicating copy to clipboard operation
textual-dev copied to clipboard

Textual Serve (1.1.0) gets 403 status codes trying to access resources with Linux

Open bapainter opened this issue 5 months ago • 3 comments

Textual serve shows 403 (forbidden) http status codes once it has launched. If I try to access the app via the browser, I only see the Textual logo. The logs displayed on the terminal show that certain resources cannot be accessed.

image

The problem seems to be the double forward slashes in the resource address (see image). If I enter the resource address in the browser, I get the forbidden message, however, if I remove a slash, it accesses the resource correctly. Based on other users comments on the Textual Discord server, this issue also happens with Ubuntu and may just be related to Linux.

Versions:

  • Textual: 0.79.0
  • Textual-serve: 1.1.0
  • Python: 3.12.5
  • Linux: EndeavourOS (kernel 6.10.7)

bapainter avatar Aug 31 '24 20:08 bapainter