Consensys / truffle-security

MythX smart contract security verification plugin for Truffle Framework
https://mythx.io
125 stars 25 forks source link

Parse error of JWT login request: No valid username provider (HTTP status 400) #237

Closed gpersoon closed 5 years ago

gpersoon commented 5 years ago

When running truffle run verify with the environment variables

set MYTHX_ETH_ADDRESS=0x... 
set MYTHX_PASSWORD=

I got the error message: Parse error of JWT login request: No valid username provider (HTTP status 400) After checking I noticed I had a trailing space at the MYTHX_ETH_ADDRESS, which was causing the problem.

Environment: Windows 10, node: 10.16.3

danielrea commented 5 years ago

I will provide more descriptive errors with next version. Thanks for the submission