R
Railway•6mo ago
v

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•6mo ago
Project ID: 69b3c75c-1fcf-4c33-b98a-8d2ee454b8cb
v
vOP•6mo ago
69b3c75c-1fcf-4c33-b98a-8d2ee454b8cb
Brody
Brody•6mo ago
what's the domain in question?
v
vOP•6mo ago
huh you asking the domain? framingzone.xyz
Brody
Brody•6mo ago
hostinger does not support root level cnames, you will need to use cloudflare's nameservers
v
vOP•6mo ago
so the domain I bought what do I do with it? you telling me to buy a new domain? from cloudflare?
Brody
Brody•6mo 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/
v
vOP•6mo ago
yee lookin at it rn
v
vOP•6mo ago
we just need to add these to railway?
No description
v
vOP•6mo ago
or hostinger what would there type be?
Brody
Brody•6mo ago
they are nameservers and you add them to hostinger
v
vOP•6mo ago
make sense thats cname?
Brody
Brody•6mo ago
please add more context to your question
v
vOP•6mo ago
my bad
v
vOP•6mo ago
do we need to remove the other two?
No description
Brody
Brody•6mo ago
that is correct, you should only have the two cloudflare gave you
v
vOP•6mo ago
ight now we wait? how long its gonna take generally
Brody
Brody•6mo ago
assuming you set it up correctly, maybe 30 minutes
v
vOP•6mo ago
bro
Brody
Brody•6mo ago
then you can redo the domain setup dont bro me, dns is slow
v
vOP•6mo ago
No description
No description
Brody
Brody•6mo ago
as previously mentioned, you only want the two nameservers cloudflare gave you
v
vOP•6mo 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•6mo ago
🚬
v
vOP•6mo ago
actually wrong uplods
v
vOP•6mo ago
No description
No description
v
vOP•6mo ago
I DID SET IT UP CORRECTLY 🤨 yall based in sf?
Brody
Brody•6mo ago
i dont work for railway
v
vOP•6mo ago
damn then
Brody
Brody•6mo ago
gotta wait for dns to propagate then
v
vOP•6mo ago
yoo I had this question for a while
Brody
Brody•6mo ago
ask away
v
vOP•6mo 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•6mo ago
okay well thats not related to railway so dont ask away
v
vOP•6mo ago
:cryingman:
Brody
Brody•6mo 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
v
vOP•6mo ago
I don't see any previous records on the admin page tho
Brody
Brody•6mo ago
admin page?
v
vOP•6mo 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•6mo ago
i dont know what you are talking about
v
vOP•6mo ago
? wdym root records
Brody
Brody•6mo ago
please familiarise yourself with the topic at hand
v
vOP•6mo ago
ight do we've a documentation
Brody
Brody•6mo ago
please follow the steps ive outlined here
v
vOP•6mo ago
ight Yoo it ain't coming again says the page isn't working
Brody
Brody•6mo ago
show me the public networking section of your service settings
v
vOP•6mo ago
everything's active
v
vOP•6mo ago
No description
Brody
Brody•6mo ago
show me cloudflare please
v
vOP•6mo ago
?
No description
Brody
Brody•6mo ago
okay well yeah that is cloudflare, i meant the dns settings
v
vOP•6mo ago
No description
Brody
Brody•6mo ago
you have not followed my instructions ^
v
vOP•6mo ago
Idk what records that have been carreid over from the previous dns provider TT
Brody
Brody•6mo ago
the A record
v
vOP•6mo 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•6mo ago
yes, its unlikely that you need www
v
vOP•6mo ago
ight Okay i've removed it
Brody
Brody•6mo ago
screenshots please
v
vOP•6mo ago
No description
Brody
Brody•6mo ago
screenshot of the public networking of your service too
v
vOP•6mo ago
No description
v
vOP•6mo ago
its gone TT
Brody
Brody•6mo ago
i blame arc
v
vOP•6mo ago
no way
Brody
Brody•6mo ago
try a different browser
v
vOP•6mo ago
No description
v
vOP•6mo ago
this is from brave
v
vOP•6mo ago
No description
v
vOP•6mo ago
its telling me to add cname you want me add again to the cloudflare i've added the cname to the cloudflare
v
vOP•6mo ago
No description
v
vOP•6mo ago
yet I don't get it says can't be reached
Brody
Brody•6mo ago
set your ssl/tls mode to full in cloudflare
v
vOP•6mo ago
Yoo the sites active but for someone reason the admin records ain't matching
Brody
Brody•6mo ago
explain
v
vOP•6mo ago
No description
No description
v
vOP•6mo 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•6mo ago
whats wrong with railway
v
vOP•6mo ago
idk it did work previously
Brody
Brody•6mo ago
you had something misconfigured how have you set the username and password
v
vOP•6mo ago
railway run npx medusa user --email [email protected] --password frames123
Brody
Brody•6mo ago
how do you know thats correct
v
vOP•6mo ago
bro its in the documentation TT
Brody
Brody•6mo ago
well as that relates more to medusa than it does railway you would get better help with medusa from medusa's community
v
vOP•6mo ago
SET lc_monetary = 'en_GB.UTF-8'; we don't have en_GB?
v
vOP•6mo ago
No description
v
vOP•6mo ago
vercel doesn't allow cloudflare? @Fragly Yoo
Brody
Brody•6mo ago
please don't just ping people but I'll ask again, what's wrong with railway? why use vercel here?
Fragly
Fragly•6mo ago
hey, sorry - I wasn't home, just got back
v
vOP•6mo ago
for my frontend deployment? and the medusa documention was specifying it my bad we did solve this tho
Brody
Brody•6mo ago
yeah why not use railway
v
vOP•6mo ago
do we've any docs
Brody
Brody•6mo ago
I am the living docs what kind of frontend
v
vOP•6mo ago
this is the docs for medusa wow https://github.com/vyomakesh09/daylongstore-storefront its private tho
Brody
Brody•6mo ago
okay create an empty service on railway (in the same project) and fill in your needed service variables
v
vOP•6mo ago
ight
Brody
Brody•6mo ago
theres more steps, but one thing at a time
v
vOP•6mo ago
No description
v
vOP•6mo ago
Set the output directory of your deployed project to .next. this doesn't make any sense
Brody
Brody•6mo ago
one thing at a time, slow down have you done this?
v
vOP•6mo ago
No description
No description
v
vOP•6mo ago
Yes sir
Brody
Brody•6mo ago
well you will want to create an actual secret
v
vOP•6mo ago
No description
v
vOP•6mo ago
done
Brody
Brody•6mo ago
its unwise to show me, but okay lol deploy the changes, and go add a domain and name the service
v
vOP•6mo ago
idc at this point I just need this to work it out
Brody
Brody•6mo ago
fair enough let me know when done
v
vOP•6mo ago
No description
v
vOP•6mo ago
and this happened
Brody
Brody•6mo ago
becasuse you have that domain on another service
v
vOP•6mo ago
ofc
v
vOP•6mo ago
No description
v
vOP•6mo ago
I've done this before for vercel cuz it showed me invaild config
Brody
Brody•6mo ago
remove the a type
v
vOP•6mo ago
removed should I chage the cname back to framingzone.xyz without the api?
Brody
Brody•6mo ago
no, i assume the api subdomain works fine?
v
vOP•6mo 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•6mo ago
issue with your code that does not pertain to railway so i wouldn't be able to help, sorry
v
vOP•6mo 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•6mo ago
v
vOP•6mo ago
?
v
vOP•6mo ago
No description
v
vOP•6mo ago
@Brody
Brody
Brody•6mo ago
show me your dns settings in cloudflare
v
vOP•6mo ago
No description
Brody
Brody•6mo 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
v
vOP•6mo ago
it works rn
Brody
Brody•6mo ago
did you change something
v
vOP•6mo ago
i've deleted the previous record, changed the api to @ deleted on the railway and got new cname
Brody
Brody•6mo ago
I'm sorry but I'm not going to be able to help further since I can't keep repeating myself, sorry
v
vOP•6mo 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 ?
v
vOP•6mo ago
No description
v
vOP•6mo ago
did we miss anything?
No description
No description
No description
v
vOP•6mo ago
Bro at least tell where are those instructions
Want results from more Discord servers?
Add your server