プロジェクト

全般

プロフィール

バグ #566

完了

twitter に http で oauth 認証をしにいくと 301 が返ってぴゃあ

Taiki ONO さんがほぼ12年前に追加. 11年以上前に更新.

ステータス:
終了
優先度:
通常
担当者:
対象バージョン:
プラグイン名:
ブランチ:
クラッシュする:

説明

環境が Mac だったのもあるのかもしれません。master, develop で同じ現象が起きました。

環境:
OSX 10.7.5
Ruby 1.9.3-p194
gtk 1.2.1
oauth 0.4.7

簡易 fix:
develp ブランチとの差分 https://github.com/taiki45/mikutter/compare/develop...change-oauth-url

バックトレース:

[taiki:~/work/mikutter] $ be ruby mikutter.rb
"/Users/taiki/work/mikutter/core/plugin/gtk/toolbar_generator" 
/Users/taiki/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/net/http.rb:2632:in `error!': 301 "Moved Permanently" (Net::HTTPRetriableError)
        from /Users/taiki/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/oauth-0.4.7/lib/oauth/consumer.rb:213:in `token_request'
        from /Users/taiki/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/oauth-0.4.7/lib/oauth/consumer.rb:136:in `get_request_token'
        from /Users/taiki/work/mikutter/core/lib/mikutwitter/connect.rb:37:in `request_oauth_token'
        from /Users/taiki/work/mikutter/core/plugin/change_account.rb:71:in `main'
        from /Users/taiki/work/mikutter/core/plugin/change_account.rb:28:in `_popup'
        from /Users/taiki/work/mikutter/core/plugin/change_account.rb:7:in `block in popup'
        from /Users/taiki/work/mikutter/core/plugin/gtk/delayer.rb:14:in `event_lock'
        from /Users/taiki/work/mikutter/core/plugin/change_account.rb:7:in `popup'
        from /Users/taiki/work/mikutter/core/lib/mikutwitter/authentication_failed_action.rb:44:in `call'
        from /Users/taiki/work/mikutter/core/lib/mikutwitter/authentication_failed_action.rb:44:in `block in authentication_failed_action'
        from <internal:prelude>:10:in `synchronize'
        from /Users/taiki/work/mikutter/core/lib/mikutwitter/authentication_failed_action.rb:42:in `authentication_failed_action'
        from /Users/taiki/work/mikutter/core/service.rb:50:in `initialize'
        from /Users/taiki/work/mikutter/core/service.rb:23:in `new'
        from /Users/taiki/work/mikutter/core/service.rb:23:in `services_refresh'
        from /Users/taiki/work/mikutter/core/service.rb:28:in `all'
        from /Users/taiki/work/mikutter/core/service.rb:33:in `primary'
        from mikutter.rb:37:in `<main>'

他の形式にエクスポート: Atom PDF