sup guys, weird issue im having. (flutter app is sending this get command)
var response = await http.get(getUserDetailUrl);
im noticing with this call, i will get the correct information back right away but then eventually i will trigger a connection timeout error on the ide? even though the information was successful.
"_ClientSocketException (Connection timed out)"
on postman i get a code 200 back instantly and no other error
@CrossOrigin
@GetMapping("/getplanters")
public JSONObject getUser(@RequestParam String userId) throws InterruptedException, ExecutionException {
return userService.getPlanters(userId);
}```
this is my java server endpoint