R
Railwayβ€’7mo ago
Robbyn R

Client Error after Add Shared Variables

Project ID: b016d768-111a-4f2f-88ef-2838b3f296a9 i deploy laravel framework on railway and i need to make 2 service. one for web and other for worker. So i decide to add Shared Variable for some Env. After add APP_URL variable, Browser show Application error: a client-side exception has occurred (see the browser console for more information). I just uploaded the screenshot
No description
27 Replies
Percy
Percyβ€’7mo ago
Project ID: b016d768-111a-4f2f-88ef-2838b3f296a9
Brody
Brodyβ€’7mo ago
have you shared the variables with the services that need them?
Robbyn R
Robbyn Rβ€’7mo ago
yes, i share to 2 service on that project 1. I make APP_URL shared variable 2. whan i click save, system ask to share where variable will used. so i check on 2 of my service 3. on my service, i see that shared variable is not applied (maybe because i've add same variable name APP_URL before) 4. i make manually change APP_URL to ${{shared.APP_URL}} and then i want to add more shared variable and then client error happend. btw, is railway have RAW Editor on shared variable?
Brody
Brodyβ€’7mo ago
please read the reference variables section https://docs.railway.app/develop/variables#reference-variables
nickmacavoy
nickmacavoyβ€’7mo ago
Me too. On all my projects, one of which is 3c08e827-8d73-4a37-bbe9-9af9757bd354 I've tried hard resetting and I receive the above error I can't access this section at all
Robbyn R
Robbyn Rβ€’7mo ago
maybe this can help? πŸ€”
No description
Robbyn R
Robbyn Rβ€’7mo ago
APP_URL is set to null?
Brody
Brodyβ€’7mo ago
will try to reproduce this
Robbyn R
Robbyn Rβ€’7mo ago
thank you πŸš€
Brody
Brodyβ€’7mo ago
i indeed can
No description
Brody
Brodyβ€’7mo ago
but for me, the shared variables still did get added to the service properly, the variables rendered and the app was able to see it
Brody
Brodyβ€’7mo ago
No description
Brody
Brodyβ€’7mo ago
No description
Brody
Brodyβ€’7mo ago
either way, this is still an issue, so i will flag the team
Duchess
Duchessβ€’7mo ago
Thread has been flagged to Railway team by @Brody.
Brody
Brodyβ€’7mo ago
heres my project id as well 2c374b45-5c4c-4255-a954-83f2348bedf8
jr
jrβ€’7mo ago
Will be fixed soon!
Faraz
Farazβ€’7mo ago
Did you fix this already?
jr
jrβ€’7mo ago
currently fixing
Faraz
Farazβ€’7mo ago
jr
jrβ€’7mo ago
ah didn't see. I broke it so will fix πŸ™ˆ
nickmacavoy
nickmacavoyβ€’7mo ago
Thanks team
Faraz
Farazβ€’7mo ago
Should be fixed now.
Robbyn R
Robbyn Rβ€’7mo ago
i can access this page again, thank you πŸ˜„
No description
nickmacavoy
nickmacavoyβ€’7mo ago
Me too, all working now. Thanks fp. That was pretty decent downtime for me in New Zealand with my timezone btw
Faraz
Farazβ€’7mo ago
(thanks jr) Yeah, sorry about that. The report was caught in a weird spot between support rotation person going offline for their day and someone being tagged in after waking up in a different part of the world.
nickmacavoy
nickmacavoyβ€’7mo ago
Thank you, I appreciate that. Thanks fp & jr. All working now