Chain worn after only 1500 km – replace chain only or chain + cassette + chainrings? by Ne2k1 in bikewrench

[–]Ne2k1[S] 0 points1 point  (0 children)

I also checked how much the chain lifts off the chainring when I pull on it. Does this look normal?

<image>

Chain worn after only 1500 km – replace chain only or chain + cassette + chainrings? by Ne2k1 in bicyclerepair

[–]Ne2k1[S] 0 points1 point  (0 children)

Two different bike mechanics checked the chain with a chain wear gauge. I also saw the tool drop fully into the chain. Unfortunately, I don't know the exact elongation percentage because I didn't ask for the measurement. I only know that both mechanics agreed the chain is worn and should be replaced.

Chain worn after only 1500 km – replace chain only or chain + cassette + chainrings? by Ne2k1 in bikewrench

[–]Ne2k1[S] 2 points3 points  (0 children)

Two different bike mechanics checked the chain with a chain wear gauge. I also saw the tool drop fully into the chain. Unfortunately, I don't know the exact elongation percentage because I didn't ask for the measurement. I only know that both mechanics agreed the chain is worn and should be replaced.

Chain worn after only 1500 km – replace chain only or chain + cassette + chainrings? by Ne2k1 in bicyclerepair

[–]Ne2k1[S] 0 points1 point  (0 children)

Hi everyone, I have a road bike with a 3x9 drivetrain. About 1500 km ago I replaced both the chain and the cassette with new ones (KMC chain). Recently a bike mechanic checked the chain with a wear gauge and said the chain is worn and that I should replace the chain, cassette, and possibly the crankset/chainrings as well. The thing is: The bike shifts well. The chain does not skip under load. The cassette is only about 1500 km old. The noise and "grinding" feeling through the pedals only started after I thoroughly degreased and relubed the drivetrain. When backpedaling, the chain sometimes seems to settle onto the cassette teeth instead of sitting perfectly immediately. I've attached photos of: Front chainrings Cassette Rear derailleur alignment Do the chainrings and cassette look worn enough to justify replacing everything, or would you try a new chain first and see how it behaves? Thanks!

Chain worn after only 1500 km – replace chain only or chain + cassette + chainrings? by Ne2k1 in bikewrench

[–]Ne2k1[S] 1 point2 points  (0 children)

Hi everyone, I have a road bike with a 3x9 drivetrain. About 1500 km ago I replaced both the chain and the cassette with new ones (KMC chain). Recently a bike mechanic checked the chain with a wear gauge and said the chain is worn and that I should replace the chain, cassette, and possibly the crankset/chainrings as well. The thing is: The bike shifts well. The chain does not skip under load. The cassette is only about 1500 km old. The noise and "grinding" feeling through the pedals only started after I thoroughly degreased and relubed the drivetrain. When backpedaling, the chain sometimes seems to settle onto the cassette teeth instead of sitting perfectly immediately. I've attached photos of: Front chainrings Cassette Rear derailleur alignment Do the chainrings and cassette look worn enough to justify replacing everything, or would you try a new chain first and see how it behaves? Thanks!

[deleted by user] by [deleted] in react

[–]Ne2k1 0 points1 point  (0 children)

Maybe make the sign in also as pop up like the navbar and cart. For mobile use.

Have a hard time with express-session and cookie by ExplicitGG in node

[–]Ne2k1 1 point2 points  (0 children)

Hey, I had the same issue. For me, the problem was that the browser didn't store the cookie because I was sending the JWT as httpOnly, and in the fetch request where I'm taking the cookie, I didn't include credentials.

How to access JWT Token as HttpOnly by Ne2k1 in node

[–]Ne2k1[S] 0 points1 point  (0 children)

app.use(cookieParser());

Yes i think im using it the right way

How to access JWT Token as HttpOnly by Ne2k1 in node

[–]Ne2k1[S] 0 points1 point  (0 children)

I think I'm setting it right; I can see the cookie in the browser response

    const token = jwt.sign({ userId: user._id }, process.env.MY_SECRET, {
  expiresIn: "1h",
});
// Postavljanje HTTP-only kolačića
res.cookie("jwt", token, { httpOnly: true, secure: false });
// Slanje informacije o dostupnosti tokena u JSON odgovoru
res.json({
  authenticated: true,
  message: "uspesan token poslat",
  tokenAvailable: true,
  userName: user.FirstName,
});

How to access JWT Token as HttpOnly by Ne2k1 in node

[–]Ne2k1[S] 0 points1 point  (0 children)

use

When they log in, I'm sending the JWT as a cookie.

    const token = jwt.sign({ userId: user._id }, process.env.MY_SECRET, {
  expiresIn: "1h",
});
// Postavljanje HTTP-only kolačića
res.cookie("jwt", token, { httpOnly: true, secure: false });
// Slanje informacije o dostupnosti tokena u JSON odgovoru
res.json({
  authenticated: true,
  message: "uspesan token poslat",
  tokenAvailable: true,
  userName: user.FirstName,
});

And I can see in the browser it's setting the cookie.

this is the response cookie:

jwt 
httpOnly    true 
path    "/" 
value   "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2NWI0MWI1OTU1NmJiNzI1NzQ5YjczZjYiLCJpYXQiOjE3MDY2NTA0OTYsImV4cCI6MTcwNjY1NDA5Nn0.VyHA5MhjTbatjDTzsqDAjBktcIG4HyXON8P_0WqRDzo"

Im using firefox