R
Railwayβ€’12mo 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β€’12mo ago
Project ID: b016d768-111a-4f2f-88ef-2838b3f296a9
Brody
Brodyβ€’12mo ago
have you shared the variables with the services that need them?
Robbyn R
Robbyn ROPβ€’12mo 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β€’12mo ago
please read the reference variables section https://docs.railway.app/develop/variables#reference-variables
nickmacavoy
nickmacavoyβ€’12mo 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 ROPβ€’12mo ago
maybe this can help? πŸ€”
No description
Robbyn R
Robbyn ROPβ€’12mo ago
APP_URL is set to null?
Brody
Brodyβ€’12mo ago
will try to reproduce this
Robbyn R
Robbyn ROPβ€’12mo ago
thank you πŸš€
Brody
Brodyβ€’12mo ago
i indeed can
No description
Brody
Brodyβ€’12mo 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β€’12mo ago
No description
Brody
Brodyβ€’12mo ago
No description
Brody
Brodyβ€’12mo ago
either way, this is still an issue, so i will flag the team
Duchess
Duchessβ€’12mo ago
Thread has been flagged to Railway team by @Brody.
Brody
Brodyβ€’12mo ago
heres my project id as well 2c374b45-5c4c-4255-a954-83f2348bedf8
jr
jrβ€’12mo ago
Will be fixed soon!
Faraz
Farazβ€’12mo ago
Did you fix this already?
jr
jrβ€’12mo ago
currently fixing
Faraz
Farazβ€’12mo ago
jr
jrβ€’12mo ago
ah didn't see. I broke it so will fix πŸ™ˆ
nickmacavoy
nickmacavoyβ€’12mo ago
Thanks team
Faraz
Farazβ€’12mo ago
Should be fixed now.
Robbyn R
Robbyn ROPβ€’12mo ago
i can access this page again, thank you πŸ˜„
No description
nickmacavoy
nickmacavoyβ€’12mo ago
Me too, all working now. Thanks fp. That was pretty decent downtime for me in New Zealand with my timezone btw
Faraz
Farazβ€’12mo 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β€’12mo ago
Thank you, I appreciate that. Thanks fp & jr. All working now
Want results from more Discord servers?
Add your server