Skip to content

Frontend retries genuine errors #1056

Open
@gouthamve

Description

@gouthamve

Relevant log line:

level=error ts=2018-10-04T09:20:28.637542898Z caller=frontend.go:203 msg="error processing request" try=4 err=null resp="&HTTPResponse{Code:500,Headers:[&Header{Key:Access-Control-Allow-Methods,Values:[GET, OPTIONS],} &Header{Key:Access-Control-Allow-Origin,Values:[*],} &Header{Key:Access-Control-Expose-Headers,Values:[Date],} &Header{Key:Content-Type,Values:[application/json],} &Header{Key:Content-Encoding,Values:[gzip],} &Header{Key:Access-Control-Allow-Headers,Values:[Accept, Authorization, Content-Type, Origin],}],Body:[31 139 8 0 0 0 0 0 0 255 68 200 65 10 2 49 12 5 208 171 132 191 118 46 208 115 120 129 140 243 209 66 155 104 147 34 131 120 119 17 145 89 61 120 47 68 106 206 64 1 199 240 129 211 207 243 126 39 10 170 37 135 105 251 55 10 186 218 190 164 47 95 165 107 94 110 213 174 98 158 162 173 249 147 91 57 182 233 202 22 210 103 164 172 148 105 245 49 41 110 226 70 137 186 17 239 15 0 0 0 255 255 1 0 0 255 255 49 130 136 63 129 0 0 0],}"

Me debugging it: https://play.golang.com/p/iqo4VwjVWrg

Turns out the error is:

{"status":"error","errorType":"internal","error":"many-to-many matching not allowed: matching labels must be unique on one side"}

We should also print the body properly and not make people jump through the hoops I did to figure it out.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions