openimsdk / helm-charts

helm charts repository for openim
https://openimsdk.github.io/helm-charts/
Apache License 2.0
14 stars 9 forks source link

Bug: failed to operate with openim-admin-front #24

Open Sylariam opened 7 months ago

Sylariam commented 7 months ago

What happened?

[Background]: I have successfully installed im-server and im-chat, and verified using the official Android app. It works perfectly. Based on my k8s cluster configuration, I did made some modifications, like using Aliyun LB instead of Nginx Ingress.

[Issue]: While exploring openim-admin-front, I encounter a CORS error: image It seems that the requests from the admin-front are not correctly requesting my cluster service(the request url looks like your official website. is this a default value?). I attempted to search through the source code but found nothing. Could you help me identify this problem?

What did you expect to happen?

login and use the admin functionalities

How can we reproduce it (as minimally and precisely as possible)?

access {host}/openim-admin-front/login

Anything else we need to know?

No response

version

```console $ {name} version # paste output here ```

Cloud provider

aliyun

OS version

```console # On Linux: $ cat /etc/os-release # paste output here $ uname -a # paste output here # On Windows: C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture # paste output here ```

Install tools

cubxxw commented 7 months ago

I apologize for any inconvenience caused by the issue regarding the URL prefix in the openim management backend. It seems that we have overlooked the routing for nginx. Rest assured, our team is actively working on resolving this matter. Please allow us some time to rectify the situation. Thank you for bringing this to our attention and for your patience.

cubxxw commented 7 months ago

The mirror has been updated. Could you please try clearing the local registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-admin-front:latest and then try again? Thank you for your cooperation.

Sylariam commented 7 months ago

The mirror has been updated. Could you please try clearing the local registry.cn-hangzhou.aliyuncs.com/openimsdk/openim-admin-front:latest and then try again? Thank you for your cooperation.

still getting CORS error image

cubxxw commented 7 months ago

Have you had a chance to update the code and delete any local images? It's an important step in ensuring the latest version is being used. Thank you for your attention to this matter.

Sylariam commented 7 months ago

Have you had a chance to update the code and delete any local images? It's an important step in ensuring the latest version is being used. Thank you for your attention to this matter.

I did, currently using: image: repository: ghcr.io/openimsdk/openim-admin-front pullPolicy: Always tag: "latest"

Access through {my_host}/openim-admin-front/login. FYI, I did use Aliyun LB instead of Nginx Ingress. But I doubt this is relevant

Sylariam commented 7 months ago

Hi, any updates on this?

cubxxw commented 7 months ago

It seems like this issue has already been resolved. Could you please try using the latest image?