Closed Bug 949153 Opened 11 years ago Closed 8 years ago

hg.mozilla.org says "ssl required" but means "ssh required"

Categories

(Developer Services :: Mercurial: hg.mozilla.org, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jruderman, Assigned: gps)

Details

(Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/1425] )

pushing to https://hg.mozilla.org/integration/mozilla-inbound/
searching for changes
abort: HTTP Error 403: ssl required

Should say "ssh required" instead of "ssl required". I'm already using ssl!

Ideally it would also tell you about adding a 'default-push' line in .hg/hgrc
If you install my Gecko-development-tailored Mercurial extension from https://hg.mozilla.org/users/gszorc_mozilla.com/hgext-gecko-dev, you can do things like `hg pushtree inbound` and you don't have to worry about URLs again.

I could also update that extension to silently rewrite http:// and https:// URLs on push to ssh://.

But yeah, the server message should be better.
Product: Release Engineering → Developer Services
Whiteboard: [kanban:engops:https://kanbanize.com/ctrl_board/6/247]
Whiteboard: [kanban:engops:https://kanbanize.com/ctrl_board/6/247] [kanban:engops:https://kanbanize.com/ctrl_board/6/247] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/1413] [kanban:engops:https://kanbanize.com/ctrl_board/6/247] [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/1414] [kanban:engops:https://kanbanize.com/ctrl_board/6/247]
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/1414] [kanban:engops:https://kanbanize.com/ctrl_board/6/247] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/1419] [kanban:engops:https://kanbanize.com/ctrl_board/6/247]
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/1419] [kanban:engops:https://kanbanize.com/ctrl_board/6/247] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/1423] [kanban:engops:https://kanbanize.com/ctrl_board/6/247]
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/1423] [kanban:engops:https://kanbanize.com/ctrl_board/6/247] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/1425] [kanban:engops:https://kanbanize.com/ctrl_board/6/247]
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/1425] [kanban:engops:https://kanbanize.com/ctrl_board/6/247] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/1425]
Assignee: nobody → gps
Status: NEW → ASSIGNED
https://hg.mozilla.org/hgcustom/version-control-tools/rev/d09a58f2334e16ed6be5d1130cf75f82040ab169
ansible/hg-web: unset push_ssl to get rid of "ssl required" message during HTTP push (bug 949153)
See the commit message for more details on this. The new message ("authorization required") isn't much better. There is room to file a follow-up bug. But it will likely require upstream work or hacky HTTP request intercepting rules to fix.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.