Unable to connect Hue App to DIYHUE

Hi All,

I am trying to use diyHUE in combination with Raspbee II.
Raspbee II will be on a remote system (Also an issue of getting this to work) but first I am unable to link the HUE App to the diyHUE.

It show’s up sometimes in the APP, as “New Bridge Found” and then it disapears.

Trying to Link, via the Link Button webpage it does not register within the 60 Second.

Strange thing out of the Docker Image it works straight out of the box, but then I have an issue getting the external Raspbee configured since that is not on the expected 127.0.0.1, changing the Python Script to reflect the right IP Address makes the container faill afterwards.

Please see Debug, SSL and IFCONFIG print. (Directly on host no docker!)
And I used automated install.

eth0: flags=4163 mtu 1500 inet 172.16.1.159 netmask 255.255.255.0 broadcast 172.16.1.255 inet6 fe80::c3fd:1fba:35cc:3da5 prefixlen 64 scopeid 0x20 ether **dc:a6:32:a8:81:f1** txqueuelen 1000 (Ethernet)

<>

  • Expire in 0 ms for 6 (transfer 0x600880)
  • Trying 127.0.0.1…
  • TCP_NODELAY set
  • Expire in 200 ms for 4 (transfer 0x600880)
  • Connected to 127.0.0.1 (127.0.0.1) port 443 (#0)
  • ALPN, offering h2
  • ALPN, offering http/1.1
  • successfully set certificate verify locations:
  • CAfile: none
    CApath: /etc/ssl/certs
  • TLSv1.3 (OUT), TLS handshake, Client hello (1):
  • TLSv1.3 (IN), TLS handshake, Server hello (2):
  • TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
  • TLSv1.3 (OUT), TLS handshake, Client hello (1):
  • TLSv1.3 (IN), TLS handshake, Server hello (2):
  • TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
  • TLSv1.3 (IN), TLS handshake, Certificate (11):
  • TLSv1.3 (IN), TLS handshake, CERT verify (15):
  • TLSv1.3 (IN), TLS handshake, Finished (20):
  • TLSv1.3 (OUT), TLS handshake, Finished (20):
  • SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
  • ALPN, server did not agree to a protocol
  • Server certificate:
  • subject: C=NL; O=Philips Hue; CN=dca632fffea881f1
  • start date: Jun 3 12:07:59 2020 GMT
  • expire date: Jun 1 12:07:59 2030 GMT
  • issuer: C=NL; O=Philips Hue; CN=dca632fffea881f1
  • SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.

GET /api/nouser/config HTTP/1.1
Host: 127.0.0.1
User-Agent: curl/7.64.0
Accept: /

  • TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
  • TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
  • old SSL session ID is stale, removing
    < HTTP/1.1 200 OK
    < Server: nginx
    < Date: Thu, 04 Jun 2020 13:26:50 GMT
    < Content-type: application/json
    < Content-Length: 227
    < Access-Control-Allow-Origin: *
    < Access-Control-Allow-Methods: GET, OPTIONS, POST, PUT, DELETE
    < Access-Control-Allow-Headers: X-Requested-With
    < Access-Control-Allow-Headers: Content-Type
    <
  • Connection #0 to host 127.0.0.1 left intact
    {“name”:“Philips hue”,“datastoreversion”:70,“swversion”:“1937113020”,“apiversion”:“1.35.0”,“mac”:“dc:a6:32:a8:81:f1”,“bridgeid”:“DCA632FFFEA881F1”,“factorynew”:false,“replacesbridgeid”:null,“modelid”:“BSB002”,“starterkitid”:""}

<< DEBUG Printout>>
Phone = 172.16.1.138 trying to find Bridge
PC= 172.16.1.10 with open DiyHue interface

2020-06-04 15:31:50,299 - root - DEBUG - Sending M-Search response to 172.16.1.59
172.16.1.10 - - [04/Jun/2020 15:31:51] “GET /api/web-ui-91246/groups HTTP/1.1” 200 -
172.16.1.238 - - [04/Jun/2020 15:31:54] “GET /api/nouser/config HTTP/1.1” 200 -
2020-06-04 15:31:57,809 - root - DEBUG - Sending M-Search response to 172.16.1.59
2020-06-04 15:31:58,592 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): discovery.diyhue.org:443
172.16.1.238 - - [04/Jun/2020 15:33:28] “GET /api/nouser/config HTTP/1.1” 200 -
172.16.1.10 - - [04/Jun/2020 15:33:47] "GET /hue/linkbutton?username=&password=&action=Activate << DEBUG Printout>>

Phone does not respond to register link, and no information is exchanged.
Cleared the Cache and APP Version HUE is 3.39.1