icon

カラオケは行きたいよな

2017-06-04 07:25:45 zundaの投稿 zundan@mastodon.zunda.ninja
icon

キャッシュをクリアしなければいけない件はすでにIssueとして記録されていた。リリースノートに書かれますように

https://github.com/tootsuite/mastodon/issues/3505#issuecomment-305884125

icon

Merged master at defe4f9bc3407cde4d5b1918778b0754ef7f4970

icon

Mastodonのrake testしたいんだけどコンテナの外でやるのが一般的なんじゃろか?Dockerのどっかでできないじゃろか?

icon

Dockerfileのbundle installには--without test developmentとか書いてあるしね

icon

やーん。

$ npm install yarn
$ PATH=$PATH:$PWD/bin
$ yarn install
Yarn executable was not detected in the system.
Download Yarn at https://yarnpkg.com/en/docs/install

2017-06-04 10:25:18 zundaの投稿 zundan@mastodon.zunda.ninja
icon

Dockerがいじったツリー、991さんが持ってるファイルが散乱してたりなかなかの状況w

icon

nokogiriビルド (5分ぶり5回目)

icon

Dockerビルドマシンで直接rake specが走るようになりました

https://gist.github.com/zunda/aa6870d0f9f68e705d54d1fa882b0cc0

いやー大変w

Web site image
Mastodonのrspecを走らせられるようにする
icon

Streaming APIのかんさつ

- /web/timelines/publicから読み込まれた/api/v1/streaming/?access_token=********&stream=publicを別のタブから読もうとするとerror: "Error: Missing access token"になる
- /web/timelines/publicをリロードしてもaccess_tokenは変化しない
- クッキーを送らなくても読める
- Acceptリクエストヘッダは必要
- Sec-WebSocket-Versionリクエストヘッダは必要
- Upgradeリクエストヘッダは必要
- Sec-WebSocket-Keyヘッダは必要

icon

というわけで最小のcurlラインは下記のような感じ。

curl 'https://<ホスト名>//api/v1/streaming/?access_token=<トークン>&stream=public' -H 'Host: <ホスト名>' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Sec-WebSocket-Version: 13' -H 'Sec-WebSocket-Key: <キー>==' -H 'Upgrade: websocket’

ログインしていることを証明する必要はないんだねえ

icon

mstdn.jpではすでにリダイレクトができているとのこと https://github.com/tootsuite/mastodon/issues/2068#issuecomment-305960329 なんだけどソースコードどこよーw

Web site image
How to get STREAMING_API_BASE_URL from API? · Issue #2068 · mastodon/mastodon
icon

これが、

Jun 05 02:05:24 zundan-mastodon app/web.1: method=GET path=/api/v1/streaming format=html controller=ApplicationController action=raise_not_found status=404

こうなった!

Jun 05 02:09:39 zundan-mastodon app/web.1: method=GET path=/api/v1/streaming format=html controller=Api::V1::StreamingController action=index status=301 location=https://zundan-mastodon-streaming.herokuapp.com/api/v1/streaming?stream=user&access_token=<deadbeef>

icon

しばらく様子を見て問題がなさそうならPRにしちゃおう♪

2017-06-04 16:30:06 zundaの投稿 zundan@mastodon.zunda.ninja
icon
Web site image
Redirect to streaming_api_base_url by zunda · Pull Request #3579 · mastodon/mastodon
icon

コード書けるの幸せだけどRailsとかRSpecとかどう書くべきか調べるのにどんどーん時間を取られる。慣れてないからねえ。

icon

