Open hstemplewski opened 1 year ago
just FYI: On my second machine with M2 I do not have this process running.
I have exactly the same problem. Every few days I have to restart the daemon manually when my laptop gets so hot you could fry eggs on it.
When it is happening could you run fig debug logs dameon
and share the output here?
OS: Mac OS 13.2.1 (22D68) Fig Version 2.14.2
The problem seems to occur after hibernation mode.
fig debug logs dameon
tail: /Users/sklyar/.fig/logs/dameon.log: No such file or directory
But I tried the command:
fig debug logs
The whole console is full of the same logs (dozens of them appear every second):
2023-03-11T19:26:57.694516Z DEBUG fig_request: 63: method=GET endpoint=/authenticate/ticket
2023-03-11T19:26:57.698012Z ERROR fig_cli::daemon: 162: Error while connecting to websocket: Serde error: expected `:` at line 1 column 4067
2023-03-11T19:26:57.699174Z INFO fig_cli::daemon::websocket: 126: Connecting to websocket
2023-03-11T19:26:57.712841Z DEBUG fig_request: 63: method=GET endpoint=/authenticate/ticket
After restarting the daemon there are errors, but very, very rarely.
~ fig restart daemon
➜ ~ fig debug logs
2023-03-11T19:29:03.561240Z DEBUG fig_desktop::webview::notification: 46: Broadcasting webview notification notification_type=NotifyOnLocalStateChanged
2023-03-11T19:29:03.599276Z DEBUG fig_request: 63: method=POST endpoint=/telemetry/track
2023-03-11T19:29:03.602246Z DEBUG fig_desktop::webview: 942: Network reachability flags flags=REACHABLE
2023-03-11T19:29:03.605367Z DEBUG fig_cli::daemon::system_handler: 291: Received EOF while reading message
2023-03-11T19:29:03.605366Z DEBUG hyper::client::connect::dns: 122: resolving host="api.fig.io"
2023-03-11T19:29:03.606998Z DEBUG hyper::client::connect::http: 537: connecting to 37.16.9.175:443
2023-03-11T19:29:03.684066Z DEBUG hyper::client::connect::http: 540: connected to 37.16.9.175:443
2023-03-11T19:29:03.760809Z DEBUG hyper::proto::h1::io: 342: flushed 773 bytes
2023-03-11T19:29:04.322234Z DEBUG hyper::proto::h1::io: 207: parsed 12 headers
2023-03-11T19:29:04.322313Z DEBUG hyper::proto::h1::conn: 222: incoming body is chunked encoding
2023-03-11T19:29:04.322419Z DEBUG hyper::proto::h1::decode: 298: incoming chunked header: 0x24 (36 bytes)
2023-03-11T19:29:04.323779Z DEBUG hyper::proto::h1::conn: 298: incoming body completed
2023-03-11T19:29:04.323836Z DEBUG hyper::client::pool: 376: pooling idle connection for ("https", api.fig.io)
2023-03-11T19:29:05.224039Z INFO fig_cli::daemon::websocket: 126: Connecting to websocket
2023-03-11T19:29:05.273561Z DEBUG fig_request: 63: method=GET endpoint=/authenticate/ticket
2023-03-11T19:29:05.280272Z ERROR fig_cli::daemon: 162: Error while connecting to websocket: Serde error: expected `:` at line 1 column 4067
2023-03-11T19:29:08.604331Z DEBUG fig_desktop::webview: 942: Network reachability flags flags=REACHABLE
2023-03-11T19:29:11.648619Z INFO fig_cli::daemon::websocket: 126: Connecting to websocket
2023-03-11T19:29:11.701342Z DEBUG fig_request: 63: method=GET endpoint=/authenticate/ticket
2023-03-11T19:29:11.707831Z ERROR fig_cli::daemon: 162: Error while connecting to websocket: Serde error: expected `:` at line 1 column 4067
2023-03-11T19:29:13.607045Z DEBUG fig_desktop::webview: 942: Network reachability flags flags=REACHABLE
2023-03-11T19:29:18.609700Z DEBUG fig_desktop::webview: 942: Network reachability flags flags=REACHABLE
2023-03-11T19:29:20.517032Z DEBUG fig_request: 63: method=POST endpoint=/telemetry/track
2023-03-11T19:29:20.523397Z DEBUG hyper::client::pool: 250: reuse idle connection for ("https", api.fig.io)
2023-03-11T19:29:20.523640Z DEBUG hyper::proto::h1::io: 342: flushed 779 bytes
2023-03-11T19:29:20.940799Z DEBUG hyper::proto::h1::io: 207: parsed 12 headers
2023-03-11T19:29:20.940858Z DEBUG hyper::proto::h1::conn: 222: incoming body is chunked encoding
2023-03-11T19:29:20.940891Z DEBUG hyper::proto::h1::decode: 298: incoming chunked header: 0x24 (36 bytes)
2023-03-11T19:29:20.943252Z DEBUG hyper::proto::h1::conn: 298: incoming body completed
2023-03-11T19:29:20.943329Z DEBUG hyper::client::pool: 376: pooling idle connection for ("https", api.fig.io)
2023-03-11T19:29:23.612772Z DEBUG fig_desktop::webview: 942: Network reachability flags flags=REACHABLE
2023-03-11T19:29:25.865048Z INFO fig_cli::daemon::websocket: 126: Connecting to websocket
2023-03-11T19:29:25.914478Z DEBUG fig_request: 63: method=GET endpoint=/authenticate/ticket
2023-03-11T19:29:25.920795Z ERROR fig_cli::daemon: 162: Error while connecting to websocket: Serde error: expected `:` at line 1 column 4067
2023-03-11T19:29:28.614776Z DEBUG fig_desktop::webview: 942: Network reachability flags flags=REACHABLE
@grant0417 I have similar output.
Checks
fig doctor
in the affected terminal sessionfig restart
and replicated the issue againOperating system
macOS 13.0.1 (22A400)
Expected behaviour
Mac chip stays cold as it is without fig installed
Actual behaviour
When the fig app is open and the fig-darwin-universal process stays active MacBook M1 chip is getting overheated. When I have a couple of chrome tabs, Figma, and terminal open, so nothing fancy for the M1 chip I got CPU temperatures even between 70-75 degrees. Using
fig restart daemon
helps for a while, but the problem occurs again.Could be duplication of https://github.com/withfig/fig/issues/1908 @chaynabors
Steps to reproduce
Just install fig and try to use an M1 MacBook in the normal matter (VSCODE, FIgma, chrome)
Environment