Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Has solaredge switched to SSL? #149

Open
hydrael opened this issue Mar 29, 2020 · 8 comments
Open

Has solaredge switched to SSL? #149

hydrael opened this issue Mar 29, 2020 · 8 comments

Comments

@hydrael
Copy link

hydrael commented Mar 29, 2020

I own a SE5000E Inverter and tried using semonitor.py in active Ethernet mode.
My inverter gets its IP address from semonitor and then tries to resolve prodssl.solaredge.com.
That basically happens in an endless loop and looks like this:

waiting for DNS message   
192.168.10.2:35345 --> message: 321 length: 39   
id: 363a 
flags: 0100
question
    name: prodssl.solaredge.com
    type: 0001
    class: 0001
192.168.10.2:35345 <-- message: 322 length: 76
id: 363a
flags: 8000
question
    name: prodssl.solaredge.com
    type: 0001
    class: 0001
answer
    name: prodssl.solaredge.com
    type: 0001
    class: 0001
    TTL: 86400
    resource: 192.168.10.1
waiting for DNS message
192.168.10.2:35345 --> message: 323 length: 39
id: c0c8
flags: 0100
question
    name: prodssl.solaredge.com
    type: 001c
    class: 0001
192.168.10.2:35345 <-- message: 324 length: 76
id: c0c8
flags: 8000
question
    name: prodssl.solaredge.com
    type: 001c
    class: 0001
answer
    name: prodssl.solaredge.com
    type: 001c
    class: 0001
    TTL: 86400
    resource: 192.168.10.1

Other than that nothing happens.
Could it be, that my inverter wants to talk SSL which is not supported by semonitor?

Side note: I have not extracted the encryption key yet, because my RS485 converter is still on its way, but I expected to at least see some scrambled data.

Thanks for any assistance

@jbuehl
Copy link
Owner

jbuehl commented Mar 29, 2020

What may be happening is that your inverter is trying to connect to a port other than the ones that semonitor.py is listening on by default (22222, 22221, 80). You can find out what that is by capturing the data on the network and looking at it with Wireshark. If it is expecting to use SSL then semonitor.py definitely won't work.

Note that in the latest version of the code, the -n option is not working. See issue #148

@hydrael
Copy link
Author

hydrael commented Mar 29, 2020

I was listening on 22222 and 22221...I had a conflict on port 80, which is why I couldn't use that.
prodssl.solaredge.com at least has port 22222 open.

But I'll verify what's happening by looking at a wireshark dump.

If it turns out my inverter wants to use SSL, would usage of active RS485 be an option?

@jbuehl
Copy link
Owner

jbuehl commented Mar 29, 2020

I don't know anything about the capabilities of the newer inverters and firmware versions. Look through the issues here and maybe you can find the answer.

@hydrael
Copy link
Author

hydrael commented Mar 29, 2020

Alright, thanks

@Millox
Copy link

Millox commented Apr 20, 2020

I can now confirm this. The newest firmware, from april 2020, uses SSL by default and only contacts prodssl.solaredge.com. I have no trace of communication to any of the prod-prod3-servers at the previously mentioned ports.

@cristianlivella
Copy link

I can now confirm this. The newest firmware, from april 2020, uses SSL by default and only contacts prodssl.solaredge.com. I have no trace of communication to any of the prod-prod3-servers at the previously mentioned ports.

Does the web interface of the inverter still work? There seems to be a problem (or an intentional block) with the last updates: drobtravels/solaredge-local#24 (comment)

@Millox
Copy link

Millox commented Apr 20, 2020

Yes, the local web interface still works, connecting to the built in AP. Remotely (i.e. using the lan interface) does not work. nmap:ing the device yields ports 80 and 8080 filtered and the rest closed.

@borg16
Copy link

borg16 commented Feb 25, 2021

Sorry for bringing this 10 month-old issue back: I have a new SolarEdge Three Phase System with SetApp Configuration and have the SolarEdge monitoring running. It connects only to prodssl.solaredge.com and only via port 443. Can you confirm that this will never allow semonitor ethernet passive and probably never ethernet active? So no use for me to retrieve the encryption key, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants