Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Sylariam opened this issue Nov 22, 2023 · 7 comments
Open

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

Sylariam opened this issue Nov 22, 2023 · 7 comments

Comments

@Sylariam
Copy link

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
Copy link
Contributor

cubxxw commented Nov 22, 2023

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
Copy link
Contributor

cubxxw commented Nov 28, 2023

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
Copy link
Author

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
Copy link
Contributor

cubxxw commented Nov 28, 2023

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
Copy link
Author

Sylariam commented Nov 29, 2023

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
Copy link
Author

Sylariam commented Dec 8, 2023

Hi, any updates on this?

@cubxxw
Copy link
Contributor

cubxxw commented Dec 8, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants