vervallsweg / cast-web-api

Quick and dirty web API for Google Cast enabled devices.
GNU General Public License v3.0
141 stars 74 forks source link

Test API Connection #151

Closed LegendNed closed 2 years ago

LegendNed commented 3 years ago

While using the application, input the IP address of where cast web API is hosted and attempted to Test Connection just hangs. However, simply inputting the address in a browser returns the version and everything seems fine - as shown in http://image.yo-ned.wtf/O8GH

Checking logs, everything seems to start up correctly:

1|cast-web | cast-web-api v1.2.1
1|cast-web | cast-web-api running at http://127.0.0.1:3000
1|cast-web | 127.0.0.1
1|cast-web | deviceUp: {"id":"b86228b221696e5f0ae34c845e85f549","name":"Bedroom speaker","address":{"port":8009,"host":"192.168.0.47","rejectUnauthorized":false},"groups":[]}
1|cast-web | deviceUp: {"id":"95494a815b847a3de4de24d2a1d80b31","name":"Bedroom TV","address":{"port":8009,"host":"192.168.0.40","rejectUnauthorized":false},"groups":[]}
1|cast-web | deviceUp: {"id":"67fe2bb9-e434-4702-ad48-43c10be0db8c","name":"Bedroom group","address":{"port":32096,"host":"192.168.0.40","rejectUnauthorized":false},"groups":[]}
1|cast-web | message broadcast: false
1|cast-web | message broadcast: false
1|cast-web | message broadcast: false
1|cast-web | groupsUp: {"id":"b86228b221696e5f0ae34c845e85f549","groups":["67fe2bb9-e434-4702-ad48-43c10be0db8c"]}
1|cast-web | new status: {"groupPlayback":{"on":false,"from":"67fe2bb9-e434-4702-ad48-43c10be0db8c"},"application":"","status":"","title":"","subtitle":"","image":""}
1|cast-web | groupsUp: {"id":"95494a815b847a3de4de24d2a1d80b31","groups":["67fe2bb9-e434-4702-ad48-43c10be0db8c"]}
1|cast-web | new status: {"groupPlayback":{"on":false,"from":"67fe2bb9-e434-4702-ad48-43c10be0db8c"},"application":"","status":"","title":"","subtitle":"","image":""}
1|cast-web | new status: {"groupPlayback":{"on":false,"from":"67fe2bb9-e434-4702-ad48-43c10be0db8c"},"application":"","status":"","title":"","subtitle":"","image":""}
1|cast-web | 127.0.0.1

Any suggestion, I'm free to provide any more information!