Questions tagged [nodejs-server]

405 questions
0
votes
0 answers

React Stompjs client Not connected

guys, I am new with websockets. I try recreate the common live chat example with NodeJs socket server and React StompJs client. On server-side I have receive the client connection. When refresh the client page server note disconnect and after that…
0
votes
1 answer

problem in using rpush() and lrange() function of redis in node js

i am using rpush method to store the list in the redis and lrange to get the list elements from the redis. In node js i am getting error that rpush and lrange is not function. So, I use RPUSH AND LRANGE functions according to the redis node…
0
votes
1 answer

running Node.js and Next.js application on windows server (IIS)

I have a node.js application (only for api's on port 5000) and a next.js application (for users on port 3000) and I have to run it on windows server, I tried reverse proxy with IIS and I could run it but there is an issue with session and cookies, I…
Rawand
  • 377
  • 3
  • 11
0
votes
0 answers

why do i get [sequelizeConnectionError]: connect ETIMEDOUT

ConnectionError [SequelizeConnectionError]: connect ETIMEDOUT at ConnectionManager.connect (/home/ec2-user/group1-vue-mysql/node_modules/sequelize/lib/dialects/mysql/connection-manager.js:102:17) at process.processTicksAndRejections…
0
votes
0 answers

Docker compose app container immediately exited with code 0

I'm running a docker compose with a custom Dockerfile build. I tried ENTRYPOINT & CMD with a sleep 99999999999999999999, but the container immediately exited with code 0. Here is the d.mi.docker-compose.yml services: traefik: image:…
Brian Takita
  • 1,615
  • 1
  • 15
  • 20
0
votes
1 answer

request to https://api-m.sandbox.paypal.com/v1/oauth2/token failed, reason: unable to get local issuer certificate, nodejs, cPanel

I'm creating a nodejs app with paypal buttons. The app works on local computer just fine, but I have problems with integrating it with cPanel. The application works as a server behind the passenger reverse port binding and tries to fetch data from…
jus
  • 1
  • 2
0
votes
1 answer

How to do utf-8 encoding in node js

I am trying to do UTf 8 encoding to a string in node js I have tried Buffer(someString, 'utf8') and also the package utf8 but it is always returning me the original string. var utf8 = require('utf8'); function decrypt(enc) { console.log('type',…
Aayushi
  • 1,736
  • 1
  • 26
  • 48
0
votes
0 answers

The NodeJs API working fine on Thunder Client but not working after integration in flutter

I have created my SignUp API in NodeJs and its working fine when I try to run on thunder client but when I try to integrate in flutter it doesn't work. I have worked before with the same API and same code in flutter the similar code but the error…
Umair
  • 3
  • 2
0
votes
0 answers

MS Team's Tab | How to replace existing client with a React App

I have created a MS Team's Tab App using https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/tab-sso/nodejs. Currently, the client side is implemented using something called as '.pug' files. I wanted to use a React App instead. Is…
0
votes
1 answer

Sequelize error Question is not associated to Survey

######## Survey Model ########### module.exports = function(sequelize, DataTypes) { const Survey = sequelize.define("Survey", { survey_id: { autoIncrement: true, type: DataTypes.INTEGER.UNSIGNED, allowNull: false, …
0
votes
3 answers

Inspecting outgoing HTTP requests in a nodejs application

I am using NestJS to build a web app from which I call an external API to retrieve data. Now, I want to inspect all the requests that are sent from my app. For example, in a web browser, I can inspect all the requests I send to my server through the…
0
votes
0 answers

Why is my thinmusic server failing to start as a service on Ubuntu Linux even though it runs manually?

I have a Linux Ubunut 22.04 Server at IONOS. I want to develop and deploy a thinmusic server. I installed NodeJS, npm, react-script. The server is running when I call it manually. But when I want to start it as a service, it doesn't work. Please…
0
votes
0 answers

Unable to run Angular Universal Application with server:ssr script on cPanel Server

Not able to make Angular Universal Application live on cPanel Server I tried creating a node.js application, putting server files on root and uploading browser folder on the root. whenever I try to run server:ssr script, it throws error and the…
0
votes
1 answer

Meta WhatsApp Client Localization Request Body not working in my Webhook code as prescribed in the Doc

I have a nodejs bot and a method which helps me send client a request for their location using a special Meta Whatsapp body as prescribed in the section Location Request Messages of Sending Interactive Messages Doc: Doc prescription below: { …
vially
  • 187
  • 1
  • 10
0
votes
0 answers

How to use Google Fonts with Sharp on Node.js app deployed on Vercel

I deployed my MERN app on Vercel and I use Sharp to convert SVG to Image (png/jpeg) but I have an issue with the fonts. I use Google fonts but I can't install them on Vercel like I did the last time on my own server. My question is: how can my…