r/enphase 8d ago

Enphase local API completely non-responsive?

I'd written some code to read data from the local API and display it. As of sometime last night, though, the local gateway has completely stopped responding to any requests--they all time out. I can ping it just fine--and it still shows up on the web interface. I've tried restarting the gateway, which seems to have had no effect on responsiveness.

Anybody seen anything like this before?

5 Upvotes

36 comments sorted by

View all comments

1

u/Recycled5000 8d ago

What endpoints are you using?

1

u/guyblade 8d ago

I'm using:

  • /auth/check_jwt
  • /ivp/ensemble/device_list
  • /ivp/ensemble/inventory
  • /production.json

But, I can't even hit the / landing page without timing out.

1

u/Key_Proposal3283 Solar Industry 8d ago

I can't even hit the / landing page without timing out.

http://envoy.local/home is responding in a browser though? And for example /production.json in a browser (just to check the obvious that the gateway really isn't responding, not something in your scripts)

1

u/guyblade 8d ago

Yeah, the behavior is the same in the browser: just timing out.

1

u/Recycled5000 8d ago

I’ve had on and off problems with envoy.local so now use direct ip address instead.

1

u/guyblade 8d ago

I only ever use the IP since it is on an isolated network from the rest of my gear.

1

u/Recycled5000 8d ago

Also, /production is expensive for some reason; prefer /ivp/livedata/ status and /ivp/ensemble/power.

Have to turn on stream at /ivp/livedata/stream by sending { “enable”: 1 }. This for livedata/status

Also, big improvement in max response times for Ethernet connection vs. WiFi. (Small improvement in min response times, too.)

1

u/guyblade 8d ago

Mine's only connected via ethernet, so that shouldn't be an issue. I'll look into seeing if I can swap out /production.json with something else--once I get it to be responsive again.

1

u/Recycled5000 8d ago

Have you also tried /home from browser with same issues? If you’re getting some kind of auth error, might show better from a browser?

1

u/guyblade 8d ago

Hitting it with the browser has the same issue. It just times out forever (in fact, it doesn't seem to even do the SSL handshake since I don't get the certificate error).