-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Security Driver quickstart chapters need serious attention #835
Comments
|
This error is something I'm familiar with, but could you let us know how you can ended up there?
…Sent from my phone
On Jan 29, 2017, at 5:17 PM, hoclun-rigsep ***@***.***> wrote:
[%e %vi %pump-blocked /com/github 6]
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
It is as ault011 says: follow the instructions under the OAuth2 heading and this is what will happen. It doesn't matter whether you've run
|
Ah, sorry. Got this as an email and was confused. Yeah, this needs attention. |
This is an %eyre error which seems to indicate that the security driver has
crashed. Anton the %eyre expert can probably say more.
Note that we're planning to move the security drivers to %gall in
cc-release...
…On Sun, Jan 29, 2017 at 5:51 PM, Galen Wolfe-Pauly ***@***.*** > wrote:
Ah, sorry. Got this as an email and was confused. Yeah, this needs
attention.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/urbit/docs/issues/94#issuecomment-275965079>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AALyAVprMu0NhjJZhKnfCriiOG4-ICzpks5rXUI5gaJpZM4Jm7YE>
.
|
OK. Would it be imprudent to work on the API connectors for this reason? You could also read that as, what can I do around here? |
"Imprudent" is too strong a word -- anything you do in API connectors will
probably be portable. The road is very rocky and not under maintenance
right now. But we'll always at least try to help!
Anton, did I forget to cc you here? What do you make of this issue in
vi:eyre?
…On Mon, Jan 30, 2017 at 3:20 PM, hoclun-rigsep ***@***.***> wrote:
OK. Would it be imprudent to work on the API connectors for this reason?
You could also read that as, what can I do around here?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/urbit/docs/issues/94#issuecomment-276224028>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AALyAdxZMIgj7CUwXb0S8zLXLj_verieks5rXnBUgaJpZM4Jm7YE>
.
|
We'd certainly like it to be under maintenance. |
Sorry, "under maintenance" was me misspeaking. We are maintaining the
maintenance branch. I just meant not "under reconstruction" on the master
branch.
…On Mon, Jan 30, 2017 at 3:34 PM, Galen Wolfe-Pauly ***@***.*** > wrote:
We'd certainly like it to be under maintenance.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/urbit/docs/issues/94#issuecomment-276226862>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AALyAXuxeBOGPpc_CVNhkCKiKcVV1S26ks5rXnOWgaJpZM4Jm7YE>
.
|
What's happening here is that one of your requests is not returning for some reason. The core problem is that some HTTP requests hang open indefinitely, causing the queue of outbound API requests for a domain to become blocked. That's what the In the long term we need to fix two things here: how each API driver handles failures, and how Urbit actually handles dead HTTP requests. If you're interested in diving in that deeply, we're happy to help. But yeah: it’d be good to do that work on |
How do you clean up the queue and escape from the pump-blocked state. Right now all requests to api.github.com result in [%e %vi %pump-blocked /com/github 13] and I'm not sure how to proceed. |
Right now I am merely editing the existing security drivers and connectors so they will compile after the structural changes in zuse and hoon. Need guidance on writing things like
or
(And while on the subject, the relationship between |
Anton's fix above (at line 1947 of eyre.hoon on master) should clear this.
But... I would suggest working out of a fakezod and killing it. There's a
lot of dodgy code in this area.
…On Fri, Feb 3, 2017 at 4:13 PM, Matthew Jones ***@***.***> wrote:
How do you clean up the queue and escape from the pump-blocked state.
Right now all requests to api.github.com result in [%e %vi %pump-blocked
/com/github 13] and I'm not sure how to proceed.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/urbit/docs/issues/94#issuecomment-277397968>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AALyAd5Ga3-6aAgU-BS2m49382LzxmE2ks5rY8LGgaJpZM4Jm7YE>
.
|
Since we don't have clear guidelines yet, use your best judgment. You
certainly want to minimize =,. It complicates the semantics of the
subject. But what makes your code more readable? That's hard to
micromanage.
I can't do anything about your creepy feeling!
…On Sun, Feb 5, 2017 at 12:18 PM, hoclun-rigsep ***@***.***> wrote:
Right now I am merely editing the existing security drivers and connectors
so they will compile after the structural changes in zuse and hoon. Need
guidance on writing things like role:lines:clay as opposed to
=, clay
=, lines
[...]
role
or
=, clay
[...]
role:lines
(And while on the subject, the relationship between . and : has always
been a little mysterious to me. I can tell you what they mean ['wing
lookup' and 'irregular :rap'] but their interchangeability in many
circumstances gives me a creepy feeling like I'm not getting something.)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/urbit/docs/issues/94#issuecomment-277545978>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AALyAVSBhkAB-WSnq-THfbf1Z9Am-chKks5rZi6kgaJpZM4Jm7YE>
.
|
As in, |
That's the best I can do at the moment! I'll talk to Anton about it on
Monday.
…On Sun, Feb 5, 2017 at 1:08 PM, hoclun-rigsep ***@***.***> wrote:
But... I would suggest working out of a fakezod and killing it. There's a
lot of dodgy code in this area.
As in, urbit -c a new fakezod every time the, uh, pump gets blocked?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/urbit/docs/issues/94#issuecomment-277549535>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AALyASYlV1MBevkP1OSSPac9BcuexW3hks5rZjpXgaJpZM4Jm7YE>
.
|
10-4, just making sure that's what you meant. |
I believe that editing that line in eyre and pushing another request on the stack is all that's needed.
… On Feb 5, 2017, at 1:10 PM, hoclun-rigsep ***@***.***> wrote:
10-4, just making sure that's what you meant.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
In the security drivers chapter, everything works up until the example code following this text: ‘Creating an app is easy and well-documented.‘
Then the rest of it is broken.
The text was updated successfully, but these errors were encountered: