FastChat icon indicating copy to clipboard operation
FastChat copied to clipboard

"Connection errored out" when inserting the code (or /etc/passwd)

Open RaptorT1V opened this issue 7 months ago • 1 comments
trafficstars

The title itself is already pretty exhaustive.

As of today, I have this problem. When I insert ANY code (length and programming language are NOT IMPORTANT) my message is NOT sent and I get a “Connection errored out” error. You can check it yourself now.

Although, ok print(“Hello, World!”) goes fine. But, for example, this code will 100% cause the error

CREATE TABLE Shops (
    shop_id INT PRIMARY KEY GENERATED ALWAYS AS IDENTITY,
    shop_name VARCHAR(100)
);

CREATE TABLE Units (
    unit_id INT PRIMARY KEY GENERATED ALWAYS AS IDENTITY,
    unit_name VARCHAR(100),
    shop_id INT,
    FOREIGN KEY (shop_id) REFERENCES Shops(shop_id)
);

CREATE TABLE Mechanisms (
    mechanism_id INT PRIMARY KEY GENERATED ALWAYS AS IDENTITY,
    mechanism_name VARCHAR(100),
    unit_id INT,
    FOREIGN KEY (unit_id) REFERENCES Units(unit_id)
);

CREATE TABLE EngineData (
    record_id INT PRIMARY KEY GENERATED ALWAYS AS IDENTITY,
    mechanism_id INT,
    voltage FLOAT,
    temperature FLOAT,
    speed FLOAT,
    timestamp DATETIME,
    FOREIGN KEY (mechanism_id) REFERENCES Mechanisms(mechanism_id)
);

CREATE TABLE RollingMillData (
    record_id INT PRIMARY KEY GENERATED ALWAYS AS IDENTITY,
    mechanism_id INT,
    pressure FLOAT,
    speed FLOAT,
    timestamp DATETIME,
    FOREIGN KEY (mechanism_id) REFERENCES Mechanisms(mechanism_id)
);

And also any mention of /etc/passwd will cause an error


The problem with /etc/passwd was there a long time ago and was fixed "with crutches" by simply inserting spaces before slashes And the problem with code insertion NEVER existed and appeared only yesterday!!!

RaptorT1V avatar Mar 31 '25 05:03 RaptorT1V