<Tim>
<Tim>
Explore posts from servers
JCHJava Community | Help. Code. Learn.
Created by <Tim> on 10/20/2024 in #java-help
Deploying Spring Boot application with Stomp over WSS using nginx
Thanks for trying it out and finding out about the 403 @dan1st | Daniel !! 😊
55 replies
JCHJava Community | Help. Code. Learn.
Created by <Tim> on 10/20/2024 in #java-help
Deploying Spring Boot application with Stomp over WSS using nginx
registry.addEndpoint("/websocket").setAllowedOrigins("*").withSockJS();
registry.addEndpoint("/websocket").setAllowedOrigins("*");
registry.addEndpoint("/websocket").setAllowedOrigins("*").withSockJS();
registry.addEndpoint("/websocket").setAllowedOrigins("*");
55 replies
JCHJava Community | Help. Code. Learn.
Created by <Tim> on 10/20/2024 in #java-help
Deploying Spring Boot application with Stomp over WSS using nginx
I just allowed any origin and pushed it, good enough 😅 I mean you have to be logged in to send anything to the websocket anyways
55 replies
JCHJava Community | Help. Code. Learn.
Created by <Tim> on 10/20/2024 in #java-help
Deploying Spring Boot application with Stomp over WSS using nginx
ok I fixed it xD
55 replies
JCHJava Community | Help. Code. Learn.
Created by <Tim> on 10/20/2024 in #java-help
Deploying Spring Boot application with Stomp over WSS using nginx
very weird
55 replies
JCHJava Community | Help. Code. Learn.
Created by <Tim> on 10/20/2024 in #java-help
Deploying Spring Boot application with Stomp over WSS using nginx
No, it worked in exactly this configuration for at least half a year without changes. I did multiple sessions of students playing the game in class last semester 🙈
55 replies
JCHJava Community | Help. Code. Learn.
Created by <Tim> on 10/20/2024 in #java-help
Deploying Spring Boot application with Stomp over WSS using nginx
Ok so I now gave up and reverted all changes. The websocket doesn't even work with ws:// now though 😭 certbot did something weird with my poor websockets
55 replies
JCHJava Community | Help. Code. Learn.
Created by <Tim> on 10/20/2024 in #java-help
Deploying Spring Boot application with Stomp over WSS using nginx
I will just leave my WebSocket and SpringSecurity Configs here, maybe someone sees something wrong with it 🙈 But I mean they worked fine for about a year now with ws://, just the ssl certificate making problems
55 replies
JCHJava Community | Help. Code. Learn.
Created by <Tim> on 10/20/2024 in #java-help
Deploying Spring Boot application with Stomp over WSS using nginx
Thanks for your help so far, I will look into it :)
55 replies
JCHJava Community | Help. Code. Learn.
Created by <Tim> on 10/20/2024 in #java-help
Deploying Spring Boot application with Stomp over WSS using nginx
oh no, Spring Security and Websockets/Stomp was already sketchy to setup in the first place 😭
55 replies
JCHJava Community | Help. Code. Learn.
Created by <Tim> on 10/20/2024 in #java-help
Deploying Spring Boot application with Stomp over WSS using nginx
No description
55 replies
JCHJava Community | Help. Code. Learn.
Created by <Tim> on 10/20/2024 in #java-help
Deploying Spring Boot application with Stomp over WSS using nginx
that's so weird. Maybe Spring Security has something to do with it
55 replies
JCHJava Community | Help. Code. Learn.
Created by <Tim> on 10/20/2024 in #java-help
Deploying Spring Boot application with Stomp over WSS using nginx
(the only errors are from 2h ago)
55 replies
JCHJava Community | Help. Code. Learn.
Created by <Tim> on 10/20/2024 in #java-help
Deploying Spring Boot application with Stomp over WSS using nginx
No description
55 replies
JCHJava Community | Help. Code. Learn.
Created by <Tim> on 10/20/2024 in #java-help
Deploying Spring Boot application with Stomp over WSS using nginx
click the mute icon at the browser tab xD I don't think there's another way yet, I should probably add that haha
55 replies
JCHJava Community | Help. Code. Learn.
Created by <Tim> on 10/20/2024 in #java-help
Deploying Spring Boot application with Stomp over WSS using nginx
yup, but you can't talk to the robot or do anything else, because that works only with the EventSystem in place
55 replies
JCHJava Community | Help. Code. Learn.
Created by <Tim> on 10/20/2024 in #java-help
Deploying Spring Boot application with Stomp over WSS using nginx
why does it show a 403 for you lol
55 replies
JCHJava Community | Help. Code. Learn.
Created by <Tim> on 10/20/2024 in #java-help
Deploying Spring Boot application with Stomp over WSS using nginx
wait yes
55 replies
JCHJava Community | Help. Code. Learn.
Created by <Tim> on 10/20/2024 in #java-help
Deploying Spring Boot application with Stomp over WSS using nginx
no, in the network tab view I can't see any errors. But I can check in the server logs again maybe
55 replies
JCHJava Community | Help. Code. Learn.
Created by <Tim> on 10/20/2024 in #java-help
Deploying Spring Boot application with Stomp over WSS using nginx
If you want, you can try it out yourself, I just created a new test user: https://sojourner-under-sabotage.se2.fim.uni-passau.de/ borman360
2b022767
55 replies