You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to send an malformed json query, the connection is with TLSv1.3, but the given message is not the expected "invalid json" but a general system error:
Currently, it does not have support for handling SSL. If you need to handle SSL, you can run a reverse proxy, such as NGINX or HaProxy, in front of Patroneos and terminate SSL before proxying to Patroneos.
Patroneos is a great tool to protect API from a malformed json query and it works perfect under HTTP protocol on an eosio node:
curl http://mydomain.com:8887/v1/chain/get_code -X POST -d '{c}' | json_pp
OUTPUT:
Simply perfect!!!
The problem I get is with HTTPS.
Under HTTPS protocol, unfortunately, I get some error; here the config.json for patroneos on HTTPS:
When I try to send an malformed json query, the connection is with TLSv1.3, but the given message is not the expected "invalid json" but a general system error:
curl -vvv https://mydomain.com:8889/v1/chain/get_code -X POST -d '{c}' | json_pp
OUTPUT:
Is
"nodeosProtocol": "https"
in config.json allowed to work?
Thanks.
Giuseppe
The text was updated successfully, but these errors were encountered: