FG

All Issues

24,993 verified issues

☁️ Cloud & DevOpsDocker
Fresh9 days ago

How to install docker-compose v2 on Linux

Description I'm trying to allow DDEV to use docker-compose v2 and don't have the resources for a whole set of tests on every macOS variant... but I thought it would be nice to run all the tests using docker-compose v2 on Linux (where it hasn't been introduced yet to my knowledge?) I followed the linux instructions in https://github.com/docker/compose-cli/blob/main/INSTALL.md but that doesn't do anything I can detect (`curl -L https://raw.githubusercontent.com/docker/compose-cli/main/scripts/install/install_linux.sh | sh`) (and doesn't enable the `docker compose` command either). How can I use docker-compose v2 on Linux?

Confidence57%
57%
Candidate Fix
1 fix
🗄️ Databases
Fresh9 days ago

[BUG]: `dbCredentials.ssl` is not working while introspecting

What version of `drizzle-orm` are you using? 0.27.0 What version of `drizzle-kit` are you using? 0.19.2 Describe the Bug The `ssl` option is not working while running introspect, [code block] My current workaround is, [code block] Expected behavior _No response_ Environment & setup _No response_

Confidence57%
57%
Candidate Fix
1 fix
☁️ Cloud & DevOpsAmazon
Fresh9 days ago

`aws configure import --csv` Expected header 'User Name' not found yet exists in the CSV

Describe the bug Importing a configuration using the cli doesn't work. Producing an error that the expected header is not found yet is in the csv. Expected Behavior Import the configuration and add the profile to the config. Current Behavior PS C:\Users\DOUG> aws configure import --profile-prefix TheUnderground --csv file://"C:\Clients\TheUnderground\Credentials\Setup\Setup.csv" --debug 2023-03-04 12:02:30,561 - MainThread - awscli.clidriver - DEBUG - CLI version: aws-cli/2.11.0 Python/3.11.2 Windows/10 exe/AMD64 2023-03-04 12:02:30,561 - MainThread - awscli.clidriver - DEBUG - Arguments entered to CLI: ['configure', 'import', '--profile-prefix', 'TheUnderground', '--csv', 'file://C:\\Clients\\TheUnderground\\Credentials\\Setup\\Setup.csv', '--debug'] 2023-03-04 12:02:30,607 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function add_s3 at 0x0000022E7CCB3920> 2023-03-04 12:02:30,607 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function add_ddb at 0x0000022E7CB00EA0> 2023-03-04 12:02:30,607 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <bound method BasicCommand.add_command of <class 'awscli.customizations.configure.configure.ConfigureCommand'>> 2023-03-04 12:02:30,608 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function change_name at 0x0000022E7CA5D1C0> 2023-03-04 12:02:30,608 - MainThrea

Confidence57%
57%
Candidate Fix
1 fix
🛠️ Developer ToolsMicrosoft
Fresh9 days ago

[BUG] npm install gets stuck on 'idealTree:lib: sill idealTree buildDeps'

Is there an existing issue for this? - [X] I have searched the existing issues This issue exists in the latest npm version - [X] I am using the latest npm Current Behavior When I run `npm install` in some repository, like https://github.com/mozilla/pdf.js, it gets stuck at the step: 'idealTree:lib: sill idealTree buildDeps'. Other things like `npm -g install` don't work either. Below is the verbose output and debug log attached. npm-verbose.txt 2022-01-21T23_07_33_102Z-debug-0.log Expected Behavior It should install the neccesary packages Steps To Reproduce 1. run `npm install -g gulp-cli` (or any other package presumably) Environment - npm: 8.3.2 - Node.js: v17.3.0 - OS Name: Arch Linux - System Model Name: Hp Zbook studio G5 - npm config: [code block]

Confidence57%
57%
Candidate Fix
1 fix
🗄️ Databases
Fresh9 days ago

[BUG]:drizzle typescript doesn't see boolean column

What version of `drizzle-orm` are you using? 0.33.0 What version of `drizzle-kit` are you using? 0.24.2 Describe the Bug i have entity [code block] but when try to update it [code block] see the error: Object literal may only specify known properties, and 'active' does not exist in type '{ createdAt?: SQL<unknown> | Date; country_code?: string | SQL<unknown>; fromIp?: string | SQL<unknown>; toIp?: string | SQL<unknown>; }'.ts(2353) Expected behavior expect that I can to change boolean value and it contains in the `ranges` Environment & setup _No response_

Confidence57%
57%
Candidate Fix
1 fix
📡 Networking
Fresh9 days ago

Simple HTTP->HTTPS Proxy Example?

Hi, I'm a node/node-http-proxy novice, and I'd like to use node-http-proxy to create an HTTP->HTTPS proxy server. I.e. a client would connect to the proxy over HTTP, and on the back-end it would talk to an HTTPS target web server. The two examples given are for HTTPS->HTTP and HTTPS->HTTPS, but not HTTP->HTTPS. Maybe it's obvious from these examples how to do it, but I'm not able to figure it out. Here's a sample of my code: [code block] When I try to connect to http://localhost:8000 I get a 500 Internal Server Error with the body [code block] If anyone can show me what I'm doing wrong, that would be greatly appreciated! Thanks!

Confidence57%
57%
Candidate Fix
1 fix
🤖 AI & LLMsOpenAI
Fresh9 days ago

Refused to set unsafe header "User-Agent"

Getting this error when trying to run the following code: `Refused to set unsafe header "User-Agent"` [code block]

Confidence57%
57%
Candidate Fix
1 fix
🌐 Web & Full-Stack
Fresh9 days ago

VM env req.protocol is inaccurate

When running the node.js HTTPS module using express the `req.protocol` is reporting `http` when it should be reporting `https` Environment information: Host: `Ubuntu Linux jas-laptop 3.2.0-57-generic #87-Ubuntu SMP Tue Nov 12 21:35:10 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux` VM s/w: `QEMU emulator version 1.0 (qemu-kvm-1.0), Copyright (c) 2003-2008 Fabrice Bellard` VM Guest: `CentOS Linux node.dev 2.6.32-431.1.2.0.1.el6.x86_64 #1 SMP Fri Dec 13 13:06:13 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux` Relevant source; app.js & server.js. I verified that the connection between the host & guest are indeed using SSL with the following `tcpdump` commands: Guest: `tcpdump -ieth0 -s 1024 -l -A tcp port 3000` Results: `E..^I...@... ... .......!..._.. ..@h..w...+.....~..mQ_+;..B.^...............K.vm.+.O...ic.|w.+.:.tL..A..X{.o>.....9..#.x{E...D..jUZu...Q$.....uND..C....[. ..G.E....9.. .I'..5..M6.9.t@.....v...0...(.}.........a4..PsKtb.e?.=. .......u..r._.e;.sGQ.VXq.>..;p...q.#B.....C.1......i.8......1Q...P;3...M....6klik.L../..FO.kRu(..#.iA...XC..].F..in.3..pT.l......-J.8.F.>'t.6..e.........$.v$.g. '...f$<.b..pe#HE.1w...7'...v..jam...cOR........`..KGgb( W....e.t........7.%.._..a.........-..G.m.k...7lu.O.".F....V.u...... .. 10:38:40.634548 IP 10.0.2.15.hbci > 10.0.2.2.59080: Flags [P.], seq 2488:2780, ack 5311, win 25470, length 292` Host: `tcpdump -ilo -s 1024 -l -A host node.dev and tcp port 3000` Results: `E..j..@.@.Uy..............%.7=......._..... ..@h..w...+.....~..mQ_+;..

Confidence56%
56%
Candidate Fix
1 fix
🔌 APIs & SDKs
Fresh9 days ago

No Clear way to abort XmlHttpRequest

Is there a simple way to expose the XHR object so that it can be aborted, or is this better off being handled somehow in a response interceptor?

Confidence56%
56%
Candidate Fix
1 fix
🗄️ DatabasesMongoDB
Fresh9 days ago

mongoose 4.0.1: pre "update" middleware this object does not return model object

Hi, I've a problem with the newest version of Mongoose. I'm creating an API with Express and Mongoose 4.0.1, and I'm not sure if I'm doing anything wrong, but the fact is whenever I try to use the new `pre` update middleware the same way I use `pre` save middleware, `this` object does not return the object being updated, instead it returns the `Query` object. Example of what I'm trying to explain: [code block] [code block] This is what I get in `this` reference object within the middleware, and I don't know how it's useful to me. [code block] Looking at the source code, some of its properties are defined inside `Query` function defined in `./node_modules/mongoose/lib/query.js`: Is this something unexpected or I am doing anything wrong? It would be interesting to have a solution because I don't like the idea of validating within a middleware on object saving and being forced to run validations directly on controller when updating. The same thing happens with findOneAndUpdate `pre` middleware, but I don't expect it to return the exercise before finding it. In fact and in my honest opinion, I think it would be interesting that findAndUpdate and findOneAndUpdate pre middlewares triggered find(One) and update middlewares, in this order, instead of having its own middleware. Thanks in advance for your help.

Confidence56%
56%
Candidate Fix
1 fix
🔌 APIs & SDKsTwilio
Fresh9 days ago

Upgrade moment to 2.19.3

NSP check fails with `Regular Expression Denial of Service` error. Required moment upgrade to 2.19.3

Confidence56%
56%
Candidate Fix
1 fix
🔌 APIs & SDKs
Fresh9 days ago

Error: Ensure that there are not multiple versions of GraphQL installed in your node_modules directory

[Related to https://github.com/graphql/graphiql/issues/58] I have two node modules A => B, where B creates a GraphQLSchema object that is imported by A, which is then used to instantiate graphqlExpress. I get this error: ` Ensure that there are not multiple versions of GraphQL installed in your node_modules directory ` And see that I have 2 different instances of the GraphQLSchema class type at runtime -- so validate.js invariant(schema instanceof GraphQLSchema) fails because the imported schema is an instance of A's GraphQLSchema not B's GraphQLSchema. However, all npm dependencies are of the same version (in both A and B modules). [code block] I assume this is a common pattern, but I can't find an example. BTW, I'm using npm-link to create the A => B dependency.

Confidence56%
56%
Candidate Fix
1 fix
📡 Networking
Fresh9 days ago

Disconnect not always firing

Hi, For some reason it seems the disconnect event isn't always firing serverside. I can't seem to find anywhere how to set the heartbeat option on the server, to automaticly disconnect a client when a certain amount of time has passed.

Confidence56%
56%
Candidate Fix
1 fix
🛠️ Developer ToolsMicrosoft
Fresh9 days ago

Crash when running overnight

Ubuntu 12.04, VSCode 0.10.1 Several times VS Code has become unresponsive overnight on the above configuration (locked). Here is the program output: [code block] This has never occurred with Atom.

Confidence56%
56%
Candidate Fix
1 fix
🤖 AI & LLMsOpenAI
Fresh9 days ago

createChatCompletion() takes a long time to process.

Describe the bug As described in the title, the method takes a while to load. This is a big problem because, in Vercel, the timeout limit for any call is 5 seconds. And in Netlify, the limit is 10 seconds. But most often the call takes more than 10 seconds to respond. As a result, my website is not working after refactoring the site to use the new gpt-3.5-trubo model. (It works fine with davinci) Basically, my website works on localhost but not when I deploy it to any service. Am I missing something? Is there a way to reduce the time? To Reproduce [code block] This takes more than 10 seconds to complete. Code snippets _No response_ OS Windows 11 Node version v18.12.1 Library version 3.2.1

Confidence56%
56%
Candidate Fix
1 fix
📱 Mobile & Cross-PlatformExpo
Fresh9 days ago

[android][expo-image-picker] content:// URIs are not usable in `ExponentImagePicker.launchImageLibraryAsync`

Minimal reproducible example I don't have Android. I have no idea what is an `uri` with `content://` Summary "expo-image-picker": "~14.3.2", Exactly as it's happening here https://github.com/expo/expo/issues/9354, I'm getting an error in `ExponentImagePicker.launchImageLibraryAsync` [code block] For some reason, after upgrading to Expo 49, seems like the image picker totally changed (the UI) in Android, and it seems like it allows the user to pick photos that the URI are `content://xxxx` As you can see here, it's only happening since some days ago (when I published SDK 49 upgrade). <img width="323" alt="Screen Shot 2023-08-29 at 21 59 44" src="https://github.com/expo/expo/assets/1837969/9aef3e41-0f95-4725-b2a6-adea4533eb63"> Is there a workaround for this? Maybe some available flag to switch back to the old UI version, where files with `content://` uris were not visible. Current code: [code block] Environment [code block] "expo-image-picker": "~14.3.2",

Confidence56%
56%
Candidate Fix
1 fix
🔌 APIs & SDKsStripe
Fresh9 days ago

Webhook validate signing error: No signature found matching the expected signature for payload. | express

Another 'Webhook validate signing' issue! Whoooohooo 🥳 Hi there! I am trying to built a Backend Server for a Web project with Google Cloud App Engine. What do I want to achieve: I want to verify all my received WebHooks from Stripe. What is my Problem: Currently I always get the same error message. [code block] I tried lot's of ways getting the raw body from the request and passing it to the `stripe.webhooks.constructEvent` Method. But all failed... My Code to reproduce [code block] As you can see it is nearly identical to the code from the Stripe Docs. I am not sure if App Engine, from Google Cloud, is parsing the request body before I can even touch it. My only reference point is that if I `console.log` out the complete request, the `body` part is always already parsed as a JSON, at least it seems like it. This is what I get when I do [code block]: [code block] What I have tried so far I tried many things. - [code block] Result: [code block] - [code block] Result: [code block] - [code block] (same as in 'My Code to reproduce') Result: [code block] - I have also tried the 'simple middleware' idea from jlomas-stripe. But still: Result: [code block] - [code block] Result: [code block] - [code block] Result: [code block] - [code block] Result: [code block] ... At the end, as you can see, I got very frustrated ☹️ ... Is this a Bug or is there a solution to fix it? I have only tested it with the Stripe CLI. | Name | Version | | -

Confidence56%
56%
Candidate Fix
1 fix
📡 Networking
Fresh9 days ago

[socketio v3] SOCKET MIDDLEWARE ISSUE - removal of socket level middleware

You want to: [ ] report a bug [x] request a feature Current behaviour Removal of this crucial middleware function on a v3 socket, now, some functions are impawssible!!!!! Please keep this function running as it is in v2.3, it gives widely sprectum of functional programming faster to get done, if it is removal, i will stick to v2.3, but i love to upgrading, but this paradigm is facing us issues.

Confidence56%
56%
Candidate Fix
1 fix
🌐 Web & Full-Stack
Fresh9 days ago

outdated dependencies

👉 SEE

Confidence56%
56%
Candidate Fix
1 fix
🛠️ Developer ToolsMicrosoft
Fresh9 days ago

[BUG] run "npm publish" then "ERR! code ETIMEDOUT"

Is there an existing issue for this? - [X] I have searched the existing issues Current Behavior run "npm publish" or "npm login" npm ERR! code ETIMEDOUT npm ERR! errno ETIMEDOUT npm ERR! network request to https://registry.npmjs.org/el-table-model failed, reason: connect ETIMEDOUT 104.16.29.34:443 npm ERR! network This is a problem related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settings. npm ERR! network npm ERR! network If you are behind a proxy, please make sure that the npm ERR! network 'proxy' config is set properly. See: 'npm help config' npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\asus\AppData\Roaming\npm-cache\_logs\2023-12-14T01_27_18_524Z-debug.log Environment - npm: 6.14.18 - Node.js: 14.21.3 - OS Name: Windows - System Model Name: - npm config:

Confidence56%
56%
Candidate Fix
1 fix
← PrevPage 81 of 1250Next →