senooken JP Social
  • FAQ
  • Login
senooken JP Socialはsenookenの専用分散SNSです。
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. ておりあ​:ota: (theoria@wug.fun@wug.fun)'s status on Friday, 11-Jan-2019 06:42:37 JST ておりあ​:ota: ておりあ​:ota:

    v2.7.0rc1にアップデートしたらWebUIが表示できなくなったんですけど何かわかる方いませんか?Content-Security-Policy周りっぽいけど何もいじってないんだよなぁ

    In conversation Friday, 11-Jan-2019 06:42:37 JST from wug.fun permalink
    • ておりあ​:ota: repeated this.
    • 鼻毛スライサー (hanage999@mastodon.crazynewworld.net@mastodon.crazynewworld.net)'s status on Friday, 11-Jan-2019 07:25:03 JST 鼻毛スライサー 鼻毛スライサー
      in reply to

      @theoria

      aboutを見たら、

      >Content Security Policy: ページの設定により次のリソースの読み込みをブロックしました: https://www.google.com/recaptcha/api.js (“script-src”)

      だそうなので、

      https://github.com/tootsuite/mastodon/blob/8ab081ec3245e70acb7878b7842cfa07ca050464/config/initializers/content_security_policy.rb

      ここのscript_srcにgoogle.comを追加したらいいのかも

      また、タイムラインプレビューのsteaming apiも読み込みに失敗していて(101)、これはCSPとは関係ない。streamingが機能していない可能性もある。streamingがコケてると、WebUI自体が表示されない。sstemctl status mastodon-streamに何が表示されるか確認すると吉かも。データベースへの接続に失敗しているとか?

      In conversation Friday, 11-Jan-2019 07:25:03 JST permalink

      Attachments


    • zunda ? nはおまけ :green_dango: (zundan@mastodon.zunda.ninja@mastodon.zunda.ninja)'s status on Friday, 11-Jan-2019 07:25:14 JST zunda ? nはおまけ :green_dango: zunda ? nはおまけ :green_dango:
      in reply to

      @theoria Rubyが2.6.0になってAccept-Encoding: gzipなリクエストに空のレスポンスを返す場合には https://github.com/zunda/mastodon/pull/16/commits/260412fd25209cd4c7aa3a353e7f16ed674ff4ad でなおるかもしれません。

      In conversation Friday, 11-Jan-2019 07:25:14 JST permalink

      Attachments

      1. Upgrade to ruby 2.6.0 by zunda · Pull Request #16 · zunda/mastodon
        from GitHub
        Run tests
    • 鼻毛スライサー (hanage999@mastodon.crazynewworld.net@mastodon.crazynewworld.net)'s status on Friday, 11-Jan-2019 07:45:13 JST 鼻毛スライサー 鼻毛スライサー
      in reply to

      @theoria あ、でも投稿はできてるからデータベースは生きてるのか。すみません

      In conversation Friday, 11-Jan-2019 07:45:13 JST permalink
    • ておりあ​:ota: (theoria@wug.fun@wug.fun)'s status on Friday, 11-Jan-2019 07:54:16 JST ておりあ​:ota: ておりあ​:ota:
      in reply to
      • 鼻毛スライサー

      @hanage999 WebUIに入るとgetting-startedがinlineとevalでブロックされてるんですよね、CSP今回のアプデで変わってない気がするので謎です……

      In conversation Friday, 11-Jan-2019 07:54:16 JST permalink
    • 鼻毛スライサー (hanage999@mastodon.crazynewworld.net@mastodon.crazynewworld.net)'s status on Friday, 11-Jan-2019 08:10:00 JST 鼻毛スライサー 鼻毛スライサー
      in reply to

      @theoria なんだろう。zundaさんの指摘のようにrubyのバージョンアップで何かに齟齬が起きてるんだろうか。yarnのライブラリとrubyのgemを再インストールして、assets:clobberしてみるとか……

      In conversation Friday, 11-Jan-2019 08:10:00 JST permalink
    • zunda ? nはおまけ :green_dango: (zundan@mastodon.zunda.ninja@mastodon.zunda.ninja)'s status on Friday, 11-Jan-2019 08:41:19 JST zunda ? nはおまけ :green_dango: zunda ? nはおまけ :green_dango:
      in reply to
      • 鼻毛スライサー

      @hanage999 @theoria 普通にブラウザからアクセスして何かレスポンスが返ってるようならRuby 2.6.0の問題ではないはずです…

      In conversation Friday, 11-Jan-2019 08:41:19 JST permalink
    • ておりあ​:ota: (theoria@wug.fun@wug.fun)'s status on Friday, 11-Jan-2019 11:14:30 JST ておりあ​:ota: ておりあ​:ota:
      in reply to
      • zunda ? nはおまけ :green_dango:
      • 鼻毛スライサー

      @zundan @hanage999 レスポンス返ってくるのでRubyの問題ではなさそうです。ploxy_hide_headerとかしたらCSPの問題でなくstreamingとの連携の問題が明らかになりました。Ruby2.5系でもやってみましたが問題は同じでした。これ出来るだけフラットなところからやり直したい場合ってどうしたらいいんですかね…

      In conversation Friday, 11-Jan-2019 11:14:30 JST permalink
    • zunda ? nはおまけ :green_dango: (zundan@mastodon.zunda.ninja@mastodon.zunda.ninja)'s status on Friday, 11-Jan-2019 12:04:45 JST zunda ? nはおまけ :green_dango: zunda ? nはおまけ :green_dango:
      in reply to
      • 鼻毛スライサー

      @theoria @hanage999 うーん、弊ぼっちはHerokuなので皆さんの運用手順とだいぶ違うので想像で一般的なことしか書けませんが、僕なら、とりあえずtootsuite/mastodonとどこが違ってるかを調べるところから始めそうな気がします。

      $ git diff upstream/master

      Gitで管理してなければ、

      $ diff -urN tootsuite/mastodonのワーキングコピーのディレクトリ 実際に使ってるコードのディレクトリ

      とか。

      あと、環境変数の差分もどうにかして確認したくなりそうです。

      In conversation Friday, 11-Jan-2019 12:04:45 JST permalink
    • 鼻毛スライサー (hanage999@mastodon.crazynewworld.net@mastodon.crazynewworld.net)'s status on Friday, 11-Jan-2019 12:52:57 JST 鼻毛スライサー 鼻毛スライサー
      in reply to
      • zunda ? nはおまけ :green_dango:

      @zundan @theoria メモメモ_φ(・_・
      ストリーミングが問題なら、nodejsがらみの可能性も?

      In conversation Friday, 11-Jan-2019 12:52:57 JST permalink
    • zunda ? nはおまけ :green_dango: (zundan@mastodon.zunda.ninja@mastodon.zunda.ninja)'s status on Friday, 11-Jan-2019 13:04:59 JST zunda ? nはおまけ :green_dango: zunda ? nはおまけ :green_dango:
      in reply to
      • 鼻毛スライサー

      @theoria @hanage999 あ、そうか、nodeのバージョンとか依存パッケージ(npmモジュールとかGemsとか)のバージョンが指定通りになっているかも確認したいですね。どうやるんだろう…。

      In conversation Friday, 11-Jan-2019 13:04:59 JST permalink
    • 鼻毛スライサー (hanage999@mastodon.crazynewworld.net@mastodon.crazynewworld.net)'s status on Friday, 11-Jan-2019 13:11:42 JST 鼻毛スライサー 鼻毛スライサー
      in reply to
      • zunda ? nはおまけ :green_dango:

      @zundan @theoria npmとyarn、めんどいすね……自分もさっぱりでござる

      In conversation Friday, 11-Jan-2019 13:11:42 JST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.