Architecture choice about representation of collections in Business Objects

I have made certain choices in my architecture which I request the community to review and comment. I am breaking up the post in smaller sections to make it easier to understand the context and...

Detect/listen for service start and stop state changes

I have a C# application that uses a Windows service that is not always on and I want to be able to send an email notification when the service starts and when it shuts down. I have the email...

Dynamics CRM 2011 E-mail Router error: e-mail address is not associated with any approved forward mailbox user or queue record in CRM

I am trying to create an email-to-case workflow that converts e-mail messages sent to support mailboxes into CRM cases, but the e-mail router fails to process certain messages during validation...

Express 4 middleware error handler not being called

For certain pages I have custom 500, 404 and 403 error handling in my app. So for instance after an unsuccessful database query I'd go: return next({status: 404, message: 'Record not...

Custom error class in TypeScript

I'd like to create my own error class in TypeScript, extending core Error to provide better error handling and customized reporting. For example, I want to create an HttpRequestError class with...

express-session isn't setting session cookie while using with socket.io

I'm trying to implement authentication and sessions with socket.io. After a lot of research 1, I've set up the following which makes use of express and express-session. The issue is that, express...

Node Express specific timeout value per route

I'm developing a Node v4.2.4 application using Express v4.13.4. Now I would like to increase the timeout time for a specific upload route. From what I've read and experienced: the default Node...

Axios post request.body is empty object

I am trying to post data from my react. Backend - express. Here is backend code: var express = require('express'); var app = express(); var bodyParser = require("body-parser"); var methodOverride...

CSRF 403 Forbidden - Invalid CSRF Token

I am having issues with Node Express and CSurf - 403 (Forbidden) Invalid csrf token. Looked through other answers and tried everything I could find by searching around, I'm just not able to get...

AbstractMethodError while running Pipeline

I have a Jenkinsfile that runs a pipeline. The pipeline runs correctly on one instance of Jenkins, so I believe there isn't a problem with my script. I am now trying to copy the job over to...

vSphere vs. terraform VM Customization Failure with Network not being connected

When I'm trying to customize the network interface post provision of a Windows VM, terraform errors, VM is left running with no NIC attached. Version Terraform = v0.11.7 vSphere Version = 6.7.0,...

react-navigation header has a faint line

This turned into a massive adventure and subsequently, a very large and messy post, so to spare you from having to read through the mess that I keyboard-farted out below, here's a summary: Main...

React App Proxy Error: Could Not Proxy Request

I am working on a group project that was deployed on Heroku, but now I need to do further work on it and am trying to get it to run locally again. It is a React app that uses MongoDB. I cloned the...

Heroku and multer

I made a webapp that lets you upload a file to the server using multer. It works like it should when the server is run locally, but when I deployed it on Heroku, it seems I ran into a 500 internal...

Axios - NodeJS Always returns 500 internal server error

I have one node-express project for api gateway. This is my gateway code; app.use(cors({ origin: 'http://localhost:8081', methods: ['GET', 'POST', 'PUT', 'DELETE'], ...

RabbitMQ SSL support in Windows

I have a RabbitMQ installed on Windows 2012 server. I need SSL\TLS support enabled - have read the following guide. Unfortunately, SSL listener is unable to start without any errors in log file...

Creating workers in Spring

I'm writing a webserver with spring(mvc,data,security) which is serving tasks to physical devices(device count is around 100). Device doesn't have query implementation inside. For example to...

NginX fails to pass of POST request body when proxying requests to an Express backend from static bundle

I am running an NginX server hosted on a Digital Ocean Droplet at 'pocket-caravan.com'. The goal was to build the react bundle which would link to all css/js/images and use nginx to handle serving...

Express.js : POST data sent as KEY ONLY in my req.body object

I am currently having an issue with my POST request. I have a simple function that is responsible of sending data to my server using AJAX. handleSubmit(event) { var http = new XMLHttpRequest();...

Server-Sent Events (SSE) problem with SSL/HTTPS

Hello I am developing a web application in React that receives SSE data from an Express server with Nginx. SERVER.JS const express = require('express'); const bodyParser =...

Adding subscriber to mailchimp 3.0 with node https

This is my app.js file: const express = require("express"); const bodyParser = require("body-parser"); const request = require("request"); const https = require("https"); const app =...

Heroku not connecting to MongoDB Atlas - Error 405 not allowed

I realize this question or similar has been asked 20 times and I've read through all of the entries and tried the fixes with no luck. I am getting a 405 error when trying a POST request from the...

POST http://localhost:3000/api/users 404 (Not Found)

MERN Stack/REDUX -- Attempting to send user data for signup/registration from my React app to express and into my mongoDB but keep receiving a 404 error in letting me know that the page doesnt...

AWS: Create a new environment (tomcat-single-instance): .ebextensions with SSL certificate - fails to start

Elastic Beanstalk: Create a new environment: .ebextensions with SSL certificate fails to start (tomcat-single-instance) I am trying to create a new environment with the current production WAR...

Cannot able to request the localhost node server with HTML page using fetch API

Description: I am trying to send JSON data from an HTML page to the Node.js server running locally on port 5000 using Fetch API. Getting Error: Access to fetch at 'http://localhost:5000/attend'...

Uploaded file must be a non-empty zip (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException;

I have a simple Express/Node.js application with the following files with no subdirectories (other than .serverless and...

How to query DynamoDB using ONLY Partition Key [Java]?

I am new to DynamoDB and wanted to know how can we query on a table in DynamoDB by using ONLY partition key in JAVA I have table called "ervive-pdi-data-invalid-qa" and it's Schema is : partition...

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://localhost:8000/users/login

I am trying to make a post message to the /users/signup end and this error occurs every time. Here is my code from server.js const https = require('https'); const fs = require('fs'); var path =...

Is there a way to pre-check or avoid the scopes checkbox in Google's Gmail / Google Calendar OAuth approval flow?

We currently use google-api-python-client to handle our user-facing OAuth flow. We had a few users email us asking why their accounts didn't import successfully, and when we looked, their tokens...

NodeJS + Google Login + Firebase Functions results in decoding firebase session cookie failed

I require a Google Sign-In for a Firebase application, to get this done I used multiple sources: auth-sessions provides a good out of the box example with NodeJS + Firebase + Google Login. manage...