R
Railway•3w ago
vyom

TSL verification/ domain verification

Yoo, I've bought a domain from hostinger, exported the alias yet it says 'issuing tsl certification. on mydns the domain is active in most of the rejions. can anyone look into this
136 Replies
Percy
Percy•3w ago
Project ID: 69b3c75c-1fcf-4c33-b98a-8d2ee454b8cb
vyom
vyom•3w ago
69b3c75c-1fcf-4c33-b98a-8d2ee454b8cb
Brody
Brody•3w ago
what's the domain in question?
vyom
vyom•3w ago
huh you asking the domain? framingzone.xyz
Brody
Brody•3w ago
hostinger does not support root level cnames, you will need to use cloudflare's nameservers
vyom
vyom•3w ago
so the domain I bought what do I do with it? you telling me to buy a new domain? from cloudflare?
Brody
Brody•3w ago
nope, i did not say to buy a new domain, you simply need to use cloudflare's nameservers, see their guide - https://developers.cloudflare.com/dns/zone-setups/full-setup/setup/
vyom
vyom•3w ago
yee lookin at it rn
vyom
vyom•3w ago
we just need to add these to railway?
No description
vyom
vyom•3w ago
or hostinger what would there type be?
Brody
Brody•3w ago
they are nameservers and you add them to hostinger
vyom
vyom•3w ago
make sense thats cname?
Brody
Brody•3w ago
please add more context to your question
vyom
vyom•3w ago
my bad
vyom
vyom•3w ago
do we need to remove the other two?
No description
Brody
Brody•3w ago
that is correct, you should only have the two cloudflare gave you
vyom
vyom•3w ago
ight now we wait? how long its gonna take generally
Brody
Brody•3w ago
assuming you set it up correctly, maybe 30 minutes
vyom
vyom•3w ago
bro
Brody
Brody•3w ago
then you can redo the domain setup dont bro me, dns is slow
vyom
vyom•3w ago
No description
No description
Brody
Brody•3w ago
as previously mentioned, you only want the two nameservers cloudflare gave you
vyom
vyom•3w ago
we need to think how to make it faster why don't we ditch the dns and create something beyond dns hey no, I've removed the previous
Brody
Brody•3w ago
🚬
vyom
vyom•3w ago
actually wrong uplods
vyom
vyom•3w ago
No description
No description
vyom
vyom•3w ago
I DID SET IT UP CORRECTLY 🤨 yall based in sf?
Brody
Brody•3w ago
i dont work for railway
vyom
vyom•3w ago
damn then
Brody
Brody•3w ago
gotta wait for dns to propagate then
vyom
vyom•3w ago
yoo I had this question for a while
Brody
Brody•3w ago
ask away
vyom
vyom•3w ago
how these open source projects like idk not exactly opensource but like kissanime, even 9anime like any streaming websites or gaming sites of any other entertaniment sites which dont charge for a sub? how do they deploy? like don't they have to pay for huge traffics?
Brody
Brody•3w ago
okay well thats not related to railway so dont ask away
vyom
vyom•3w ago
:cryingman:
Brody
Brody•3w ago
looks like dns has updated, you can proceed with the domain setup you would want to remove any root records cloudflare might have carried over from your previous dns provider, and then remove the domain from your service settings. then add it back and follow the instructions
vyom
vyom•3w ago
I don't see any previous records on the admin page tho
Brody
Brody•3w ago
admin page?
vyom
vyom•3w ago
but thank you so much man, i've been stuck here for like three days yes if you're talking about the sample data
Brody
Brody•3w ago
i dont know what you are talking about
vyom
vyom•3w ago
? wdym root records
Brody
Brody•3w ago
please familiarise yourself with the topic at hand
vyom
vyom•3w ago
ight do we've a documentation
Brody
Brody•3w ago
please follow the steps ive outlined here
vyom
vyom•3w ago
ight Yoo it ain't coming again says the page isn't working
Brody
Brody•3w ago
show me the public networking section of your service settings
vyom
vyom•3w ago
everything's active
vyom
vyom•3w ago
No description
Brody
Brody•3w ago
show me cloudflare please
vyom
vyom•3w ago
?
No description
Brody
Brody•3w ago
okay well yeah that is cloudflare, i meant the dns settings
vyom
vyom•3w ago
No description
Brody
Brody•3w ago
you have not followed my instructions ^
vyom
vyom•3w ago
Idk what records that have been carreid over from the previous dns provider TT
Brody
Brody•3w ago
the A record
vyom
vyom•3w ago
which serivce settings again? you want me remove the cname too ? my bad bro, Ik it happens will get there I promise
Brody
Brody•3w ago
yes, its unlikely that you need www
vyom
vyom•3w ago
ight Okay i've removed it
Brody
Brody•3w ago
screenshots please
vyom
vyom•3w ago
No description
Brody
Brody•3w ago
screenshot of the public networking of your service too
vyom
vyom•3w ago
No description
vyom
vyom•3w ago
its gone TT
Brody
Brody•3w ago
i blame arc
vyom
vyom•3w ago
no way
Brody
Brody•3w ago
try a different browser
vyom
vyom•3w ago
No description
vyom
vyom•3w ago
this is from brave
vyom
vyom•3w ago
No description
vyom
vyom•3w ago
its telling me to add cname you want me add again to the cloudflare i've added the cname to the cloudflare
vyom
vyom•3w ago
No description
vyom
vyom•3w ago
yet I don't get it says can't be reached
Brody
Brody•3w ago
set your ssl/tls mode to full in cloudflare
vyom
vyom•3w ago
Yoo the sites active but for someone reason the admin records ain't matching
Brody
Brody•3w ago
explain
vyom
vyom•3w ago
No description
No description
vyom
vyom•3w ago
i'm currently deploying medusa backend the front end will be deployed on vercel tho you don't it to be deployed on vercel? want*
Brody
Brody•3w ago
whats wrong with railway
vyom
vyom•3w ago
idk it did work previously
Brody
Brody•3w ago
you had something misconfigured how have you set the username and password
vyom
vyom•3w ago
railway run npx medusa user --email framingzonesutton@gmail.com --password frames123
Brody
Brody•3w ago
how do you know thats correct
vyom
vyom•3w ago
bro its in the documentation TT
Brody
Brody•3w ago
well as that relates more to medusa than it does railway you would get better help with medusa from medusa's community
vyom
vyom•3w ago
SET lc_monetary = 'en_GB.UTF-8'; we don't have en_GB?
vyom
vyom•3w ago
No description
vyom
vyom•3w ago
vercel doesn't allow cloudflare? @Fragly Yoo
Brody
Brody•3w ago
please don't just ping people but I'll ask again, what's wrong with railway? why use vercel here?
Fragly
Fragly•3w ago
hey, sorry - I wasn't home, just got back
vyom
vyom•3w ago
for my frontend deployment? and the medusa documention was specifying it my bad we did solve this tho
Brody
Brody•3w ago
yeah why not use railway
vyom
vyom•3w ago
do we've any docs
Brody
Brody•3w ago
I am the living docs what kind of frontend
vyom
vyom•3w ago
this is the docs for medusa wow https://github.com/vyomakesh09/daylongstore-storefront its private tho
Brody
Brody•3w ago
okay create an empty service on railway (in the same project) and fill in your needed service variables
vyom
vyom•3w ago
ight
Brody
Brody•3w ago
theres more steps, but one thing at a time
vyom
vyom•3w ago
No description
vyom
vyom•3w ago
Set the output directory of your deployed project to .next. this doesn't make any sense
Brody
Brody•3w ago
one thing at a time, slow down have you done this?
vyom
vyom•3w ago
No description
No description
vyom
vyom•3w ago
Yes sir
Brody
Brody•3w ago
well you will want to create an actual secret
vyom
vyom•3w ago
No description
vyom
vyom•3w ago
done
Brody
Brody•3w ago
its unwise to show me, but okay lol deploy the changes, and go add a domain and name the service
vyom
vyom•3w ago
idc at this point I just need this to work it out
Brody
Brody•3w ago
fair enough let me know when done
vyom
vyom•3w ago
No description
vyom
vyom•3w ago
and this happened
Brody
Brody•3w ago
becasuse you have that domain on another service
vyom
vyom•3w ago
ofc
vyom
vyom•3w ago
No description
vyom
vyom•3w ago
I've done this before for vercel cuz it showed me invaild config
Brody
Brody•3w ago
remove the a type
vyom
vyom•3w ago
removed should I chage the cname back to framingzone.xyz without the api?
Brody
Brody•3w ago
no, i assume the api subdomain works fine?
vyom
vyom•3w ago
#13 24.34 Type error: Type '{ disabled?: boolean | undefined; form?: string | undefined; formAction?: string | ((formData: FormData) => void) | undefined; formEncType?: string | undefined; formMethod?: string | undefined; ... 272 more ...; ref: ForwardedRef<...>; } | { ...; }' is not assignable to type 'IntrinsicAttributes & SlotProps & RefAttributes<HTMLElement> & ClassAttributes<HTMLButtonElement> & ButtonHTMLAttributes<...>'.

