Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix upload URI. #14

Merged
merged 1 commit into from

2 participants

@theory

The server uses a reverse proxy server to map https requests to /auth, so the /auth bit isn't needed on the URI.

Even with this fix, though, it still fails to work for me, sadly:

> pgxn_utils release citext-2.0.1.zip                                          
Enter your PGXN username: theory
Enter your PGXN password: ********************
Uploading to https://manager.pgxn.org/upload
Trying to release citext-2.0.1.zip ... /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:2022:in `read_status_line': wrong status line: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">" (Net::HTTPBadResponse)
    from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:2009:in `read_new'
    from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:1050:in `request'
    from /Library/Ruby/Gems/1.8/gems/pgxn_utils-0.1.2/lib/pgxn_utils/cli.rb:151:in `try_send_file'
    from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:543:in `start'
    from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:440:in `start'
    from /Library/Ruby/Gems/1.8/gems/pgxn_utils-0.1.2/lib/pgxn_utils/cli.rb:149:in `try_send_file'
    from /Library/Ruby/Gems/1.8/gems/pgxn_utils-0.1.2/lib/pgxn_utils/cli.rb:164:in `send_file_to_pgxn'
    from /Library/Ruby/Gems/1.8/gems/pgxn_utils-0.1.2/lib/pgxn_utils/cli.rb:105:in `release'
    from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in `send'
    from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
    from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
    from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
    from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
    from /Library/Ruby/Gems/1.8/gems/pgxn_utils-0.1.2/bin/pgxn_utils:9
    from /usr/bin/pgxn_utils:19:in `load'
    from /usr/bin/pgxn_utils:19

No idea what's up with that. :-(

@guedes guedes merged commit 371c94c into guedes:master
@guedes guedes referenced this pull request from a commit
@guedes ensure use off SSL. Refs #14. 532feb7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 28, 2011
  1. @theory

    Fix upload URI.

    theory authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/pgxn_utils/constants.rb
View
2  lib/pgxn_utils/constants.rb
@@ -1,5 +1,5 @@
module PgxnUtils
module Constants
- UPLOAD_URL = URI.parse('https://manager.pgxn.org/auth/upload')
+ UPLOAD_URL = URI.parse('https://manager.pgxn.org/upload')
end
end
Something went wrong with that request. Please try again.