error: Execution failed for task ‘:app:kaptGenerateStubsDebugKotlin’

Execution failed for task ‘:app:kaptGenerateStubsDebugKotlin’. ‘compileDebugJavaWithJavac’ task (current target is 1.8) and ‘kaptGenerateStubsDebugKotlin’ task (current target is 17) jvm target compatibility should be set to the same Java version. Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain Try: Run with –info or –debug option to get more log output. Run with –scan to get full insights. Exception is: … Read more

How to reuse Lambda esbuild config in SAM template?

I have a SAM template with two Lambda functions using a NodeJS runtime that are built from TypeScript to JavaScript using esbuild: AWSTemplateFormatVersion: ‘2010-09-09’ Transform: AWS::Serverless-2016-10-31 Globals: Function: Architectures: – x86_64 CodeUri: src/ Runtime: nodejs18.x Resources: GetFooFunction: Type: AWS::Serverless::Function Properties: Handler: functions/getFoo.handler Events: GetFoo: Type: Api Properties: Path: /foo/{id} Method: GET Metadata: # Duplicated esbuild … Read more

Expecting: CERTIFICATE REQUEST while setting up an intermediate certificate

I’m trying to setup a PKI based on a CA root and CA intermediary. I have scripts/generateServerCARoot.sh which creates the CA root: ##!/usr/bin/env bash set -xeuo pipefail CA_DIR=server/generated/ca-root REQ_DIR=server/requests mkdir -p $CA_DIR touch $CA_DIR/ca.index openssl rand -hex 16 > $CA_DIR/ca.serial mkdir “$CA_DIR/certs” “$CA_DIR/newcerts” “$CA_DIR/private” openssl genpkey -algorithm RSA -aes-256-cbc -out “$CA_DIR/private/ca.key.pem” -pkeyopt rsa_keygen_bits:4096 chmod 400 … Read more

Error encountered while automatically updating the cache when creating a CompanyQuote component

I’m working on a project where I’ve created a backend script to handle GraphQL requests. I have a file called company.graphql that contains a query to retrieve information about a company and its related quotes. Here’s a snippet of the script query Companie($id: String!) { companie(id: $id) { attachmentId companieQuotes { attachmentId } } } … Read more

Unable to write pid file mosquitto (TLS configuration)

For the past couple days I`ve been trying to solve this issue. Been running on Ubuntu 22.04 and Mosquitto 2.0.11. my mosquitto.conf file: pid_file /run/mosquitto/mosquitto.pid persistence false persistence_location /var/lib/mosquitto/ log_dest file /var/log/mosquitto/mosquitto.log include_dir /etc/mosquitto/conf.d listener 8883 cafile /etc/mosquitto/certs/ca.crt certfile /etc/mosquitto/certs/server.crt keyfile /etc/mosquitto/certs/server.key require_certificate false tls_version tlsv1.2 I`ve tried to change the ownership of the folder … Read more

.NET Core application cannot access to symbol link that created by mklink from other machine (Windows)

My application runs on two servers, we need to share resource/assets among them by creating another Windows machine. However, our application (running on .NET Core 2.1) cannot access to shared resource. Please help me, thanks. Tried to config symbol link by mklink. Grant permission “My application run on two servers, we need to share resource/assets … Read more