[Solved] Browser access disabled due to security vulnerability. Use Sia-UI or siac.
-
Hi, guys!
I've run and synchronized the siad under Linux. But I can't do anything else. Then I run siad with any command, I see the same message: "Bla-bla-bla. Browser access disabled due to security vulnerability. Use Sia-UI or siac."
For example:
$ siac wallet init
Error when encrypting wallet: Browser access disabled due to security vulnerability. Use Sia-UI or siac.$ siac consensus
Could not get current consensus state: Browser access disabled due to security vulnerability. Use Sia-UI or siac.And so on.
What I have to do, I have no idea???
-
Have anyone had this problem?
Sia Client/Daemon v1.3.1
-
Can you stop the siad daemon and run this command : nc -l -p 9980
Then open an other terminal and try again with siac wallet init.
You should see some text on the first terminal, could you put it here ?
-
I've done it. Result was:
POST /wallet/init HTTP/1.1
Host: localhost:9980
User-Agent: Sia-Agent
Content-Length: 18
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzipdictionary=english
Now I know the problem, thank you so much!
It was in an agent string option.
I had changed the agent for siad for security reason: /home/sia/bin/siad -M gctwh --agent FM01 -d /home/sia/data
Now I know, it was a mistake!
But what may be the good reason(-s) for changing the agent string option?
-
Honestly I don't know since the siad API works only with this user-agent