Questions tagged [springboot]

59 questions
0
votes
1 answer

Nginx patch request ends up with Invalid CORS request

It's simple set up. Three docker containers in same network. ReactJs - production build on nginx server Spring Boot Mysql GET, POST request works like a charm but when i try to use PATCH request i ends up with Invalid CORS request 2021/09/01…
Lucas
  • 1
  • 4
0
votes
0 answers

Apache Tomcat reject post request for more than 19KB and return 400 BAD REQUEST

Spring boot application deployed on apache tomcat 9 reject post request larger than 19kb. the bookController: @CrossOrigin(origins = "*", maxAge = 3600) @RestController @RequestMapping("/api/v1/book") @AllArgsConstructor public class BookController…
Asher
  • 1
  • 1
0
votes
0 answers

Let's Encrypt: SSL Certificate is valid for the Domain but not valid Specific Port (net::ERR_SSL_PROTOCOL_ERROR)

I am using VPS: Amazon EC2 and SSL Cert Provider: Let's Encrypt (through Certbot) I have seen some kind of a question but the answer is not useful for my situation. I have a domain api.example.com that is configured and fully functioning on an…
0
votes
0 answers

Centos8 java application as service

Background: We are running java springboot applications on Centos8 (for now...) as service but applications take some time to startup: flyway, DAO initialization... Actualy start of service can take about 7 minuts SystemD…
Facty
  • 111
  • 5
0
votes
1 answer

How can I connect My Domain and Spring-boot project?

my env : Linux, maven, AWS EC2, Spring boot I can see the main screen of the project when I connect to the Elastic IP of EC2. However, when I try to connect to the purchased .dev domain, I get an 403 error and Test Page of Apache. I think, maybe I…
0
votes
3 answers

CORS Error in Google App Engine on java server

I have two apps. Frontend(Angular) running on Firebase Backend Spring Boot (Java11) running on App Engine Got this error while trying to reach any endpoints in app engine "Access has been blocked by CORS policy: Response to preflight request doesn't…
0
votes
0 answers

Kubernetes pod return 401 with Keycloak Bearer header

I have the k8s cluster which ALB(ingress) --> (api service, keycload service) --> (api deployment, pod deployment). I use authorize code authentication to Keycloak and get the access token. But when we call the api service with keycloak accesstoken…
Van Le
  • 1
0
votes
1 answer

Spring application low performance when filtering data

I have created Spring application in app engine B2, I can see in logs that application takes 1s to complete data filtering(after wakening application up). When in my local machine it takes 10ms. Data size is really small and logic is not so…
Vilius
  • 1
  • 1
0
votes
0 answers

Spring Boot and stop by systemctl not working

My application uses Spring Boot 2.3.1.RELEASE, it is an executable jar that uses an Embedded Tomcat and is listening on port 10605. I deployed on CentOS Linux release 7.6.1810 (Core). I took the following steps: SPEEDYF.service…
0
votes
1 answer

Deploying React + Spring boot Rest + mysql on one cloud – is it possible?

I have finished by project coding, and now I want to launch it online. I need some consulting about my deployment process. At first I though that I will use the “free using” first year of AWS, but very soon I have understand that each little service…
0
votes
1 answer

Nginx und Tomcat For Spring and Angular App

I have Spring boot and Angular app in Tomcat Container deployed on Server. It works totally fine on localhost. Now I am trying to map my domain with the application. When I call my domain then API calls from Angular to Spring are not getting…
lesnar
  • 101
  • 1
0
votes
1 answer

Installing tomcat 9 on oracle linux having tomcat 7

I have a task to deploy a war file of a Springboot 2.2.4 therefore the oracle linux server i am using already contains tomcat 7, and springboot 2.2.4 is not compatible with tomcat7 I am getting an error of manager no classdef found, how can I…
ehirwa
  • 1
  • 1
-1
votes
1 answer

How to create and use same ssl certificate on RabbitMQ server and Spring Boot App?

can a single ssl certificate either from CA or self signed be used for RabbitMQ server and for Spring boot app? I have RabbitMQ server running on one machine and Spring boot App running on another machine. Client app communicates to RabbitMQ over…
SAgRCASM
  • 1
  • 1
-1
votes
1 answer

Google App Engine 500 internal server error

is there any way to solve this probleme but in my local m org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource…
1 2 3
4