Comments (8)
+1
I analysed it a lil bit, and it looks like v2.14.0 was the last working version. Although i'm unable verify on 2.14.1, because it seems it contains yet another bug - it tries to inject sidecar with docker.io/datawire/tel2:latest
, which is incorrect reference.
from telepresence.
The OSS doesn't have such limitation.
Can you give us more informations on your service / deployments ?
from telepresence.
Sure. The deployment is istio with multiple ports:
ports:
- containerPort: 10029
name: http-test
protocol: TCP
- containerPort: 10030
protocol: TCP
- containerPort: 10031
protocol: TCP
- containerPort: 10084
protocol: TCP
- containerPort: 10067
With multiple services exposing them:
service-1 ClusterIP 10.12.22.17 <none> 10029/TCP 50d
service-2 ClusterIP 10.12.22.18 <none> 10030/TCP 50d
...
When I do the first intercept, everything looks good:
telepresence intercept service-1 --port 10029:10029
While the first intercept is in place, I try to add a new intercept:
telepresence intercept service-2 --workload foo-services --port 10030:10030
I get the above-mentioned error.
Either i am using the cli in a wrong way, or there should be something wrong. Referring to this post the user had similar issue.
from telepresence.
When you say that the deployment is istio, do you mean it has an istio side car ? Or that you're intercepting istio itself ?
from telepresence.
Just to add to this, you wouldn’t be intercepting Istio, nor an Istio sidecar. Instead you would intercept whatever app container you’re trying to debug. What does your entire deployment look like - if you can share that we can tell you what Telepresence can and can’t intercept.
from telepresence.
@knlambert yes, the app has Istio side car.
from telepresence.
same here
telepresence intercept java-server-mobile --workload java-server --service=java-server-external --port 1035:1035 --mechanism=tcp --mount=false
Using StatefulSet java-server
Intercept name : java-server-mobile
State : ACTIVE
Workload kind : StatefulSet
Destination : 127.0.0.1:1035
Service Port Identifier: tcp-1035
Intercepting : all TCP connections
so far, so good
telepresence intercept java-server-native --workload java-server --service=java-server-internal --port 1036:1036 --mechanism=tcp --mount=false
telepresence intercept: error: connector.CreateIntercept: Failed to establish intercept: intercept in error state AGENT_ERROR: Conflicts with the currently-served intercept "995b76f2-74c9-4cd7-8748-e716449d32d3:java-server-mobile"
See logs for details (1 error found): "/Users/lky/Library/Logs/telepresence/connector.log"
If you think you have encountered a bug, please run `telepresence gather-logs` and attach the telepresence_logs.zip to your github issue or create a new one: https://github.com/telepresenceio/telepresence/issues/new?template=Bug_report.md .
backend and client on v2.16.1
java-server-internal
ports:
- name: tcp-1034
nodePort: 31570
port: 1034
protocol: TCP
targetPort: web
- name: tcp-1035
nodePort: 30240
port: 1035
protocol: TCP
targetPort: mobile
java-server-internal
ports:
- name: tcp-1036
port: 1036
protocol: TCP
targetPort: native
- name: tcp-1037
port: 1037
protocol: TCP
targetPort: remote
it used to work on previous versions
from telepresence.
The OSS agent is only capable of handling one intercept at a time. It's a deliberate limitation. Please upgrade to the Developer plan if you want multiple simultaneous intercepts on a workload.
from telepresence.
Related Issues (20)
- "Connection refused" with Telepresence 2.19.3 HOT 4
- Can't start telepresence HOT 3
- telepresence helm install outputs success on potential error HOT 1
- Telepresence on Windows can not connect HOT 1
- telepresence intercept: error: found no service with a port that matches a container in pod HOT 11
- Building without "-tags embed_fuseftp" still errors out due to "pattern fuseftp.bits: no matching files found" HOT 2
- Report the use of components with vulnerabilities in telepresence HOT 2
- how to disable traffic agent
- Why do I keep getting reminded about identity verification? HOT 6
- telepresence connect: error: HOT 1
- chart: add option to supply own cert bundle HOT 9
- Intercept with --service option not working when multiple service matching selector HOT 13
- Connecting in Windows WSL with --docker option does not succeed HOT 1
- ReportMetrics failed errors HOT 2
- not able to use telepresence with m3 chip HOT 1
- Provide Homebrew release of OSS version "tel2oss" of Telepresence HOT 1
- Unable to install and run telepresence inside a docker container HOT 7
- [MacOS] Telepresence opens many AWS auth request tabs in the browser even while the computer is asleep HOT 4
- allowConflictingSubnets not recognised in laptop config.yml HOT 2
- DNS Errors after connecting with telepresence on Windows HOT 20
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from telepresence.