Oren
Oren
Explore posts from servers
CDCloudflare Developers
Created by Oren on 3/2/2024 in #pages-help
Is it possible to use cloudflare for SaaS with cloudflare pages site?
Is it possible to use cloudflare for SaaS with cloudflare pages site?
15 replies
CDCloudflare Developers
Created by Oren on 2/10/2024 in #pages-help
Sveltekit actions on pages with smart placement
Hello, I host sveltekit on cf pages pro and have smart placement enabled but cf-placement header is always local-X so placement is not working. Wondering if sveltekit actions are not meant to work with smart placement or if there are any other work arounds? Because my backend is in EU I would like my actions to run on EU for optimal latency when possible thanks in advance!
1 replies
RRailway
Created by Oren on 11/23/2023 in #✋|help
New postgres db volume size is 500mb on hobby plan
Hi I'm on hobby plan and when I create postgres db, the volume attached is 500mb instead of 5gb like my previous db services is there a way to increase it please?
17 replies
RRailway
Created by Oren on 11/15/2023 in #✋|help
Node lts support
I configured package.json to use current lts version of node (20.9.0) but observing this warning WARN  Unsupported engine: wanted: {"node":"20.9.0"} (current: {"node":"v20.6.1","pnpm":"8.10.4"}) package.json config: "engines": { "node": "20.9.0" },
8 replies
RRailway
Created by Oren on 10/2/2023 in #✋|help
Next.js /public Images are failing
I'm hosting a nextjs app, when I add my images to /public folder and use next/image component to load them like "/1.jpeg" the images work locally but not on railway domain when I hit the image source it says " "url" parameter is valid but upstream response is invalid" and railway logs shows something is up with ssl upstream image response failed for /1.jpeg TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11576:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async invokeRequest (/app/node_modules/next/dist/server/lib/server-ipc/invoke-request.js:17:12) at async /app/node_modules/next/dist/server/next-server.js:362:39 at async imageOptimizer (/app/node_modules/next/dist/server/image-optimizer.js:537:13) at async cacheEntry.imageResponseCache.get.incrementalCache (/app/node_modules/next/dist/server/next-server.js:519:61) at async /app/node_modules/next/dist/server/response-cache/index.js:102:36 { cause: [Error: C097EE9F627F0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:ssl/record/ssl3_record.c:354: ] { library: 'SSL routines', reason: 'wrong version number', code: 'ERR_SSL_WRONG_VERSION_NUMBER' } }
4 replies
RRailway
Created by Oren on 9/25/2023 in #✋|help
Next.js with bun fails to deploy
#12 21.93 Collecting page data... #12 22.96 360 | var keys = Object.keys(add), i = keys.length; #12 22.96 361 | while (i--) #12 22.96 362 | origin[keys[i]] = add[keys[i]]; #12 22.96 363 | return origin; #12 22.96 364 | #12 22.96 365 | }, kCustomPromisifiedSymbol = Symbol.for("util.promisify.custom"), promisify = function promisify2(original) { #12 22.96 ^ #12 22.96 TypeError: The "original" argument must be of type Function #12 22.96 at promisify2 (node:util:365:196) #12 22.96 at 11715 (/app/.next/server/chunks/790.js:1:211328) #12 22.96 at t (/app/.next/server/webpack-runtime.js:1:122) #12 22.96 at 75337 (/app/.next/server/chunks/790.js:1:190599) #12 22.96 at t (/app/.next/server/webpack-runtime.js:1:122) #12 22.96 at 48634 (/app/.next/server/chunks/790.js:1:150852) #12 22.96 at t (/app/.next/server/webpack-runtime.js:1:122) #12 22.96 at 14846 (/app/.next/server/chunks/790.js:1:149473) #12 22.96 at t (/app/.next/server/webpack-runtime.js:1:122) #12 22.96 at 29003 (/app/.next/server/chunks/790.js:1:145751) #12 22.96 #12 22.97 #12 22.97 > Build error occurred #12 22.97 error: Failed to collect page data for /api/auth/callback #12 22.97 at /app/node_modules/next/dist/compiled/jest-worker/index.js:1:1221 #12 22.97 #12 23.13 error: script "build" exited with code 1 (SIGHUP) #12 ERROR: process "/bin/bash -ol pipefail -c bun run build" did not complete successfully: exit code: 1
4 replies
TtRPC
Created by Oren on 7/28/2023 in #❓-help
Hey 👋
I'm looking to use tRPC with app-router specifically with this setup; - My pages are RSC, and I want to fetch the data there using trpc route / .query or .fetch (page.tsx), cached - My forms are "client side" I want to mutate using react-query on client side and manually invalidate RSC fetchers above ^ upon mutations Does anyone have an example repo I can investigate to achieve this setup?
5 replies