Git Product home page Git Product logo

golib's Introduction

golib

Build Status Coverage Status Go Report Card

A collection of Go packages.

Contributions

All contributions must be unencumbered. It is the responsibility of the contributor to ensure compliance with all laws, copyrights, patents and contracts.

LICENSE

Copyright 2019 cloud-foundations.org

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License.

You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

golib's People

Contributors

cviecco avatar rgooch avatar tyen-brex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

golib's Issues

GitDB is not case-folding usernames

If a user is listed in GitDB using mixed case and a query is made listing the groups the user is a member of with (for example) a lowercased username, the query will result in no groups.
Usernames should be stored in lowercase and queries should be performed after converting usernames to lowercase.

Potential File Descriptor leakage on gitdb on 500 errors

About a week ago, part of the internal infrastructure had an temporary glitch on our github deployment, where the server was responding with 500 errors.

While this was happening, cloudgate consumed 1 FD per minute (correlated to the errors in log and the repo pull interval time). There FD where not released and seems like they are not attached to any connection.

These FD are reported by LSOF as:

cloud-gat  1234             cloud-gate   14u     sock                0,9      0t0    7707156 protocol: TCP
cloud-gat  1234             cloud-gate   15u     sock                0,9      0t0    7706142 protocol: TCP
cloud-gat  1234             cloud-gate   16u     sock                0,9      0t0    7707222 protocol: TCP
cloud-gat  1234             cloud-gate   17u     sock                0,9      0t0    7706459 protocol: TCP

Here is a part of the errors:

2021/05/05 15:41:10 exit status 1: fatal: unable to access 'https://org.gitrepo/IAM.git/': The requested URL returned error: 504
2021/05/05 15:44:35 504 Gateway Timeout
2021/05/05 15:44:43 exit status 1: fatal: unable to access 'https://org.gitrepo/IAM.git/': The requested URL returned error: 504
2021/05/05 15:45:42 500 Internal Server Error
2021/05/05 15:46:48 500 Internal Server Error
2021/05/05 15:47:54 500 Internal Server Error
2021/05/05 15:48:16 exit status 1: fatal: unable to access 'https://org.gitrepo/IAM.git/': The requested URL returned error: 504
2021/05/05 15:49:00 500 Internal Server Error
2021/05/05 15:49:56 exit status 1: fatal: unable to access 'https://org.gitrepo/IAM.git/': The requested URL returned error: 503
2021/05/05 15:50:06 500 Internal Server Error
2021/05/05 15:51:12 500 Internal Server Error
2021/05/05 15:51:36 exit status 1: fatal: unable to access 'https://org.gitrepo/IAM.git/': The requested URL returned error: 503
2021/05/05 15:52:18 500 Internal Server Error

awssecretsmanager/locker gets stuck

A Keymaster deployment was unable to refresh Let's Encrypt certificates because the locker kept throwing this error:
already locked SecretId:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.