Skip to content
This repository was archived by the owner on Mar 20, 2024. It is now read-only.

Synchronize on servo's homu queue doesn't work #195

Open
jdm opened this issue Jun 28, 2019 · 2 comments
Open

Synchronize on servo's homu queue doesn't work #195

jdm opened this issue Jun 28, 2019 · 2 comments

Comments

@jdm
Copy link
Member

jdm commented Jun 28, 2019

It leads to a URL that starts with https://build.servo.org:54856/callback and this times out. If I manually edit the URL to point to https://build.servo.org/homu/callback then it succeeds. It's not clear from the code where this base URL comes from.

@jdm
Copy link
Member Author

jdm commented Jun 28, 2019

From

homu/homu/html/queue.html

Lines 123 to 129 in 2ea53e7

location = 'https://github.com/login/oauth/authorize' +
'?client_id={{oauth_client_id}}' +
'&scope=public_repo,admin:repo_hook' +
'&state=' + encodeURIComponent(JSON.stringify({
cmd: 'synch',
repo_label: '{{repo_label}}',
}));
I think there must be a oauth client secret somewhere which contains the old base url, but I'm not sure where.

@jdm
Copy link
Member Author

jdm commented Jun 28, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant