Comments (18)
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.
from urbit.org.
[%e %vi %pump-blocked /com/github 6]
from urbit.org.
from urbit.org.
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 |init-auth-basic
first or not. The loading of the keys from github seems to work fine. The dojo examples using |init-auth-basic
seem to work fine, including those set out in the API Connectors page. The error from my last comment, [%e %vi %pump-blocked /com/github 6]
starts coming up when you issue the request again after this first %ford-mystery
. Attempting to double back and run |init-auth-basic
gets you the %pump-blocked
thing again. I'm planning on seeing if I can clean these connectors up but I've just dug into it from an elevation of complete ignorance.
> |init-oauth2
>=
[%auth "https://api.github.com/user"]
> +https://api.github.com/user
%dy-no-prompt
[ %ford-mystery
~[
/ g
~bortug-nodpun-batner-satlep--possyr-dattus-sicnup-balluc
use
dojo
~bortug-nodpun-batner-satlep--possyr-dattus-sicnup-balluc
inn
hand
/ g
~bortug-nodpun-batner-satlep--possyr-dattus-sicnup-balluc
use
hood
~bortug-nodpun-batner-satlep--possyr-dattus-sicnup-balluc
out
dojo
drum
phat
~bortug-nodpun-batner-satlep--possyr-dattus-sicnup-balluc
dojo
/d
//term/1
]
]
! cancel /hand
from urbit.org.
Ah, sorry. Got this as an email and was confused. Yeah, this needs attention.
from urbit.org.
from urbit.org.
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?
from urbit.org.
from urbit.org.
We'd certainly like it to be under maintenance.
from urbit.org.
from urbit.org.
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 pump-blocked
printf is telling you. You can change ?. liv
to ?. |(liv =(4 ~(wyt in req)))
in %eyre
, and make another request to the same API, to retry the queue.
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 master
as opposed to maintenance
. They haven’t diverged all that much where API connectors are concerned, but it’ll make the cc-release
transition easier.
from urbit.org.
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.)
from urbit.org.
from urbit.org.
from urbit.org.
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?
from urbit.org.
from urbit.org.
10-4, just making sure that's what you meant.
from urbit.org.
from urbit.org.
Related Issues (20)
- Getting started curl links don't work HOT 4
- Add dock and runtime binary instructions to CLI getting started guide
- For docked binaries setcap needs to be run on .run not ./urbit HOT 3
- developers.urbit.org/blog doesn't have an RSS feed HOT 1
- Explain somewhere why Urbit uses new names for everything HOT 2
- ecosystem: groups application has references the wrong distribution source HOT 1
- ecosystem: add talk HOT 1
- ecosystem: add image/text content to groups app
- ecosystem: remove Group Discovery group HOT 2
- Can't link to sections of Getting Started HOT 1
- "Command-line install" instructions transform vere binary into urbit HOT 1
- Search doesn't pick up <h3> content
- dojo filesystem tools are hard to use when they don't exist HOT 1
- insufficient search results
- Groups listed in directory out of date? HOT 2
- manual/running/hosting page causes confusion about ames ports
- Header shows up in ToC even when used solely stylistically
- roadmap should be listed in the navbar
- Latest runtime download links missing HOT 1
- Correct %chum/%near docs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from urbit.org.