verseghy / matverseny-backend Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
There is no way to fetch if a team is locked or not
kafka tls+auth
Optimized compression packages
Dependency Hierarchy:
Found in HEAD commit: b560a34b38fb757b01ca792c43af36829c0ffd50
Found in base branch: master
In archive/zip in Go before 1.15.13 and 1.16.x before 1.16.5, a crafted file count (in an archive's header) can cause a NewReader or OpenReader panic.
Publish Date: 2021-08-02
URL: CVE-2021-33196
Base Score Metrics:
Type: Change files
Origin: golang/go@74242ba
Release Date: 2021-05-25
Fix Resolution: Replace or update the following files: reader.go, reader_test.go
Step up your Open Source Security Game with WhiteSource here
Optimized compression packages
Dependency Hierarchy:
Found in HEAD commit: b560a34b38fb757b01ca792c43af36829c0ffd50
Found in base branch: master
archive/zip in Go 1.16.x before 1.16.1 allows attackers to cause a denial of service (panic) upon attempted use of the Reader.Open API for a ZIP archive in which ../ occurs at the beginning of any filename.
Publish Date: 2021-03-11
URL: CVE-2021-27919
Base Score Metrics:
Type: Upgrade version
Origin: https://groups.google.com/g/golang-announce/c/MfiLYjG-RAw?pli=1
Release Date: 2021-03-11
Fix Resolution: 1.16.1
Step up your Open Source Security Game with WhiteSource here
The map in the GetResults response should contain all the teams even if they have 0 answers. Or there should be a way to query all team names.
Because the backend doesn't provide enough information to make good charts.
[mirror] Go supplementary cryptography libraries
Dependency Hierarchy:
Found in HEAD commit: b560a34b38fb757b01ca792c43af36829c0ffd50
Found in base branch: master
A nil pointer dereference in the golang.org/x/crypto/ssh component through v0.0.0-20201203163018-be400aefbc4c for Go allows remote attackers to cause a denial of service against SSH servers.
Publish Date: 2020-12-17
URL: CVE-2020-29652
Base Score Metrics:
Type: Upgrade version
Origin: https://groups.google.com/g/golang-announce/c/ouZIlBimOsE?pli=1
Release Date: 2020-12-17
Fix Resolution: v0.0.0-20201216223049-8b5274cf687f
Step up your Open Source Security Game with WhiteSource here
2023-03-14T11:05:34.604566Z ERROR matverseny_backend::utils::panic: 23: PANIC! /builder/app/src/utils/problems.rs:48: failed to lock tables: Exec(SqlxError(Database(PgDatabaseError { severity: Error, code: "25006", message: "cannot execute LOCK TABLE during recovery", detail: None, hint: None, position: None, where: None, schema: None, table: None, column: None, data_type: None, constraint: None, file: Some("utility.c"), line: Some(455), routine: Some("PreventCommandDuringRecovery") })))
admin order get and the one streamed over ws for the competitors is different. The ws one looks correct.
Currently it just returns 200 immediately. I should at least check database and nats connection statuses.
Only happened on the competition page
Logs:
{"level":"info","message":"Trying to connect to rabbitmq..."}
{"level":"info","message":"Connected to rabbitmq"}
{"level":"info","message":"Listening on port: 6969"}
{"level":"info","message":"finished unary call with code OK","grpc.start_time":"2021-08-07T21:34:26+02:00","system":"grpc","span.kind":"server","grpc.service":"auth.Auth","grpc.method":"RefreshToken","grpc.code":"OK","grpc.time_ms":2089.929931640625}
{"level":"info","message":"finished unary call with code OK","grpc.start_time":"2021-08-07T21:34:26+02:00","system":"grpc","span.kind":"server","grpc.service":"auth.Auth","grpc.method":"RefreshToken","grpc.code":"OK","grpc.time_ms":2097.85107421875}
{"level":"info","message":"finished unary call with code OK","grpc.start_time":"2021-08-07T21:34:26+02:00","system":"grpc","span.kind":"server","grpc.service":"auth.Auth","grpc.method":"RefreshToken","grpc.code":"OK","grpc.time_ms":2114.37109375}
{"level":"info","message":"finished unary call with code OK","grpc.start_time":"2021-08-07T21:34:26+02:00","system":"grpc","span.kind":"server","grpc.service":"auth.Auth","grpc.method":"RefreshToken","grpc.code":"OK","grpc.time_ms":2099.908935546875}
{"level":"info","message":"finished unary call with code OK","grpc.start_time":"2021-08-07T21:34:26+02:00","system":"grpc","span.kind":"server","grpc.service":"auth.Auth","grpc.method":"RefreshToken","grpc.code":"OK","grpc.time_ms":2090.735107421875}
{"level":"info","message":"finished unary call with code OK","grpc.start_time":"2021-08-07T21:34:26+02:00","system":"grpc","span.kind":"server","grpc.service":"auth.Auth","grpc.method":"RefreshToken","grpc.code":"OK","grpc.time_ms":2115.375}
{"level":"info","message":"finished unary call with code OK","grpc.start_time":"2021-08-07T21:34:28+02:00","system":"grpc","span.kind":"server","grpc.service":"auth.Auth","grpc.method":"RefreshToken","grpc.code":"OK","grpc.time_ms":0.5979999899864197}
panic: Exception (504) Reason: "channel/connection is not open"
goroutine 276 [running]:
matverseny-backend/events.ConsumeProblem(0x10bd800, 0xc000126b70, 0xc000126b70, 0x1, 0xc0000a8500)
/home/smrtrfszm/dev/matverseny-backend/events/problems.go:43 +0x277
matverseny-backend/handler.(*competitionHandler).GetProblems(0xc000496360, 0xc000126ba0, 0x10c4468, 0xc000032520, 0x0, 0x0)
/home/smrtrfszm/dev/matverseny-backend/handler/competition.go:67 +0x20c
matverseny-backend/proto._Competition_GetProblems_Handler(0xdebcc0, 0xc000496360, 0x10c1c58, 0xc00012a260, 0x24, 0x10bd800)
/home/smrtrfszm/dev/matverseny-backend/proto/competition_grpc.pb.go:185 +0x113
github.com/grpc-ecosystem/go-grpc-middleware/auth.StreamServerInterceptor.func1(0xdebcc0, 0xc000496360, 0x10c1c58, 0xc00012a260, 0xc0001142e8, 0xed53b0, 0x1, 0xc00012a260)
/home/smrtrfszm/dev/go/pkg/mod/github.com/grpc-ecosystem/[email protected]/auth/auth.go:66 +0x136
github.com/grpc-ecosystem/go-grpc-middleware.ChainStreamServer.func1.1.1(0xdebcc0, 0xc000496360, 0x10c1c58, 0xc00012a260, 0x24, 0xc03bd5f109c349a8)
/home/smrtrfszm/dev/go/pkg/mod/github.com/grpc-ecosystem/[email protected]/chain.go:49 +0x5f
github.com/grpc-ecosystem/go-grpc-middleware/logging/zap.StreamServerInterceptor.func1(0xdebcc0, 0xc000496360, 0x10c1ee0, 0xc0001e2300, 0xc0001142e8, 0xc00012a1c0, 0xc00012a1e0, 0xc0001142e8)
/home/smrtrfszm/dev/go/pkg/mod/github.com/grpc-ecosystem/[email protected]/logging/zap/server_interceptors.go:53 +0x19d
github.com/grpc-ecosystem/go-grpc-middleware.ChainStreamServer.func1.1.1(0xdebcc0, 0xc000496360, 0x10c1ee0, 0xc0001e2300, 0xc000610c70, 0x40fc38)
/home/smrtrfszm/dev/go/pkg/mod/github.com/grpc-ecosystem/[email protected]/chain.go:49 +0x5f
github.com/grpc-ecosystem/go-grpc-middleware.ChainStreamServer.func1(0xdebcc0, 0xc000496360, 0x10c1ee0, 0xc0001e2300, 0xc0001142e8, 0xed53b0, 0x10bd800, 0xc000126900)
/home/smrtrfszm/dev/go/pkg/mod/github.com/grpc-ecosystem/[email protected]/chain.go:58 +0xd1
google.golang.org/grpc.(*Server).processStreamingRPC(0xc0001f2fc0, 0x10c59d8, 0xc0001bea80, 0xc0004846c0, 0xc000496bd0, 0x159c220, 0x0, 0x0, 0x0)
/home/smrtrfszm/dev/go/pkg/mod/google.golang.org/[email protected]/server.go:1540 +0x535
google.golang.org/grpc.(*Server).handleStream(0xc0001f2fc0, 0x10c59d8, 0xc0001bea80, 0xc0004846c0, 0x0)
/home/smrtrfszm/dev/go/pkg/mod/google.golang.org/[email protected]/server.go:1613 +0xca5
google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc000512960, 0xc0001f2fc0, 0x10c59d8, 0xc0001bea80, 0xc0004846c0)
/home/smrtrfszm/dev/go/pkg/mod/google.golang.org/[email protected]/server.go:934 +0xab
created by google.golang.org/grpc.(*Server).serveStreams.func1
/home/smrtrfszm/dev/go/pkg/mod/google.golang.org/[email protected]/server.go:932 +0x1fd
exit status 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.