This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
Index out of range #124
Open
Description
Describe the Issue
I have set up a MySql connection using init ssc. When I try and do ssc pull, I get this error:
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 8/6/2020 3:22 PM _sql-database
-a---- 8/6/2020 3:19 PM 215 ssc.json
- Pulling from 123.45.67.890 ...buffer.js:977
throw new RangeError('Index out of range');
^
RangeError: Index out of range
at checkOffset (buffer.js:977:11)
at Buffer.readUInt8 (buffer.js:1015:5)...
"123.45.67.890" represents the server IP address. Is the IP too long? I have others that are MSSQL that are shorter and I do not get this error. I did not test extensively with differing IP lengths.
Expected behavior
I would expect a output as such:
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 8/13/2019 9:57 AM _sql-database
-a---- 8/13/2019 9:57 AM 215 ssc.json
√ Successfully added 0, updated 0, and removed 0 files.
Steps to Reproduce
- Create a new folder
- Type scc init
- Follow the wizard and add in a valid server address with an IP address of length xxx.xx.xx.xxx (3-2-2-3)
- type scc pull
Other Information
- This is my only MySQL connection (MariaDB specifically). Not sure of that makes a difference. Seems to not like the length of the IP address?