Comments (3)
seems like a problem between the banker and the bidder. can you check that the banker address is set to the right place.
this: https://github.com/rtbkit/rtbkit/blob/master/rtbkit/examples/http_config.json#L25-L27
and this: https://github.com/rtbkit/rtbkit/blob/master/rtbkit/sample.bootstrap.json#L47
should be the same ip and port.
I'll go ahead and make a fix so that nobody else encounters this issue.
All you need to do is set the port to 9985
or just update your master to: 427109f
from rtbkit.
@mikeburkat : My sample.launch.json
looks like:
{
"name": "banker",
"root": ".",
"path": "build/x86_64/bin/banker_service_runner",
"arg": [
"-B", "rtbkit/sample.bootstrap.json", "-r", "localhost:6379"
],
"log": true
},
{
"name": "augmentor",
"root": ".",
"path": "build/x86_64/bin/augmentor_ex_runner",
"arg": [
"-B", "rtbkit/sample.bootstrap.json"
],
"log": true
},
{
"name": "router",
"root": ".",
"path": "build/x86_64/bin/router_runner",
"arg": [
"-B", "rtbkit/sample.bootstrap.json",
"--bidder", "rtbkit/sample.http_bidder-config.json"
],
"log": true
},
{
"name": "post-auction",
"root": ".",
"path": "build/x86_64/bin/post_auction_runner",
"arg": [
"-B", "rtbkit/sample.bootstrap.json",
"--win-seconds", "3600.0",
"--auction-seconds", "900.0",
"--bidder", "rtbkit/sample.http_bidder-config.json"
......
My http-config
inside the examples
folder looks like:
{
"ACS": {
"Ip": "127.0.0.1",
"Port": 9986,
"Config": {
"account": ["hello", "world0"],
"externalId": 123,
"bidderInterface": "iface.http",
"bidProbability": 0.5,
"creatives": [
{
"id": 1,
"width": 300,
"height": 250
},
{
"id": 2,
"width": 300,
"height": 250
}
]
}
},
"Banker": {
"Ip": "127.0.0.1",
"Port": 9985,
"Budget": 500000,
"Period": 300000
},
"Bidder": {
"Port": 7654,
"Win": 7653,
"Event": 7652
}
}
Lastly, my sample.bootstrap.json
:
....
"portRanges": {
"logs": [16000, 17000],
"router": [17000, 18000],
"augmentors": [18000, 19000],
"configuration": [19000, 20000],
"postAuctionLoop": [20000, 21000],
"postAuctionLoopAgents": [21000, 22000],
"banker.zmq": [22000, 23000],
"banker.http": 9985,
"agentConfiguration.zmq": [23000, 24000],
"agentConfiguration.http": 9986,
"monitor.zmq": [24000, 25000],
"monitor.http": 9987,
"adServer.logger": [25000, 26000]
}
}
I feel problem might in the mock exchange? When I do:
$ ./build/x86_64/bin/mock_exchange_runner
FD limit too low: 1024/4096 smaller than recommended 65535
FD limit raised to: 4096
starting worker 0
sending to localhost:12339
I do tcpdump port 12339
or sudo tcpdump -i lo
, I can see:
$ sudo tcpdump -i lo
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on lo, link-type EN10MB (Ethernet), capture size 65535 bytes
03:35:38.914743 IP localhost.39314 > localhost.12339: Flags [S], seq 3669368984, win 43690, options [mss 65495,sackOK,TS val 42238385 ecr 0,nop,wscale 7], length 0
03:35:38.914758 IP localhost.12339 > localhost.39314: Flags [R.], seq 0, ack 3669368985, win 0, length 0
03:35:39.015024 IP localhost.39316 > localhost.12339: Flags [S], seq 3669368987, win 43690, options [mss 65495,sackOK,TS val 42238410 ecr 0,nop,wscale 7], length 0
03:35:39.015033 IP localhost.12339 > localhost.39316: Flags [R.], seq 0, ack 3669368988, win 0, length 0
03:35:39.115278 IP localhost.39317 > localhost.12339: Flags [S], seq 3669368990, win 43690, options [mss 65495,sackOK,TS val 42238435 ecr 0,nop,wscale 7], length 0
03:35:39.115290 IP localhost.12339 > localhost.39317: Flags [R.], seq 0, ack 3669368991, win 0, length 0
Still getting:
rtbAgentConfiguration:
agentConfigurationService OK 2016-06-28 01:19:11 Alive
rtbBanker:
PostAuctionLoop.slaveBanker OK 2016-06-28 01:19:11 Sync with MasterBanker: OK
router.slaveBanker OK 2016-06-28 01:19:11 Sync with MasterBanker: OK
rtbDataLogger:
data_logger OK 2016-06-28 01:19:12 Alive
rtbPostAuctionService:
PostAuctionLoop ERR 2016-06-28 01:19:11 WinLoss pipe: ERROR, CampaignEvent pipe: ERROR, Banker: OK
rtbRequestRouter:
router OK 2016-06-28 01:19:11 Connection to PAL: OK, Banker: OK
from rtbkit.
Issue is fixed on latest master.
from rtbkit.
Related Issues (20)
- Question on installing on ubuntu 14
- Error compiling on ubuntu 14 HOT 15
- which is stable version ? HOT 3
- Error on Protobuf ubuntu 14 HOT 3
- Post Auction service crashes when agent configuration payload is wrong
- No bid price for go plugin to httpinterface HOT 3
- Proposal to make three pull requests HOT 2
- Trouble with zookeeper HOT 1
- error 3) Building RTBkit. file not found HOT 4
- ubuntu 14. zookeeper/zookeeper.h: No such file or directory HOT 4
- Problem with test suite - variadic_hash_test
- how to setup filters in augmentor
- rtbkit static linking.
- error: ‘kEmptyString’ is not a member of ‘google::protobuf::internal’
- Vague installation Instructions HOT 1
- Makefile installation has gone stale
- Can i run this demo stack on local (sufficient disk space available) say windows 8 or 10 ? HOT 6
- Is Exchange connector available for triton Digital's audio ad exchange, a2x
- Possible exposed AWS Key HOT 1
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 rtbkit.