Questions tagged [springboot]

59 questions
0
votes
0 answers

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 running behind apache and the apache server runs on…
Sony
  • 103
  • 1
  • 7
0
votes
1 answer

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 HTTPS, API response times decrease considerably. In…
spa
  • 303
  • 2
  • 9
0
votes
2 answers

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 (:/manager/html). It works if I access the endpoints by using the VPS' IP, such as http://:
GuiRitter
  • 109
  • 2
  • 8
0
votes
0 answers

How to stop Spring Boot project running on Tomcat server to re-depeloy it-self each time I change static resources?

I have Maven Spring Boot Project that I configured to run on Tomcat 8.5 server. I run and develop it in Eclipse Java EE IDE. pom.xml is:
0
votes
1 answer

Proper method for reloading a Spring (Tomcat) application?

Not sure if this is a ServerFault or StackOverflow question. I'm posting it here since it's more of a server-related thing. We're running a SpringBoot application (Java) running in a Tomcat container on an Ubuntu server (as a REST API). As expected,…
mwieczorek
  • 121
  • 3
0
votes
0 answers

Redirect issues with Spring Boot on AWS Elastic Beanstalk

I've just put a new Spring Boot application on aws via elastic beanstalk. The app has its own static website that it hosts. When I run it locally I can go to localhost:5000 and it redirects me to localhost:5000/index.html which then rewrites the url…
CorayThan
  • 130
  • 1
  • 1
  • 7
0
votes
1 answer

Spring boot client and cloud config server HTTP authentication

I'm configuring a spring boot 1.5.4 client with spring cloud config server 1.3.1. The client and the server works without any authentication. However, I'm trying to configure HTTP Basic authentication which is not working. It continues to be…
Chida
  • 2,491
  • 1
  • 17
  • 29
0
votes
0 answers

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] -> [Help 1] I've looked into target and see that…
0
votes
0 answers

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? This is the Kafka…
Spartan
  • 101
  • 2
0
votes
1 answer

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 run the command sudo docker compose up there is…
0
votes
0 answers

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. VM2 has nginx and superset, which we're trying to…
0
votes
0 answers

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 this on stackoverflow but haven't gotten any…
0
votes
2 answers

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 microservices at the same time it will create really big…
marek
  • 3
  • 2
0
votes
0 answers

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 element in browser it is showing…
Satish Lamak
  • 51
  • 1
  • 3
  • 7
0
votes
2 answers

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 example like github when you point cname to your repo…
ashraf revo
  • 101
  • 3