Comments (3)
I've seen this now as well.
I believe it occurs when you try to make a connection to the node pool while it is already open.
For several services, a connection is made on page load to verify a proof request. If you try to load the page several times in quick succession you might see this.
Currently, we open and close pool and wallet connections right before and after every interaction with the wallet/ledger.
from greenlight.
Hmm. I ran into that issue on my very first time visiting that service, so I don't think it should been caused by that. Unless it was connecting to the node pool for its own reasons, and I opened the URL too quickly after it started?
Either way, that should probably be insulated a little more from the user. I would have thought that the connection pooling system should be able to handle more than one simultaneous connection though... That or reuse the existing connection to send another message, unless it's using one of ZMQ's req/rep pairs, which cannot send another message until the previous is handled.
from greenlight.
Currently, we use a context manager to open/close a connection to the wallet and ledger on a per-transaction basis.
This is very much a WIP so if you see something that can be improved, I encourage you to dig in.
from greenlight.
Related Issues (20)
- Update the UI to match this model HOT 4
- Add resource limits to deployments HOT 1
- Dupe of issue 205, but I could not follow how to fix it. Invalid interpolation format for "environment" option in service "agri-agent" HOT 8
- Use greenlight instead of dflow in the URLs of the apps HOT 2
- Remove agent persistent storage HOT 3
- "about" page gets 404 when called directly HOT 1
- Please change the name of the repo to greenlight HOT 4
- Address security alerts in package.json HOT 2
- Signature validation error on agent node HOT 2
- Error running ./manage start under docker HOT 1
- Vulnerability - fstream
- querystringify vulnerability HOT 1
- Update greenlight to new Aries agent/controller HOT 1
- How to make other fields searchable in agent config? HOT 5
- Workflow/Recipe Page Does not Correctly Render Recipes on Pixel Dense Devices HOT 2
- Implement pr-based pipeline HOT 1
- Add missing topics HOT 1
- Update caddy file to V2 HOT 3
- Does not start on localhost:5000 HOT 7
- No credentials in dropdown HOT 5
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 greenlight.