Textualize / textual-dev

Development tools for Textual
https://textual.textualize.io/getting_started/
MIT License
24 stars 13 forks source link

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

Open bapainter opened 2 months ago

bapainter commented 2 months ago

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:

willmcgugan commented 2 months ago

What version of aiohttp do you have installed?

bapainter commented 2 months ago

Pip says....

aiohttp 3.10.5 aiohttp-jinja2 1.6

EstebanMunoz commented 1 month ago

I'm having the same problem in Windows.