kmerz / graveio

where your code stays alive
BSD 2-Clause "Simplified" License
8 stars 11 forks source link

bury seems to be broken #53

Closed kmerz closed 10 years ago

kmerz commented 10 years ago
echo "foo" | bury -dv
I, [2014-01-27T18:04:49.229024 #14602]  INFO -- : Getting http://fox:80/p/new
Received unexpected response #<Net::HTTPGatewayTimeOut:0x001fbb528cf5c8>
basti1508 commented 10 years ago

Can you give a bit more information please. Which host is fox? Or do you just want the error to be catched?

h5b commented 10 years ago

@basti1508 "fox" refers to the specific machine here running graveio.

If you're running with the provided Vagrant instance the needed burry.rc should have been configured for user "vagrant".

$ cat ~vagrant/.buryrc
default:
  :host: 192.168.10.10
  :port: 3000
h5b commented 10 years ago

Apropos, i wasn't able to reproduce the mentioned problem.

basti1508 commented 10 years ago

@h5b Me neither. Maybe it was a connection problem. But we should think about if we want to catch errors a bit more gracefully....

h5b commented 10 years ago

@kmerz Any updates regarding the issue?

kmerz commented 10 years ago

[z421:/mount/blink/home/kmerz][13:49]$ ruby -v && echo "bury test" | bury ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-openbsd] Recived unexpected response #Net::HTTPGatewayTimeOut:0x000ce0bf9ab918

z402:/data/git/kmerz/gz/center/gz[13:50]$ ruby -v && echo "bury test" | bury ruby 1.9.3p484 (2013-11-22 revision 43786) [i386-openbsd] http://fox.genua.de:80/p/388

Flowm commented 10 years ago

Hmm that's weird, still can't reproduce the issue:

fmaurach@z421: ~ $ ruby -v && echo "bury test" | bury ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-openbsd] http://fox.genua.de:80/p/394

Checked and used the identical host, configfile and bury script.

kmerz commented 10 years ago

Perhaps it is my proxy setting? Will check that later.

kmerz commented 10 years ago

[z421:/mount/blink/home/kmerz][10:50]$ unset {http,ftp,https}_proxy [z421:/mount/blink/home/kmerz][10:50]$ echo "test" | bury http://fox.genua.de:80/p/396

kmerz commented 10 years ago

I think we can ignore this one. This is a user error :8ball: