Questions tagged [loopback]

In telecommunications, loopback, or a loop, is a hardware or software method which feeds a received signal or data back to the sender.

In telecommunications, loopback, or a loop, is a hardware or software method which feeds a received signal or data back to the sender. It is used as an aid in debugging physical connection problems. As a test, many data communication devices can be configured to send specific patterns (such as all ones) on an interface and can detect the reception of this signal on the same port. This is called a loopback test and can be performed within a modem or transceiver by connecting its output to its own input. A circuit between two points in different locations may be tested by applying a test signal on the circuit in one location, and having the network device at the other location send a signal back through the circuit. If this device receives its own signal back, this proves that the circuit is functioning.

1273 questions
5
votes
3 answers

Send email with Loopback 4

i am kinda new to Loopback and Typescript so I have no idea how to implement this. I am trying to call Nodemailer directly, but so far I keep getting an error. My Mailer service: import { SentMessageInfo } from 'nodemailer'; import Mail =…
djamaile
  • 695
  • 3
  • 12
  • 30
5
votes
2 answers

UnrecognizedClientException: The security token included in the request is invalid when calling AWS.SecretsManager

I'm implementing AWS ClientManager to obtain secret variables saved in AWS. I had initial implementation like below: // Load the AWS SDK var AWS = require('aws-sdk'), region = "us-west-2", secretName = "secretName", accessKeyId =…
Mani
  • 2,391
  • 5
  • 37
  • 81
5
votes
4 answers

loopback REST API filter by nested data

I would like to filter from REST API by nested data. For example this object: [ { "name": "Handmade Soft Fish", "tags": "Rubber, Rubber, Salad", "categories": [ { "name": "women", "id": 2, "parent_id": 0, …
JanuszO
  • 1,140
  • 12
  • 25
5
votes
0 answers

Loopback | command line argument for loading data

For my Loopback project, I need to load a huge data set from csv. Boot script takes nearly 30s to complete the data load. so its not an option. My plan is to load data only when loop back is started with some argument. like node . --load-data or…
Sheik797
  • 435
  • 4
  • 16
5
votes
2 answers

Loopback 4/MongoDB - Foreign key not converted to ObjectID

I am trying to set up an hasMany relation using a Mongo database. I have followed the guide to create an hasMany relation in the loopback 4 documentation (https://loopback.io/doc/en/lb4/HasMany-relation.html) and tryied to set differents properties…
FabienCH
  • 51
  • 5
5
votes
1 answer

Loopback example using INADDR_LOOPBACK does not work

I am trying to set a loopback socket in C but nothing works. I'm trying to make a function that opens a socket with the loopback address ,send data to socket and from another function read the data but nothing works. I believe that I don't know how…
JmRag
  • 1,443
  • 7
  • 19
  • 56
4
votes
1 answer

JAVA: Detect self when broadcasting UDP Packets

I have a thread that is Broadcasting UDP packets. I have another thread that is listening for the same broadcasts. This is so my application can detect other instances on the network. However I have a problem that when one instance broadcasts it…
Jack Allan
  • 14,554
  • 11
  • 45
  • 57
4
votes
1 answer

How do I make a model property unique in loopback 4 mongoDB?

I want to make the name field unique in loopback 4 models. I am using MongoDB datasource. I tried using index: { unique: true } which does not seem to work. I read loopback documentation about validatesUniquenessOf() validation but I do not clearly…
Ritik Jain
  • 68
  • 1
  • 4
4
votes
1 answer

127.x.y.z but not 127.0.0.0?

I was looking around on this question, when I found this comment. My home is 127.1.2.3, ha! In fact everything that starts with "127." resolves to the local host. – TToni Jan 27 '11 at 23:30 I tried this by going to http://127.1.2.3 and…
Lakshya Raj
  • 1,669
  • 3
  • 10
  • 34
4
votes
2 answers

Wordpress / Site Health / The REST API Error / Loopback Error

how are you? I am getting two errors when I use the native WordPress site health feature. Your site could not complete a loopback request Loopback requests are used to run scheduled events, and are also used by the built-in editors for themes and…
4
votes
0 answers

How to enable Loopback 4 API Versioning?

How to enable API versioning on IBM Loopback 4 framework, where each API version will have different JSON response.
user3004499
  • 189
  • 3
4
votes
0 answers

Loopback getting error The transaction is not active

I have created custom router path for save data in model (common/models/quotation.js). I want transaction also for this. So I've created transaction like this. quotation.save = async(reqBody, include, cb) => { try { await…
Achala Shaliya
  • 63
  • 1
  • 1
  • 5
4
votes
0 answers

Loopback required the Node Cluster module, which is incompatible with Passenger

I am trying to deploy my loopback service. But I am encountering a problem where i am unable to access it. When trying to access I get the following error message: Trace: You required the Node Cluster module, which is incompatible with Passenger, a…
Marc Rasmussen
  • 19,771
  • 79
  • 203
  • 364
4
votes
2 answers

Is there any way to integrate Auth0 to Loopback 4?

I'm working in a project with Loopback version 4, a Node.js framework. I need to implement authentication with Auth0. However, it seems Auth0 is not compatible with version 4 of Loopback. I couldn't find any documentation, or even a tutorial, about…
blackjack
  • 1,081
  • 2
  • 13
  • 30
4
votes
2 answers

How to specify minimum and maximum length for fields in Loopback 4?

I have defined the property in my model as follows: @property({ type: 'string', required: true, min: 2, max: 255 }) name: string However, when I send the field consisting of 1 character, it didn't throw me the error. Can anybody…
Axel
  • 4,365
  • 11
  • 63
  • 122