KonradIT / goprowifihack

Unofficial GoPro WiFi API Documentation - HTTP GET requests for commands, status, livestreaming and media query.
Apache License 2.0
2.12k stars 335 forks source link

Not connecting to Wi-Fi in GoPro 8Black #215

Open fcaraballo opened 3 years ago

fcaraballo commented 3 years ago

Problem:

Hello, I'm trying to use the endpoint

http://10.5.5.9/gp/gpControl/command/wireless/ssid/select?ssid=WIFI_SSID&auth_type=AUTH_TYPE&pw=SSID_PASSWORD

And I get this error

{
"version": "6.00",
"path_info": "command/wireless/ssid/select",
"query_string": "ssid=XXX-XXXX",
"error_code":-3,
"error_msg": "500 Internal Server Error
",
"function": "gpcontrol_cgi_handler",
"line": 190
}

I've double checked that the SSID and Password are the right ones and the Auth too after doing http://10.5.5.9/gp/gpControl/command/wireless/ssid/scan?p=1 and http://10.5.5.9/gp/gpControl/command/wireless/ssid/list

Can I get some help please?

Details:

HaberlElectronic-Max commented 3 years ago

Hi, I got a similar problem.

When I want to start a recording session with

http://xxx.xx.xxx.xx/gp/gpControl/command/shutter?p=1

I get the same error

{
"version": "6.00",
"path_info": "command/shutter",
"query_string": "p=1",
"error_code":-3,
"error_msg": "500 Internal Server Error
",
"function": "gpcontrol_cgi_handler",
"line": 190
}

I've connected my camera via the new GoPro connect feature.

Details:

I already found out that this problem is related with the newest GoPro Firmware update from the 17. Dec 2020, because this error occured for the first time after I updated the camera to the latest version. In the previous version everything worked as intended.

So I see that @fcaraballo is also using the latest version of the firmware and I think GoPro messed something up with this new version. I asume that this problem only can be solved by GoPro themself but I am really thankfull for every help we can get.

Edit: I forgot to mention, that start recording also does not work via bluetooth. When I try it via sudo gatttool -t random -b XX:XX:XX:XX:XX:XX --char-write-req -a 0x33 -n 0x03010101 the camera freezes and reboots.