Hii, We upgraded our self hosted Kratos service fr...
# talk-kratos
s
Hii, We upgraded our self hosted Kratos service from v0.11.0 to v1.0.0. When we try to open login or registration flow in browser then flow_id is generated and added to path then straight away it redirects to error page with no error id. Error logs
Copy code
<http://github.com/ory/x/sqlcon.HandleError|github.com/ory/x/sqlcon.HandleError>
72
	/go/pkg/mod/github.com/ory/x@v0.0.562/sqlcon/error.go:76
71
<http://github.com/ory/kratos/persistence/sql.(*Persister).ReadErrorContainer|github.com/ory/kratos/persistence/sql.(*Persister).ReadErrorContainer>
70
	/project/persistence/sql/persister_errorx.go:56
69
<http://github.com/ory/kratos/selfservice/errorx.(*Handler).fetchError|github.com/ory/kratos/selfservice/errorx.(*Handler).fetchError>
68
	/project/selfservice/errorx/handler.go:110
67
<http://github.com/ory/kratos/selfservice/errorx.(*Handler).publicFetchError|github.com/ory/kratos/selfservice/errorx.(*Handler).publicFetchError>
66
	/project/selfservice/errorx/handler.go:93
65
<http://github.com/ory/kratos/x.NoCacheHandle.func1|github.com/ory/kratos/x.NoCacheHandle.func1>
64
	/project/x/nocache.go:21
63
<http://github.com/ory/kratos/x.NoCacheHandle.func1|github.com/ory/kratos/x.NoCacheHandle.func1>
62
	/project/x/nocache.go:21
61
<http://github.com/julienschmidt/httprouter.(*Router).ServeHTTP|github.com/julienschmidt/httprouter.(*Router).ServeHTTP>
60
	/go/pkg/mod/github.com/julienschmidt/httprouter@v1.3.0/router.go:387
59
<http://github.com/ory/nosurf.(*CSRFHandler).handleSuccess|github.com/ory/nosurf.(*CSRFHandler).handleSuccess>
58
	/go/pkg/mod/github.com/ory/nosurf@v1.2.7/handler.go:234
57
<http://github.com/ory/nosurf.(*CSRFHandler).ServeHTTP|github.com/ory/nosurf.(*CSRFHandler).ServeHTTP>
56
	/go/pkg/mod/github.com/ory/nosurf@v1.2.7/handler.go:191
55
<http://github.com/urfave/negroni.Wrap.func1|github.com/urfave/negroni.Wrap.func1>
54
	/go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:46
53
<http://github.com/urfave/negroni.HandlerFunc.ServeHTTP|github.com/urfave/negroni.HandlerFunc.ServeHTTP>
52
	/go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:29
51
<http://github.com/urfave/negroni.middleware.ServeHTTP|github.com/urfave/negroni.middleware.ServeHTTP>
50
	/go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38
49
<http://github.com/ory/kratos/x.glob..func1|github.com/ory/kratos/x.glob..func1>
48
	/project/x/clean_url.go:15
47
<http://github.com/urfave/negroni.HandlerFunc.ServeHTTP|github.com/urfave/negroni.HandlerFunc.ServeHTTP>
46
	/go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:29
45
<http://github.com/urfave/negroni.middleware.ServeHTTP|github.com/urfave/negroni.middleware.ServeHTTP>
44
	/go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38
43
net/http.HandlerFunc.ServeHTTP
42
	/usr/local/go/src/net/http/server.go:2122
41
<http://github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerResponseSize.func1|github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerResponseSize.func1>
40
	/go/pkg/mod/github.com/prometheus/client_golang@v1.13.0/prometheus/promhttp/instrument_server.go:284
39
net/http.HandlerFunc.ServeHTTP
38
	/usr/local/go/src/net/http/server.go:2122
37
<http://github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1|github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1>
36
	/go/pkg/mod/github.com/prometheus/client_golang@v1.13.0/prometheus/promhttp/instrument_server.go:142
35
net/http.HandlerFunc.ServeHTTP
34
	/usr/local/go/src/net/http/server.go:2122
33
<http://github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerDuration.func1|github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerDuration.func1>
32
	/go/pkg/mod/github.com/prometheus/client_golang@v1.13.0/prometheus/promhttp/instrument_server.go:92
31
net/http.HandlerFunc.ServeHTTP
30
	/usr/local/go/src/net/http/server.go:2122
29
<http://github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerDuration.func2|github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerDuration.func2>
28
	/go/pkg/mod/github.com/prometheus/client_golang@v1.13.0/prometheus/promhttp/instrument_server.go:104
27
net/http.HandlerFunc.ServeHTTP
26
	/usr/local/go/src/net/http/server.go:2122
25
<http://github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerRequestSize.func1|github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerRequestSize.func1>
24
	/go/pkg/mod/github.com/prometheus/client_golang@v1.13.0/prometheus/promhttp/instrument_server.go:234
23
net/http.HandlerFunc.ServeHTTP
22
	/usr/local/go/src/net/http/server.go:2122
21
<http://github.com/ory/x/prometheusx.Metrics.instrumentHandlerStatusBucket.func1|github.com/ory/x/prometheusx.Metrics.instrumentHandlerStatusBucket.func1>
20
	/go/pkg/mod/github.com/ory/x@v0.0.562/prometheusx/metrics.go:115
19
net/http.HandlerFunc.ServeHTTP
18
	/usr/local/go/src/net/http/server.go:2122
17
<http://github.com/ory/x/prometheusx.(*MetricsManager).ServeHTTP|github.com/ory/x/prometheusx.(*MetricsManager).ServeHTTP>
16
	/go/pkg/mod/github.com/ory/x@v0.0.562/prometheusx/middleware.go:41
15
<http://github.com/urfave/negroni.middleware.ServeHTTP|github.com/urfave/negroni.middleware.ServeHTTP>
14
	/go/pkg/mod/github.com/urfave/negroni@v1.0.0/negroni.go:38
13
<http://github.com/ory/x/metricsx.(*Service).ServeHTTP|github.com/ory/x/metricsx.(*Service).ServeHTTP>
12
	/go/pkg/mod/github.com/ory/x@v0.0.562/metricsx/middleware.go:272
11
<http://github.com/urfave/negroni.middleware.ServeHTTP|github.com/urfave/negroni.middleware.ServeHTTP>
And ‘Access-Control-Allow-Origin’ header contains multiple values (which is duplicated ) instead of one value