Comments (6)
Can you try curl to http://pd0:2380 see if you can connect to it?
from client-rust.
from inside the tikv container I can ping pd0
when calling curl pd0:2380
I get 404 page not found
from client-rust.
from inside the tikv container I can ping
pd0
when calling curlpd0:2380
I get404 page not found
Hm, just want to make sure, are you running your code inside docker as well? If you are code is running on host environment can you double check you can access http://pd0:2380 from there?
from client-rust.
Aaaah I understand, I thought i could reach the cluster through it's ip. how do I change this behaviour? so that I can access it only through IP to have only DB running in docker, but running the client in host?
from client-rust.
Aaaah I understand, I thought i could reach the cluster through it's ip. how do I change this behaviour? so that I can access it only through IP to have only DB running in docker, but running the client in host?
The docker-compose file was probably not designed for client to access TiKV directly. I personally have never used it. Docker should be able to expose multiple ports or port ranges. In addition you also need to make sure the host pd0 can be resolved to an valid address from your host environment.
from client-rust.
thanks
from client-rust.
Related Issues (20)
- The rawkv scan performance of is severely degraded. HOT 4
- It's better to provide `native-tls` and `rustls` switch. HOT 1
- For backoff, is is a good idea to use [backon](https://github.com/Xuanwo/backon/) instead?
- prometheus should be optional and hide under feature gate HOT 5
- Support tarpc another rpc HOT 1
- Add vendor support so users don't need to install PROTOC
- Panic when connecting to newly initialized database HOT 2
- Cant run two consecutive transactions HOT 4
- perf comparision between tikv golang client and client-rust? HOT 2
- test: IT fail after change cargo test to cargo nextest HOT 2
- feature: introduce Dependabot HOT 1
- feature: introduce cargo make to replace makefile
- why remove the mock-tikv? HOT 1
- transaction: `Transaction` would be hanged in dropping. HOT 1
- Get timestamp has no response
- Flaky integration test `txn_cleanup_2pc_locks`
- InvalidReqRange with `scan_reverse`
- tikv-client raising "PD cluster failed to respond" error while connect with tls
- Adding reverse scan API for raw client HOT 1
- support BatchCommands interface for cleint-rust
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 client-rust.