Redisならしょうがない(てか有償版高いんすけど…

method=GET path=/api/v1/timelines/home format=html controller=Api::V1::Timelines::HomeController action=show status=500 error='Redis::CommandError: ERR max number of clients reached'

icon

@ykzts おーっ www

icon

# frozen_string_literal: true
してるのに文字列リテラルが一つも無いファイル

icon

あー

さっきのPR、ポート番号どうするんじゃろ…

icon

リモートワークのイベントがあるというので喜んで概要のページを見に行ったらリモート参加できるかどうかはまだわからないってw

icon

Redisどの〜(どこかでスレッド数減らさないとな)

icon

このインスタンスのsidekiqはデフォルトでは5スレッド起動するっぽい

$ sidekiq &
$ ps x
:
13 ? Sl 0:03 sidekiq 5.0.0 app [0 of 5 busy]
:

$ sidekiq -c 3 &
$ ps x
:
49 ? Sl 0:03 sidekiq 5.0.0 app [0 of 3 busy]
:

暇そうだし2スレッドまで減らしてみよう

icon

https://github.com/zunda/mastodon/commit/172349ea67ab4ac34075df26be0441ca861f37f4 な感じにして、

$ heroku config:set SIDEKIQ_THREADS=2 -a zundan-mastodon

こんな感じでどうじゃろ

Web site image
Make number of sidekiq threads configurable · zunda/mastodon@172349e
icon

Sidekiqのスレッド数を3個減らしたらRedisのコネクション数が制限に収まるようになった感じがします。ブラウザもうひとつ起動したら破綻するなw

2017-06-04 20:30:30 zundaの投稿 zundan@mastodon.zunda.ninja
icon

@hatabowyou おおっと、bootsnapがこちらで試してるのより新しくなってますね。みてみます。

masterは壊れてることもあるので、リリース版(今ならv1.4.1)を試してみるのも良いかもしれません。

git checkout v1.4.1

icon

@hatabowyou バージョンは関係なかったようです。RAILS_ENVを指定しないとエラーが出るようです。

$ RAILS_ENV=production bundle exec rake secret

でいかがでしょう?

icon

カラムが「Pin」になっている時に左右に動かせて「Unpin」になっている時に左右に動かせないの、なんだか論理が逆な気がする。あれれ違うかな?操作のしかたがわからないw

icon

@ykzts Homeがどこか行っちゃいましたw

icon

いちど設定画面に行ったら復活したwww

icon

codeclimateにハッシュの書き方が古いと怒られるおっさん

icon

@hatabowyou プロダクション用のデータベースに触り始めてる感じなので、もしデータがあるのなら消しちゃわないよう注意しつつ、データベースへの接続のためのホスト名とかポート番号とかユーザー名とかパスワードとか、意図どおりに設定されているか確認するといいかもです。

icon

@hatabowyou おーっ!よかったです。こちらでお役に立てそうなことがあればまたお知らせください。

icon

With three less threads for Sidekiq, (v90) this instance seems to be happier with memory. The spike in response time corresponds to a spike in traffic. https://mastodon.zunda.ninja/media/xDQGSO9DUusQFDi6eRI

Attach image
icon

$ heroku pg:info DATABASE_URL
=== DATABASE_URL, PG_HOBBY_BASIC_URL
Plan: Hobby-basic
Status: Available
Connections: 7/20
PG Version: 9.6.1
Created: 2017-04-20 18:31 UTC
Data Size: 78.2 MB
Tables: 29
Rows: 99777/10000000 (In compliance)

icon

@hatabowyou うわあああ!おいしそう!ありがとうございます。

icon

WAT

Unable to load application: LoadError: /tmp/build_08f19d87ce81840c613aa72c33dd4684/zunda-mastodon-7dc2edb/vendor/bundle/ruby/2.4.0/gems/nokogiri-1.7.2/ext/nokogiri/nokogiri.so: cannot open shared object file: No such file or directory - /app/vendor/bundle/ruby/2.4.0/gems/nokogumbo-1.4.12/lib/nokogumboc.so

icon

$ heroku repo:purge_cache

and redploying... nope. Something funny is happening here.

icon

$ cd /app/vendor/bundle/ruby/2.4.0/gems/nokogumbo-1.4.12/lib
$ ldd nokogumboc.so | grep nokogiri
/tmp/build_90c35b6741220e3f9f7136f4f509b231/zunda-mastodon-7dc2edb/vendor/bundle/ruby/2.4.0/gems/nokogiri-1.7.2/ext/nokogiri/nokogiri.so => not found

icon
Web site image
Nokogumbo 1.4.12 crashes on Heroku · Issue #61 · rubys/nokogumbo
icon

Safari起動してWWDC眺めはじめて、なんぞこれ?って。

icon

欲しくなったw

2017-06-05 17:25:12 zundaの投稿 zundan@mastodon.zunda.ninja
icon

ありー

2017-06-05 17:31:36 zundaの投稿 zundan@mastodon.zunda.ninja
icon

MacBook良さそうやん。キーボードのストロークがまともなら欲しいかもw

2017-06-05 19:29:58 zundaの投稿 zundan@mastodon.zunda.ninja
2017-06-06 05:43:52 zundaの投稿 zundan@mastodon.zunda.ninja
icon

Merged 7623766. Toot!

icon

Kindleの「明るさを自動調整」って変だよね。まわりが明るければバックライトいらないのにがんばって明るくなるよね。

icon

まじでマージ速いなあ

icon

たぶんjとJ間違えて「# Please enter the commit message for your changes」が残ってるのね、はずかしー←

icon

@zundan スクリーンショット忘れましたw

icon

今日もタイムゾーンにやられている

icon

Tokyo is 168 ms away today.

icon

がんばれSplunk! (Backgroundに送ったジョブが98%から進まない)

icon

99%まで進んだ!

icon

OH:

gothub
guthub
gothhub
dinnerhub
cathub

icon

@hatabowyou こちらではdockerもngnixも使ってないのでそろそろ想像の範囲外になってしまいます。すみません。

エラーはcurlを実行しているコンピューターから自分(localhost)のポート番号3000にネットワーク接続しようとしたけれど、ポート番号3000で待ってくれているサーバが居なかった時に出ます。curlを実行しているコンピューターから見てどのコンピューターでMastodonを動かしているか、dockerに直接接続しようとしてるのか、nginxを通して接続しようとしてるのか、でどういう動作を期待するべきか、が変わりそうです。

Mastodonのdockerはポート3000でサーバが動いていたような気がするので、dockerでMastodonを動かしているようなら同じ計算機でcurl http://localhost:3000/ をすれば応答が返ってきそうです。

icon

おー

icon

Splunkさんのjob、100%完了して実行中 (まるめごさだね)

icon

まるめごさ、なんだかかわいい感じ。

icon

ZZでbashを終えようとする

icon

@hatabowyou おぉっ!よかったです。

次はChromeの右上のメニューからMore tools-Developer ToolsとたどってNetworkタブを開いてリロードすると、どこからCSSをロードしようとしているかわかると思います。そこからnginxの設定をたどってbundle rake assets:precompileの時にできたファイル(public/内)までたどり着けるようにするとCSSも読めるようになるのではないかと思います。もしかしたらS3などから読むように設定されているかもしれません。

icon

@hatabowyou ですです。404になっている、application-ナントカ.cssにマウスカーソルを乗せるとどこから読んでこようとしているかURLが見えると思います。

icon

@hatabowyou nginxの設定でstaticなassetを別の場所から読むようになっているか、Railsの設定で別の場所から読むようになっているか、という気がします。どちらかのログに何かヒントがあるかもしれません。

2017-06-06 19:07:18 zundaの投稿 zundan@mastodon.zunda.ninja
icon

Merged 0026ba2 and got https://git.io/vHKOv

oops

StandardError: An error has occurred, this and all later migrations canceled:
PG::ForeignKeyViolation: ERROR: insert or update on table "statuses" violates foreign key constraint "fk_rails_94a6f70399"
DETAIL: Key (in_reply_to_id)=(14576) is not present in table "statuses".
: ALTER TABLE "statuses" ADD CONSTRAINT "fk_rails_94a6f70399"
FOREIGN KEY ("in_reply_to_id")
REFERENCES "statuses" ("id")
ON DELETE SET NULL

2017-06-06 20:43:55 zundaの投稿 zundan@mastodon.zunda.ninja
2017-06-06 20:43:58 zundaの投稿 zundan@mastodon.zunda.ninja
2017-06-06 20:44:02 zundaの投稿 zundan@mastodon.zunda.ninja
2017-06-06 20:44:11 zundaの投稿 zundan@mastodon.zunda.ninja
2017-06-06 20:44:15 zundaの投稿 zundan@mastodon.zunda.ninja
2017-06-06 20:44:22 zundaの投稿 zundan@mastodon.zunda.ninja
2017-06-06 20:44:25 zundaの投稿 zundan@mastodon.zunda.ninja
2017-06-06 20:44:36 zundaの投稿 zundan@mastodon.zunda.ninja
2017-06-06 21:28:23 zundaの投稿 zundan@mastodon.zunda.ninja
2017-06-07 00:56:18 zundaの投稿 zundan@mastodon.zunda.ninja
2017-06-07 05:49:03 zundaの投稿 zundan@mastodon.zunda.ninja
icon

Slack says I have 150 unread messages. I decide to read all and scroll up. Scroll stops and now it shows I have 350 unread messages. dah.

icon
Web site image
Add rake task to prepare database for foreign keys introduced by #3562 by Gargron · Pull Request #3614 · mastodon/mastodon
2017-06-07 09:14:50 zundaの投稿 zundan@mastodon.zunda.ninja
icon

しかしデプロイするのにreleaseコマンドが落ちるようにしたんだがw

icon

Merged from master at 75c6513c678148e9a6adfcda57cfd5c8a16c804a

Running the command

rake mastodon:maintenance:prepare_for_foreign_keys

allowed rake db:migrate to complete. COOL!

https://gist.github.com/zunda/4a3b60894b5b83fb13f5f80813880a00

2017-06-07 13:07:29 zundaの投稿 zundan@mastodon.zunda.ninja
icon

Heroku API is under maintenance: Critical API Service Update https://status.heroku.com/incidents/1179

icon

@mazzo 観たい!ですが、とりあえずオイゲンさんに個人的に送ってあげると喜ばれそうです https://mastodon.social/users/Gargron/updates/2619490

icon

@hatabowyou@mstdn.fm @hatabowyou@hatabowyou.club やった! 先生じゃないけどよかったです!

今後ともコードの更新など必要かもしれないのでお役に立てるようならまた声をかけてくださいね。

2017-06-07 14:45:38 zundaの投稿 zundan@mastodon.zunda.ninja
2017-06-07 15:45:51 zundaの投稿 zundan@mastodon.zunda.ninja
icon

そうだLIberapayみてみなくちゃ

icon

「寿司が寿司を握る」?_?

icon

$ sync;sync;sync;sudo reboot

今日もお願い

icon

つかれたなあ

icon

Followしてたらリモートから見えていいのかな?

icon

今日はなんだかテザリングが遅い。レイテンシは悪く無い感じなのでバンド幅が狭いのかな

icon

にゃーん

icon

Sidekiqさんのバックトレース抑制したいよなあ

icon

@masarakki Herokuみたいに以前のビルドが残っている環境で再ビルドしようとするとビルドできなくなっちゃうんです https://mastodon.zunda.ninja/@zundan/37406 https://github.com/sass/node-sass/issues/1918

Web site image
zunda (@zundan@mastodon.zunda.ninja)
Web site image
Constantly have to rebuild node-sass · Issue #1918 · sass/node-sass
icon

@masarakki yarnとかちゃんと知ってたらもっとまともな直し方がありそうなものなんですが(すみません)

https://github.com/tootsuite/mastodon/pull/3002

Web site image
Rebuild node-sass by zunda · Pull Request #3002 · mastodon/mastodon
icon

@hatabowyou たぶんそのインスタンスが知ってる分しか表示しないんじゃないかなあと想像してます(未確認)

2017-06-07 20:47:47 zundaの投稿 zundan@mastodon.zunda.ninja
icon

やーん。(nodeビルドパッケージ消したらどうなるかな)

2017-06-07 20:53:30 zundaの投稿 zundan@mastodon.zunda.ninja
2017-06-07 20:53:32 zundaの投稿 zundan@mastodon.zunda.ninja
2017-06-07 22:51:39 zundaの投稿 zundan@mastodon.zunda.ninja
icon

がちゃぴん先生の苗字

icon

I wish I had enough time, it rather energy, to understand enough if frameworks around me to be able to enjoy using them efficiently.

icon

PalmTX、いくら落としても壊れなかったよねえ

2017-06-08 04:03:36 zundaの投稿 zundan@mastodon.zunda.ninja
2017-06-08 04:07:39 zundaの投稿 zundan@mastodon.zunda.ninja
2017-06-08 04:10:04 zundaの投稿 zundan@mastodon.zunda.ninja
2017-06-08 04:14:16 zundaの投稿 zundan@mastodon.zunda.ninja
icon

リリースはまだかいな?

icon

ゆれ

icon

余震

icon

なんたなんだ

2017-06-08 07:35:30 zundaの投稿 zundan@mastodon.zunda.ninja
2017-06-08 07:37:32 zundaの投稿 zundan@mastodon.zunda.ninja
icon

にゃーん

2017-06-08 08:43:53 zundaの投稿 zundan@mastodon.zunda.ninja
icon

てか1.4.2まだよね?ね?

icon

このインスタンスは「Note is too long」もらってなかった(´・ω・`)

2017-06-08 11:10:39 zundaの投稿 zundan@mastodon.zunda.ninja
icon

確かにyarn installを2度やってるなあ

icon

$ heroku buildpacks:remove heroku/nodejs -a zundan-mastodon-experiment

Deployed the same branch:
:
-----> Ruby app detected
:
-----> Installing node-v6.10.0-linux-x64
-----> Installing yarn-0.22.0
-----> Detecting rake tasks
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
yarn install v0.22.0
:
-----> Compressing...
Done: 310.6M

icon

$ heroku run bash -a zundan-mastodon-experiment
~ $ npm start &
[1] 17
~ $ [..................] \ : verb config Skipping project config: /app/.npmrc. (
> mastodon@ start /app
> rimraf ./tmp/streaming && babel ./streaming/index.js --out-dir ./tmp && node ./tmp/streaming/index.js

./streaming/index.js -> tmp/streaming/index.js
info Starting streaming API server master with 7 workers
info Starting worker 1
info Worker 1 now listening on :::40316
info Starting worker 2
info Starting worker 3
:

icon

and the production app with heroku/node buildpack shows similar warnings.

icon

$ heroku repo:purge_cache -a zundan-mastodon-experiment

and deploy:

-----> Compressing...
Done: 310.6M

Similar amount of files.

icon

$ heroku buildpacks:remove heroku/nodejs -a zundan-mastodon
$ heroku buildpacks:remove heroku/nodejs -a zundan-mastodon-streaming

well, actually, buildpacks have not really been set for production apps:

heroku buildpacks -a zundan-mastodon
=== zundan-mastodon Buildpack URL
heroku/ruby
$ heroku buildpacks -a zundan-mastodon-streaming
zundan-mastodon-streaming has no Buildpack URL set.

icon

promoting...

icon

2017-06-09T00:06:36.105374+00:00 app[web.1]: bash: npm: command not found

Oops.

icon

$ heroku buildpacks:add heroku/nodejs -a zundan-mastodon-streaming
Buildpack added. Next release on zundan-mastodon-streaming will use heroku/nodejs.
:
2017-06-09T00:09:06.978596+00:00 app[web.1]: bash: npm: command not found

nope

icon

I'll have to look into this closer.

icon

家のルータがIPアドレスを無くしちゃいました。どうしたん?

icon

リブートしてもだめだねえ

icon

ケーブルモデムが繋がってないもよう。しばらくかかりそうだね

icon

OK, connection is established again.

icon

Tokyo is 168 msec away today.

icon

I think I saw a Nissan Leaf with the Uber sticker. I couldn't imagine I would in this small town.

icon

Merging Mastodon master while cloning a big repository for day work :P

icon

Merged Mastodon master at 65d8c73bae62b1c0dd0befe022b4ac3719f22048.

icon

\テスト/ \ですと/

icon

@hatabowyou きゃー。落ちたときのログがどこかに残ってないか探してみてくたさい〜

icon

@hatabowyou hatabowyou.clubのDNSの設定がおかしくなってしまったみたいですね…

icon

@hatabowyou まずはインターネットからMastodonのインスタンスのIPアドレスを探し出すことができないようです。ドメインを登録した業者さんの設定画面でドメインの指す先を設定しなおしてみるのが良いのではないかと思います https://mastodon.zunda.ninja/media/19YGYTuD9iU8CZLq_Y4

Attach image
2017-06-08 23:52:09 zundaの投稿 zundan@mastodon.zunda.ninja
icon

どちらかというと走ってほしい

2017-06-09 07:14:12 zundaの投稿 zundan@mastodon.zunda.ninja
icon

@essa 最後のエラーはRailsのバージョンアップでキャッシュの非互換になってしまったために起きるようです。キャッシュの期限がすぎれば解消しますが、すぐに解消させるにはキャッシュをクリアします。

https://mastodon.zunda.ninja/@zundan/58705

Web site image
zunda (@zundan@mastodon.zunda.ninja)
icon

@hatabowyou むーん。ひとつずつ対応してみましょう。

まずはインスタンスへの接続かな?僕はGCEは触ったことがないのでまったくの想像になってしまいますが、ブラウザからインスタンスの「コンソール」に接続することができるのではないかと思います。黒い画面の左上に小さく「login:」と表示されてるやつです。探してみてもらえますか?そこから、rootになれるアカウントでログインしてファイアウォールの設定を見直してみてください。うまくいくまでログアウトしないように気をつけてください。

2017-06-09 07:29:15 zundaの投稿 zundan@mastodon.zunda.ninja
2017-06-09 07:30:24 zundaの投稿 zundan@mastodon.zunda.ninja
icon

@tateisu Android 7.1.2では、SecurityExceptionかなにかのToastを表示して画像のアップロードに失敗しますね〜。いつかadbつないで見てみたいと思いつつもう何日…。Tuskyも入ってるのでTuskyに行っちゃってるインテントが会ったりするのかなあ、と、ぼんやり妄想してます

2017-06-09 07:53:54 zundaの投稿 zundan@mastodon.zunda.ninja
icon

『Hidden Figures』、もうすぐ新大統領就任っていうどんよりした雰囲気の中観たのでかなり泣けた。

icon

@tateisu Photosアプリから画像を閲覧-Shareボタン-Subway tooterを選択すると、Tootを書く画面になりつつ画像をアップロードしてくれているようですが、SecurityExceptionで落ちます。下記はadb logcatより。次のTootでToastのキャプチャをお送りします。

06-09 08:28:33.581 1204 2648 W ActivityManager: Permission Denial: opening provider com.google.android.apps.photos.contentprovider.impl.MediaContentProvider from ProcessRecord{284042e 4417:jp.juggler.subwaytooter/u0a102} (pid=4417, uid=10102) that is not exported from uid 10083

icon

@tateisu うああ、手元の、まだ0.7.7です。更新して出直してきます。

icon

@tateisu エラーは解消してました→ https://mastodon.zunda.ninja/@zundan/63197 お騒がせしてすみませんでした!!

Web site image
zunda (@zundan@mastodon.zunda.ninja)
icon

Sidekiqさんからのエラーなんとかしたいですよねえ。欲しい情報が含まれてなかったり要らないバックトレースがあったり。(作法をよく知らないのでなんとできない)

icon

Network is unreachableはどこにつなげられないか記録してくれるね

icon

Mastodonより下層のライブラリが親切なのかな

2017-06-09 11:03:25 zundaの投稿 zundan@mastodon.zunda.ninja
2017-06-09 11:06:40 zundaの投稿 zundan@mastodon.zunda.ninja
icon

HerokuへのMastodonのデプロイ手順は https://github.com/zunda/mastodon/wiki/CreateInstanceOnHeroku にまとめてありますー

2017-06-09 11:12:16 zundaの投稿 zundan@mastodon.zunda.ninja
icon

Tokyo is 165 ms away today.

icon

Merged master at 778430b54a97b619189aaa4140f3e9fc16025323. Toot :-)

icon

縦にスケールするしかないものもあるからなあ…

icon

親子丼を作ってるのでマストドン会議の中継を観られない。食べ終わるまで続いてるといいなあ。

icon

行儀悪いけどマストドン会議3の中継を観始めた http://live2.nicovideo.jp/watch/lv298511250

icon

ActionCableメモリ食いなのかあ

icon
GNU Affero General Public License - GNU Project - Free Software Foundation
icon

AGPLが日本語圏でこれだけ注目されてるの初めてなんじゃないだろうか

icon

@ykzts AGPLにしておけば私企業の勝手にはされにくい、という文脈だったと思います

2017-06-09 20:26:15 zundaの投稿 zundan@mastodon.zunda.ninja
2017-06-09 20:48:22 zundaの投稿 zundan@mastodon.zunda.ninja
icon

I'm happy to hear that @Gargron is happy around Mastodon ☺

2017-06-09 21:05:57 zundaの投稿 zundan@mastodon.zunda.ninja
icon

PR送りたいよね

icon

無料会員中継切れましたし

icon

あ復活した

icon

映ったうつったw

icon

「(Mastodonがポピュラーになって)この2ヶ月でいろいろな文化ができてきた」なるほどなあ

icon

「フェイスブックはいったん流行ったがおっさんが増えてきた」w

icon

@kwappa いーなー

2017-06-10 00:49:31 zundaの投稿 zundan@mastodon.zunda.ninja
2017-06-10 00:56:30 zundaの投稿 zundan@mastodon.zunda.ninja
icon

なんだかタイムラインの食べ物が高級に

2017-06-10 07:37:39 zundaの投稿 zundan@mastodon.zunda.ninja
2017-06-10 07:39:58 zundaの投稿 zundan@mastodon.zunda.ninja
2017-06-10 07:44:14 zundaの投稿 zundan@mastodon.zunda.ninja
2017-06-10 07:48:02 zundaの投稿 zundan@mastodon.zunda.ninja
icon

売れない喫茶店のマスターいいな

2017-06-10 07:54:01 zundaの投稿 zundan@mastodon.zunda.ninja
2017-06-10 09:00:15 zundaの投稿 zundan@mastodon.zunda.ninja
icon

Trying to reach this instance through IPv6 from an IPv6 instance on EC2. Almost there but something around TLS does not seem to be IPv6 ready.

$ curl -6 -H 'Host: mastodon.zunda.ninja' http://dualstack.elbXXXXXX.us-east-1.elb.amazonaws.com/;echo
<html><body>You are being <a href="https://mastodon.zunda.ninja/">redirected</a>.</body></html>
$ curl -k6 -H 'Host: mastodon.zunda.ninja' https://dualstack.elbXXXXXX.us-east-1.elb.amazonaws.com/
curl: (35) Peer reports it experienced an internal error

icon

t2.microのインスタンスにpublicなIPv6アドレスも振ってもらってテストしたんだけど最初はpublicなアドレス要らないよって起動してどうにも接続できなかったのだw

AWSむずかしいねえ

icon

@hatabowyou お返事遅くなってすみません。

SSHでの接続には、GCEのホストとPuTTYとで対になる鍵が必要だろうと思います。GCEを使ったことが無いので想像になってしまいますが、PuTTYにテスト用のインスタンスに対応する鍵が登録されていれば、テスト用のインスタンスには登録できるのではないかと思います。

icon

@hatabowyou Mastodonのインタンスへの接続は、どうしてうまくいかないのかもう一度整理する必要があるかもしれません。GCEを使ったことがないので想像できないですがSSH以外でのログインはできないでしょうか?ポート番号を変更しただけなら、PuTTYからの接続先のポートを変更すれば接続できるかもしれません。ファイアウォールの設定を変更した場合には、次にインスタンスが起動した時に同じ設定が適用されるようになっていなければ、インスタンスの再起動で接続できるようになるかもしれません。再起動する場合には、できればデータベースのデータが消えない方法を選ぶとよさそうです。

DNSの設定が変わってしまったのはインスタンスへの接続がセキュアかどうかとは別の原因があるかもしれません。GCEについて知らないので何とも言えません。すみません。

icon

Using ELB for the default .herokuapp.com domain instead of ELB for Heroku SNI, it seems that TLS access goes through to the app:

$ curl -k6 -H 'Host: mastodon.zunda.ninja' https://dualstack.elbYYYYYY-YYYYYYYYY.us-east-1.elb.amazonaws.com; echo
<html><body>You are being <a href="https://mastodon.zunda.ninja/users/zundan">redirected</a>.</body></html>

Web site image
zunda (@zundan@mastodon.zunda.ninja)
icon

I'm starting to wonder if it is possible to have an v6 IP address at home.

icon

An ELB for SSL Endpoint can also be used to accept TLS connections from a v6 address :)

icon

Well, actually the router obtains an IPv6 address. It is now a matter of routing or tunneling or converting v4 and v6 network at home.

icon

【速報】AWSから$1.00の課金

icon

# sync; sync; sync; shutdown -h now

icon

ok boot
|
/
-
\
|

icon

LIL-

\なにか壊れてる/

icon

ぼっちインスタンスでもリモートから送られてきたトゥートは検索できますよよね〜