Problem accesing Mastra app through internet

tomfloresa
PROOP

13 days ago

I deployed a Mastra application using Bun. Container runs correctly. When accessing the app through the public domain, created by Railway, it seems to be that there is an error when handling Transfer-Encoding headers. What I've been able to see, is that something is duplicating the value of the header.

This is a log of a Caddy server I placed in front of the Mastra app to debug.

net/http: HTTP/1.x transport connection broken: too many transfer encodings: ["chunked" "chunked"]

When going through internal network (I access through TailScale) there's no such problem. The server responds correctly to my front-end application, which is using the Mastra Client SDK and connected to the internal DNS.

Any ideas?

Closed$15 Bounty

3 Replies

Railway
BOT

13 days ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


Railway

Hey there! We've found the following might help you get unblocked faster: - [🧵 Error: EMFILE: too many open files, watch '/app'](https://station.railway.com/questions/error-emfile-too-many-open-files-watc-17ab8d1a) - [🧵 domain name redirected you too many times](https://station.railway.com/questions/domain-name-redirected-you-too-many-time-4bfae7a4) - [🧵 EMFILE: too many open files, watch '.../assets/i18n/'](https://station.railway.com/questions/emfile-too-many-open-files-watch-2d1b5eeb) If you find the answer from one of these, please let us know by solving the thread!

tomfloresa
PROOP

13 days ago

None of them help :(


tomfloresa
PROOP

13 days ago

Chrome console attached.

Attachments


Status changed to Closed brody 10 days ago


Loading...
Problem accesing Mastra app through internet - Railway Help Station