t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: I keep getting failed to connect. My PC did not respond with a connection setup. It's pretty annoying. Why does it do that.

Open Sensei85 opened this issue 4 months ago • 25 comments

Before submitting

  • [x] I searched existing issues and did not find a duplicate.
  • [x] I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. Just use t3code
  2. And ever so often I keep seeing that connection alert.

Expected behavior

I don't know what changed in the latest update, but I keep getting that alert and when it happens I can't continue typing my prompt.

Actual behavior

I shouldn't also be seeing this annoying connecting pop ups that completely stops work.

Impact

Blocks work completely

Version or commit

0.0.28

Environment

Windows 11 + Codex

Logs or stack traces


Screenshots, recordings, or supporting files

image.png

Workaround

Found no work around

Sensei85 avatar Jul 06 '26 16:07 Sensei85

I've got the same issue, it happens a lot when trying to use the app, specially a little after I send a prompt. I have not found any solution/workaround about it.

andyalv avatar Jul 07 '26 18:07 andyalv

Sigh, I updated codex cli but still issue persists. I have to be timing it and type fast or copy paste prompt.

Sensei85 avatar Jul 08 '26 11:07 Sensei85

On one of my PC's I am getting this just after creating a new thread. Not even being able to type. It is intermittent. Sometimes it happens. If I exit and restart several times it will eventually work. Windows 10 + codex v0.143.0 I tried after disabling my AV/Anti Malware to rule that out.

kimnzl avatar Jul 09 '26 05:07 kimnzl

This happens to me constantly -- and by that, I mean the first time I open the app for the day and about every 10 minutes thereafter. Windows 11 Pro. Just started on the 0.0.28 release. Before that, it was completely fine. Now it's just genuinely unusable. When the message appears it takes several MINUTES to clear.

bslatner avatar Jul 09 '26 23:07 bslatner

I had the same issue on my windows pc. I did not notice it on my linux machine though. To me it seemed to be a problem with high cpu usage, because of windows defender. At least it feels like it got better after i told windows defender to ignore t3 processes. But i did not really investigate it yet, since i like using my linux better anyway :D But i sometimes need windows for work.

bayerju avatar Jul 10 '26 11:07 bayerju

Ya this is really bad almost make the app unusable which is super sad I tried both the alpha and nightly builds but i keep getting the error very often

nickmatteo avatar Jul 11 '26 05:07 nickmatteo

yeah this is almost constant for me

Image

claude remote and codex app remote are the same. this unstable connection issue seem to be something non of them can truely fix.

My host machine is a small mini pc connected to a kwm exactly the same as @t3dotgg mentioned on one of his latest videos, but this is truely unuseable. to make the problem even worst, I can not even use my kwm to connnect to the host t3code, because when remote connection fails it does not even allow working on the host machine. it seems like the architecture for connecting remote UI and local UI to the backend of the software is the same. so if one fails it fails for both.

@bslatner have you downgraded to see if it still works on older versions? I started using this feature on 0.0.28 so this has been my entiere experiance with it which is disapoiting :(

I could just SSH in and work though that but we all know that S**Ks

ramifara avatar Jul 11 '26 09:07 ramifara

I just downgraded noth my host and client t3code back to 27 and all works perfectly, so what every the problem is it was intredused in 28. if they would have accepted contributions I might have burned this weekend to findout what is wrong, but i will just hope they will fix it in 29 🤞🏼

ramifara avatar Jul 11 '26 10:07 ramifara

happening for me too, .27 seldom since .28 it became unusable and have tried all nighty's since.

GoblinRules avatar Jul 11 '26 17:07 GoblinRules

I had better luck on the latest nightly Version 0.0.29-nightly.20260709.769, it still drops but it does not fully get stuck and unuseable like 28. I could not stay on 27, it does not work properly with GPT4.6 very well. I made a PR which fixed it on 28, but no way they would have merged it so I just closed it 😂

ramifara avatar Jul 11 '26 23:07 ramifara

I think I figured it out, not solved but I think I know what's happening. Turns out when you setup environments and connect T3 code to another machine running t3 code so you can work bi-directionally, as soon as that machine loses internet connection, t3 code is trying really hard to connect to that machine and unintentionally freezing up your current work being done on the thread that's not even on the remote machine. So T3 code is freezing up all threads regardless of whether the current active thread is on the host machine ie: current machine or on the remote environment. So, the fix Julius might implement is checking whether the thread is remote or not, leave it alone if it's not remote, or don't blocking the thread even if remote machine is temporarily unreachable. Maybe there's a reason for that design. @juliusmarminge

Sensei85 avatar Jul 12 '26 10:07 Sensei85

@ramifara Just read the pr you attached to your comment, that pretty much sums it up, but you closed it so meaning we still waiting for an official fix.

Sensei85 avatar Jul 12 '26 11:07 Sensei85

@Sensei85 for me this also happened without using remote machines. just installed it on windows without any remote stuff going on.

bayerju avatar Jul 12 '26 13:07 bayerju

@Sensei85 for me this also happened without using remote machines. just installed it on windows without any remote stuff going on.

I guess the issue is widespread than I thought.

Sensei85 avatar Jul 12 '26 14:07 Sensei85

I am also getting it without remote machines

kimnzl avatar Jul 12 '26 14:07 kimnzl

Having the same issue with OpenAI Codex (v0.144.5) on Windows 11 and T3 Version 0.0.28

fairtradepanic avatar Jul 18 '26 13:07 fairtradepanic

The nightly build did not solve the issue for me

fairtradepanic avatar Jul 18 '26 14:07 fairtradepanic

I'm having this despite network access being off.

christopher-buss avatar Jul 28 '26 00:07 christopher-buss

still happens in 0.0.29, feel like its more likely if my machine is struggling for some reason (over active virus scan or cpu usage).

At least the textbox isn't disabled anymore, wish i could at least queue messages up for it while I had to wait.

See it on both Win 11 machines I use, don't think i've seen it in Linux (on a way less specced machine too)

bzbetty avatar Jul 28 '26 02:07 bzbetty

same is happening to me. Prior to updating I was not experiencing this and now I am after the 0.0.29 update. Makes the app unusable for me currently. Network access is off. Even restarted my computer. :)

smitty7349 avatar Jul 28 '26 05:07 smitty7349