Error Occurred While Importing Data with Lightning

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: lightning导入数据出错

| username: gejibin

TiDB version 5.4.0
Lightning version 5.4.0

Every time I use Lightning to import, I encounter this kind of error.

| username: hey-hoho | Original post link

Check if the machine running Lightning can normally access the 2379 port of PD.

| username: gejibin | Original post link

Within the same VPC, this situation shouldn’t occur every time.

| username: jansu-dev | Original post link

failed to get StoreInfo from pd http api might be due to the port not being open. Manually telnet to the {PD-IP:PORT} port on the lightning machine.

  1. Either the port is written incorrectly pd-ip:2379
  2. Or the port is not open to the outside