Comments (2)
Hmmm, I've tried to reproduce on latest code state in https://github.com/stranger80/golem-client-mock, master branch. Invalid app-key gets interpreted as "Default Requestor" identity, but does not yield HTTP 500.
Please post the request (with headers) which is being used.
from yagna.
@filipgolem you are probably using an old instance of testbed
Current master (fc2af0a) works as @stranger80 reported above
curl --header Authorization:non-existent-token \
-X POST \
http://127.0.0.1:5001/market-api/v1/demands \
--header "Content-Type: application/json" \
--data '{"properties":{"golem":{"node":{"ala":1,"id":{"name":"test1"}}}},
"constraints":"(& (golem.inf.mem.gib>0.5) (golem.inf.storage.gib>1))"}'
results with
"8c357c98-3d0a-4cde-a78f-214f224d6afc"
And
$ curl --header Authorization:non-existent-token \
http://127.0.0.1:5001/market-api/v1/demands
results with
[{
"demandId":"8c357c98-3d0a-4cde-a78f-214f224d6afc",
"requestorId":"DummyRequestorNodeId",
"properties":{"golem.node.ala":"1","golem.node.id.name":"\"test1\""},
"constraints":"(& (golem.inf.mem.gib>0.5) (golem.inf.storage.gib>1))"
}]
from yagna.
Related Issues (20)
- Add Deposit Verification in Yagna HOT 1
- Design deposit validation HOT 7
- Remove "Handbook" references from Yagna codebase
- `/proxy-http` API request matching HOT 1
- Allocation REST API returns confusing errors when deposit balance is exceeded
- Goth improvements - Make Goth Great Again
- Reference the proposal in the agreement JSON returned by the API
- Fix errors in mid_agreement_test in GOTH HOT 2
- VM runtime doesn't catch all VM issues upon start of provider
- Extend Yagna Onboarding Command for Mainnet/Ethereum
- Improvement when getting balance HOT 7
- Bump payment protocol.version for deposit payments
- Gasless transactions - server issues
- Working on golem-js progress, python and json drivers HOT 2
- Provider doesn't update hardware profile after change
- Provider reports remaining RAM not available
- pioneer proper error structuring on allocation create endpoint
- Yagna: Add support for sepolia & amoy Testnets
- Its possible to crete two alloction with same deposit.
- Fix allocation validation according to feedback HOT 1
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 yagna.