incubator-devlake icon indicating copy to clipboard operation
incubator-devlake copied to clipboard

[Bug][Framework] error getting pipelines

Open warren830 opened this issue 3 years ago • 5 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

We cannot get pipelines and blueprints on config-ui [2022-09-14 16:25:30] ERROR HTTP 500 error caused by: error getting pipelines Wraps: (2) illegal base64 data at input byte 0 Wraps: (3) illegal base64 data at input byte 0 Error types: (1) *hintdetail.withDetail (2) *hintdetail.withDetail (3) base64.CorruptInputError

What you expected to happen

should get them as usual

How to reproduce

image

Anything else

No response

Version

main

Are you willing to submit PR?

  • [X] Yes I am willing to submit a PR!

Code of Conduct

warren830 avatar Sep 14 '22 08:09 warren830

Is this happening after merging #2907? Also, this is a good chance to use the ENABLE_STACKTRACE flag in the .env file to see some stacktraces in the logs. Set it to "true" in that file to enable it.

keon94 avatar Sep 14 '22 08:09 keon94

Ah, actually I think it may be because of the migration error code. It's supposed to come back as 428, but it's 500. #2940 is fixing that.

keon94 avatar Sep 14 '22 08:09 keon94

At the meantime, as a workaround, just hit the backend with CURL to change the migration status.

keon94 avatar Sep 14 '22 08:09 keon94

I take it back about being related to 2940. That error message wouldn't relate to migrations.

keon94 avatar Sep 14 '22 08:09 keon94

Finally I found that if you encrpt data when your golang version is 1.17, then after you upgraded to golang 1.19, this will happen

warren830 avatar Sep 14 '22 09:09 warren830