Skip to content

Instantly share code, notes, and snippets.

@gotoAndBliss

gotoAndBliss/.rb Secret

Created July 19, 2017 09:28
Show Gist options
  • Save gotoAndBliss/299c3c95d6008baac88c755fd79b3ad0 to your computer and use it in GitHub Desktop.
Save gotoAndBliss/299c3c95d6008baac88c755fd79b3ad0 to your computer and use it in GitHub Desktop.
ॐ > DEBUG_EM_PROXY=1 ./bin/invoker start /Users/peanut_butter/Sites/whisper.me/invoker.ini
You can enable OSX notification for processes by installing terminal-notifier gem
Starting process - whisper waiting for 1 seconds...
whisper : Warning! PATH is not properly set up, '/Users/peanut_butter/.rvm/gems/ruby-2.1.5@whisper/bin' is not at first place.
whisper : Usually this is caused by shell initialization files. Search for 'PATH=...' entries.
whisper : You can also re-add RVM to your profile by running: 'rvm get stable --auto-dotfiles'.
whisper : To fix it temporarily in this shell session run: 'rvm use ruby-2.1.5@whisper'.
whisper : To ignore this error add rvm_silence_path_mismatch_check_flag=1 to your ~/.rvmrc file.
whisper : Using rack adapter
whisper : DEPRECATION WARNING: Support for Rails < 4.1.0 will be dropped. (called from <top (required)> at /Users/peanut_butter/Sites/whisper.me/config/application.rb:5)
whisper : Thin web server (v1.6.3 codename Protein Powder)
whisper : Maximum connections set to 1024
whisper : Listening on 0.0.0.0:9000, CTRL+C to stop
[[:connection,
"GET / HTTP/1.1\r\nHost: love.whisper.dev\r\nConnection: keep-alive\r\nUpgrade-Insecure-Requests: 1\r\nUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\r\nAccept-Encoding: gzip, deflate\r\nAccept-Language: en-US,en;q=0.8\r\nCookie: _braidio_session=479dd1f87bdc7f7d581744b1bdd8183a; timezone=Europe%2FBerlin\r\n\r\n"]]
[["7b5a1280-4e92-0135-2ae9-20999b0d3beb", :conn_complete]]
[[:connected]]
[["7b5a1280-4e92-0135-2ae9-20999b0d3beb", :unbind, nil]]
[[:unbind_backend, "7b5a1280-4e92-0135-2ae9-20999b0d3beb"]]
[[:unbind, :connection, nil]]
[[:connection,
"GET /favicon.ico HTTP/1.1\r\nHost: love.whisper.dev\r\nConnection: keep-alive\r\nUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36\r\nAccept: */*\r\nAccept-Encoding: gzip, deflate\r\nAccept-Language: en-US,en;q=0.8\r\nCookie: _braidio_session=479dd1f87bdc7f7d581744b1bdd8183a; timezone=Europe%2FBerlin\r\nCache-Control: no-cache,no-store,must-revalidate,max-age=-1\r\n\r\n"]]
[["7b5d6af0-4e92-0135-2ae9-20999b0d3beb", :conn_complete]]
[[:connected]]
[["7b5d6af0-4e92-0135-2ae9-20999b0d3beb", :unbind, nil]]
[[:unbind_backend, "7b5d6af0-4e92-0135-2ae9-20999b0d3beb"]]
[[:unbind, :connection, nil]]
[[:connection,
"GET /favicon.ico HTTP/1.1\r\nHost: love.whisper.dev\r\nConnection: keep-alive\r\nUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36\r\nAccept: image/webp,image/apng,image/*,*/*;q=0.8\r\nReferer: http://love.whisper.dev/\r\nAccept-Encoding: gzip, deflate\r\nAccept-Language: en-US,en;q=0.8\r\nCookie: _braidio_session=479dd1f87bdc7f7d581744b1bdd8183a; timezone=Europe%2FBerlin\r\n\r\n"]]
[["7b89ea50-4e92-0135-2ae9-20999b0d3beb", :conn_complete]]
[[:connected]]
[["7b89ea50-4e92-0135-2ae9-20999b0d3beb", :unbind, nil]]
[[:unbind_backend, "7b89ea50-4e92-0135-2ae9-20999b0d3beb"]]
[[:unbind, :connection, nil]]
[[:connection,
"GET /favicon.ico HTTP/1.1\r\nHost: love.whisper.dev\r\nConnection: keep-alive\r\nUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36\r\nAccept: */*\r\nAccept-Encoding: gzip, deflate\r\nAccept-Language: en-US,en;q=0.8\r\nCookie: _braidio_session=479dd1f87bdc7f7d581744b1bdd8183a; timezone=Europe%2FBerlin\r\nCache-Control: no-cache,no-store,must-revalidate,max-age=-1\r\n\r\n"]]
[["7db7b5a0-4e92-0135-2ae9-20999b0d3beb", :conn_complete]]
[[:connected]]
[["7db7b5a0-4e92-0135-2ae9-20999b0d3beb", :unbind, nil]]
[[:unbind_backend, "7db7b5a0-4e92-0135-2ae9-20999b0d3beb"]]
[[:unbind, :connection, nil]]
@gotoAndBliss
Copy link
Author

gotoAndBliss commented Jul 19, 2017

This was produced after trying to navigate to https://love.whisper.dev

My invoker.ini :

[whisper]
directory = /Users/peanut_butter/Sites/whisper.me
port = $PORT
command = bash -lc "rvm ruby-2.1.5@whisper do bundle exec thin start --ssl -p $PORT"

Which returns

Application not running
Invoker did not get any response. Please check if the application is running.

@iffyuva
Copy link

iffyuva commented Jul 19, 2017

@gotoAndBliss I don't see any relay_from_backend entries. Can you check logs once again please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment