Spring API help
i've written my first API using spring (and really in general). I'm getting to the end stages of code writing and starting to move into practical testing for functionality. using postman's desktop app, i can hit 3 of 4 endpoints. this 4th one postman just hangs and does nothing. no errors from the app itself. i've tried throwing in some println's in the suspected class and nothing. i'm kinda at my wits end and not really sure what else i can be looking for. i did try dashing in some breakpoints and they just "ran" perfectly fine. nothing seems to be getting back in terms of a response being sent. project files here https://xgob.in/c01ushjg?file=ReplayController.java
6 Replies
⌛ This post has been reserved for your question.
Hey @DJ45X! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./closeor theClose Postbutton above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
can you paste the endpoint code here
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping.
Warning: abusing this will result in moderative actions taken against you.@DJ45Xstill relevant?
all relevant code is in the link i posted above
yes, apologies. i passed out last night lol
i did manage to figure out the reason for the hanging. in
ReplayParserService.java, the processBuilder had a argument for the binary that's being executed called --stdout. this was outputting 700k lines of json to standard out, which was causing a hang up. i've since removed this argument, and stumbled upon something new.💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping.
Warning: abusing this will result in moderative actions taken against you.