Error 502 when login the GraphStudio

Problem

The graphstudio might run into the 502 error when try to login

Error message

Error message

Diagnosis

1.Generally,the max GUI is 3 nodes(It can be manually configured if you want to add more GUI nodes.)

2.The error happens occasionally.

3.The user uses their own Nginx and forwards the request to four nodes one by one

Workaround

Set the request only forward to m1 in their Nginx configuration platform.

Solution

You also can configure the GUI node by below command.

gadmin config set GUI.BasicConfig.Nodes '[{"HostID":"m1","Partition":0,"Replica":1}]'