402 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
155
views
How to detect on server when a http client disconnects
We're doing some heavy computing on our server and want to make sure we don't do too much work if the client has already lost interest and closed the connection. According to AI there are two ways to ...
0
votes
2
answers
2k
views
Blazor Server: Fix "Could not reconnect to the server" problem
I've developed an application in .NET 8 Blazor Server (deployed to Azure with a SignalR service). The user often starts to enter some info (often, quite a lot of info) in a form, gets pulled onto some ...
0
votes
1
answer
113
views
Frequent Network Error (ConnectionError) During WandB Run Initialization
I am having issue with have WANDB as it disconnect frequently in a non-deterministic manner.
below is the description.
Error Message:
WandB run initialized successfully. Run ID: f782c567-5e34-4544-...
0
votes
1
answer
46
views
Python discord bot ctx.guild.voice_client.disconnect() not working
@bot.command(pass_context = True, help="make bot leave vc")
async def leave(ctx):
if ctx.voice_client:
await ctx.guild.voice_client.disconnect()
await ctx.send('...
1
vote
0
answers
202
views
Network (failed)net::ERR_FAILED with larger data responses
I have a service calling my spring boot application endpoint that expects an Observable with responseType: 'blob' as 'json'. The spring application returns HttpServletResponse's outputstream. If the ...
1
vote
0
answers
301
views
How to disconnect usb programmatically on Raspberry PI pico?
I need the equivalent for the pico as Serial.end() is for an arduino, any ideas?
Project info:
My pico waits for the usb connection to come alive (computer listening through stty, cat etc.)
captures ...
0
votes
0
answers
362
views
How do I detect client disconnect from a long poll to a Spring endpoint
I'm trying to call an endpoint in a Spring application thats using @RestController and @GetMapping. It's doing a long running loop then sending back a ResponseEntity.ok(). The problem I'm encountering ...
0
votes
1
answer
853
views
MS Graph Times Out
I have a call to MS Graph that works perfectly... we're trying to pull a report and export it. Everything works fine, but when we put it into PROD we have 17k users to evaluate which likely will take ...
1
vote
1
answer
71
views
How can boost signal disconnect signal?
As boost_offical_web_site says, boost::function is not comparable。but I am doubt about the usage:
#include <boost/signals2.hpp>
class B {
public:
~B() {
printf("B dealloc:%p\n&...
1
vote
0
answers
116
views
esp32 wifi/ota failing when using HC-SR04 sensor
I'm testing an esp32 to control a cat flap. Big cats can pass but it closes to keep a new kitten indoors. An antenna reads the cat's chip, and servos hold the flap shut for going out. But there's ...
0
votes
0
answers
51
views
What is the best way to disconnect user after exactly 5min of inactivity on Android?
I am trying to implement a way of automatically disconnect user after EXACTLY 5 minutes of inactivity on my Android App.
I was using AlarmManager before, but since the last changes on Android 13 & ...
0
votes
0
answers
445
views
Android Bluetooth Stack randomly disconnects from my BLE device
My java code runs on Quest 2 (Android 12.0) and subscribes to the gatt cadence characteristic of a cadence sensor. The code runs pretty well except that Bluetooth stack randomly disconnects from the ...
0
votes
1
answer
169
views
Run script after a SSH client disconnects
I am trying to research for possible solutions on how to execute a script on FreeBSD after a SSH client disconnects. I have found numerous solutions, but all but one actually deal with a different ...
0
votes
0
answers
193
views
Sockets, server disconnection and connection reset error in Kotlin
I have created a Python server that communicates with an Android client using sockets. Now I'm trying to implement error handling in case of server disconnection.
Initially, the client is connected to ...
0
votes
0
answers
144
views
How to resolve this "A different connection with alias `default` was already registered"
File "C:\Users\Admin\iwo-core\venv\lib\site-packages\mongoengine\connection.py", line 426, in connect
raise ConnectionFailure(err_msg)
mongoengine.connection.ConnectionFailure: A different ...