example client fails
DifferentialOrange opened this issue · 1 comments
DifferentialOrange commented
Prerequirements:
tarantoolctl rocks install http 2.0.1
tarantoolctl rocks install tracing
Run:
tarantool formatter.lua
,
tarantool publisher.lua
in separate terminal window,
tarantool client.lua
in separate terminal window.
Last one fails with
LuajitError: client.lua:85: Print string error: {"status":595,"reason":"Couldn't connect to server"}
fatal error, exiting the event loop
while tarantool formatter.lua
still logs
started
entering the event loop
GET /format?helloto=world
tarantool publisher.lua
logs only
entering the event loop
DifferentialOrange commented
Seems like the reason is missing httpd:start()
in publisher.lua
app.init()
in README