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
8
votes
1 answer

Why can I mount one image on a loopback device, but not a second one on another inside a container?

I'm following Is it possible to mount an ISO inside a docker container? to get a test running inside Docker which is then to be used in CI. The script below is part of the test. The thing I don't get is why the first image mounts, but not the…
Kalle Richter
  • 8,008
  • 26
  • 77
  • 177
8
votes
1 answer

Loopback Email Connector not sending emails

I have a Loopback Application with a REST API. I want to make a REST API Enpoint /Email/sendEmail which sends an email. I did this tutorial: https://loopback.io/doc/en/lb3/Email-connector.html, but it's not working for me somehow. When I open…
BlockchainProgrammer
  • 1,999
  • 5
  • 20
  • 32
8
votes
2 answers

How to use Relay/GraphQL with Loopback?

Any working solutions of using Relay/GraphQL with Loopback? I guess a few things I'm considering are how to access the database (since I'm assuming going through the ORM wouldn't be possible) and how to leverage the api generators when using…
Detuned
  • 3,652
  • 4
  • 27
  • 54
8
votes
2 answers

Serial port loopback/duplex test, in Bash or C? (process substitution)

I have a serial device set up as loopback (meaning it will simply echo back any character it receives), and I'd like to measure effective throughput speed. For this, I hoped I could use time, as in time bash -c '...' where '...' would be some…
sdaau
  • 36,975
  • 46
  • 198
  • 278
8
votes
3 answers

linux: disable using loopback and send data via wire between 2 eth cards of one comp

I have a comp with 2 eth cards, connected with patch-cord (direct eth. cable from 1st to 2nd). The linux is installed, I want to send data from 1st network card to 2nd. And I want to force the packet to pass via cable. I can set up any ip on…
osgx
  • 90,338
  • 53
  • 357
  • 513
7
votes
0 answers

Loopback4 connect to Elasticsearch

How to connect loopback4 server app with Elasticsearch DB. I have tried with below reference links. but they have not explained for loopback4. And have did same implementation using below references but not able creating mapping properly to fetch…
indrasena
  • 101
  • 1
  • 7
7
votes
2 answers

Loopback 4: Upload multipart/form-data via POST method

I'm working in Loopback 4 and getting stuck in creating a POST method so that client can call this method and upload a multipart/form-data. I read some…
7
votes
2 answers

Configure Kafka to expose JMX only on 127.0.0.1

I'm struggling to configure Kafka's JMX to be exposed only on localhost. By default, when I start Kafka, it exposes three ports, whereas two of them are automatically bound to 0.0.0.0, meaning that they're accessible to everyone. I managed to bind…
Tobi
  • 31,405
  • 8
  • 58
  • 90
7
votes
1 answer

Loopback $owner doesn't works for findById

I would like to get some informations about my user with loopback. For that I created a "user" model related with "accessToken" model until now a POST on /user, a POST on /user/login and a POST on /user/logout is working. I added on…
Jonny
  • 71
  • 1
7
votes
2 answers

Loopback Find then update attribute or delete by id

Been trying to find samples usage for some of the static methods for a persistedModel in Loopback. https://apidocs.strongloop.com/loopback/#persistedmodel-prototype-updateattribute it just says: persistedModel.updateAttributes(data, callback) But…
Mark Ryan Orosa
  • 847
  • 1
  • 6
  • 21
7
votes
0 answers

Filter results in loopback change-stream

does Strongloop Loopback support filtering in change-streams? The following works for all model changes, but I am only interested in changes of parts of the model. Can I add filtering to the EventSource-URL? var src = new…
tdeer
  • 135
  • 1
  • 6
7
votes
0 answers

How to pass node v8 options to sl-pm?

We are using strongloop process manager for running my loopback app on production boxes, and using sl-deploy to deploy the code. We are facing the below issue:- FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory on googling…
Nishant
  • 3,614
  • 1
  • 20
  • 26
7
votes
3 answers

Microsoft Edge does not allow localhost loopback for websockets

I have web-site and desktop application, and I want to connect them by websockets. So my web-site tries to connect to wss://localhost:8080, for example. It works in IE11, but in "MS Edge" I have an error: Cross zone request is not allowed I have…
azaviruha
  • 896
  • 1
  • 7
  • 14
7
votes
1 answer

How could I capture wire shark traces on loop back interface?

How can I capture wireshark traces on the interface it is configured to capture the traces?
crusader
  • 181
  • 1
  • 1
  • 13
6
votes
1 answer

Pass SAML response from a Web App to the REST API for authentication?

We have a Web App using REST API. The REST API is based on Loopback and uses it's built-in token-based authentication. For the Web App we use forms based authentication over HTTPS, so the user has to enter his username and password which we then use…
Peter Liapin
  • 1,196
  • 9
  • 20
1
2
3
84 85