23,001 questions
-2
votes
0
answers
12
views
How to remove revoked or expired certificates from Google Certificate Authority Service
Please let me know steps to remove revoked or expired certificates from Certificate Authority Service.
Also what is the maximum limit on number of certificates which can be created under a CA Pool ?
...
0
votes
0
answers
30
views
How to avoid stopping all processes that started by one systemd service when OOM happens?
In my env, some child processes are started by one systemd service, if there is something wrong with one child process and OOM is triggered by it, all the processes (all the child processes and the ...
0
votes
0
answers
33
views
Azure Service Bus message silently fails when i send to queue
I have a listener that processes a message from a queue and then sends it to my response queue.
It seems to not through any errors, but the second message seem to silently fail because it never goes ...
0
votes
1
answer
74
views
How to notify a custom Windows service after user login completes (C/C++)
I would like to notify my custom service program after a user logs in and successfully inputs their password. How can I implement this functionality?
I have found the following registry configuration: ...
0
votes
0
answers
98
views
How can I check if a Windows service is running on a remote server in VB.net?
Colleagues, I have a client-server application. Within the server, I've created a Windows service that uses an ODBC connection via a DSN.
Sometimes when I check the server, I see that the Windows ...
0
votes
1
answer
72
views
Getting 404 error when trying to access custom classification model in new Document Intelligence Studio
I've created a custom classification model in the new Azure Document Intelligence Studio and I have trained it with my relevant documents. I am now trying to access this trained model in my c# service ...
1
vote
1
answer
112
views
AudioFocus requests ignored on Samsung devices (Android 15, targetSdk 35) even with foreground service
When I updated my app’s targetSdk to 35, I noticed an issue on Samsung devices running Android 15:
Even if my app is running a foreground service, AudioFocus requests are ignored whenever the app ...
0
votes
1
answer
73
views
Declaring SqlConnection fails service to start [closed]
I've created a Winforms program that checks values in a plc and write it to a database on an event. This works fine.
Then I translate the Winforms app to a service, the reading from the plc works but ...
0
votes
1
answer
130
views
How to make a WPF program launched by a background process gain focus? [closed]
I have a custom-styled WPF application that is launched by a background process, which in turn is started by a Windows Service. The service runs in Session 0, while the background process and WPF app ...
0
votes
1
answer
90
views
AccessibilityService not reconnecting (onServiceConnected not called) after app restart on Android 15
I have an AccessibilityService that works fine right after requesting the permission.
When the user grants Accessibility permission, the service connects and onServiceConnected() is called.
At this ...
-1
votes
1
answer
52
views
How to inject a service in the configuration file in Angular
I have below piece of code which return the array of the input fields:
import { MyService } from "my-service";
export const INPUTCONFIG = (myService: MyService) => [
inputsFactory<...
0
votes
0
answers
62
views
OutputDebugString doesn't work in windows services [duplicate]
I have always used OutputDebugString for debugging my C++ programs and it always works perfectly. I am developing a Windows service and I find that when the service is running, OutputDebugString doesn'...
3
votes
3
answers
88
views
powershell - using -Confirm as a parameter, how do I know if the user has said 'yes'
I have this simple script in powershell.
# Save the non-running services to a variable
$nonrunningServices = Get-Service -Name "*sql*" | Where-Object { $_.Status -ne 'Running' }
#Check the ...
0
votes
0
answers
29
views
generateForegroundServiceDidNotStartInTimeException Service Android [duplicate]
I build an Android application in Kotlin. This application start some service where application is started.
Sometimes I receive the following error when I start the application (but this error appair ...
2
votes
0
answers
93
views
Decrease Boot Time of Service
My android application, which is a device owner, has a service and starts on BOOT_COMPLETED event to block access to certain apps. However, it takes some time in seconds after loading of UI. Users ...
0
votes
0
answers
52
views
Get Package Name of Foreground Application in Android App for Smart TVs
Application Scope
I'm developing android app for smart TV that should look for foreground applications. If it one of the application declared in TV_SETTINGS_PACKAGES array a PIN code is pop up. The ...
-1
votes
1
answer
63
views
How can I create a Windows service as current user? [closed]
I want to install a Windows service as current user because it needs access to the graphical layer which is not accessible to the SYSTEM user.
1
vote
1
answer
120
views
BootReceiver Service Not Starting Automatically on TCL Smart TV After Boot
I've developed a service that should start automatically when Smart TV is started but it is not starting. I've also made my application Device Owner using ADB command. Following is the code of the ...
1
vote
1
answer
44
views
How do .NET Core services interact with Systemd to identify that service is frozen?
I developed a .NET 6.0 service that executes functions that execute in a fixed interval of time. I used timers to start functions.
But I detect sometimes that the service stops to execute this ...
0
votes
1
answer
93
views
ForegroundServiceDidNotStartInTimeException when using startForegroundService() with FusedLocation API
I have one issue in foreground service and I am unable to replicate that issue, so if any one found similar issue can you please help me to solve this issue.
Below is the issue reported in Firebase ...
1
vote
1
answer
76
views
UnknownDependenciesException [Error]: Nest can't resolve dependencies of the MysqlAgendaRepository (?)
Im getting "[ExceptionHandler] UnknownDependenciesException [Error]: Nest can't resolve dependencies of the MysqlAgendaRepository (?). Please make sure that the argument "AgendaRepository&...
0
votes
0
answers
69
views
docx2pdf can't create PDF when Node App runs in Service
When running docx2pdf in my node app as a service (I am using NSSM/Non Sucky Service Manager but have tried other service methods as well for running my application), it fails to convert to PDF.
I am ...
0
votes
0
answers
44
views
How to start foreground service in Android 34
I build an Android application using Kotlin and Java. In this app I build some Service. Now with Android 12 I have no issue. From new device if I try to start this service, I receive the following ...
0
votes
0
answers
98
views
Start WinSW service on startup
I have a Rest API application that will be deployed as a service on a Windows machine. I have already made the service work using WinSW, but I need the service to be started automatically on Windows ...
0
votes
1
answer
311
views
How to collect and return multiple validation errors from service layer in .NET 8 instead of throwing exceptions?
if (!hasAnyPhoneNumber)
throw new NotEmptyException("PhoneNumber", MessageHelper.GetMessage(ErrorMessageName.NOT_EMPTY));
I haven't tried any specific solution yet, but my goal is to ...
2
votes
0
answers
69
views
How to launch two apps repeatedly on android programatically
I am trying to create a code for "min android 8.1 API 27" that can run/open two other apps from background repeatedly over some period of time, but until now i was not able to make it to ...
0
votes
1
answer
65
views
Is it possible to bind and unbind a bound service via button click in Android?
Can I safely perform bindService() and unbindService() when a button is clicked inside an Activity or Fragment, instead of binding in onStart() and unbinding in onStop()?
Will it cause any issue if ...
0
votes
1
answer
39
views
ContactServiesPlugin.Java issue
I am using contacts_service version 0.6.1
The problem is when I created an apk for my project there was one warning stating that ContactsServicePlugin.java uses or overrides a deprecated API.
Also I ...
0
votes
0
answers
46
views
What is the right way to update WallpaperService
I'm trying to set a video as a live wallpaper, with some user-configurable options such as changing the video path, wallpaper scaling type (Crop or Fit to Screen), and background color. The code below ...
3
votes
2
answers
97
views
Monobot.ai – how to include an interaction link in a Send Email action?
I’m building a voice bot on Monobot.ai that takes passenger-transport bookings.
After the caller provides their contact info and trip details, I want the bot to:
send a confirmation email to our ...
0
votes
1
answer
97
views
Single entity manager for multiple services in Spring Boot?
I have a Java project, let's call it 'magical' which defines some JPA entities, and manipulates them vía some services using Eclipselink.
One of those entities is the entity User.java. So, the '...
0
votes
0
answers
81
views
Create MediaSessionService and customize Media Notification
I am making a music player Android App with Kotlin and building UI with Jetpack Compose, using ExoPlayer as the player. Currently I'm using Hilt to inject ExoPlayer directly into the ViewModel ...
0
votes
0
answers
61
views
TextView in android studio service doesn't update/goes back to its initial text when service is shut down and called again
I have a service in my code that is meant to display a different brain teaser question each time the service is called on. I can get the question to change on my service, but when I have the service ...
0
votes
0
answers
65
views
Prevent Windows Service from being removed automatically during MSI uninstall
I’m using an MSI installer (built with the WiX ServiceInstall element) to deploy a Windows Service. The service installs correctly, and I start it manually in the Services.
When uninstalling the MSI ...
2
votes
1
answer
82
views
Windows services and logging frameworks and AppVerifier
I have a Windows service that is written in C++. I recently became aware of the Microsoft Application Verifier Tool that can be used to catch not so obvious memory leaks and other such problems.
I've ...
0
votes
0
answers
60
views
Accept call in foreground service?
using sip_ua package for voip
To keep the connect alive when the app is closed created a foreground service and registered a sip user and it works fine able to receive the incoming call notification ...
0
votes
0
answers
15
views
Android Service Client to listen for Service Server response
I am trying to implement a Bounded Service and Client architecture in Android as an Echo Service where a service echoes out whatever the Client sends while appending a echo. prefix.
I am able to get ...
0
votes
0
answers
48
views
Foreground service auto-restarting on OnePlus 10R (OS 14) even when app is killed, not reproducible on Samsung devices
I'm experiencing unexpected behavior with a foreground service on OnePlus 10R (Android 14). The service restarts on its own even after the app is killed (swiped from recents). This does not happen on ...
0
votes
0
answers
52
views
Separating Firebase logic from business logic in Swift using Service-Repository pattern
I have this function in my TaskService:
func deleteTask(task: DistributionTask) async throws -> Void {
let (tasksCollection, userTasksIdsField, teamTasksIdsField) = task.isCompleted
...
0
votes
2
answers
112
views
Running a java application via a systemd service doesn't see additional directories (Rocky Linux)
I am trying to make a local machine restart to the new version control build of my java application. Let me run you through the flow:
.jar file is uploaded via ssh to a directory
a service is running ...
0
votes
1
answer
178
views
Aspire 9.1 Service returns Unhealthy, but Aspire Dashboard does not reflect the state
For testing purposes, I changed the code line in the aspire template project
from
.AddCheck("self", static () => HealthCheckResult.Healthy(), ["live"]);
to
.AddCheck("self&...
0
votes
1
answer
75
views
c# Start app from Windows service, only if it is not already running
Main application name is SysDemConnect. This application is started from desktop shortcut. When application is running, user can press button Install Windows Service.
Windows service is to start ...
0
votes
0
answers
57
views
How to properly organize (User)Service: DTO, Include and exception handling?
For context: I use Mapster and Serilog.
public class UserService(IUserRepository repository, ILogger logger)
{
public async Task<TDto?> GetByIdAsync<TDto>(int userId, Func<...
0
votes
0
answers
38
views
Service's onBind() behavior when binding multiple clients in Android
The documentation for onBind() says:
You can connect multiple clients to a service simultaneously. However, the system caches the IBinder service communication channel. In other words, the system ...
0
votes
0
answers
35
views
Kong api gateway - One service on two hardware units with localhost and remote ip in URLs
We have following scenario which fails with kong api gateway:
Service1 has an endpoint named “endpoint1” which gives hardware specific value in response.
We have say 2 hardware units (H1 and H2) inter-...
0
votes
1
answer
55
views
Postgres: service start but endless loop into log file start-recovery-crash-restart-recovery-crash etc
on windows server postgres 10 service start but does not accept connection and into log file I see that is in loop.
If I start postgres from command line (same command as the service but with start ...
0
votes
1
answer
64
views
start a process in the host from docker container [duplicate]
As title suggests, I was interested into making a process start directly on the host, called inside a Docker container.
Do you have any idea on how I could accomplish this goal?
To be more precise, ...
0
votes
0
answers
30
views
Postman not stopping execution when there are 2 service methods
I have a reg form. I am using it to save a regform entity and InfoDM entity. InfoDM is called in regProcessService
@PostMapping("/regprocess")
public String regProcessController(@RequestBody ...
1
vote
1
answer
182
views
How to show in UML a RESTful API call to fetch data [duplicate]
How do I show the relation between a class named ApiService with method named fetchDataFomAPI() and a class named Student.
Can I link them directly ? an aggregation between the two classes Student-(...
0
votes
0
answers
96
views
Media Projection permission missing
In my application I have a Screenshot service that I run as a foreground service. But no matter what I tried, I couldn't get permission for media projection. And if when I run the activity to request ...