# Question: How does Forest Admin poll/query Admin Backend?

**URL:** <https://community.forestadmin.com/t/question-how-does-forest-admin-poll-query-admin-backend/2808>\
**Category:** Help me!\
**Created:** [June 29, 2021, 6:20am UTC](https://community.forestadmin.com/t/question-how-does-forest-admin-poll-query-admin-backend/2808 "2021-06-29T06:20:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![trung\_le\_at\_compono](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/trung_le_at_compono/32/2552_2.png) [@trung\_le\_at\_compono](https://community.forestadmin.com/u/trung_le_at_compono)\
**Post date:** [June 29, 2021, 6:20am UTC](https://community.forestadmin.com/t/question-how-does-forest-admin-poll-query-admin-backend/2808/1 "2021-06-29T06:20:57Z")

</div>

I’ve deployed the admin-backend on our test Kubernetes cluster, below is the manifest file content:

```javascript
#############################################
# Deployment
#############################################
apiVersion: apps/v1
kind: Deployment
metadata:
  name: admin-backend-a-deployment
  namespace: application-a
  labels:
    app: admin-backend-a
spec:
  replicas: 1
  selector:
    matchLabels:
      app: admin-backend-a
  template:
    metadata:
      labels:
        app: admin-backend-a
    spec:
      containers:
      - name: admin-backend-a
        image: node:10-alpine
        command: ["/bin/sh", "-c"]
        args:
        - npm install -g lumber-cli@latest -s 2>&1;
          lumber generate $(APP_NAME) --connection-url $(DATABASE_URL) --ssl $(DATABASE_SSL) --schema $(DATABASE_SCHEMA) --application-host $(APPLICATION_HOST) --application-port $(APPLICATION_PORT) --email $(FOREST_EMAIL) --token $(FOREST_TOKEN) 2>&1;
          cd $(APP_NAME) 2>&1;
          npm install -s 2>&1;
          npm start 2>&1;
        ports:
        - containerPort: 3310
        env:
        - name: APP_NAME
          value: 'compono-poc-dev'
        - name: DATABASE_URL
          value: 'postgres://postgres:REDACTED@my_db_url:5432/test'
        - name: DATABASE_SSL
          value: 'false'
        - name: DATABASE_SCHEMA
          value: 'public'
        - name: APPLICATION_HOST
          value: 'https://REDACTED'
        - name: APPLICATION_PORT
          value: '3310'
        - name: FOREST_EMAIL
          value: 'REDACTED@compono.com'
        - name: FOREST_TOKEN
          value: "REDACTED"
---
#############################################
# Service
#############################################
apiVersion: v1
kind: Service
metadata:
  name: admin-backend-a
  namespace: application-a
spec:
  selector:
    app: admin-backend-a
  ports:
    - name: http
      protocol: TCP
      port: 80
      targetPort: 3310
---
#############################################
# IngressRoute
#############################################
kind: Ingress
apiVersion: "networking.k8s.io/v1beta1"
metadata:
  name: "admin-backend-a-ingress-route"
  namespace: application-a
spec:
  rules:
    - host: admin-backend-a.reviews.compono.dev
      http:
        paths:
          - pathType: ImplementationSpecific
            backend:
              serviceName: admin-backend-a
              servicePort: 80

```

I can confirm that the backend is now up and running, please check screenshot:

![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/f/f8dc6ab8ee48b1916b6d1e7ccc5869795145a851.png)

However it’s seems to me the Backend is not yet picked up correctly in the web UI:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/1/10b6363430970ca8d2cda9af859aee181e9bc115.png)

I’ve looked up all available documents on this topic but could not find any info on how Forest Admin website system authenticate with the admin backend.

It would be great if any developer or support staff could guide me to the right place for answers.

Many thanks in advance

---

<div class="post-metadata">

**Author:** ![GuillaumeGautreau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaumegautreau/32/557_2.png) [@GuillaumeGautreau](https://community.forestadmin.com/u/GuillaumeGautreau)\
**Post date:** [June 29, 2021, 6:32am UTC](https://community.forestadmin.com/t/question-how-does-forest-admin-poll-query-admin-backend/2808/2 "2021-06-29T06:32:51Z")

</div>

Hello @trung_le_at_compono,

Thanks for your feedback, and welcome in the community!

Can you open the browser developer tools, network tab, and find the request that is failing? The request and its error will help a lot finding the origin of your issue.

Could you also provide us all the information that is asked in the template for new topics?

> - Package Version:
> - Express Version:
> - Sequelize Version:
> - Database Dialect:
> - Database Version:
> - Project Name:

Thanks

---

<div class="post-metadata">

**Author:** ![trung\_le\_at\_compono](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/trung_le_at_compono/32/2552_2.png) [@trung\_le\_at\_compono](https://community.forestadmin.com/u/trung_le_at_compono)\
**Post date:** [June 30, 2021, 4:08am UTC](https://community.forestadmin.com/t/question-how-does-forest-admin-poll-query-admin-backend/2808/3 "2021-06-30T04:08:28Z")

</div>

@GuillaumeGautreau I’ve managed to fix the issue on my end. The issue is with the `APPLICATION_PORT` which I set to `3310`, however my exposed `APPLICATION_HOST` is `https://REDACTED` which uses port 443. To fix that I update my manifest file so that:

```javascript
        - name: APPLICATION_HOST
          value: 'https://REDACTED'
        - name: APPLICATION_PORT
          value: '443'

```
