Questions tagged [springboot]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
90 views

Why does Spring-boot no longer load PKCS11-NSS certificates after update to 3.1.0?

After updating from spring-boot version 3.0.8 to 3.1.0 or 3.1.1 the application no longer loads the SSL certificates from the store. Configuration: FIPS compliant config as described in: https://...
Jeremy McDaniel's user avatar
0 votes
0 answers
443 views

Delombok Lombok cannot find symbol location: package javax.annotation after spring boot 3 and jdk17 migration

I've migrated my project to spring boot 3. Once I've done it project stopped working. cannot find symbol [ERROR] symbol: class Generated [ERROR] location: package javax.annotation [ERROR] -> [...
vivan sai's user avatar
0 votes
0 answers
445 views

Kafka Issue : Request joining group due to: group is already rebalancing

The pod is not getting restarted, No ongoing rebalance to finish consumer group experiences no frequent changes, but still rebalancing issue occurs. is there anything wrong with the configuration? ...
Spartan's user avatar
  • 101
0 votes
1 answer
1k views

Docker compose - flyway not connecting to mysql

I'm trying to dockerize a microservice built with Spring Boot that uses the MySQL database and Flyway. When I run the microservice through the IDE, the flyway manages to connect with MYSQL, but when I ...
Gustavo Cruz's user avatar
1 vote
1 answer
492 views

How HTTP 1.1 and HTTP 2.0 works in Spring Boot?

What are the differences in flow changes for HTTP 1.1 and HTTP 2.0 for Spring Boot applications ?
Souptik Sarkar's user avatar
0 votes
0 answers
78 views

Nginx - subfilters behind another VM

I've got 2 VM : VM1 is front with urlvm1.site url and is accessible by users VM1 has spring security & spring gateway VM2 is back and is not directly accessible by users. it has urlvm2.site url. ...
ralberich's user avatar
0 votes
0 answers
584 views

Downloading large excel file in angular using xlsx library(net::ERR_INCOMPLETE_CHUNKED_ENCODING 200)

I am doing an excel file download using angular + springboot and the api returns application/json file. The transfer-encoding:chunked is always enabled and i see responses return http 1.1 . I posted ...
user2868864's user avatar
0 votes
2 answers
1k views

K8S limit number of starting pods at the same time

I have problem with K8S, I have about 30 microservices (java running on spring boot). Microservices needs a lot of CPUs only for startup because there are a lot of libraries. When I deploy all ...
marek's user avatar
  • 3
1 vote
0 answers
411 views

Configuring different apps in Nginx using same domain

I have an ecommerce application running 2 applications. App 1 (example1.com) is written as react.js and built as a normal html site. Nginx is serving this on port 7000. App 2 (my.example1.com) is a ...
Bobj's user avatar
  • 11
0 votes
0 answers
570 views

How to pass https requests to http in nginx

I have a self signed certificate, I deployed my front end react app on nginx which is served by using HTTPS but front end is making call to back-end spring-boot app over HTTP and when i check inspect ...
Satish Lamak's user avatar
0 votes
2 answers
550 views

handle tls when domain points to subdomain in cname record

We are trying to point domain to sub doamins *.com --> *.zeineldin.link for example https://www.asrevo.com --> https://petman.zeineldin.link We need to support all domains, not a few domains for ...
ashraf revo's user avatar
1 vote
0 answers
2k views

I am getting "During an aborted deployment, some instances may have deployed the new application version" error while deploying my app

I am getting Action execution failed Deployment completed, but with errors: During an aborted deployment, some instances may have deployed the new application version. To ensure all instances are ...
Amimul Ehsan Rahi's user avatar
0 votes
1 answer
1k views

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 ...
Lucas's user avatar
  • 1
0 votes
0 answers
787 views

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("...
Asher's user avatar
  • 1
0 votes
0 answers
517 views

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 ...
Ragesh Pikalmunde's user avatar
1 vote
0 answers
244 views

How to diagnose a quietly dying Java server application?

We run a cluster of Java Spring server apps on AWS EC2 instances running Centos 7. We have health monitors on them, and occasionally an alarm will go off and we'll find that the Java process has ...
CryptoFool's user avatar
2 votes
1 answer
7k views

maxConnections or maxThreads on tomcat

Looking for advice - I've read the other two threads about this in my server.xml file I have two places where maxThreads are defined in two places: <Executor name="tomcatThreadPool" ...
RebRy's user avatar
  • 21
4 votes
0 answers
6k views

Enabling HSTS header on AWS Application Load Balancer

We have a Spring Boot application behind an AWS Application Load Balancer. The load balancer terminates SSL before forwarding coming requests to our application and also redirects 80 port to 443 port. ...
berkay.ozturk's user avatar
0 votes
0 answers
269 views

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 ...
Facty's user avatar
  • 111
0 votes
1 answer
437 views

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 ...
코드짜개's user avatar
0 votes
3 answers
2k views

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 ...
RtiOne Kkarkov's user avatar
0 votes
0 answers
261 views

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 ...
Van Le's user avatar
  • 1
1 vote
0 answers
433 views

Easy AWS deployment of Spring Boot application with reasonable SSL costs

I am experimenting with deploying a standalone, executable Spring Boot JAR on AWS with SSL support. I tried using Elastic Beanstalk, which created an EC instance. It uses Route 53 with an Elastic Load ...
Garret Wilson's user avatar
-1 votes
1 answer
524 views

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 [...
Elyass Attachi's user avatar
1 vote
1 answer
3k views

Seeing Java Spring Boot logs from AWS Elastic Beanstalk in AWS CloudWatch

I'm reading the documentation but I'm not understanding simple Java application log access via CloudWatch from AWS Elastic Beanstalk. I have a simple Java Spring Boot Application deployed on Elastic ...
Garret Wilson's user avatar
1 vote
0 answers
79 views

Simple site access analytics with Spring Boot on AWS Elastic Beanstalk

I have successfully set up a Spring Boot application, deployed as an executable JAR, on AWS Elastic Beanstalk. It has a load balancer with a maximum of 2 (for now) EC2 instances and uses HTTPS. It ...
Garret Wilson's user avatar
0 votes
1 answer
215 views

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 ...
Vilius's user avatar
  • 1
0 votes
0 answers
698 views

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 ...
user3065205's user avatar
2 votes
2 answers
9k views

CORS blocked by No "Access-Control-Allow-Origin" on dockerized Angular frontend app and Spring Boot dockerized backend

I have built an Angular app and created a docker image, which makes it run on an Nginx server (once it is run). For the backend, I have a dockerized implementation as well. While trying to access the ...
Leo's user avatar
  • 21
0 votes
1 answer
1k views

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 ...
lingar's user avatar
  • 101
2 votes
2 answers
4k views

Are connections to databases http based or tcp based

are connections to Database http based or tcp based. Are jdbc of spring-boot application to postgressql http method connections based or tcp based connections.
charlie's user avatar
  • 31
1 vote
0 answers
802 views

Google App Engine keeps restarting Spring Boot application all the time for no apparent reason

I have a very simple Java 11 Spring Boot application running on Google's App Engine. The problem is that the instance running the app keeps restarting very very often. Sometimes as often as 70 times ...
Robert Gruber's user avatar
0 votes
1 answer
607 views

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 ...
lesnar's user avatar
  • 101
0 votes
1 answer
364 views

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 ...
ehirwa's user avatar
  • 1
0 votes
1 answer
157 views

Get system information Response collected by Monit into Springboot/java

I have configured Monit version 5.6 on an Ubuntu 14.04 server. There are few check like filesystem usage, remote host connectivity check and service monitoring. Now, when I check the web gui of monit, ...
Chag Vaibhav P's user avatar
0 votes
1 answer
357 views

Google App Engine tomcat error with Spring Boot

First of all, I am a real newbie using any cloud services, and this is the first time that I have asked something here, therefore I am apologizing in advance if anything I may say is wrong. I'm ...
Nick Fabrizzi's user avatar
0 votes
1 answer
2k views

How to enable SSL for a web application and HTTP API running in AWS?

I've held off on writing this question because I'm not sure if it belongs on ServerFault or StackOverflow. I have a React web application hosted in an AWS S3 bucket and using CloudFront. I have a ...
jafwatt's user avatar
  • 103
0 votes
1 answer
5k views

Running multiple instances of same springboot application

I've a spring-boot application which i want to deploy on OVH public cloud. I need t achieve the goal of deploying multiple instances of the same application, and each instance has to have its own ...
Mssm's user avatar
  • 101
0 votes
1 answer
242 views

Deploy a spring boot application in jboss fuse

I have created a spring boot application consisting of a rest API. I want to deploy it in jboss fuse karaf so that i can call it from a remote angular application. Kindly help me how to configure this ...
debjyoti chakraborty's user avatar
1 vote
1 answer
491 views

If I'm redirecting port 80 to 443 with ssl set up in nginx and proxy to my application on port 5000 do I still need to set up Spring boot to use SSL?

Sorry if this should go into stackoverflow or security, it's kind of a middle of the road question. I have nginx on an elastic beanstalk instance which is set to redirect 80 to 443 and is proxying ...
LiamRyan's user avatar
  • 135
1 vote
1 answer
538 views

Finding reason for Spring Boot application failure

My Spring Boot application stopped working a couple of days ago and I'm trying to figure out why so I can prevent it in the future. This is the first time this happens so I don't really know where to ...
darksmurf's user avatar
  • 111
-1 votes
1 answer
796 views

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 ...
SAgRCASM's user avatar
0 votes
0 answers
3k views

Cannot connect to websocket

When I tried to connect to spring boot web socket from android stomp client, it is not connecting and the catalina log shows Handshake failed due to invalid Upgrade header: null Tomcat server is ...
Sony's user avatar
  • 103
1 vote
1 answer
7k views

how to access external mysql from docker

I have an springboot java app inside docker that needs to access an external mysql. How can I configure this? Is it possible to define it inside Dockerfile? I am now to docker so I assume this ...
simonC's user avatar
  • 195
1 vote
1 answer
212 views

Azure application gateway spring boot app VM scaleset

I have a setup of Azure VM scaleset, each Linux VM running java spring boot app on a specific port (8070). I need to use a domain with https on application gateway and use Linux VMSS with java app as ...
anudeep's user avatar
  • 111
1 vote
0 answers
3k views

org.springframework.amqp.AmqpTimeoutException

My spring boot application throws connection timeout error, and it is never able to connect. The other interesting problem I see is, it is never picking up the connection timeout property defined in ...
sfigo's user avatar
  • 11
0 votes
1 answer
841 views

Degraded performance with NGINX SSL reverse proxy

We have a Java Spring Boot application that is behind a NGIX reverse proxy. Everything works as expected when the using HTTP - the API responds times are quit fast. Once the protocol is switched to ...
spa's user avatar
  • 303
1 vote
0 answers
350 views

Hyper-v dynamic memory issue with java spring boot

I have a developer who wrote several applications in Java spring boot and I have a VM configured with dynamic memory. His application stops working intermittently and he's pointing the finger at the ...
Brad's user avatar
  • 250
0 votes
2 answers
5k views

Spring endpoints work with IP but not domain name. How to fix?

I have a Spring Boot application deployed in a VPS. I packaged it as a war and deployed it through the Tomcat manager (<IP>:<Tomcat port>/manager/html). It works if I access the endpoints ...
GuiRitter's user avatar
  • 109
1 vote
2 answers
354 views

How can I find disk space usage?

I have a Ubuntu docker run on CentOS host in Google Cloud. The docker runs a spring-boot application used for image uploading to S3. I do not save anything on local disk. Every 2 weeks or so, I have ...
Hanan Bareket's user avatar