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

Unable to communicate_via_cohn.py with HERO12 Black #628

Open
MarvinKlemp opened this issue Oct 30, 2024 · 0 comments
Open

Unable to communicate_via_cohn.py with HERO12 Black #628

MarvinKlemp opened this issue Oct 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@MarvinKlemp
Copy link

Component
Everything works, including provision_cohn.py.

...
INFO     06:59:09.029 Received COHN Status: status: COHN_PROVISIONED                       provision_cohn.py:213
         state: COHN_STATE_NetworkConnected                                                                     
         username: "gopro"                                                                                      
         password: "ajgb336pu5s0"                                                                               
         ipaddress: "192.168.113.165"                                                                           
         enabled: true                                                                                          
         ssid: "marvin"                                                                                         
         macaddress: "04574728f6e5"                                                                             
                                                                                                                
INFO     06:59:09.031 Successfully provisioned COHN.                                       provision_cohn.py:234
INFO     06:59:09.032 {                                                                    provision_cohn.py:241
             "certificate": "-----BEGIN                                                                         
         CERTIFICATE-----\nMIIDnzCCAoegAwIBAgIULIHXHjZIYyfdJgBOEx9MSVGzzdwwDQYJKoZIhvcNAQE                      
         L\nBQAwaTELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAkNBMRIwEAYDVQQHDAlTYW4gTWF0\nZW8xDjAMBgNV                      
         BAoMBUdvUHJvMQ0wCwYDVQQLDARIZXJvMRowGAYDVQQDDBFHb1By\nbyBDYW1lcmEgUm9vdDAeFw0yNDE                      
         wMzAwNTU4NTRaFw0zNDEwMjgwNTU4NTRaMGkx\nCzAJBgNVBAYTAlVTMQswCQYDVQQIDAJDQTESMBAGA1                      
         UEBwwJU2FuIE1hdGVvMQ4w\nDAYDVQQKDAVHb1BybzENMAsGA1UECwwESGVybzEaMBgGA1UEAwwRR29Qc                      
         m8gQ2Ft\nZXJhIFJvb3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCrEP4Al3ed\nuDbJ7y                      
         s+yhRwCNRXry6EhnRe9EQJNptLx0PTTcE3jKVqB6XFWpVJF2bKiEIf3fEB\nfL2MSsZUiFhEy8HLPp9uW                      
         Umy7UKVfUDXB/PIyrPbxqx1azhRafJxlqwsP5piHxNL\nLyhJMLcMl7qDTJzNDetauQ9w/msVYPOExFBQ                      
         700uqFPrUvjlKY7CMOWYKO+MQDUI\ngHzSiqA0xj04oMJqpNrWxslqY6DDvFMDyilPxKlR9XiyRjP4Mmq                      
         pXhAIeCJpUJWG\n/uVs0zvUmjfGbv5Ptfz5d3+0XronYr7NF2j3JnDsAhths1Y8/7QGy9Cc9NpfDuja\n                      
         t+hjBkTWP4IjAgMBAAGjPzA9MA8GA1UdEwQIMAYBAf8CAQAwCwYDVR0PBAQDAgGG\nMB0GA1UdDgQWBBS                      
         xnnx1Q61Cz6B+XfwonX8ajph4vDANBgkqhkiG9w0BAQsFAAOC\nAQEAaKgr+nJsWFJd1Tf9fVqWjfw5hu                      
         GaAOq1Z1UjBsXI/+LP+FLE0UNThoNysX3+\nGExeflAX2PubamiT9r1Mg2lHZGj6hBUSIWYjnMGgH/FNK                      
         Zl4i/mlaBojZofGnVKn\n0BB38H4lE4mRhry2Ve93+tEGGpEOrB3gE4H5u4Jndpwn58FN84nKwYZ9M8me                      
         4W5B\n/bxBgMwt14E6DraeDXoNeQBBeDjKNVWMVic4t6M8a0KdgghWNEiJWsEbquf6wpzd\nfMv+YQEI5                      
         zt8sPB3n0+5gKjhR/K7jnVn7UJjiiwy85z/lIKg82F8oPrNqS9eLrqZ\nXFfN/1jzj+1diYismPN2de03                      
         Gg==\n-----END CERTIFICATE-----\n",                                                                    
             "username": "gopro",                                                                               
             "password": "ajgb336pu5s0",                                                                        
             "ip_address": "192.168.113.165"                                                                    
         }                                                                                                      
INFO     06:59:09.035 Certificate written to                                               provision_cohn.py:256
         .../OpenGoPro/demos/python/tutorial/tutorial_modules/cohn.                      
         crt 

What is the bug in?
python3 tutorial_9_cohn/communicate_via_cohn.py 192.168.113.165 SSID PW cohn.crt

Describe the bug

DEBUG    07:01:48.858 Sending:  https://192.168.113.165/gopro/camera/state            communicate_via_cohn.py:18
ERROR    07:01:51.092 ('Connection aborted.', RemoteDisconnected('Remote end closed   communicate_via_cohn.py:45
         connection without response')) 

Hardware

  • Camera: HERO12 Black
  • Ubuntu 22.04
@MarvinKlemp MarvinKlemp added the bug Something isn't working label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant