question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

API endpoint list missing port?

See original GitHub issue

I have installed babybuddy on port 8027 via nginx redirect to the bb default port 8000 via linuxserver/docker-babybuddy container. When i call the API endpoint list on http://192.168.200.2:8027/api/ i get back the list of API endpoints like follows as JSON response:

{"children":"http://192.168.200.2/api/children/","changes":"http://192.168.200.2/api/changes/","feedings":"http://192.168.200.2/api/feedings/","notes":"http://192.168.200.2/api/notes/","sleep":"http://192.168.200.2/api/sleep/","temperature":"http://192.168.200.2/api/temperature/","timers":"http://192.168.200.2/api/timers/","tummy-times":"http://192.168.200.2/api/tummy-times/","weight":"http://192.168.200.2/api/weight/","height":"http://192.168.200.2/api/height/","head-circumference":"http://192.168.200.2/api/head-circumference/","bmi":"http://192.168.200.2/api/bmi/"}

Shouldn’t be the port included here?

Because these endpoints obviously do not work like they are inside the JSON response.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
myxorcommented, May 16, 2022

Manually changing the mounted file /config/nginx/site-confs/default (as described here: https://github.com/jcgoette/baby_buddy_homeassistant/issues/60#issuecomment-1127126277) and restarting the container fixes the problem! thanks everyone!

0reactions
cdubzcommented, May 10, 2022

@myxor could you take another look this issue now that https://github.com/linuxserver/docker-babybuddy/pull/19 is merged?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Endpoints disappear from ServiceInfo cache #11587 - GitHub
tcpdump -i any 'port 53' 18:01:58.976876 IP 100.64.1.107.49805 ... cilium endpoint list ENDPOINT POLICY (ingress) POLICY (egress) IDENTITY ...
Read more >
Endpoints [core/v1] - core | OpenShift Container Platform 3.11
Sets of addresses and ports that comprise a service. API endpoints. The following API endpoints are available: /api/v1 ...
Read more >
Troubleshoot the API server endpoint of an Amazon EKS Cluster
3. Use the telnet on port 443 to validate the API server endpoint connectivity from your device. Example output: echo exit | telnet ......
Read more >
Kubernetes API Reference Docs
API OVERVIEW. Welcome to the Kubernetes API. You can use the Kubernetes API to read and write Kubernetes resource objects via a Kubernetes ......
Read more >
Catalog - HTTP API | Consul - HashiCorp Developer
The /catalog endpoints register and deregister nodes, services, and checks in ... The service Tags , Address , Meta , and Port fields...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found