gravitino icon indicating copy to clipboard operation
gravitino copied to clipboard

[Bug report] "Network request error, request method not allowed!" error occurs when registering Model Version

Open dingshun3016 opened this issue 10 months ago • 2 comments

Version

v0.8.0-incubating-rc3

Describe what's wrong

In the 0.8.0 release, when registering the Model Version, the error "Network request error, request method not allowed!" appears

Error message and/or stacktrace

Image

How to reproduce

v0.8.0-incubating-rc3

Additional context

No response

dingshun3016 avatar Feb 19 '25 05:02 dingshun3016

Image Link version successfully, can you support more information?

LauraXia123 avatar Feb 19 '25 06:02 LauraXia123

This is what I see here.

Image

dingshun3016 avatar Feb 19 '25 06:02 dingshun3016

When 405 status, UI will show the api response msg first, and show the default msg 'Network request error, request method not allowed!'

Image

Maybe we need the API response to identify the root cause. @jerryshao

LauraXia123 avatar Aug 19 '25 09:08 LauraXia123

OK, let me also explore this issue.

jerryshao avatar Aug 19 '25 09:08 jerryshao

This is what I see here.

Image

Based on the screenshot, seems like there's a cross-origin problem. The response header shows that it only allows "GET" and "OPTIONS", but this request is a POST request.

I think this is mainly a in-house deployment problem, not a code problem. So I'm going to close this issue.

jerryshao avatar Aug 20 '25 11:08 jerryshao