#13 24.34 Type '{ disabled?: boolean | undefined; form?: string | undefined; formAction?: string | ((formData: FormData) => void) | undefined; formEncType?: string | undefined; formMethod?: string | undefined; ... 272 more ...; ref: ForwardedRef<...>; }' is not assignable to type 'SlotProps'.

#13 24.34 Types of property 'contentEditable' are incompatible.

#13 24.34 Type 'Booleanish | "inherit" | "plaintext-only" | undefined' is not assignable to type '"inherit" | Booleanish | undefined'.

#13 24.34 Type '"plaintext-only"' is not assignable to type '"inherit" | Booleanish | undefined'.

#13 24.34

#13 24.34 53 |

#13 24.34 54 | return (

#13 24.34 > 55 | <Comp

#13 24.34 | ^

#13 24.34 56 | className={cn(buttonVariants({ variant, size, className }))}

#13 24.34 57 | ref={ref}

#13 24.34 58 | {...validProps}

#13 24.44 error Command failed with exit code 1.

#13 24.44 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.


#13 24.34 Type error: Type '{ disabled?: boolean | undefined; form?: string | undefined; formAction?: string | ((formData: FormData) => void) | undefined; formEncType?: string | undefined; formMethod?: string | undefined; ... 272 more ...; ref: ForwardedRef<...>; } | { ...; }' is not assignable to type 'IntrinsicAttributes & SlotProps & RefAttributes<HTMLElement> & ClassAttributes<HTMLButtonElement> & ButtonHTMLAttributes<...>'.

#13 24.34 Type '{ disabled?: boolean | undefined; form?: string | undefined; formAction?: string | ((formData: FormData) => void) | undefined; formEncType?: string | undefined; formMethod?: string | undefined; ... 272 more ...; ref: ForwardedRef<...>; }' is not assignable to type 'SlotProps'.

#13 24.34 Types of property 'contentEditable' are incompatible.

#13 24.34 Type 'Booleanish | "inherit" | "plaintext-only" | undefined' is not assignable to type '"inherit" | Booleanish | undefined'.

#13 24.34 Type '"plaintext-only"' is not assignable to type '"inherit" | Booleanish | undefined'.

#13 24.34

#13 24.34 53 |

#13 24.34 54 | return (

#13 24.34 > 55 | <Comp

#13 24.34 | ^

#13 24.34 56 | className={cn(buttonVariants({ variant, size, className }))}

#13 24.34 57 | ref={ref}

#13 24.34 58 | {...validProps}

#13 24.44 error Command failed with exit code 1.

#13 24.44 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.


you know anything about this ik its a type error
Brody
Brody•3w ago
issue with your code that does not pertain to railway so i wouldn't be able to help, sorry
vyom
vyom•3w ago
ight gemme like 10min
Dockerfile:8

-------------------

6 |

7 | COPY .nixpacks/nixpkgs-bf446f08bff6814b569265bef8374cfdd3d8f0e0.nix .nixpacks/nixpkgs-bf446f08bff6814b569265bef8374cfdd3d8f0e0.nix

8 | >>> RUN nix-env -if .nixpacks/nixpkgs-bf446f08bff6814b569265bef8374cfdd3d8f0e0.nix && nix-collect-garbage -d

9 |

10 |

-------------------

ERROR: failed to solve: process "/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-bf446f08bff6814b569265bef8374cfdd3d8f0e0.nix && nix-collect-garbage -d" did not complete successfully: exit code: 1



Error: Docker build failed
Dockerfile:8

-------------------

6 |

7 | COPY .nixpacks/nixpkgs-bf446f08bff6814b569265bef8374cfdd3d8f0e0.nix .nixpacks/nixpkgs-bf446f08bff6814b569265bef8374cfdd3d8f0e0.nix

8 | >>> RUN nix-env -if .nixpacks/nixpkgs-bf446f08bff6814b569265bef8374cfdd3d8f0e0.nix && nix-collect-garbage -d

9 |

10 |

-------------------

ERROR: failed to solve: process "/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-bf446f08bff6814b569265bef8374cfdd3d8f0e0.nix && nix-collect-garbage -d" did not complete successfully: exit code: 1



Error: Docker build failed
Brody
Brody•3w ago
vyom
vyom•3w ago
?
vyom
vyom•3w ago
No description
vyom
vyom•3w ago
@Brody
Brody
Brody•3w ago
show me your dns settings in cloudflare
vyom
vyom•3w ago
No description
Brody
Brody•3w ago
you don't have a DNS record for the domain you just showed me. remove the domain from railway and then add it back, and follow it's instructions
vyom
vyom•3w ago
it works rn
Brody
Brody•3w ago
did you change something
vyom
vyom•3w ago
i've deleted the previous record, changed the api to @ deleted on the railway and got new cname
Brody
Brody•3w ago
I'm sorry but I'm not going to be able to help further since I can't keep repeating myself, sorry
vyom
vyom•3w ago
bro I've done the same, I was just telling you what I did since you asked and the site frontend is deployed but can't get the landing page, you said there was more to the settings one by one ?
vyom
vyom•3w ago
No description
vyom
vyom•3w ago
did we miss anything?
No description
No description
No description
vyom
vyom•2w ago
Bro at least tell where are those instructions