All Questions
2,588
questions
0
votes
0
answers
4
views
What should we consider when we create a python app which gets and sends data on https server?
The python script uses Urllib3 and my server is scripted on Node.js.
I'm worrying (and not understanding clearly) about the certificate do I need to save as variable the certificate on my python app, ...
-1
votes
1
answer
23
views
How to host my node server using own pc over public static ip? [closed]
I hava a broadband internet connection with public static ip address which is connected to my wifi router. Multiple devices, specially my pc is connected to that wifi router. Now I want to run a node ...
-2
votes
0
answers
31
views
Electron js app server doesnt start after building [closed]
In my project that I created with Electron, there is a server side written in NodeJS and a frontend side written in ReactJS. When I built the project, ran setup.exe and installed the application, I ...
-1
votes
0
answers
11
views
Backend error in MERN stack any one have solution? [closed]
node:internal/errors:496
ErrorCaptureStackTrace(err);
^
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
at new NodeError (node:internal/errors:405:5)
at ...
0
votes
0
answers
29
views
How to flush Server-Sent Events (SSE) message without disconnecting in nodejs express
We would like to notify the frontend when new events arrive in the system, if they are part of the group that the event belongs to. We decided to use SSE to accomplish this over WebSockets since we ...
1
vote
3
answers
71
views
NodeJS Express Host index.html File Then Route To Specific Spa Route with Params
I have an application that uses Angular 13 as the frontend and nodeJS with express for the backend. The backend servers the frontend files. I am working on adding subdomains into my application and ...
0
votes
0
answers
39
views
Is there a way to keep my program alive if the server it needs to connect to is not up and listening yet?
So I've been trying to figure out how to keep my program alive if this separate server that I'm running is not open yet. Right now my program's site pulls up successfully but then the second I try to ...
0
votes
0
answers
12
views
React server crashed unexpectedly with following error: node:internal/buffer:959, super(bufferOrLength, byteOffset, length); RangeError:
your textnode:internal/buffer:959
super(bufferOrLength, byteOffset, length);
^
RangeError: Array buffer allocation failed
at new ArrayBuffer ()
at new Uint8Array ()
at new FastBuffer (node:internal/...
0
votes
0
answers
16
views
How to avoid server overwhelming when write log by winston in nodejs?
I have a Socket server which accept about 250000 connections as the same time. So I need to create a Log function to save status and errors of each connections.
I used Winston to save logs and the ...
0
votes
0
answers
18
views
run tileserver-gl on a server without internet access Error
I am encountering an issue while trying to run tileserver-gl on a server without internet access. I have successfully set up tileserver-gl on other servers using a prepared folder with all necessary ...
0
votes
1
answer
53
views
NodeJs and Postgres-Connection terminated unexpectedly
I'm trying to connect my Node project to Postgres.
My server is running in the project.
In Postgres, when I execute a data retrieval command, it also return me the correct data.
But when he wants to ...
0
votes
0
answers
101
views
IIS Reverse Proxy Configuration for Node.js Backend
I have tried every possible way to deploy my node js app in the IIS, I have used reserve proxy, my backend is successfully running in locally windows server 2019 VPS. Now after my domain like www....
0
votes
0
answers
31
views
Blocked by CORS policy: No 'Access-Control-Allow-Origin' header error nodejs
Whenever I try to establish a socket connection (from client) with my server (writen in nodejs), I get a cors error Access to XMLHttpRequest at 'https://example.onrender.com/socket.io/?EIO=4&...
0
votes
0
answers
18
views
Run an express server on a domain from cyberpanel
I am using Cyberpanel with Ubuntu 22.04. I have created a website srv.example.com and inside its public_html I have installed an express server and the app.js file is the below:
const express = ...
0
votes
1
answer
62
views
Trying to create a live server with Vite and Node.js
I am trying to create an application that hosts a live server, where anyone that connects with it will be able to see any changes made in real time. I am using vite and react.js and I have tried to ...