1,260 questions
1
vote
0
answers
73
views
Has anyone else experienced significant harmonic distortion with WASAPI loopback?
I am using WASAPI loopback for real time audio visualization, and I am seeing some pretty significant distortion. When I play back a 25Hz tone from Audacity (and other programs) and record the samples ...
0
votes
0
answers
35
views
Usrp E320 Source to Sink Block Loop
We are using GNU radio with USRP E320 on radioconda (Windows) and we are working on a basic project. But we have an issue.
We want to receive RF signals and then transmit them, so we connect USRP ...
0
votes
0
answers
91
views
Chrome sending wrong Origin header on 127.0.0.1
TL;DR:
When a frontend web page is served from http://localhost:5173, sending a CORS request to http://127.0.0.1:8000 results in an incorrect Origin header being sent:
Expected Origin header: Origin: ...
0
votes
1
answer
72
views
Does Linux detect TCP loopback optimization?
I know that on Linux and many other operating systems, loopback TCP interfaces are a special case: checksums are disabled, data is atomically copied from one process to the next, entire sections of ...
0
votes
0
answers
25
views
when run UT on loopback application getting node-preload not found error
I am using loopback Nodejs framework in my project and Mocha and Chai for unit testing when I do npm run fulltest for run Ut it giving me error node-preload module not found.
Node-preload is build in ...
0
votes
1
answer
64
views
How to Share High-Rate Data from LabVIEW to Other Programs on the Same Windows Machine?
I need to transfer data between two different programs. I have an embedded controller based on FPGA and Linux RT, which transmits data over network streams proprietary to National Instruments to a ...
0
votes
0
answers
162
views
STM32 F4 I2C loopback test
I have a STM32 f429zi disco board and I want to test I2C protocol.
I use I2C1 as master and I2C2 as slave but it can't work.
Code will get stuck at "while(!I2C_CheckEvent(I2C1,...
0
votes
1
answer
504
views
Read from audio output in PyAudio through loopbacks [Python record system output]
I'm writing a program that records from my speaker output using pyaudio. I am on a Raspberry Pi. I built the program while using the audio jack to play audio through some speakers, but recently have ...
1
vote
0
answers
308
views
PM2 cluster mode with CPU 0% consuming a lot of memory with no traffic
I have a LoopBack application that runs in cluster mode using PM2. One instance serves as the primary with active schedulers, while the other instances act as replicas to handle background jobs that ...
1
vote
0
answers
122
views
FDCAN Loopback mode in stmcubeide
So I was implementing FDCAN External loopbak mode in STM32H7A3ZIT6Q NUCLEO. Clock configuration: HSI is 64MHz and fdcan frq is 50Mhz and I have done the parameter calculations accordingly.The code is ...
3
votes
1
answer
166
views
Can I use Windows SDK's IN6_IS_ADDR_LOOPBACK, et. al., despite no documentation?
On Linux, netinet/in.h "shall define the following macros that test for special IPv6 addresses." This includes such macros as IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK, ...
0
votes
1
answer
121
views
How to inject middleware provider into loopback sequence
I'm following documentation here and I want to write a middleware in loopback to log all requests.
I write this Middleware provider:
@injectable(
asMiddleware({
group: 'log',
upstreamGroups: ...
4
votes
1
answer
719
views
Unable to debug office.js add-ins on Windows using Visual Studio Code without admin privilege
I created a Word Add-in using Yeoman generator and try to set up my development environment with VSC on Windows 10. When I start command
npm start or
npx office-addin-debugging start ./manifest.xml,
...
-1
votes
1
answer
631
views
"GENERAL FAILURE" ping 127.0.0.1 after `route delete` and `route add` restoring [closed]
alt spelling: https://forums.tomshardware.com/threads/restart-software-loopback-interface.2880183/
is there a way to restart Software Loopback Interface without restarting windows ?
to reproduce:
...
1
vote
0
answers
191
views
Create a ADB loopback in Android
I have to create an application that can perform adb operations on the user's device without an adb server running on a desktop machine.
I stumbled upon ADB loopback, it consisted of adding a VPN/WIFI ...
1
vote
1
answer
503
views
Sending/Receiving UDP (loopback) Packets in C++ not working
I am trying to follow this tutorial on how to send UDP packages in C++.
Unfortunately I cannot get it to work.
I tracked loopback traffic with Wireshark on port 30001, but it did not display any ...
0
votes
0
answers
177
views
How to deploy LoopBack 4 application in vercel or other host?
I maked one simple project using loopback 4, but deploy didn't work in vercel. How can I make it work???
Deploy
OBS: The visual setup its work, but the routes and explorer not.
Visual Image
Explorer ...
0
votes
0
answers
415
views
Why am I getting a CORS error when attempting to fetch data from my Loopback server hosted on AWS despite having set the origin to "*"?
Why do I get a CORS error when attempting to fetch data from my loopback server hosted on AWS, despite having set the origin to "*"?
I am trying to fetch data from my remotely hosted ...
0
votes
1
answer
198
views
Loopback Interceptor values are over written from other request
I am working with loopback interceptor to use its value in the controller function.
from the moment I implemented interceptor is all i know that every user requests have different instance of ...
0
votes
1
answer
123
views
Loopback `include` generates multiple queries instead of one join query
I have two models Main & Trans (one to one association)
import {Entity, hasOne, model, property} from '@loopback/repository';
import {Trans, TransWithRelations} from '.';
@model({
settings: {...
0
votes
1
answer
176
views
Loopback join relation without selecting relation
I'am trying to build a query with loopback 4 with relation between 2 entities
customer.model.ts:
@model()
export class Customer extends Entity {
// id, name properties
@hasMany(() => Order)
...
0
votes
1
answer
35
views
.net publish applicationUrl issues (ubuntu vm)
i have some problems trying to publish an .net core webapi on ubuntuServer on local VM
my problem is, when i publish my webapi application the applicationUrl dont change for the correct address, see ...
1
vote
0
answers
128
views
Loopback 4 keep alive when datasource error
I use the Loopback 4 framework in my app service. In my app service, I have a main datasource and 2 more external datasources (SQL server). Sometimes the external datasources are unavailable and the ...
0
votes
0
answers
44
views
How do we get the response code as the response of an api
For example, I am sending a POST request(http://localhost:5600/api/Abc) using postman, now after completion of this, some response I will get in the body of response, this response mainly contain all ...
0
votes
1
answer
233
views
how to change the response of api in loopback, how to change in js file corresponding to a json model
I have a model, using postman I am sending request to this model, and in response I am getting the complete record(suppose 25 columns I have), so in response I am getting 25 columns back. I want to ...
-1
votes
1
answer
398
views
Implementing socket.io in loopBack 4
I have tried socket.io in node JS and it works fine. When I tried to integrate socket.io in loopback 4 it is not working as expected. I surfed the problem in google as well as in the lb4 documentation ...
3
votes
2
answers
857
views
react-admin useGetIdentity return only the fullname, id is undefined avatar is undefined
my app is based on tutorial of React-admin and loopback 4 as a backend
I'm trying to get the id of the logged in user, the login mechanisms works well but when i try to access the id of the logged in ...
0
votes
1
answer
483
views
Process requests and validating API Response for correct data in Python
I want to send a bulk of requests using requests.futures library in python.
The problem is some of the requests are getting Server Error in API response with 200 ok status code.
I need to implement a ...
1
vote
1
answer
382
views
Mapping nested device mapper mounts back to their physical drive
Looking for a reliable (and hopefully simple) way to trace a directory in an lvm or other dm mounted fs back to the physical disk it resides on. Goal is to get the model and serial number of the drive ...
0
votes
1
answer
276
views
Loopback findone function
I am using loopback on server side of my application , to fetch and validate a data from database I'm using findOne method which is having a callback function. I wanted to get run the callback ...
5
votes
0
answers
2k
views
Replaying pcap on loopback [closed]
I have a set of pcap files containing UDP traffic from two hosts, and have to perform some analysis on this traffic on a regular basis.
Ideally, I would want to avoid having to frequently setup local ...
-1
votes
1
answer
124
views
How to sum nested objects and get a new object in typescript
I have 2 Objects Set_1 and Set_2. Inside their, two key are there in both Key_1 and Key_2. Inside those Key_1 and Key_2, there are Sub Keys(Sub Keys are same for Both Objects) which I want to add and ...
0
votes
1
answer
65
views
Inject rest router in controller
I need a route who return all my API routes in an array.
I'm trying to inject rest router to use the method "list" but I get this error:
The key 'rest.router' is not bound to any value in ...
0
votes
1
answer
451
views
Java socket only use loopback
I have tried to connect my laptop to another laptop (on the same network, both using Windows 10) using java socket.
Here is the client code :
Socket SocketServIAChat;
try
{
SocketServIAChat = new ...
0
votes
1
answer
351
views
Mailjet e-mail is empty when attaching a file to it
I have this bit of code that creates a calendar for a specific delivery, and then attaches it to an e-mail to be send. The problem is, when I attach the .ics file, the template breaks (no text, no ...
0
votes
1
answer
2k
views
How to open port 22 on azure Kubernetes service for the Loopback Ip 127.0.0.1
How we should open port 22 on aks loopback IP.
We are trying to do telnet on loopback IP using port 22 which is working fine on any Linux VM but on AKS we are getting the error Connection closed.
0
votes
2
answers
434
views
Execute Multiple Raw SQL Statements in Loopback 4 Using execute()
Loopback 4 uses its own Juggler ORM. But I can't seem to find the required parameter to pass to be able to execute multiple SQL statements using the "execute" method.
await this.myRepository....
0
votes
1
answer
486
views
Citrix virtual loopback doesn't work with our .NET C# app
Overview
Our company is about to distribute a C# .NET / WPF app to customers who use Citrix XenApp (or whatever it has been renamed to). This app runs multiple times on one Citrix server, once for ...
0
votes
1
answer
917
views
loopback 4 : patch request blocked by CORS policy
I get an error when I send a patch request to my api (with loopback 4) , all the other request are working fine , i get error only on patch request .
error :
Access to XMLHttpRequest at 'url api' from ...
0
votes
1
answer
379
views
Loopback 4: How to Group By?
Is there a way in loopback 4 to group the results by a specific field?
I have been unable to find this in the documentation. Is custom SQL therefore the only way?
3
votes
1
answer
3k
views
Loopback CLI lb-clean command not found - linux
I have created a loopback 4 application using 'lb4 application_name' command. After running 'npm start', it shows 'lb-clean' command not found error. My node version is 16.13.2 and loopback version is ...
0
votes
2
answers
569
views
Loopback 4 - How to find the highest value in column (Like SELECT MAX(column) from Table)?
I want to find the highest value in a specific column of a specific table. It should be very simple.
this is the documentation of LB4 https://loopback.io/doc/en/lb2/Where-filter But I didn't find it ...
0
votes
0
answers
442
views
Docker application expose ALSA sound on TCP Ports
Hi I am fairly new to Docker and have about zero knowledge about sound on Linux.
I want to run an application in a docker container that always uses the default ALSA sound card as both input and ...
0
votes
1
answer
581
views
why is MongoDb wrapping ObjectId(' ') to a string
Mongodb keeps wrapping a string value with ObjectId(' ') in the database.
when I make a POST request with my endpoint, I get a 200 response and I see the correct value for my creatorID property that ...
0
votes
1
answer
1k
views
request body schema missing properties / why am I getting an incomplete schema model
Could someone help me understand how models in loopback4 work?
I defined a model that looks like this:
@model()
export class ProductViewConfig extends BaseConfig {
@property({
type: 'string',
...
0
votes
1
answer
285
views
Where & Count cant be implemented together in Loopback 4
I am implementing an API that can take out all the data where user_id: user_id
but it is not working please help me to implement the same.
here is my code of Follow_api controller:
@get('/follow-...
0
votes
2
answers
1k
views
python 3 loop back with if else elif
I'm trying to make a little game for my girlfriend to test my abilities with basic coding structures in python 3.10. I keep running into issues either with the program not running at all or getting ...
0
votes
1
answer
63
views
Loopback4 hasMany not return the link array
I just try to use the hasMany relationship according to the loopback4 documentation .but it's not working as expected.
My Bus Model =>
export class Bus extends Entity {
@property({
type: '...
0
votes
1
answer
126
views
import loopback repository of one controller to another controller
in test.controller.ts file
import {repository} from '@loopback/repository';
import {ProductRepository} from '../repositories';
export class TestController {
constructor(
@repository(...
1
vote
1
answer
607
views
How can i log request.body in middleware sequence loopback 4?
Am new to loopback, am trying to console request.body in loopback 4 to view the incoming data, but if i print it it prints as undefined, i know i need to use body parser package here, but i can't able ...