2,618 questions
2
votes
2
answers
61
views
Client Component props hydrate twice which cause props data to be empty at first in Nextjs 14
I am having an issue where the data from fetch was pass to a client-side component.
'use server';
const Page = () => {
const data = awaits fetch(dataUrl)
if (!res.ok) {
...
1
vote
0
answers
92
views
Handling Authentication Tokens in Next.js Server Actions with External APIs
The Problem
I recently encountered a challenging authentication issue when working with Next.js Server Actions connecting to a NestJS backend API.
When making authenticated requests from client ...
0
votes
0
answers
45
views
C# Server Side Event Intermittent IO Exception occuring
I have a WPF application that I require SSE. I was looking into websockets but this seems to be quite hard to organise using CPANEL and WHM due to port restrictions etc.
The SSE is running and may ...
1
vote
1
answer
211
views
Why are server-side actions executed sequentially instead of in parallel with SWR in Next.js 14?
I'm trying to fetch data in parallel using SWR in a client-side React component in Next.js 14. The server-side actions are defined as follows:
// server-side actions
export async function getData1(): ...
0
votes
1
answer
30
views
TagHelper not working with server side Validations
Ok this is my problem. Today I decided to implement a mechanism that would make it easier for me to implement fields in the views. I have a project in razor pages and I do the validation of required ...
0
votes
0
answers
94
views
How can I Add Reading Time Estimates to Your Next.js v15 Blog Without Client-Side Rendering?
I am currently working on a blog website built with Next.js v15.0.3. I aim to integrate a time estimator feature for the blog, using the reading-time-estimator package. However, I have encountered an ...
2
votes
3
answers
611
views
Uncaught Exception, even with Try Catch
After searching on SO, I could not find an answer to this problem. All of the questions I saw, the error was still being caught. I'm having the inverse problem. No matter how I refactor the following ...
-1
votes
1
answer
134
views
Intermittent 503 response on Varnish
A HTTP request in our case first hits the Varnish server and then one of its two backends. The backends service is a flask+uwsgi application.
I have observed that during peak traffic hours, the ...
-1
votes
1
answer
244
views
servicenow gliderecord query behavior
Pretty new to snow and javascript, trying to get the list of group a user belong to.
The relation is done by the table sys_user_grmember but when i try to filter the table via a addquery, it return ...
0
votes
0
answers
82
views
White screen after add _framework/blazor.server.js
I am working on a project which I created. When running the project for the first time and implementing the designs in the app, I tried to execute a C# method from the frontend where I did not receive ...
0
votes
1
answer
195
views
How to properly write a server-side game loop?
I'm writing a game server in C# and I need to have a loop that invokes Update method 60 times per second.
I tried to make it myself and wrote this:
async Task TickLoop() {
const int tps = 60;
...
1
vote
2
answers
1k
views
How to fetch data for Client Components on server-side
When I say Client Components -> I mean files that uses use client at the top of it, and Server Components — files that are using use server accordingly
Nobody says, how to fetch data on the server ...
1
vote
0
answers
121
views
Client-Side 504 Gateway Timeout with EventSource and Vercel (Server Side Event)
I'm encountering a 504 Gateway Timeout error when using EventSource to connect to a Vercel Serverless function endpoint. The setup involves streaming data from MongoDB using change streams to clients. ...
2
votes
2
answers
4k
views
Error: Page is missing param "generateStaticParams()", which is required with "output: export" config
I am seeing this error only during navigation,
This error is only during navigation and goes away on refreshing the browser
Error: Page "/(publish)/logs/publish/[id]/page" is missing param &...
3
votes
0
answers
238
views
Why am I getting prerender errors in Next.js 14 build?
I am encountering an issue when running the next build command on my Next.js 14 application. The build process fails with the following prerendering errors:
I have checked the links provided, but I am ...
0
votes
1
answer
209
views
Ag Grid swallows click during refreshing (Server Side Row Model)
Basically, our grid fetch data every 6 seconds (purge=false). If user clicks on row during that tiny 500ms window between 6th and 7th second, grid will swallow that click and row will not be selected, ...
0
votes
0
answers
102
views
Creating a check for duplicate entries in blazor
I'm using .NET 6 to create a serverside interface where users can input numbers into a database. I have made functions that handle the entry into the database. However, due to restraints on the ...
1
vote
0
answers
22
views
Flask Session Variable Not Keeping Values
I've been building the flask program underneath:
app = Flask(__name__)
app.secret_key = b'_5#y2L"F4Q8z\n\xec]/'
DATABASE = "qa_database.db"
def get_db():
db = getattr(g, "...
0
votes
1
answer
2k
views
Spring Rest controller returns 302 (found) for POST request but nothing happens
I'm a beginner with backend development and with Spring Boot, currently working on a project to better familiarize myself with the basics. I'm writing a simple UI for user authentication and ...
0
votes
0
answers
1k
views
Roblox Server-Script to teleport all players to a random seat not working
Here's the code
game.Players.PlayerAdded:Connect(function(player)
local char = player.Character or player.CharacterAdded:Wait()
local spawns = workspace:WaitForChild("TruckTweenPart1")....
-1
votes
1
answer
332
views
Process to Upload a run a Python Hello World script via IDE and accessed through browser [duplicate]
I have googled this and cannot find an answer. I am coming from PHP. In PHP I would write my code in my IDE on my laptop, upload the .php script to my server (VPS), and then execute/run the script ...
0
votes
1
answer
186
views
Yajra DataTables Search Not Working for Modified Column
I'm using Yajra DataTables in Laravel and experiencing issues with the search functionality for the modefied column (HAWB). I've modified the HAWB column definition to display a clickable link, but ...
0
votes
0
answers
179
views
QuickFix in Custom Language(Xtext) using Language Server Protocol
I am very new to Language Server Protocol.
I have all the xtext related files ie. content assist, validation, quick fixes etc in eclipse and our client is intellij.
I want to implement quickfixes ...
0
votes
0
answers
814
views
Use cookies server-side from different domain in NextJS 13
I'm building a full-stack application which has a backend (PayloadCMS) and a frontend (in NextJS 13) hosted on different domains (e.g. backend: 1.1.1.1, frontend: 2.2.2.2)
I'm using cookies to handle ...
-2
votes
1
answer
657
views
Converting some pages to be rendered on the server side in Vue3
I wonder how to convert only two pages in a Vue3 project to be rendered on the server-side to enhance their SEO. I also want to avoid migrating to Nuxt.js.
Thanks for your help in advance.
I tried ...