Thread: Fwd: BUG #18555: pgadmin image keeps giving mime type error. Is the image k8s compatible .
Fwd: BUG #18555: pgadmin image keeps giving mime type error. Is the image k8s compatible .
From
iram khan
Date:
Is the image kubernetes compatible . I cannot find solution anywhere . Also the github doesnot give any solution or the bug is removed. github issue #7412
Kindly help.
Thanks ,
Iram
The following bug has been logged on the website:
Bug reference: 18555
Logged by: iram khan
Email address: kkhan.iram@gmail.com
PostgreSQL version: 14.0
Operating system: windows
Description:
I have tried running latest as well as some previos versions of pgadmin4
image . IT keeps loading and gives MIME Type Error When Logging in to
pgAdmin4. It is in the github issue #7412. Please help I want to deploy
pgadmin4 on kubernetes environment. It is not getting accessed through
ingress. Even the pod logs does not show anything. The browser window keeps
loading and it shows the below error .
"Refused to execute script from
'https://pgadmin.op.com/login?next=/browser/' because its MIME type
('text/html') is not executable, and strict MIME type checking is enabled."
---------- Forwarded message ---------
From: PG Bug reporting form <noreply@postgresql.org>.
From: PG Bug reporting form <noreply@postgresql.org>.
Date: Fri, Jul 26, 2024 at 11:16 AM
Subject: BUG #18555: pgadmin image keeps giving mime type error. Is the image k8s compatible .
To: <pgsql-bugs@lists.postgresql.org>
Cc: <kkhan.iram@gmail.com>
Subject: BUG #18555: pgadmin image keeps giving mime type error. Is the image k8s compatible .
To: <pgsql-bugs@lists.postgresql.org>
Cc: <kkhan.iram@gmail.com>
The following bug has been logged on the website:
Bug reference: 18555
Logged by: iram khan
Email address: kkhan.iram@gmail.com
PostgreSQL version: 14.0
Operating system: windows
Description:
I have tried running latest as well as some previos versions of pgadmin4
image . IT keeps loading and gives MIME Type Error When Logging in to
pgAdmin4. It is in the github issue #7412. Please help I want to deploy
pgadmin4 on kubernetes environment. It is not getting accessed through
ingress. Even the pod logs does not show anything. The browser window keeps
loading and it shows the below error .
"Refused to execute script from
'https://pgadmin.op.com/login?next=/browser/' because its MIME type
('text/html') is not executable, and strict MIME type checking is enabled."
Re: BUG #18555: pgadmin image keeps giving mime type error. Is the image k8s compatible .
From
Khushboo Vashi
Date:
Hi,
On Mon, Jul 29, 2024 at 9:22 PM iram khan <kkhan.iram@gmail.com> wrote:
Is the image kubernetes compatible . I cannot find solution anywhere . Also the github doesnot give any solution or the bug is removed. github issue #7412Kindly help.
Many users use Kubernetes without fail.
pgAdmin official docker distribution: https://hub.docker.com/r/dpage/pgadmin4/
If you face any issue, please log the ticket @https://github.com/pgadmin-org/pgadmin4/issues with details.
Thanks,
Khushboo
Thanks ,Iram---------- Forwarded message ---------
From: PG Bug reporting form <noreply@postgresql.org>.Date: Fri, Jul 26, 2024 at 11:16 AM
Subject: BUG #18555: pgadmin image keeps giving mime type error. Is the image k8s compatible .
To: <pgsql-bugs@lists.postgresql.org>
Cc: <kkhan.iram@gmail.com>
The following bug has been logged on the website:
Bug reference: 18555
Logged by: iram khan
Email address: kkhan.iram@gmail.com
PostgreSQL version: 14.0
Operating system: windows
Description:
I have tried running latest as well as some previos versions of pgadmin4
image . IT keeps loading and gives MIME Type Error When Logging in to
pgAdmin4. It is in the github issue #7412. Please help I want to deploy
pgadmin4 on kubernetes environment. It is not getting accessed through
ingress. Even the pod logs does not show anything. The browser window keeps
loading and it shows the below error .
"Refused to execute script from
'https://pgadmin.op.com/login?next=/browser/' because its MIME type
('text/html') is not executable, and strict MIME type checking is enabled."
Re: BUG #18555: pgadmin image keeps giving mime type error. Is the image k8s compatible .
From
iram khan
Date:
Can u direct me to the solution for this issue . This is the GitHub issue 7412. , it was opened couple of months back n was closed in June. But solution isn’t updated anywhere.
I am facing this issue with every version of the image n I am using the image from docker hub. Please help .
Thanks ,
Iram khan
On Monday 29 July 2024, Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:
On Monday 29 July 2024, Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:
Hi,On Mon, Jul 29, 2024 at 9:22 PM iram khan <kkhan.iram@gmail.com> wrote:
Is the image kubernetes compatible . I cannot find solution anywhere . Also the github doesnot give any solution or the bug is removed. github issue #7412Kindly help.Many users use Kubernetes without fail.pgAdmin official docker distribution: https://hub.docker.com/r/dpage/pgadmin4/ If you face any issue, please log the ticket @https://github.com/pgadmin-org/pgadmin4/issues with details. Thanks,KhushbooThanks ,Iram---------- Forwarded message ---------
From: PG Bug reporting form <noreply@postgresql.org>.Date: Fri, Jul 26, 2024 at 11:16 AM
Subject: BUG #18555: pgadmin image keeps giving mime type error. Is the image k8s compatible .
To: <pgsql-bugs@lists.postgresql.org>
Cc: <kkhan.iram@gmail.com>
The following bug has been logged on the website:
Bug reference: 18555
Logged by: iram khan
Email address: kkhan.iram@gmail.com
PostgreSQL version: 14.0
Operating system: windows
Description:
I have tried running latest as well as some previos versions of pgadmin4
image . IT keeps loading and gives MIME Type Error When Logging in to
pgAdmin4. It is in the github issue #7412. Please help I want to deploy
pgadmin4 on kubernetes environment. It is not getting accessed through
ingress. Even the pod logs does not show anything. The browser window keeps
loading and it shows the below error .
"Refused to execute script from
'https://pgadmin.op.com/login?next=/browser/' because its MIME type
('text/html') is not executable, and strict MIME type checking is enabled."
Re: BUG #18555: pgadmin image keeps giving mime type error. Is the image k8s compatible .
From
iram khan
Date:
Hi Team,
It is the same issue with new image as well. It keeps spinning but never loads.
Kindly help.
Thanks ,
Iram
On Tuesday 30 July 2024, iram khan <kkhan.iram@gmail.com> wrote:
On Tuesday 30 July 2024, iram khan <kkhan.iram@gmail.com> wrote:
Can u direct me to the solution for this issue . This is the GitHub issue 7412. , it was opened couple of months back n was closed in June. But solution isn’t updated anywhere.I am facing this issue with every version of the image n I am using the image from docker hub. Please help .Thanks ,Iram khan
On Monday 29 July 2024, Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote: Hi,On Mon, Jul 29, 2024 at 9:22 PM iram khan <kkhan.iram@gmail.com> wrote:
Is the image kubernetes compatible . I cannot find solution anywhere . Also the github doesnot give any solution or the bug is removed. github issue #7412Kindly help.Many users use Kubernetes without fail.pgAdmin official docker distribution: https://hub.docker.com/r/dpage/pgadmin4/ If you face any issue, please log the ticket @https://github.com/pgadmin-org/pgadmin4/issues with details. Thanks,KhushbooThanks ,Iram---------- Forwarded message ---------
From: PG Bug reporting form <noreply@postgresql.org>.Date: Fri, Jul 26, 2024 at 11:16 AM
Subject: BUG #18555: pgadmin image keeps giving mime type error. Is the image k8s compatible .
To: <pgsql-bugs@lists.postgresql.org>
Cc: <kkhan.iram@gmail.com>
The following bug has been logged on the website:
Bug reference: 18555
Logged by: iram khan
Email address: kkhan.iram@gmail.com
PostgreSQL version: 14.0
Operating system: windows
Description:
I have tried running latest as well as some previos versions of pgadmin4
image . IT keeps loading and gives MIME Type Error When Logging in to
pgAdmin4. It is in the github issue #7412. Please help I want to deploy
pgadmin4 on kubernetes environment. It is not getting accessed through
ingress. Even the pod logs does not show anything. The browser window keeps
loading and it shows the below error .
"Refused to execute script from
'https://pgadmin.op.com/login?next=/browser/' because its MIME type
('text/html') is not executable, and strict MIME type checking is enabled."
Re: BUG #18555: pgadmin image keeps giving mime type error. Is the image k8s compatible .
From
Yogesh Mahajan
Date:
Hi,
Can you please share a config yaml file for deployment? Also are you using any webserver e.g. nginx/httpd? If yes can you please share config for the same?
As per user, github issue #7412 was on Azure Webapps and it works fine on local vm.
Thanks,
Yogesh Mahajan
EnterpriseDB
Re: BUG #18555: pgadmin image keeps giving mime type error. Is the image k8s compatible .
From
iram khan
Date:
Hi yogesh ,
So I tried deploying pgadmin on azure cloud as well and on-prem kubernetes also. I am unable to access it through ingress. On -prem kubernetes , I am able to access through node-port and port forward service.
On azure-cloud , I am able to access though port-forward. I am unable to access through ingress on both platforms.
Please help. I have attached the error I get for both . I am using dpage/pgadmin4:8.8 , havent made any changes to the image .
Refused to execute script from 'https://pgadmin.@domain.com/login?next=/browser/' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
This is how my ingress looks like .
kind: Ingress
metadata:
name: pgadmin
namespace: admin
annotations:
spec:
rules:
- host: pgadmin.{domain}.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: pgadmin-service
port:
number: 80
tls:
- hosts:
- pgadmin.{domain}.com
Thanks,
Iram Khan
On Fri, Aug 2, 2024 at 12:20 AM Yogesh Mahajan <yogesh.mahajan@enterprisedb.com> wrote:
Hi,Can you please share a config yaml file for deployment? Also are you using any webserver e.g. nginx/httpd? If yes can you please share config for the same?As per user, github issue #7412 was on Azure Webapps and it works fine on local vm.Thanks,Yogesh MahajanEnterpriseDB