QESTION: Is it possible to generate thumbnails for PDF using sharp without compiling from source or any easy way?

What are you trying to achieve?
Want to generate thumbnail for PDF pages... but it involves compiling from source.. but is there any simple snippet or direct way to do this.. i mean without compiling anything ..
Have you searched for similar questions?
Yes.. find two similar
https://github.com/lovell/sharp/issues/2008
https://github.com/lovell/sharp/issues/1411

No, sorry, the two issues you link to provide the same answer.

Thanks for quick response @lovell
But my question is  similar to the questions mentioned  but different too..  I mean is there any simple straightforward way to do PDF thumbnail using sharp lib ?

No, sorry, the two issues you link to provide the same answer.


error on extractXML

I receive the following error on extractXML using basically the same example as is given in the readme:

Error: 1: XML declaration allowed only at the start of the document
2: XML declaration allowed only at the start of the document
3: XML declaration allowed only at the start of the document
4: Premature end of data in tag search-results line 3
5: Premature end of data in tag search-results line 1
6: Premature end of data in tag search-results line 1

Ah, yes. Elsevier unexpectedly changed the XML headers of the returned XML without notifying anyone, causing the parsing to fail. I'll upload a new version shortly that fixes the problem and should be immune to such changes in the future.

Thanks!

Franklin Darrow Sayre
<EMAIL_ADDRESS>On 18 August 2017 at 14:40, Christopher Belter<EMAIL_ADDRESS>wrote:

Ah, yes. Elsevier unexpectedly changed the XML headers of the returned XML
without notifying anyone, causing the parsing to fail. I'll upload a new
version shortly that fixes the problem and should be immune to such changes
in the future.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/christopherBelter/scopusAPI/issues/1#issuecomment-323443712,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGTcGtXiIl7xbfnavLkIIMaLi3lMbUguks5sZeijgaJpZM4O75Zq
.


Feature/add api url config

Implement a config for the endpoint url.
@gohiring/api-dev  Please review :smile:

It totally is! :wink:
But the config has changed from api_url to api_host :smile:

Looks great, I like what you've done with configuration.rb :smile:
Not sure about that one require but otherwise it's :+1: from me!

I have the same question :smile: Where required ActiveSupport::Deprecation is used?..

Thank you for explanation @SweeD :smile: :+1:
It's simple curiosity. Would it make sense to require ActiveSupport::Deprecation in spec/spec_helper.rb then?.. I mean if just shoulda-matchers requires this library, then might be enough to load it when tests are running.

shoulda-matchers where the only ones who tried to print deprecation messages with it, so there has been the errors.
We could move it, yeah.
I'll do that with in a simple commit in master, if that's okay?
This one is already in master

Simple follow-up pull request should be also fine :wink:


Error starting Sidekiq Ruby 2.7 Sidekiq 6.5.x

Starting Sidekiq on Ruby 2.7.5 and Sidekiq 6.5.x
The error that we got is
WARN: NameError: undefined local variable or method `options' for #<Sidekiq::Manager:0x00007fe76f7ca408>
WARN: /Users/user/.rbenv/versions/2.7.5/lib/ruby/gems/2.7.0/bundler/gems/sidekiq-limit_fetch-bf9cee3b81e4/lib/sidekiq/extensions/manager.rb:9:in `start'

After downgrading Sidekiq to 6.4.x the error is gone.
Could be a duplicate of https://github.com/deanpcmad/sidekiq-limit_fetch/issues/129 but this is a slightly different error.

Yep looks like the same issue as Sidekiq 6.5 changed the way options are set. Will try and sort this tonight

This should now be fixed thanks to @BobbyMcWho. v4.3.0 has been released.


BUG: Event Functions Not Firing As Expected

See the following settings and handler code:
Using this test, I only ever get events in my lambda_handler and not in the functions configured for the recurring and sns events.
I am expecting the sns_event to fire on an sns event. The minute_recurring_function to fire on the schedule. The  lambda_handler to only fire when I test the function in the AWS management console, and for other events other than scheduled and sns.
What am I missing?
zappa_settings.json
{
	"staging": {
        "project_name": "whats-up",
		"s3_bucket": "repay-o-lambda-deployments",

		"aws_region": "us-west-2",
		"delete_local_zip": true,
		"delete_s3_zip": true,
		"keep_warm": false,
		"lambda_description": "Whats up with that",
		"lambda_handler": "whats_up.lambda_handler",
		"use_apigateway": false,
		"exception_handler": "whats_up.unhandled_exceptions",
		"use_precompiled_packages": true,
        "cloudwatch_log_level": "DEBUG",
        "cloudwatch_data_trace": true,
        "cloudwatch_metrics_enabled": true,
        "log_level": "DEBUG",
        "debug": true,
		"events": [
			{
			"function": "whats_up.sns_event",
			"event_source": {
				"arn":  "arn:aws:sns:us-west-2:502122972617:sandbox-gateway-transaction",
				"events": [
					"sms:Publish"
					]
				}
			},
            {
              "function": "whats_up.minute_recurring_function",
              "expression": "rate(1 minute)"
            }
		]
	}
}

whats_up.py
import logging

logger = logging.getLogger()
logger.setLevel(logging.DEBUG)
logger.info("Starting What's Up Handler...")

def unhandled_exception(e, event, context):
    logger.debug("EX: " + str(event))
    return True

def sns_event(event, context):
    logger.debug("SNS: " + str(event))
    return True

def lambda_handler(event, context):
    logger.debug("HANDLER: " + str(event))
    return True

def minute_recurring_function():
    logger.info("SCHEDULED" + "Its that time again....")
    return True

Soled this:   see https://github.com/Miserlou/Zappa/issues/373


Unable to use preload.build.rollupOptions

Describe the bug
My electron.vite.config.ts file:
import { resolve } from 'path';
import { defineConfig, externalizeDepsPlugin } from 'electron-vite';
import react from '@vitejs/plugin-react';

export default defineConfig({
  main: {
    plugins: [externalizeDepsPlugin()],
  },
  preload: {
    plugins: [externalizeDepsPlugin()],
    build: {
      rollupOptions: {
        input: {
          main: resolve(__dirname, 'src/preload/main.js'),
          'screen-share-picker': resolve(__dirname, 'src/preload/screen-share-picker.js'),
        },
      },
    },
  },
  renderer: {
    resolve: {
      alias: {
        '@renderer': resolve('src/renderer/src'),
      },
    },
    plugins: [react()],
  },
});

In my project directory, I have

When I run electron-vite dev --watch, I do not see output in the preload directory:

Electron-Vite Version
1.0.18
Electron Version
22.2.0
Vite Version
4.1.1
Validations

[X] Follow the Code of Conduct.
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

The preload script path you configured is incorrect.
There are subdir ipc-invokes

main.ts and screen-share-picker.ts isn't under ipc-invokers though.
This is my tsconfig.node.json:
{
  "extends"<EMAIL_ADDRESS>  "include": ["electron.vite.config.*", "src/**/*"],
  "compilerOptions": {
    "composite": true,
    "declaration": true,
    "declarationDir": "src/types",
    "types": ["electron-vite/node"],
    "target": "ES2022",
    "module": "esnext",
    "moduleResolution": "node"
  },
}

main: resolve(__dirname, 'src/preload/main.js') ->  main: resolve(__dirname, 'src/preload/main.ts')
js -> ts

Thank you, that fixed it!

Oh, it still did not work:

  const mainWindow = new BrowserWindow({
    width: 1200,
    height: 800,
    show: false,
    autoHideMenuBar: true,
    webPreferences: {
      preload: join(__dirname, '../preload/main.js'),
      ...commonWebPrefs,
    },
    icon,
  });

electron.vite.config.ts:
  preload: {
    plugins: [externalizeDepsPlugin()],
    build: {
      rollupOptions: {
        input: {
          main: resolve(__dirname, 'src/preload/main.ts'),
          'screen-share-picker': resolve(__dirname, 'src/preload/screen-share-picker.ts'),
        },
      },
    },
  },

try sandbox: false

https://www.electronjs.org/blog/electron-20-0 ,
If your preload scripts do not depend on Node, no action is needed. If your preload scripts do depend on Node, either refactor them to remove Node usage from the renderer, or explicitly specify sandbox: false for the relevant renderers.

https://www.electronjs.org/blog/electron-20-0 ,
If your preload scripts do not depend on Node, no action is needed. If your preload scripts do depend on Node, either refactor them to remove Node usage from the renderer, or explicitly specify sandbox: false for the relevant renderers.

We don't have any dependencies on node and we use sandbox: false for security reasons, along with context isolation true and node integration false.
Our app runs fine, it's just when I try to split the preloaders up, there are issues.

When two preload scripts refer to a common module, a chunk will be generated. You can copy common codes for independent reference, which can temporarily solve this problem.
Maybe the preload script require one file. I will try to reproduce and find the problem.

Thinking about it, it's probably more an issue with the vite / rollup tooling than it is with your framework. If you're unable to come up with anything, that's ok. I appreciate the time you've spent to respond to me!
Thank you!

🤝 This is probably related to rollup. How to not split the code and generate a chunk.

Multi-file preload script support needs to disable sandbox. see https://www.electronjs.org/docs/latest/tutorial/sandbox#preload-scripts


Cache FQDN for cloud systems

On some (maybe badly configured) cloud systems, hostname -f may take a long time (close to a second).
This fix caches it into a variable and re-uses it each time $PS1 is printed.

@EmreAtes thank you for your contribution!


Adds UGO codon, Adds DELETE codon

Please forgive me, I have realised #17 exists just about now.
(If it gets merged first, I'll gladly remove the UGO part).
Adds:
UGO codon

Ability to filter UGO particles out of a cell to allow viruses to force a cell to produce more viruses without destroying the cell.

DELETE codon

DELETE codon allows to completely remove certain codons from a cell, as to per say, allow a virus to completely overtake cell's inner workings/disable the REMOVE UGO system.

PR #17 was just merged. If you want to make the changes and start another pull request, now's your chance.


Ch 1  - remove stopwords in Pipeline -- need to add split()?

I noticed i do not get the same results as the book or GitHub if I do not add a .split() in the remove stop function.
Repo and Book:
def remove_stop(tokens):
return [t for t in tokens if t.lower() not in stopwords]
However, that ends up separating each character, not the word itself. here's what worked for me:
def remove_stop(tokens):
return [t for t in tokens.split() if t.lower() not in stopwords]
My tokenize and prepare are identical to yours. Just the remove_stop function i needed to change by adding the .split()

Just had everything running on Colab, still works fine. Note that remove_stop already expects a list of tokens as parameter, not a string. So you should call tokenize first and then feed the output into remove_stop. That's what happens later in the pipeline with the following definition:
pipeline = [str.lower, tokenize, remove_stop]

Thank you!


possible unknown assets bug

when spinning up my local pd instance and cometbft, I encounter unknown assets because the symbol in the metadata is missing. I'm unsure whether this is happening only to me or if it's a registry-related issue?

Any chance the local pd node used to have the chain id of penumbra-testnet-deimos-8-x6de97e39? In short, the assets are unknown because:

There is not a registry json called penumbra-testnet-phobos-x6b520739
Given this is a testnet chain id, it will check for a registry called penumbra-testnet-phobos. It does not find that either.

@conorsch, any chance we could we change the local pd chain id to penumbra-testnet-phobos-1-x6de97e39? This will ensure it will hit the registry file there.

Any chance the local pd node used to have the chain id of penumbra-testnet-deimos-8-x6de97e39?

When I tried modifying the chain id to penumbra-testnet-deimos-8-x6de97e39, I still encountered the same problem?

forgot to mention that the issue was related to https://github.com/prax-wallet/registry/pull/89. It was failing to fetch from the registry because it was trying to find penumbra-testnet-deimos-8.json rather than penumbra-testnet-deimos-8-x6de97e39.json. Bumping the registry in https://github.com/prax-wallet/prax/pull/197  resolves this.


Jackson configuration is cumbersome

I need to register jackson-module-kotlin with the Temporal SDK in order to support Kotlin data classes. As far as Jackson goes, this is accomplished with a fairly trivial modification to the ObjectMapper. However, the Temporal SDK currently makes it very cumbersome to get a hook onto that reference.
While it's possible to declare your entirely own DataConverter, it requires replicating a large portion of the default Temporal configuration. E.g., here is the code I would need to write if I just wanted to make one simple Jackson modification:
// Replicate the default Jackson configuration
val mapper = ObjectMapper()
mapper.configure(DeserializationFeature.ADJUST_DATES_TO_CONTEXT_TIME_ZONE, false)
mapper.configure(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS, false)
mapper.registerModule(JavaTimeModule())
mapper.registerModule(Jdk8Module())
mapper.setVisibility(PropertyAccessor.FIELD, JsonAutoDetect.Visibility.ANY)

// Enable my Jackson customization
mapper.registerKotlinModule()

// Replicate the default payload converters (in order) while overriding JacksonJsonPayloadConverter
val dataConverter = DefaultDataConverter(
    NullPayloadConverter(),
    ByteArrayPayloadConverter(),
    ProtobufJsonPayloadConverter(),
    ProtobufPayloadConverter(),
    JacksonJsonPayloadConverter(mapper)
)

// Register the global default
GlobalDataConverter.register(dataConverter)

This is a lot of boilerplate and prone to falling out of sync with the defaults that we're copy/pasting.
Alternatively, I can use reflection to modify the ObjectMapper that is already registered globally. E.g.,
val jacksonConverter = DefaultDataConverter.STANDARD_PAYLOAD_CONVERTERS.first { it is JacksonJsonPayloadConverter }
val mapperField = JacksonJsonPayloadConverter::class.java.getDeclaredField("mapper")
mapperField.isAccessible = true
val mapper = mapperField.get(jacksonConverter) as ObjectMapper
mapper.registerKotlinModule()

This is of course hacky, but I actually prefer it since I know my settings won't drift out of sync from Temporal's default configuration, and I'll get an explicit failure if something breaks with the reflection.
It would be nice if it was simpler and easier to be able to customize the Jackson-level configuration. Some potential solutions:

Similar to exposing a global DataConverter, expose a global ObjectMapper
Expose properties for List<PayloadConverter> and ObjectMapper that would allow a user to drill down into the current mapper to modify it (this still feels a little hacky, since I would rather treat the current mapper as immutable)
Expose something like a UnaryOperator<ObjectMapper> that allows a user to customize the mapper alongside Temporal's existing default configuration
Expose an environment variable that will trigger Temporal to call mapper.registerKotlinModule()
Expose an environment variable that will trigger Temporal to call mapper.findAndRegisterModules()

Related:

https://community.temporal.io/t/hi-deserialization-problem/474/4
https://github.com/temporalio/sdk-java/issues/139

Version: 1.16.0

You don't need any of this. Create a new DataConverter using DefaultDataConverter#newDefaultInstance(). Create new JacksonJsonPayloadConverter with a ObjectMapper configured the way you need. Register your custom JacksonJsonPayloadConverter on the DataConverter using DefaultDataConverter#withPayloadConverterOverrides.
Register your custom DataConverter wherever you need.
A similar thing is done in this sample: https://github.com/temporalio/samples-java/blob/708324ffd1599df4d593b411e9516424be096033/src/main/java/io/temporal/samples/payloadconverter/crypto/Starter.java#L49

Ah, I missed the withPayloadConverterOverrides method. That simplifies things a little bit, thanks. But it seems like I still need to replicate the following code:
https://github.com/temporalio/sdk-java/blob/d2edb5489d9d8e1185e9fcca70208dafc540c82f/temporal-sdk/src/main/java/io/temporal/common/converter/JacksonJsonPayloadConverter.java#L43-L51

For anyone else who stumbles upon this, I ended up with a solution like this:
val mapper = ObjectMapper().apply {
    configure(DeserializationFeature.ADJUST_DATES_TO_CONTEXT_TIME_ZONE, false)
    configure(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS, false)
    findAndRegisterModules()
    setVisibility(PropertyAccessor.FIELD, Visibility.ANY)
}
val dataConverter = DefaultDataConverter.newDefaultInstance()
    .withPayloadConverterOverrides(JacksonJsonPayloadConverter(mapper))
GlobalDataConverter.register(dataConverter)

@Bennett-Lynch You may also want to check out this class from our kotlin module: https://github.com/temporalio/sdk-java/blob/master/temporal-kotlin/src/main/kotlin/io/temporal/common/converter/KotlinObjectMapperFactory.kt

@Bennett-Lynch You may also want to check out this class from our kotlin module: https://github.com/temporalio/sdk-java/blob/master/temporal-kotlin/src/main/kotlin/io/temporal/common/converter/KotlinObjectMapperFactory.kt

Oh, awesome. Is there anyway the default configuration could pick this one up if using SPI or if it's on the class path?

No, we are not gonna play with SPI as a part of the core. The consequences may be too severe if somebody will have a magically picked up converter that they don’t expect to have. The benefits are not worth the risks.
Also, we fully expect every project to customize their own Jackson settings and these classes are just a start. We are not saying that this configuration makes sense to every project, so we will not automatically load or pick it up.
I will take a look at the discrepancy, but I’m not sure it can be fixed already because of the compatibility concerns.

https://github.com/temporalio/sdk-java/pull/1388

Offering automatic configuration via class-path module detection is a very convenient utility. Without it, I'll now be littering any project using Temporal and Kotlin with manual overrides in both prod/test configuration (which are somewhat cumbersome to insert, due to their global nature). In my case, I'm perfectly happy with the default serialization configuration otherwise. If including such detection in temporal-kotlin is too risky, I personally would love to have a separate and dedicated module option, like temporal-kotlin-jackson. Just my 2 cents, but I respect your opinion as the maintainer.


5 dereferencing null bug in homeassistantservicemc

Small bug fix.

Confusion, I wanted to merge with https://github.com/house-of-abbey/GarminHomeAssistantWidget/


Don't allow sharing with write permissions to viewer users

Also, what happens when a user with rw access to other visualizations gets converted to a viewer.


[Auto-generated] Check & update dependencies (pyproject.toml)

Update dependencies (pyproject.toml)
Automatically created PR based on the 'CI - Check pyproject.toml dependencies' workflow in SINTEF/ci-cd.

We're currently processing your upload.  This comment will be updated when the results are available.


Update README.md

compability of core is 0.8.8

0.8.6+ is meant to indicate a compatibility to versions of 0.8.6 and above. This already includes 0.8.8.

I tried it out. I cant update world with 0.8.6. I got a message, i needs 0.8.8.


invalid option: --env=staging

Since updating from 2.147.0 to 2.148.0 I now receive: invalid option: --env=staging

I also have this same problem

Same Problem here

Seems like it might be related to https://github.com/fastlane/fastlane/pull/16096

What command are/were you running before? Lane or action? Got just the = removed?

Yes, confirmative. Just remove the = do the trick.

@alubeck: Which command had you been running with --env=foo prior to this failing? I'm curious as I authored the change that probably caused this regression so sorry about that

I am using the Microsoft Task for Azure DevOps Pipelines that does something like this:
fastlane deliver --force -u *** -a com.test -i /Users/username/Documents/myagent/_work/13/a/AppStore.ipa -j ios -m /Users/username/Documents/myagent/_work/13/s/metadata -w /Users/macdev/Documents/myagent/_work/13/s/screenshots -k *** -e *** --submit_for_review true --automatic_release true --app_rating_config_path metadata/ratings.json

and failed with:
[!] Could not find option 'env' in the list of available options: username, app_identifier, app_version, ipa, pkg, build_number, platform, edit_live, use_live_version, metadata_path, screenshots_path, skip_binary_upload, skip_screenshots, skip_metadata, skip_app_version_update, force, overwrite_screenshots, submit_for_review, reject_if_possible, automatic_release, auto_release_date, phased_release, reset_ratings, price_tier, app_rating_config_path, submission_information, team_id, team_name, dev_portal_team_id, dev_portal_team_name, itc_provider, run_precheck_before_submit, precheck_default_rule_level, individual_metadata_items, app_icon, apple_watch_app_icon, copyright, primary_category, secondary_category, primary_first_sub_category, primary_second_sub_category, secondary_first_sub_category, secondary_second_sub_category, trade_representative_contact_information, app_review_information, app_review_attachment_file, description, name, subtitle, keywords, promotional_text, release_notes, privacy_url, apple_tv_privacy_policy, support_url, marketing_url, languages, ignore_language_directory_validation, precheck_include_in_app_purchases, app
##[error]Error: fastlane failed with return code: 1

Strangly in the command line there is no env parameter so I don't know why it fails with this error. But maybe the output is only a log and is not the command line that is called underneith.
The Task is available here: https://github.com/microsoft/app-store-vsts-extension
In their Repository there is also an issue open to this problem: https://github.com/microsoft/app-store-vsts-extension/issues/152
As a workaround I configure the task to only ever install 1.147.0 instead of the newest version which currently works.

As I have the same situation as @DerGary using Azure DevOps, however, I took my IPA and installed fastlane 2.148.1 locally and then ran the same command it runs
fastlane deliver -a <appbundleid> -i "<ipafile>.ipa" -j ios --skip_metadata true --skip_screenshots true -e "<apple team name here>"
Which results in the same error showing. I then used gem to install 2.146.1, ran the same command and it succeeded.
Here is the verbose output when running the above command locally with 2.148.1
$ /usr/local/Cellar/fastlane/2.148.1/bin/fastlane deliver -a <appbundleid> -i "<ipafile>.ipa" -j ios --skip_metadata true --skip_screenshots true -e "<teamname>" --verbose
[✔] 🚀
[09:10:33]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
Traceback (most recent call last):
	20: from /usr/local/Cellar/fastlane/2.148.1/libexec/bin/fastlane:23:in `<main>'
	19: from /usr/local/Cellar/fastlane/2.148.1/libexec/bin/fastlane:23:in `load'
	18: from /usr/local/Cellar/fastlane/2.148.1/libexec/gems/fastlane-2.148.1/bin/fastlane:23:in `<top (required)>'
	17: from /usr/local/Cellar/fastlane/2.148.1/libexec/gems/fastlane-2.148.1/fastlane/lib/fastlane/cli_tools_distributor.rb:111:in `take_off'
	16: from /usr/local/Cellar/fastlane/2.148.1/libexec/gems/fastlane-2.148.1/deliver/lib/deliver/commands_generator.rb:17:in `start'
	15: from /usr/local/Cellar/fastlane/2.148.1/libexec/gems/fastlane-2.148.1/deliver/lib/deliver/commands_generator.rb:183:in `run'
	14: from /usr/local/Cellar/fastlane/2.148.1/libexec/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
	13: from /usr/local/Cellar/fastlane/2.148.1/libexec/gems/fastlane-2.148.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'
	12: from /usr/local/Cellar/fastlane/2.148.1/libexec/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
	11: from /usr/local/Cellar/fastlane/2.148.1/libexec/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
	10: from /usr/local/Cellar/fastlane/2.148.1/libexec/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
	 9: from /usr/local/Cellar/fastlane/2.148.1/libexec/gems/fastlane-2.148.1/deliver/lib/deliver/commands_generator.rb:64:in `block (2 levels) in run'
	 8: from /usr/local/Cellar/fastlane/2.148.1/libexec/gems/fastlane-2.148.1/fastlane_core/lib/fastlane_core/configuration/configuration.rb:36:in `create'
	 7: from /usr/local/Cellar/fastlane/2.148.1/libexec/gems/fastlane-2.148.1/fastlane_core/lib/fastlane_core/configuration/configuration.rb:36:in `new'
	 6: from /usr/local/Cellar/fastlane/2.148.1/libexec/gems/fastlane-2.148.1/fastlane_core/lib/fastlane_core/configuration/configuration.rb:66:in `initialize'
	 5: from /usr/local/Cellar/fastlane/2.148.1/libexec/gems/fastlane-2.148.1/fastlane_core/lib/fastlane_core/configuration/configuration.rb:82:in `verify_value_exists'
	 4: from /usr/local/Cellar/fastlane/2.148.1/libexec/gems/fastlane-2.148.1/fastlane_core/lib/fastlane_core/configuration/configuration.rb:82:in `each'
	 3: from /usr/local/Cellar/fastlane/2.148.1/libexec/gems/fastlane-2.148.1/fastlane_core/lib/fastlane_core/configuration/configuration.rb:84:in `block in verify_value_exists'
	 2: from /usr/local/Cellar/fastlane/2.148.1/libexec/gems/fastlane-2.148.1/fastlane_core/lib/fastlane_core/configuration/configuration.rb:328:in `verify_options_key!'
	 1: from /usr/local/Cellar/fastlane/2.148.1/libexec/gems/fastlane-2.148.1/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in `method_missing'
/usr/local/Cellar/fastlane/2.148.1/libexec/gems/fastlane-2.148.1/fastlane_core/lib/fastlane_core/ui/interface.rb:141:in `user_error!': [!] Could not find option 'env' in the list of available options: username, app_identifier, app_version, ipa, pkg, build_number, platform, edit_live, use_live_version, metadata_path, screenshots_path, skip_binary_upload, skip_screenshots, skip_metadata, skip_app_version_update, force, overwrite_screenshots, submit_for_review, reject_if_possible, automatic_release, auto_release_date, phased_release, reset_ratings, price_tier, app_rating_config_path, submission_information, team_id, team_name, dev_portal_team_id, dev_portal_team_name, itc_provider, run_precheck_before_submit, precheck_default_rule_level, individual_metadata_items, app_icon, apple_watch_app_icon, copyright, primary_category, secondary_category, primary_first_sub_category, primary_second_sub_category, secondary_first_sub_category, secondary_second_sub_category, trade_representative_contact_information, app_review_information, app_review_attachment_file, description, name, subtitle, keywords, promotional_text, release_notes, privacy_url, apple_tv_privacy_policy, support_url, marketing_url, languages, ignore_language_directory_validation, precheck_include_in_app_purchases, app (FastlaneCore::Interface::FastlaneError)

✅ fastlane environment ✅
Stack

Key
Value

OS
10.15.4

Ruby
2.5.8

Bundler?
false

Git
git version 2.24.2 (Apple Git-127)

Installation Source
/usr/local/Cellar/fastlane/2.148.1/libexec/bin/fastlane

Host
Mac OS X 10.15.4 (19E287)

Ruby Lib Dir
<EMAIL_ADDRESS>

OpenSSL Version
OpenSSL 1.1.1f  31 Mar 2020

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
11.4.1

System Locale

Variable
Value

LANG
en_NZ.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.148.1
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
2.3.2

atomos
0.1.3

CFPropertyList
3.0.2

claide
1.0.3

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.16.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.7.0

terminal-table
1.8.0

plist
3.5.0

public_suffix
2.0.5

addressable
2.7.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.7.1

tty-cursor
0.7.1

tty-spinner
0.9.3

babosa
1.0.3

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.73.0

faraday
1.0.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
1.0.0

fastimage
2.1.7

gh_inspector
1.1.3

json
2.3.0

mini_magick
4.10.1

multi_xml
0.6.0

rubyzip
1.3.0

security
0.1.3

xcpretty-travis-formatter
1.0.0

dotenv
2.7.5

bundler
2.1.4

naturally
2.2.0

simctl
1.6.8

jwt
2.1.0

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mini_mime
1.0.2

multi_json
1.14.1

signet
0.14.0

memoist
0.16.2

os
1.1.0

googleauth
0.12.0

httpclient
2.8.3

google-api-client
0.38.0

google-cloud-env
1.3.1

google-cloud-errors
1.0.0

google-cloud-core
1.5.0

digest-crc
0.5.1

google-cloud-storage
1.26.1

emoji_regex
1.0.1

jmespath
1.4.0

aws-partitions
1.317.0

aws-eventstream
1.1.0

aws-sigv4
1.1.3

aws-sdk-core
3.96.1

aws-sdk-kms
1.31.0

aws-sdk-s3
1.65.0

generated on: 2020-05-21

Thanks for that @milliamp and @DerGary .. I reproduced the same issue with the following:
$ bundle exec fastlane deliver -e test

Any args other than -e seem to be fine... I'll try digging a bit deeper

Commenting out
global_option('--env STRING[,STRING2]', String, 'Add environment(s) to use with `dotenv`')

From the deliver commands_generator.rb file fixes things... I was only defining that so that it appeared in the fastlane deliver --help docs but I guess it's having some other side effect that I need to dig into.
I guess the issue with --env=staging no longer working is also caused by the basic version of extracting params from ARGV:
https://github.com/fastlane/fastlane/blob/2ee51940859de18a3d232377e84004a5d7430eff/fastlane/lib/fastlane/cli_tools_distributor.rb#L131-L141
I guess commander also was able to support the --key=value syntax and that was an oversight as I was just matching my implementation to the docs

Looks like Configuration strips global options out of its checks... But this was specific for :verbose and would not have included the new :env
https://github.com/fastlane/fastlane/blob/2ee51940859de18a3d232377e84004a5d7430eff/fastlane_core/lib/fastlane_core/configuration/configuration.rb#L30-L35

So I think (and I'm no expert here) that this is potentially a limitation of commander.
Lets take the following example to reproduce the issue:
require 'bundler/inline'

gemfile do
  source 'https://rubygems.org'
  gem 'commander-fastlane'
end

ARGV << 'deliver'
ARGV << '-e'
ARGV << 'test'

require 'commander/import'

program :name, 'Foo Bar'
program :version, '1.0.0'
program :description, 'Stupid command that prints foo or bar.'

global_option('--env STRING[,STRING2]', String, 'Global --env arg')

command :deliver do |c|
  c.option '-e STRING', String, 'Something to print'

  c.action do |args, options|
    puts "hash: #{options.__hash__}"
    puts "-e: #{options.e}"
    puts "--env: #{options.env}"
  end
end

run!

This is the output:
hash: {:env=>"test", :e=>"test"}
-e: test
--env: test

This is because Commander uses OptionsParser under the hood... OptionsParser would usually know how that it needs to stop automatically assigning -e as shorthand for --env (I think) but because Commander will first parse just the global options, then strip them from ARGV and then parse the command's options, it isn't able to do this so we end up with :env=>"test".
This is then what trips up when calling:
FastlaneCore::Configuration.create(deliverfile_options, options.__hash__)

We can work around this by adding another check similar to the one used for --verbose in https://github.com/fastlane/fastlane/issues/16461#issuecomment-632026585... But I'm not sure if it's the right answer?
Really It's kind of wrong to be declaring --env as a global_option in the commands_generator entirely, since this is supposed to always be stripped from in cli_tools_distributor anyway.. But without it, we're not able to include the arg in the help comments, unless there is another way that I'm aware of?
I see three options:

Remove the global_option and add it to help some other way (or not at all)
Add the validation work around in configuration.rb
Rollback the change

As for the --env=value vs --env value... We can update the logic for detecting env_cl_param to support it... Maybe there is a method I can pull from Commander or something to help.
cc @janpio

Yes @liamnichols it was about --env=foo. So basically fastlane some_lane_using_dotenv --env=foo

Since this got closed it looks like it might not have been as urgent but if anybody does come with issues, here are the workarounds for the two issues:

Use --env <STRING> instead of --env=<STRING>
Use DELIVER_TEAM_NAME=<STRING> fastlane deliver -other -args instead of fastlane deliver -e <STRING> --other --args (cc @milliamp, @DerGary)

I'm running into the same issue
fastlane deliver --ipa xxxxxxc.ipa --submit_for_)review -u username  -e "XXXXX XXXXX, XX"


Firewall log html entities

html reserved characters such as & are displayed as html named entities (&).
To reproduce trigger and log a firewall rule that includes an & in the description.  Then view it in the firewall log "Live View" and detail info pane.
Expected Result: &
Actual Result: &
Rel: 21.7.7

I looked into this, and found that this is a result of the following structure:
https://github.com/opnsense/core/blob/master/src/opnsense/mvc/app/controllers/OPNsense/Base/ApiControllerBase.php#L247-L251
        if ($this->isExternalClient()) {
            $this->response->setContent(json_encode($data));
        } else {
            $this->response->setContent(htmlspecialchars(json_encode($data), ENT_NOQUOTES));
        }

The function htmlspecialchars(json_encode($data), ENT_NOQUOTES) is converting the ampersand to a HTML safe version. It should also be doing it for all the other special characters as well. The structure here is intentionally doing this, so I doubt that it would be a good idea to turn this off. Turning it off globally is probably not an option, but maybe there would be a way to convert it back for only the label field, or something like that.

Ok. I have a working solution. This is in the Javascript for when the table row is built, and sends the text through innerHTML and then we pull the value which will result in decoding of the encoded entities.
https://github.com/agh1467/core/commit/efd25656404f2db06d2df2f0998893a7dfd24e9a
@kulikov-a Would you happen to have an opinion on this?

@agh1467 Hi!
I'm not a security expert (and by the way, not a dev  :wink:  Perhaps you wanted to ask @AdSchellevis  opinion?), but in my understanding, XSS mitigate is not even necessary here: this is not arbitrary input field, rule description is stored in the config in encoded form. so, technically, a code like:
                                    case 'string':
                                        log_td.html(record[column_name]);
                                        break;

should be ok too.

@kulikov-a  in this case item.html() might be rather safe, since the endpoint doesn't return unescaped data, but in order to unpack and prevent execution we should html decode the data and put it back in as @agh1467 suggests, although we shouldn't need an additional object to do so  in my opinion. In @agh1467's example the textarea type is just a wrapper to dump data without evaluation and fetch the inner data. I think we can also reuse the already existing object log_td and do something similar.
https://github.com/opnsense/core/commit/5da7349a129b77ccc9efcd1e7a5457d4461f0db2 should do the trick

@AdSchellevis Hi. Coud you explain in a little more detail please. I always thought the log_td.text(log_td.html(record[column_name]).text()); technique is XSS-vulnerable (can be verified with a b = $("").text($('').html().text()); in the console. jquery required). so if we still implement XSS protection then we should use the textarea  technique. but if we believe that there is no XSS threat (record data is always encoded), then simple  log_td.html(record[column_name]); does the same? what im missing here?

@kulikov-a you're right, mine works with a

@AdSchellevis thanks!)
yes, I also think that textarea should be checked on injection like </textarea>
 If you have time for a PR
sure, thanks!

Thanks for taking a look, everyone! Can this be re-closed now? Both the main view label, and the detail pane label have been fixed now.

@agh1467 let's close this one indeed. thanks!

Thanks everyone.  Looks good.  Clean and concise.


Presence returns users with incomplete data.

When trying to get username, avatar or discriminator from a presence, it just returns an empty string. Getting the user from the session by id, requesting these attributes returns correct values.
Here a loggingoutput:

2017/09/26 13:08:35 user = Presence.User:
2017/09/26 13:08:35 ID:<PHONE_NUMBER>55729665
2017/09/26 13:08:35 Email:
2017/09/26 13:08:35 Username:
2017/09/26 13:08:35 Avatar:
2017/09/26 13:08:35 Discriminator:
2017/09/26 13:08:35 Token:
2017/09/26 13:08:35 Verified: false
2017/09/26 13:08:35 MFA: false
2017/09/26 13:08:35 Bot: false

2017/09/26 13:08:35 user = Session.User(Presence.User.ID):
2017/09/26 13:08:35 ID:<PHONE_NUMBER>55729665
2017/09/26 13:08:35 Email:
2017/09/26 13:08:35 Username: eljoтн
2017/09/26 13:08:35 Avatar: 442025c2e366de9269b559e08f06c177
2017/09/26 13:08:35 Discriminator: 7304
2017/09/26 13:08:35 Token:
2017/09/26 13:08:35 Verified: false
2017/09/26 13:08:35 MFA: false
2017/09/26 13:08:35 Bot: false`

The only field in presence updates that is mandatory is the id field. User info may or may not be sent.
https://discordapp.com/developers/docs/topics/gateway#presence-update

The user object within this event can be partial, the only field which must be sent is the id field, everything else is optional. Along with this limitation, no fields are required, and the types of the fields are not validated. Your client should expect any combination of fields and types within this event.


Require SSE for CloudTrail Logs

This PR requires Server-Side Encryption for CloudTrail Logs.

Good question.  Since it's variable, we can change cloudtrail_sse_options to ["aws:kms"], which will have S3 reject any new objects that don't use a custom KMS key (as we would like to do for cloudtrail).  See https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html for more information.

Thanks for feedback.  I'm going to re-work and make the input a boolean cloudtrail_require_kms.


When using the icon wrapped by ColorFiltered jump to next page then return, a full-screen mask appears.

Steps to reproduce
When using the icon wrapped by ColorFiltered to jump to the next page, and then return to the previous page, a full-screen mask appears. (only on android)
Expected results
I hope that when returning to the previous page, the full-screen black mask will not appear, even if it is only for a moment.
Actual results
When returning to the previous page, a full-screen black mask appears.
Code sample
Code sample
example code
import 'package:flutter/material.dart';

void main() {
  runApp(const MaterialApp(
    home: HomePage(),
  ));
}

class HomePage extends StatelessWidget {
  const HomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: IconButton(
            onPressed: () {
              Navigator.push(
                context,
                MaterialPageRoute(builder: (context) => const SecondPage()),
              );
            },
            icon: const ColorFiltered(
                colorFilter: ColorFilter.mode(
                  Colors.black,
                  BlendMode.lighten,
                ),
                child: Icon(Icons.last_page))),
      ),
    );
  }
}

class SecondPage extends StatelessWidget {
  const SecondPage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const Scaffold(
      body: Center(
        child: Text("second Page"),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
https://github.com/flutter/flutter/assets/54264085/354dd2cf-c0d1-48cb-bf15-b3117549118c

Logs
Logs
There is no error log. It may be a feature bug or a problem with my code.

Flutter Doctor output
Doctor output
$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.16.5, on macOS 12.6 21G115 darwin-x64, locale zh-Hans-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] Connected device (5 available)
[✓] Network resources

• No issues found!

well,i use another BlendMode ,like BlendMode.srcATop.


[DSA]: Dynamic Programming - 0/1 Knapsack Problem in Java

Description
Description: The issue deals with explanation of Dynamic Programming Problem- 0/1 Knapsack problem.
The documentation will contain- Problem statement, Approach to problem, Solution of Problem in Java, Backtracking.
Name - Mansi Singh
Batch - 3
Type - documentation
Domain
DSA
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

@ASLManasa
U can't self assign yourself until supervisor assigns you

okay

@singhmansi25 can I get this issue assigned?

I'm not supervisor. But I've asked them to assign me.
You can contribute as well


Better typing for AoE form fields

Related Issue or Background Info
#1720
Changes Proposed

Properly type aoeAnswers in QueueItem.tsx to not be a string

Additional Information

An unfortunate gap remains in the typing of this workflow's data in the form of AddToQueueSearch.jsx, which is not a TypeScript file at all but still handles the same data typed by this patch. It would be good to circle back on this someday but it's a little too complicated to justify the out-of-scope work.

Screenshots / Demos

QueueItem.tsx:

Checklist for Author and Reviewer

[ ] Did I miss any opportunities for employing more specific types for any of the AoE data?

UI

[x] ~Any changes to the UI/UX are approved by design~
[x] ~Any new or updated content (e.g. error messages) are approved by design~

Testing

[x] Includes a summary of what a code reviewer should verify

Changes are Backwards Compatible

[x] ~Database changes are submitted as a separate PR~

[x] ~Any new tables that do not contain PII are accompanied by a GRANT SELECT to the no-PHI user~
[x] ~Any changes to tables that have custom no-PHI views are accompanied by changes to those views~

[x] ~GraphQL schema changes are backward compatible with older version of the front-end~

Security

[x] ~Changes with security implications have been approved by a security engineer (changes to  authentication, encryption, handling of PII, etc.)~
[x] ~Any dependencies introduced have been vetted and discussed~

Cloud

[x] ~DevOps team has been notified if PR requires ops support~
[x] ~If there are changes that cannot be tested locally, this has been deployed to our Azure test environment for verification~

Additionally, We should add tests to this so that Sonar is passing and and do a smoke test of the AOE functionality on test I want to be confident that our improvements don't cause another regression


Suggestion: TypeScript sourcemap in generated .json files should default to true

VSCode Version:  1.5.3
OS Version: Windows 10

Steps to Reproduce:

Create a simple app.ts file in a new directory
Set a breakpoint in it by pressing F9
Press F5 (working through the prompts to create launch.json

Expected: breakpoint should be effective
Actual:  Two different configuration files need to be created/edited to enable TypeScript source debugging.

@weinand the initial launch.json content is coming from the node debug adapter, thus assigning to you. Or am I missing something here?

@isidorn you've touched the code in the node extension that generates the launch.json, so you own it now ;-)

'sourceMaps':true does not have any negative effect if it is a pure javascript session. So now we always generate the inital 'launch.json' with 'sourceMaps':true

@isidorn Why couldn't you only set sourceMaps to true if you detect TypeScript (or other well known extensions)?
Since we are trying to simplify 'launch.json', I would prefer to always use minimal launch configs. So for JavaScript we should not include anything source map related.

@weinand so for javascript we would omit both outDir and sourceMaps attributes, correct?
However not sure what other scenarios this might affect that rely on sourceMaps. For instance coffeeScript - should we also check for those extensions and not only typescript?

@isidorn yes, coffeescript is another transpiled language we should support here.
Please note, the extension code tries to guess good values for the launch config by using some heuristics. It will never be perfect, but we can try to improve it as we learn.

Thanks for the list - very useful 😂


How to dynamically create multiple buttons and bind events for each button?

Versions

Python:2.7
OS:Windows 10.0.15063.0(64-bit)
Kivy:1.10.0
Kivy installation method:pip

Description
I want to dynamically create multiple buttons and bind events for each button,but when I press the button, it is wrong.I don't know how to change.
Code and Logs
from kivy.uix.accordion import Accordion, AccordionItem
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.button import Button
from kivy.app import App

test = {'0': ['bear', 'panda'], '1': ['cat', 'tiger', 'lion'], '2': ['dog', 'wolf']}

class TestApp(App):

    def build(self):
        root = Accordion(orientation='vertical')
        for type_index in test.keys():
            item = AccordionItem(id=type_index, title=type_index, size_hint=(1, None), height=50)
            box = BoxLayout(orientation='vertical')
            for animal in test[type_index]:
                button = Button(text=animal, size_hint=(1, None), height=50)
                button.bind(on_press=self.my_print)
                box.add_widget(button)
            item.add_widget(box)
            root.add_widget(item)
        return root

    def my_print(self):
        print("hello")

if __name__ == '__main__':
    TestApp().run()

   File "D:\Python\Anaconda2\lib\site-packages\kivy\uix\behaviors\button.py", line 151, in on_touch_down
     self.dispatch('on_press')
   File "kivy\_event.pyx", line 714, in kivy._event.EventDispatcher.dispatch (kivy\_event.c:8146)
   File "kivy\_event.pyx", line 1225, in kivy._event.EventObservers.dispatch (kivy\_event.c:14035)
   File "kivy\_event.pyx", line 1149, in kivy._event.EventObservers._dispatch (kivy\_event.c:13564)
 TypeError: my_print() takes exactly 1 argument (2 given)

See the documentation how bind() actually works and you'll see why does it raise an error about argument count.
ref #5551

First you should ask these type of questions within the kivy-users group
and not here (this group is only for issues and real bugs within the kivy
code base).
In your example you only missing to add a parameter to your my_print()
method for to retrieve the widget that get sent by the on_press event:
    def my_print(self, *args):
        print(self.root, "hello", args)

2017-12-26 10:18 GMT+00:00 kiccomm<EMAIL_ADDRESS>
Versions

Python:2.7
OS:Windows 10.0.15063.0(64-bit)
Kivy:1.10.0
Kivy installation method:pip

Description
I want to dynamically create multiple buttons and bind events for each
button,but when I press the button, it is wrong.I don't know how to change.
Code and Logs
from kivy.uix.accordion import Accordion, AccordionItemfrom kivy.uix.boxlayout import BoxLayoutfrom kivy.uix.button import Buttonfrom kivy.app import App
test = {'0': ['bear', 'panda'], '1': ['cat', 'tiger', 'lion'], '2': ['dog', 'wolf']}
class TestApp(App):
def build(self):
    root = Accordion(orientation='vertical')
    for type_index in test.keys():
        item = AccordionItem(id=type_index, title=type_index, size_hint=(1, None), height=50)
        box = BoxLayout(orientation='vertical')
        for animal in test[type_index]:
            button = Button(text=animal, size_hint=(1, None), height=50)
            button.bind(on_press=self.my_print)
            box.add_widget(button)
        item.add_widget(box)
        root.add_widget(item)
    return root

def my_print(self):
    print("hello")

if name == 'main':
TestApp().run()
File "D:\Python\Anaconda2\lib\site-packages\kivy\uix\behaviors\button.py", line 151, in on_touch_down
self.dispatch('on_press')
File "kivy_event.pyx", line 714, in kivy._event.EventDispatcher.dispatch (kivy_event.c:8146)
File "kivy_event.pyx", line 1225, in kivy._event.EventObservers.dispatch (kivy_event.c:14035)
File "kivy_event.pyx", line 1149, in kivy._event.EventObservers._dispatch (kivy_event.c:13564)
TypeError: my_print() takes exactly 1 argument (2 given)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kivy/kivy/issues/5552, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADlPbosWYqafP1n8aSKJ4nZFQlmOyMFzks5tEMfsgaJpZM4RMqsp
.


"Error: timeout reached: only 0 responses received out of 1" while scaling up a high-traffic system with multiple nodes.

I encountered an error "Error: timeout reached: only 0 responses received out of 1" while scaling up a high-traffic system with multiple nodes.
My system run 2 same instances on digitalOceans, and sometime it had been crash with error:
 /workspace/node_modules/@socket.io/redis-streams-adapter/dist/cluster-adapter.js:348   reject(new Error(timeout reached: only ${storedRequest.current} responses received out of ${storedRequest.expected})); Error: timeout reached: only 0 responses received out of 1 at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7)
my setup redis
`const redisClient = createClient({
url: config.REDIS_ADDRESS,
});
const initRedis = () => {
redisClient.on('error', err => console.log(err));
return redisClient.connect().then(() => console.log('connected redis success'));
};`
my setup adapter is:
        Io.io = new Server(httpServer, {             adapter: createAdapter(redisClient, {                 maxLen: 500_000,                 readCount: 5000,                 heartbeatInterval: 5_000,                 heartbeatTimeout: 120_000,             }),             cors: {                 origin: config.CORS_WEBSOCKET,             },             connectionStateRecovery: {                 maxDisconnectionDuration: config.MAX_DISCONNECTION_DURATION,                 skipMiddlewares: true,             },         }).use(checkTokenAuth);
my setup use witth express:
   const server = http.createServer(app);     const io = new Io();     Promise.all([db.init(), initRedis()]).then(async () => {         server.listen(config.PORT, () => {             logger.info(HttpNetwork is running at port: ${config.PORT});         });         io.startSocket(server, () => console.log(socket is running at port: ${config.PORT}));     });

I had a similar error when making a call to fetchSockets().
Error: timeout reached: only 0 responses received out of 1     at Timeout._onTimeout (node_modules/@socket.io/redis-streams-adapter/dist/cluster-adapter.js:348:28)     at listOnTimeout (node:internal/timers:564:17)     at process.processTimers (node:internal/timers:507:7)   Error: timeout reached: only 0 responses received out of 1     at Timeout._onTimeout (node_modules/@socket.io/redis-streams-adapter/dist/cluster-adapter.js:348:28)     at listOnTimeout (node:internal/timers:564:17)     at process.processTimers (node:internal/timers:507:7)
The other instances show an error uncaughtException: Maximum call stack size exceeded in the hasBinary function of the util.js file.
My solution was to check for sockets following @darrachequesne's recommendation and not use fetchSockets.
https://github.com/socketio/socket.io/issues/4183#issuecomment-982181865

I've also been getting a similar error with  const recipientsList = await io.in(exSocket.appGuid).fetchSockets();
timeout reached: only 3 responses received out of 7

I have the same problem in version 0.1.0
when call let sockets = await io.fetchSockets() with 4 cpu using node js cluster
a lot of:
timeout reached: only 0 responses received out of 4
.
.
.
timeout reached: only 1 responses received out of 3
/root/daddy/node_modules/@socket.io/redis-streams-adapter/dist/cluster-adapter.js:348
reject(new Error(timeout reached: only ${storedRequest.current} responses received out of ${storedRequest.expected}));
^
Error: timeout reached: only 1 responses received out of 3
at Timeout._onTimeout (/root/daddy/node_modules/@socket.io/redis-streams-adapter/dist/cluster-adapter.js:348:28)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)
Node.js v20.5.1
worker 1035162 died

@hysapp @OnlySekai hello,sirs,do you resolve this bug?
I met this bug on cluster-adapter too . multiple nodes...

@hysapp @OnlySekai hello,sirs,do you resolve this bug? I met this bug on cluster-adapter too . multiple nodes...

No, I implemented everything myself to be able to save and receive the list of online users, the stream adapter was not optimal at all and had bugs, and I used the sharded adapter.

@hysapp @OnlySekai hello,sirs,do you resolve this bug? I met this bug on cluster-adapter too . multiple nodes...

No, I implemented everything myself to be able to save and receive the list of online users, the stream adapter was not optimal at all and had bugs, and I used the sharded adapter.

can you tell me ,how to do it ,dear sir.

https://github.com/socketio/socket.io-adapter/commit/0e23ff0cc671e3186510f7cfb8a4c1147457296f (included in version 0.2.0) should reduce the number of those errors.
@hysapp do you remember what kind of bugs you encountered?

I think this is not a bug ,but nodejs's event loop is blocked.

/data/geelevel-signaling/node_modules/socket.io-adapter/dist/cluster-adapter.js:600
reject(new Error(timeout reached: missing ${storedRequest.missingUids.size} responses));
^
Error: timeout reached: missing 1 responses
at Timeout._onTimeout (/data/geelevel-signaling/node_modules/socket.io-adapter/dist/cluster-adapter.js:600:28)
at listOnTimeout (node:internal/timers:581:17)
at process.processTimers (node:internal/timers:519:7)
Node.js v22.5.1
I find other error , some one can help me?

I try to used @socket.io/redis-adapter , not find this bug. only show in redis-streams-adapter.


Support time-based forking

Describe the feature
Shanghai and future forks will fork based on timestamp rather than block, and we currently only use a BlockNumber to distinguish between forks:
https://github.com/paradigmxyz/reth/blob/2a77e080809ec01371a7db1ff7327e7ed4b95519/crates/primitives/src/chain_spec.rs#L79-L82
This could be changed to another type such as:
enum ForkKind {
    /// A fork's block number
    Block(BlockNumber),

    /// The unix timestamp of a fork
    Time(u64),
}

Additional context
The geth implementation of this has been merged in go-ethereum#25878

I would like to take this on

@Rjected Should the forks field key be changed to ForkKind too in ForkFilter?
https://github.com/paradigmxyz/reth/blob/115e623ae630b3c1841841dfe192a8cc63505786/crates/primitives/src/forkid.rs#L109-L116

@leruaa I think so, that's how I've interpreted the geth change etc

I don't understand, is this about the fork filter or the hardfork abstraction as a whole? We have special handling for Paris and Shanghai because they are not block number based, rolling it into a single abstraction makes it super hard to use. You would essentially have to replace https://github.com/paradigmxyz/reth/blob/2a77e080809ec01371a7db1ff7327e7ed4b95519/crates/primitives/src/chain_spec.rs#L120
with something like fork_active(fork: Hardfork) -> ForkKind and do a match statement everywhere you need to do this check

@onbjerg For fork_active() maybe we could keep the current signature and compute if the given fork is active using merge timestamp and slot duration (those 2 being stored on the chain spec)?

@onbjerg this is most important in the fork filter / forkid calculation, and it might not be necessary to change the entire hardfork abstraction to support time-based fork activation. Forks shanghai and onwards will not be block number based, so I think it makes sense to at least include this kind of abstraction in the fork filter. Open minded to it existing / not existing elsewhere.
Given that shanghai will not be activated by a block number though, how can the current signature of fork_active be correct? Maybe instead it should be fork_active(fork: Hardfork, current_block: ForkKind) -> bool? Hypothetically if we're at the tip, and are passing activation, we won't have a block number to refer to when checking if it's active yet

For fork_active() maybe we could keep the current signature and compute if the given fork is active using merge timestamp and slot duration (those 2 being stored on the chain spec)?

This won't work for Paris since that is used in PoW-land and it won't work for other networks since the offset in terms of timestamp will be different

Ah ok, I was unaware that this is going to be the standard now. Perhaps we have a TTD/Number/Time enum as you suggested and the fork_active function could take some struct e.g.:
...
And then you would use it like: fork_active(Hardfork::Shanghai, ForkCondition::time(1234))? The name kind of sucks but I hope the idea makes sense. This would also allow us to remove the Paris and Shanghai special handling we have now.

Yeah, I think this could work, and is probably the best way to do it since paris is activated by ttd, not block num or timestamp
Some more context on timestamp forking being the standard for now: go-ethereum#26481

I'm not sure to understand the diif between the ForkKind enum and the ForkCondition struct. Given that the latter can be used like that: ForkCondition::time(1234), I guess all the fields are Option? Why not just have:
fn fork_active(fork: Hardfork, kind: ForkKind) -> bool

Oh I think I get it: ForkCondition is used to provide all infos needed by fork_active to find out if the given fork is active


Brush is clipped when canvas is smaller than the image

If the canvas is smaller than an image, so the image is scaled to the canvas, then brush strokes in the dragColor are properly drawn anywhere on the image but when the brush strokes are finalized in the overlayColor, then the strokes are clipped to an upper left portion of the canvas.  The upper left portion of the canvas is at the ratio of canvas.width/image.width.

Thanks!  I was able to test your proposed change and it does address the issue we were experiencing.
Do you have an idea on when you would be able to integrate a patch?  I currently pull using bower.  If it will take some time to merge a patch, I will use a local patch.

Should be in master now if Bower can point to the git URL. We'll release 0.9.1 soon I think, just want to see what other PRs / issues can go into it.


Constant-time string comparison to prevent timing attacks

return password == "password" is vulnerable to timing attacks. Something like https://github.com/PeterScott/streql should be used to prevent them.
I can make a PR if you want.

Would this slow down the performance of web pages noticeably? If so, should we make this optional?


If no destination set is selected, "Folder" and "Upload" is clickable

Server: upverse-1.0.0.Setup.exe
Testdate: 19.04.2023
User: Hofmann, Catherina
Action: Select NO Destination DS -> "select" -> Windows Explorer -> select folder -> "upload"
Observation:

Expected result:
Upload action cannot be performed if no Destination Data set  selected e.g. by blocking "Select" button until a Destination Data set is selected

Testserver: QA.edmond
Browser: ff
Version: build package release #74, windows
User: Admin
Result: nok,
3 observations:

when entering upverse, no dataset is selected, but I can select files or folders again, after clicking "upload" an error message comes up, and no files are uploaded to edmond.
If i select a destination dataset, I can successfully upload the files to edmond. -> behaviour as expected
If i de-select the destination data set after the successful upload process, and don't choose a new on, files are uploaded to the earlier selected dataset in edmond.

Testserver: QA.edmond
Browser: ff
Version: build package release #76, windows
User: Admin
Result: OK, new behaviour is: "upload" is not clickable until both dataset and files are selected.


ARROW-11740: [C++] posix_memalign not declared in scope on Solaris

I've confirmed that this compiles on Solaris.

Thanks for the fix! 🤦


Bugfix for issues in frame geometry generation

Added fix for geometry generation of fuselage frame defined via 2 positionings, where the first one has a higher reference angle than the second one.
Description
This PR fixes #694
How Has This Been Tested?
Added testcase TestFuselageFrames.bug694
Checklist:

[x] A test for the new functionality was added.
[ ] All tests run without failure.
[ ] The new code complies with the TiGL style guide.

There is one problem during Create package step in CI, no idea where this is coming from

Thank you for the PR and also for adding a test case ;)

There is one problem during Create package step in CI, no idea where this is coming from

Somehow, the build does not always successfully download doxygen. If it could not download it, the doc target is missing and therefore you get the problem.

@joergbrech Do you know why the code coverage is not beeing displayed here?

No, I was wondering the same. Maybe there is a way of triggering the coverage comment manually?

Apparently codecov could not generate the report: https://codecov.io/gh/DLR-SC/tigl/commit/5d46d8df770a62fd5acbccd37304d50a661ac2a9
My guess is it has something to do with the unit tests failing for the first commit of the PR, so that the upload of the coverage reports are not performed in the Github Action workflow, because a previous step failed, but I am not sure...

I get a server error when following your link.

Codecov Report

Merging #695 into master will increase coverage by 0.25%.
The diff coverage is 73.33%.

@@            Coverage Diff             @@
##           master     #695      +/-   ##
==========================================
+ Coverage   68.49%   68.75%   +0.25%
==========================================
  Files         424      424
  Lines       23218    23230      +12
==========================================
+ Hits        15904    15972      +68
+ Misses       7314     7258      -56

Impacted Files
Coverage Δ

src/fuselage/CCPACSFrame.cpp
46.82% <73.33%> (+24.89%)
:arrow_up:

src/fuselage/CCPACSFuselage.cpp
70.16% <0.00%> (+11.14%)
:arrow_up:

I have some small comments, that are easy to fix. @RlanderRISCSW Could you please have a look to them ?

Thanks for fixing this, just wanted to take a look at it. Anything else open?

@RlanderRISCSW No, nothing open. But can you please verifiy, that the fmod changes are correct?

@RlanderRISCSW No, nothing open. But can you please verifiy, that the fmod changes are correct?

You are right, there is still an issue, fmod does not ensure the angle to be positive range. I'll add the check for negative values after the fmod operations again.

I just refactored the angle normalization into an own function.


[gitlab] add manual trigger for bump in datadog-agent

What does this PR do?

Add manual job to trigger a bump of test-infra-definitions in datadog-agent from dev branches
Sync and tidy all go modules in datadog-agent

Which scenarios this will impact?
None
Motivation
We often want to check that changes here do not break or fix tests in datadog-agent, this should reduce the manual operations to do this
Syncing and tidying all go modules as now datadog-agent uses go workspace, thus a bump in test/new-e2e might bump deps in other datadog-agent modules
Additional Notes
Requires https://github.com/DataDog/datadog-agent/pull/32245

Failing as I changed the image and it does not have jq anymore, now I know why we use the test-infra image


Add tests for WonkaJs timing functions.

This PR adds tests for some of the timing operators included in the WonkaJs module, specifically delay, throttle, debounce, and sample. Just chipping away at test coverage and having fun learning more wonka / observable-based programming 😅.
It also adds *.rei files to our pre-commit hook and yarn refmt script, which I missed in #15 😞.

Coverage increased (+9.5%) to 82.372% when pulling 42a4041069021b747b83db90962df0fabf17679e on parkerziegler:test/add-timing-tests into 21e02f2fbf87d9a6a2253630798cc0926f7e761c on kitten:master.


The scaling factor changes after calculation,maybe we can optimize the code.

The scaling factor changes after calculation.
Code in vis-network/blob/master/lib/network/modules/InteractionHandler.js
  if (this.options.zoomView === true) {
    // If delta is nonzero, handle it.
    // Basically, delta is now positive if wheel was scrolled up,
    // and negative, if wheel was scrolled down.
    if (event.deltaY !== 0) {
      // calculate the new scale
      let scale = this.body.view.scale;
      scale *=
        1 + (event.deltaY < 0 ? 1 : -1) * (this.options.zoomSpeed * 0.1);

      // calculate the pointer location
      const pointer = this.getPointer({ x: event.clientX, y: event.clientY });

      // apply the new scale
      this.zoom(scale, pointer);
    }

    // Prevent default actions caused by mouse wheel.
    event.preventDefault();
  }

I tried to modify the source code and record the scaling factors generated by scaling through a collection. It would be better if someone could provide better support.
if (this.options.zoomView === true) {
	if (event.deltaY !== 0) {
		// calculate the new scale
		var view = this.body.view;
		var scale = view.scale;
		var scaleSteps = view.scaleSteps;
		if (!scaleSteps) {
			scaleSteps = view.scaleSteps = [];
		}
		var tempScale = scale * (1 + (event.deltaY < 0 ? 1 : -1) * (this.options.zoomSpeed * 0.1));
		var isNeedUpdateScale = tempScale > 0.00001 && tempScale < 10

		var realScale;
		if(isNeedUpdateScale){
			if (event.deltaY > 0) {
				if (view.zoomIndex === undefined) {
					view.zoomIndex = 0;
				} else {
					view.zoomIndex--;
				}
				if (!scaleSteps[view.zoomIndex]) {
					if (view.zoomIndex < 0) {
						view.zoomIndex = 0;
					}
					scaleSteps.unshift(tempScale);
					realScale = tempScale;
				} else {
					realScale = scaleSteps[view.zoomIndex];
				}
			} else {
				if (view.zoomIndex === undefined) {
					view.zoomIndex = 0;
				} else {
					view.zoomIndex++;
				}
				if (!scaleSteps[view.zoomIndex]) {
					scaleSteps.push(tempScale);
					realScale = tempScale;
				} else {
					realScale = scaleSteps[view.zoomIndex];
				}
			}
		}else{
			realScale = tempScale;
		}
		var pointer = this.getPointer({
			x: event.clientX,
			y: event.clientY
		}); // apply the new scale

		this.zoom(realScale, pointer);
	} // Prevent default actions caused by mouse wheel.

	event.preventDefault();
}

I want to know how to control the minimum scale value? Because at present this project can be narrowed down until it disappears, so I want to control the minimum scope


Unable to import foundry crates into external project

Component
Forge, Cast, Anvil, Chisel
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
No response
What command(s) is the bug in?
No response
Operating System
macOS (Apple Silicon)
Describe the bug
I am trying to import some of the foundry crates into an external Rust project, but I am not able to compile the project after importing.
Steps to reproduce:

Create new cargo project: cargo new foundry-test
Add the following dependency to the Cargo.toml file: anvil = { git = "https://github.com/foundry-rs/foundry.git", branch = "master" }
Compile project: cargo build

I have attached the error messages that I encounter when doing this
logs.txt

Hi! You need to use the same patches we use for this to work. please check out the root Cargo.toml.


(result-set) shortcut CTRL+1 stop working since release 23.0.1

Description
As documentation says: https://dbeaver.com/docs/wiki/Shortcuts/#result-set
CTRL+1 it's for "Foreign keys and tables referencing current table"
But since 23.0.1, this shortcut doesn't works well.
Please, dont change this shortcut, it's a really useful shortcut, very easy and practical.
I hope it's just a bug.
For now, i downgrade to 23.0.0, just because this shortcut 😅
DBeaver Version
23.0.1
Operating System
Win11
Database and driver
any
Steps to reproduce

Run any query;
In result set, press CTRL+1
It should open a little window for References navigation.

Additional context
No response

Yes! please fix it in the next realease

Please address it in the upcoming release.

Here are two workarounds for the recent version.

remove the keybinding for the two Quick Fix commands
press SHIFT+CTRL+1 instead of CTRL+1

@SubOptimal thanks! it works.
I still think this change in version 23.0.1 was unplanned, wasn't it?

Thank you for bug report.


Can we get different dimension output i3d features?

Current dimension 1024. I am using I3D features with an action former model, which takes in the 2048 D feature.

You can project them to vectors of a smaller dimension with a linear layer


Xamarin.Forms now automatically update RESX files Culture in Android and iOS

Android and IOS projects also do not require the dependency service. Instead, this platform automatically sets the resource's culture correctly. So do we need ILocalize with DependencyService ?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: af66394d-81c5-0c2e-1682-a2bb7eeb3c3e
Version Independent ID: 27542a45-2f25-4042-cf48-b9517025635c
Content: String and Image Localization - Xamarin
Content Source: docs/xamarin-forms/app-fundamentals/localization/text.md
Product: xamarin
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Any updates on this? The docs are outdated.


In Which We Fix Our Version Of Tornado To Match Jupyter

pip installing civis-jupyter-notebook currently results in an incompatible version pair between tornado and jupyter. Our version of jupyter requires tornado<6. Versions of jupyter after 5.7.5 have a fix for this: https://github.com/jupyter/notebook/pull/4449
The resulting jupyter from pip installing this package will hang indefinitely attempting to connect to the kernel. This currently works in platform because the datasciene-python image specifies an older tornado version. However, the hanging kernel behaviour appears when trying to use other docker images.
@salilgupta1

Just a note: this is indirectly related to https://civisanalytics.atlassian.net/browse/CIVP-18029

yea this is super annoying. Alright, I'm fine with this temporary fix and when jupyter release 5.8 we can upgrade to that and remove the tornado restriction.


ci: multiple changes to the pipeline

From poetry README:
Warning: The previous get-poetry.py installer is now deprecated, if you are currently using it you should migrate to the new, supported, install-poetry.py installer.
And some minor changes.

:tada: This PR is included in version 2.1.1 :tada:
The release is available on:

v2.1.1
GitHub release

Your semantic-release bot :package::rocket:


Remotes/origin/stable/juno

Make SoftwareDeployments work for non-CREATE actions

Thank you for contributing to openstack/heat!
openstack/heat uses Gerrit for code review.
Please visit
http://docs.openstack.org/infra/manual/developers.html#development-workflow
and follow the instructions there to upload your change to Gerrit.


[New Event Request] Codeunit "Sales-Post", OnBeforeInitPostATO

[New Event Request] Codeunit 80 "Sales-Post", OnBeforeInitPostATO
Some of our partners have greatly enhanced the Assembly-to-Order functionality and need to basically enhance all of the ATO functions in the codeunit "Sales-Post" with their own code. In a lot of cases the easiest approach is to replace the existing functions by implementing the Handled Pattern.
To be implemented right at the beginning of procedure InitPostATO:

Integration Event:
OnBeforeInitPostATO
Signature:
SalesHeader: Record "Sales Header";
var SalesLine: Record "Sales Line";
var AsmPost: Codeunit "Assembly-Post";
HideProgressWindow: Boolean;
var IsHandled: Boolean

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Exception occurred when tried to read configuration from Redis

Hi team.
We have a distributed system on Azure, and I tried to get a configuration for a bucket, but I got java.lang.IllegalStateException: java.io.EOFException.
We are using jdk zulu17 (17.0.3-1).
We are using LettuceBasedProxyManager to maintain the buckets.
Here is the relevant trace:
java.lang.IllegalStateException: java.io.EOFException\n\tat io.github.bucket4j.distributed.serialization.InternalSerializationHelper.deserializeState(InternalSerializationHelper.java:53)\n\tat io.github.bucket4j.distributed.proxy.generic.GenericEntry.(GenericEntry.java:40)\n\tat io.github.bucket4j.distributed.proxy.generic.compare_and_swap.AbstractCompareAndSwapBasedProxyManager.execute(AbstractCompareAndSwapBasedProxyManager.java:72)\n\tat io.github.bucket4j.distributed.proxy.generic.compare_and_swap.AbstractCompareAndSwapBasedProxyManager.execute(AbstractCompareAndSwapBasedProxyManager.java:51)\n\tat io.github.bucket4j.distributed.proxy.AbstractProxyManager.getProxyConfiguration(AbstractProxyManager.java:93)\n\tat
error.txt
Here is the code snippet:
    proxyManager = LettuceBasedProxyManager.builderFor(RedisClient.create(redisURI))
            .withExpirationStrategy(ExpirationAfterWriteStrategy.none())
            .build();

    for (var entry : buckets.entrySet()) {
        Optional<BucketConfiguration> bucketConfiguration = proxyManager
                .getProxyConfiguration(entry.getKey().getBytes());
        Bucket bucket;
        if (bucketConfiguration.isPresent()) {
            bucket = proxyManager.builder().build(entry.getKey().getBytes(), bucketConfiguration.get());
        } else {
            bucket = createNewBucket(entry);
        }
        bucketStates.put(entry.getKey(), bucket);
    }

The key is: cHNtZ2KxczpDZlRuZHGHTjQzZHFnQ0FBQm1ZTg==
As I checked, it works with other keys, but with this one, it throws the exception. Is there a restriction for the key what characters can it contain?
Thanks,
Peter

Hello @Spector96
To investigate deserialization issu I need for:

byte array that is stored by key cHNtZ2KxczpDZlRuZHGHTjQzZHFnQ0FBQm1ZTg==
Bucket4j version that is used.

Also be sure that another pieces of your(or another) application does store something else with this key.

Hello @vladimir-bukhtoyarov
Thank you for the quick response.
The array is: [99, 72, 78, 116, 90, 50, 82, 120, 99, 122, 112, 68, 90, 108, 82, 117, 90, 72, 108, 80, 86, 106, 81, 122, 90, 72, 70, 110, 81, 48, 70, 66, 81, 109, 49, 90, 84, 103, 61, 61]
Bucket4j version: 7.6.0
Thanks for the advice, we have more test environments that will connect the same Redis cache, so I plan to add the environment name as a prefix to the key.

Hello @vladimir-bukhtoyarov
You are right, there was an already existing key in the Redis that was not created by Bucket4j.
The value was a "5", so the byte array was only that: [53].
Thanks for the advice, we have more test environments that will connect the same Redis cache, so I plan to add the environment name as a prefix to the key.
Sorry for the inconvenience, you can close the issue.


Failure to download vcpkg packages within Github actions.

Describe the bug
Starting from yesterday Github Windows-2022 fails to download misc packages (yesterday it was Botan, today we have bzip2).
Could it be something on our side, or it's some network failure on the vcpkg side?
Building<EMAIL_ADDRESS>-- Downloading https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz;https://www.mirrorservice.org/sites/sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz -> bzip2-1.0.8.tar.gz...
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Trying to load bundleconfig from C:\vcpkg\vcpkg-bundle.json
[DEBUG] Failed to open: C:\vcpkg\vcpkg-bundle.json
[DEBUG] Bundle config: readonly=false, usegitregistry=false, embeddedsha=nullopt, deployment=Git, vsversion=nullopt
[DEBUG] Metrics enabled.
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
[DEBUG] Feature flag 'dependencygraph' unset
warning: Download failed -- retrying after 1000ms
warning: Download failed -- retrying after 2000ms
warning: Download failed -- retrying after 4000ms
warning: Download failed -- retrying after 1000ms
warning: Download failed -- retrying after 2000ms
warning: Download failed -- retrying after 4000ms
error: Missing bzip2-1.0.8.tar.gz and downloads are blocked by x-block-origin.
error: https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz: WinHttpSendRequest failed with exit code 10106
error: https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz: WinHttpSendRequest failed with exit code 10106
error: https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz: WinHttpSendRequest failed with exit code 10106
error: https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz: WinHttpSendRequest failed with exit code 10106
error: https://www.mirrorservice.org/sites/sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz: WinHttpSendRequest failed with exit code 10106
error: https://www.mirrorservice.org/sites/sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz: WinHttpSendRequest failed with exit code 10106
error: https://www.mirrorservice.org/sites/sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz: WinHttpSendRequest failed with exit code 10106
error: https://www.mirrorservice.org/sites/sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz: WinHttpSendRequest failed with exit code 10106

Environment

OS: windows-2022

Same issue here when trying to install 7zip using vcpkg on a Windows GitHub runner.
My test workflow (https://github.com/Silverlan/test_vcpkg/blob/main/.github/workflows/vcpkg.yml):
name: Install 7zip via vcpkg

on:
  push:
    branches:
      - main
  pull_request:
    branches:
      - main

jobs:
  build:
    runs-on: windows-latest
    steps:
      - name: Install 7zip with vcpkg
        shell: bash
        run: |
          vcpkg install 7zip

Log:
2024-10-04T14:15:32.5495283Z Current runner version: '2.319.1'
2024-10-04T14:15:32.5515828Z ##[group]Operating System
2024-10-04T14:15:32.5516368Z Microsoft Windows Server 2022
2024-10-04T14:15:32.5516772Z 10.0.20348
2024-10-04T14:15:32.5517075Z Datacenter
2024-10-04T14:15:32.5517377Z ##[endgroup]
2024-10-04T14:15:32.5517667Z ##[group]Runner Image
2024-10-04T14:15:32.5518040Z Image: windows-2022
2024-10-04T14:15:32.5518381Z Version: 20240929.1.0
2024-10-04T14:15:32.5519261Z Included Software: https://github.com/actions/runner-images/blob/win22/20240929.1/images/windows/Windows2022-Readme.md
2024-10-04T14:15:32.5520523Z Image Release: https://github.com/actions/runner-images/releases/tag/win22%2F20240929.1
2024-10-04T14:15:32.5521274Z ##[endgroup]
2024-10-04T14:15:32.5521621Z ##[group]Runner Image Provisioner
2024-10-04T14:15:32.5522023Z 2.0.384.1
2024-10-04T14:15:32.5522314Z ##[endgroup]
2024-10-04T14:15:32.5535681Z ##[group]GITHUB_TOKEN Permissions
2024-10-04T14:15:32.5537280Z Contents: read
2024-10-04T14:15:32.5537694Z Metadata: read
2024-10-04T14:15:32.5538028Z Packages: read
2024-10-04T14:15:32.5538335Z ##[endgroup]
2024-10-04T14:15:32.5541007Z Secret source: Actions
2024-10-04T14:15:32.5541510Z Prepare workflow directory
2024-10-04T14:15:32.6236409Z Prepare all required actions
2024-10-04T14:15:32.6394860Z Getting action download info
2024-10-04T14:15:32.8431134Z Download action repository 'actions/checkout@v3' (SHA:f43a0e5ff2bd294095638e18286ca9a3d1956744)
2024-10-04T14:15:33.1144446Z Complete job name: build
2024-10-04T14:15:33.2342938Z ##[group]Run actions/checkout@v3
2024-10-04T14:15:33.2343432Z with:
2024-10-04T14:15:33.2343696Z   repository: Silverlan/test_vcpkg
2024-10-04T14:15:33.2344265Z   token: ***
2024-10-04T14:15:33.2344545Z   ssh-strict: true
2024-10-04T14:15:33.2344847Z   persist-credentials: true
2024-10-04T14:15:33.2345168Z   clean: true
2024-10-04T14:15:33.2345448Z   sparse-checkout-cone-mode: true
2024-10-04T14:15:33.2345813Z   fetch-depth: 1
2024-10-04T14:15:33.2346067Z   fetch-tags: false
2024-10-04T14:15:33.2346348Z   lfs: false
2024-10-04T14:15:33.2346586Z   submodules: false
2024-10-04T14:15:33.2346859Z   set-safe-directory: true
2024-10-04T14:15:33.2347172Z ##[endgroup]
2024-10-04T14:15:33.3553115Z Syncing repository: Silverlan/test_vcpkg
2024-10-04T14:15:33.3555153Z ##[group]Getting Git version info
2024-10-04T14:15:33.3555979Z Working directory is 'D:\a\test_vcpkg\test_vcpkg'
2024-10-04T14:15:33.4308659Z [command]"C:\Program Files\Git\bin\git.exe" version
2024-10-04T14:15:33.4508487Z git version 2.46.2.windows.1
2024-10-04T14:15:33.4550739Z ##[endgroup]
2024-10-04T14:15:33.4569503Z Temporarily overriding HOME='D:\a\_temp\1f4993f7-b464-4532-9067-23a7639b0132' before making global git config changes
2024-10-04T14:15:33.4570830Z Adding repository directory to the temporary git global config as a safe directory
2024-10-04T14:15:33.4577063Z [command]"C:\Program Files\Git\bin\git.exe" config --global --add safe.directory D:\a\test_vcpkg\test_vcpkg
2024-10-04T14:15:33.4780962Z Deleting the contents of 'D:\a\test_vcpkg\test_vcpkg'
2024-10-04T14:15:33.4785968Z ##[group]Initializing the repository
2024-10-04T14:15:33.4793121Z [command]"C:\Program Files\Git\bin\git.exe" init D:\a\test_vcpkg\test_vcpkg
2024-10-04T14:15:33.5694447Z Initialized empty Git repository in D:/a/test_vcpkg/test_vcpkg/.git/
2024-10-04T14:15:33.5725362Z [command]"C:\Program Files\Git\bin\git.exe" remote add origin https://github.com/Silverlan/test_vcpkg
2024-10-04T14:15:33.5947392Z ##[endgroup]
2024-10-04T14:15:33.5948378Z ##[group]Disabling automatic garbage collection
2024-10-04T14:15:33.5956633Z [command]"C:\Program Files\Git\bin\git.exe" config --local gc.auto 0
2024-10-04T14:15:33.6185954Z ##[endgroup]
2024-10-04T14:15:33.6186886Z ##[group]Setting up auth
2024-10-04T14:15:33.6198199Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp core\.sshCommand
2024-10-04T14:15:33.6425069Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c \"git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :\""
2024-10-04T14:15:35.2083063Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2024-10-04T14:15:35.2321346Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c \"git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :\""
2024-10-04T14:15:35.6136106Z [command]"C:\Program Files\Git\bin\git.exe" config --local http.https://github.com/.extraheader "AUTHORIZATION: basic ***"
2024-10-04T14:15:35.6363852Z ##[endgroup]
2024-10-04T14:15:35.6364684Z ##[group]Fetching the repository
2024-10-04T14:15:35.6378173Z [command]"C:\Program Files\Git\bin\git.exe" -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +d859304e7998d26df53e77f4448043e0140ae586:refs/remotes/origin/main
2024-10-04T14:15:36.6412673Z remote: Enumerating objects: 6, done.
2024-10-04T14:15:36.6413277Z remote: Counting objects:  16% (1/6)
2024-10-04T14:15:36.6413702Z remote: Counting objects:  33% (2/6)
2024-10-04T14:15:36.6414140Z remote: Counting objects:  50% (3/6)
2024-10-04T14:15:36.6414547Z remote: Counting objects:  66% (4/6)
2024-10-04T14:15:36.6414948Z remote: Counting objects:  83% (5/6)
2024-10-04T14:15:36.6417268Z remote: Counting objects: 100% (6/6)
2024-10-04T14:15:36.6417838Z remote: Counting objects: 100% (6/6), done.
2024-10-04T14:15:36.6418319Z remote: Compressing objects:  33% (1/3)
2024-10-04T14:15:36.6419254Z remote: Compressing objects:  66% (2/3)
2024-10-04T14:15:36.6421560Z remote: Compressing objects: 100% (3/3)
2024-10-04T14:15:36.6422640Z remote: Compressing objects: 100% (3/3), done.
2024-10-04T14:15:36.6424364Z remote: Total 6 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
2024-10-04T14:15:36.6763076Z From https://github.com/Silverlan/test_vcpkg
2024-10-04T14:15:36.6764409Z  * [new ref]         d859304e7998d26df53e77f4448043e0140ae586 -> origin/main
2024-10-04T14:15:36.6886648Z ##[endgroup]
2024-10-04T14:15:36.6888015Z ##[group]Determining the checkout info
2024-10-04T14:15:36.6889396Z ##[endgroup]
2024-10-04T14:15:36.6890190Z ##[group]Checking out the ref
2024-10-04T14:15:36.6897500Z [command]"C:\Program Files\Git\bin\git.exe" checkout --progress --force -B main refs/remotes/origin/main
2024-10-04T14:15:36.7240909Z branch 'main' set up to track 'origin/main'.
2024-10-04T14:15:36.7245323Z Switched to a new branch 'main'
2024-10-04T14:15:36.7268121Z ##[endgroup]
2024-10-04T14:15:36.7496551Z [command]"C:\Program Files\Git\bin\git.exe" log -1 --format='%H'
2024-10-04T14:15:36.7683800Z 'd859304e7998d26df53e77f4448043e0140ae586'
2024-10-04T14:15:36.8091968Z ##[group]Run vcpkg install 7zip
2024-10-04T14:15:36.8092423Z vcpkg install 7zip
2024-10-04T14:15:36.8107935Z shell: C:\Program Files\Git\bin\bash.EXE --noprofile --norc -e -o pipefail {0}
2024-10-04T14:15:36.8108477Z ##[endgroup]
2024-10-04T14:15:37.6306360Z Computing installation plan...
2024-10-04T14:15:39.3533176Z The following packages will be built and installed:
2024-10-04T14:15:39.3533837Z<EMAIL_ADDRESS>2024-10-04T14:15:39.3534187Z   * vcpkg-cmake:x64-windows@2024-04-23
2024-10-04T14:15:39.3534716Z   * vcpkg-cmake-config:x64-windows@2024-05-23
2024-10-04T14:15:39.3535357Z Additional packages (*) will be modified to complete this operation.
2024-10-04T14:15:40.1077060Z Detecting compiler hash for triplet x64-windows...
2024-10-04T14:15:47.7028527Z Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe
2024-10-04T14:15:47.8198312Z A suitable version of 7zip was not found (required v24.8.0).
2024-10-04T14:15:48.2523916Z Downloading https://github.com/ip7z/7zip/releases/download/24.08/7z2408-extra.7z
2024-10-04T14:15:48.2526049Z Extracting 7zip...
2024-10-04T14:15:48.2531186Z A suitable version of 7zr was not found (required v24.8.0).
2024-10-04T14:15:48.5833287Z Downloading https://github.com/ip7z/7zip/releases/download/24.08/7zr.exe
2024-10-04T14:15:48.7168759Z Restored 0 package(s) from C:\Users\runneradmin\AppData\Local\vcpkg\archives in 187 us. Use --debug to see more details.
2024-10-04T14:15:48.7170338Z Installing 1/3<EMAIL_ADDRESS>2024-10-04T14:15:48.7171099Z Building<EMAIL_ADDRESS>2024-10-04T14:15:48.7485923Z -- Installing: C:/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake
2024-10-04T14:15:48.7495335Z -- Installing: C:/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake
2024-10-04T14:15:48.7503720Z -- Installing: C:/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake
2024-10-04T14:15:48.7514085Z -- Installing: C:/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg-port-config.cmake
2024-10-04T14:15:48.7524379Z -- Installing: C:/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/copyright
2024-10-04T14:15:48.7704151Z -- Performing post-build validation
2024-10-04T14:15:48.8284381Z Stored binaries in 1 destinations in 50.7 ms.
2024-10-04T14:15:48.8285330Z Elapsed time to handle vcpkg-cmake:x64-windows: 112 ms
2024-10-04T14:15:48.8286730Z vcpkg-cmake:x64-windows package ABI: eba2a29e23565c1127388386a46b3919463c346e5ba81740a57aa18015c7dad9
2024-10-04T14:15:48.8288214Z Installing 2/3<EMAIL_ADDRESS>2024-10-04T14:15:48.8289002Z Building<EMAIL_ADDRESS>2024-10-04T14:15:48.8596707Z -- Installing: C:/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake
2024-10-04T14:15:48.8605923Z -- Installing: C:/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg-port-config.cmake
2024-10-04T14:15:48.8613613Z -- Installing: C:/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/copyright
2024-10-04T14:15:48.8661489Z -- Skipping post-build validation due to VCPKG_POLICY_EMPTY_PACKAGE
2024-10-04T14:15:48.9162370Z Stored binaries in 1 destinations in 16.5 ms.
2024-10-04T14:15:48.9163266Z Elapsed time to handle vcpkg-cmake-config:x64-windows: 87.8 ms
2024-10-04T14:15:48.9164357Z vcpkg-cmake-config:x64-windows package ABI: bd808a43c2dfd433c1f7747aad957f51a5f820ba97c22788bf3395da5a24d309
2024-10-04T14:15:48.9165080Z Installing 3/3<EMAIL_ADDRESS>2024-10-04T14:15:48.9165456Z Building<EMAIL_ADDRESS>2024-10-04T14:15:48.9498864Z -- Downloading https://github.com/ip7z/7zip/archive/24.08.tar.gz -> ip7z-7zip-24.08.tar.gz...
2024-10-04T14:15:56.1173994Z [DEBUG] To include the environment variables in debug output, pass --debug-env
2024-10-04T14:15:56.1177591Z [DEBUG] Trying to load bundleconfig from C:\vcpkg\vcpkg-bundle.json
2024-10-04T14:15:56.1178789Z [DEBUG] Failed to open: C:\vcpkg\vcpkg-bundle.json
2024-10-04T14:15:56.1179984Z [DEBUG] Bundle config: readonly=false, usegitregistry=false, embeddedsha=nullopt, deployment=Git, vsversion=nullopt
2024-10-04T14:15:56.1181043Z [DEBUG] Metrics enabled.
2024-10-04T14:15:56.1181602Z [DEBUG] Feature flag 'binarycaching' unset
2024-10-04T14:15:56.1182180Z [DEBUG] Feature flag 'compilertracking' unset
2024-10-04T14:15:56.1182591Z [DEBUG] Feature flag 'registries' unset
2024-10-04T14:15:56.1182985Z [DEBUG] Feature flag 'versions' unset
2024-10-04T14:15:56.1183387Z [DEBUG] Feature flag 'dependencygraph' unset
2024-10-04T14:15:56.1183844Z warning: Download failed -- retrying after 1000ms
2024-10-04T14:15:56.1184288Z warning: Download failed -- retrying after 2000ms
2024-10-04T14:15:56.1184725Z warning: Download failed -- retrying after 4000ms
2024-10-04T14:15:56.1185332Z error: Missing ip7z-7zip-24.08.tar.gz and downloads are blocked by x-block-origin.
2024-10-04T14:15:56.1186134Z error: https://github.com/ip7z/7zip/archive/24.08.tar.gz: WinHttpSendRequest failed with exit code 10106
2024-10-04T14:15:56.1187184Z error: https://github.com/ip7z/7zip/archive/24.08.tar.gz: WinHttpSendRequest failed with exit code 10106
2024-10-04T14:15:56.1188224Z error: https://github.com/ip7z/7zip/archive/24.08.tar.gz: WinHttpSendRequest failed with exit code 10106
2024-10-04T14:15:56.1189753Z error: https://github.com/ip7z/7zip/archive/24.08.tar.gz: WinHttpSendRequest failed with exit code 10106
2024-10-04T14:15:56.1191001Z [DEBUG] D:\a\_work\1\s\src\vcpkg\base\downloads.cpp(1030):
2024-10-04T14:15:56.1191707Z [DEBUG] Time in subprocesses: 36065us
2024-10-04T14:15:56.1192472Z [DEBUG] Time in parsing JSON: 2us
2024-10-04T14:15:56.1192991Z [DEBUG] Time in JSON reader: 0us
2024-10-04T14:15:56.1193503Z [DEBUG] Time in filesystem: 1027us
2024-10-04T14:15:56.1194031Z [DEBUG] Time in loading ports: 0us
2024-10-04T14:15:56.1194699Z [DEBUG] Exiting after 7.2 s (7044467us)
2024-10-04T14:15:56.1195121Z
2024-10-04T14:15:56.1195688Z CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):
2024-10-04T14:15:56.1196602Z
2024-10-04T14:15:56.1197096Z       Failed to download file with error: 1
2024-10-04T14:15:56.1198028Z       If you are using a proxy, please check your proxy setting. Possible causes are:
2024-10-04T14:15:56.1198888Z
2024-10-04T14:15:56.1199595Z       1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable
2024-10-04T14:15:56.1200954Z          to `https://address:port`. This is not correct, because `https://` prefix
2024-10-04T14:15:56.1202105Z          claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr
2024-10-04T14:15:56.1203388Z          , etc..) is an HTTP proxy. Try setting `http://address:port` to both
2024-10-04T14:15:56.1204264Z          HTTP_PROXY and HTTPS_PROXY instead.
2024-10-04T14:15:56.1204876Z
2024-10-04T14:15:56.1205689Z       2. If you are using Windows, vcpkg will automatically use your Windows IE Proxy Settings
2024-10-04T14:15:56.1207178Z          set by your proxy software. See https://github.com/microsoft/vcpkg-tool/pull/77
2024-10-04T14:15:56.1208442Z          The value set by your proxy might be wrong, or have same `https://` prefix issue.
2024-10-04T14:15:56.1209375Z
2024-10-04T14:15:56.1210048Z       3. Your proxy's remote server is out of service.
2024-10-04T14:15:56.1210732Z
2024-10-04T14:15:56.1211586Z       If you've tried directly download the link, and believe this is not a temporary
2024-10-04T14:15:56.1212960Z       download server failure, please submit an issue at https://github.com/Microsoft/vcpkg/issues
2024-10-04T14:15:56.1214120Z       to report this upstream download server failure.
2024-10-04T14:15:56.1214759Z
2024-10-04T14:15:56.1214995Z
2024-10-04T14:15:56.1215190Z Call Stack (most recent call first):
2024-10-04T14:15:56.1217076Z   scripts/cmake/vcpkg_download_distfile.cmake:270 (z_vcpkg_download_distfile_show_proxy_and_fail)
2024-10-04T14:15:56.1218371Z   scripts/cmake/vcpkg_from_github.cmake:106 (vcpkg_download_distfile)
2024-10-04T14:15:56.1219343Z   ports/7zip/portfile.cmake:1 (vcpkg_from_github)
2024-10-04T14:15:56.1220069Z   scripts/ports.cmake:192 (include)
2024-10-04T14:15:56.1220478Z
2024-10-04T14:15:56.1220486Z
2024-10-04T14:15:56.1243022Z error: building 7zip:x64-windows failed with: BUILD_FAILED
2024-10-04T14:15:56.1244219Z See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
2024-10-04T14:15:56.1245077Z Elapsed time to handle 7zip:x64-windows: 7.2 s
2024-10-04T14:15:56.9437406Z Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
2024-10-04T14:15:56.9440950Z Then check for known issues at:
2024-10-04T14:15:56.9444326Z   https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+7zip
2024-10-04T14:15:56.9447316Z You can submit a new issue at:
2024-10-04T14:15:56.9451654Z   https://github.com/microsoft/vcpkg/issues/new?title=[7zip]+Build+error+on+x64-windows&body=Copy+issue+body+from+C%3A%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md
2024-10-04T14:15:56.9457791Z You can also submit an issue by running (GitHub CLI must be installed):
2024-10-04T14:15:56.9461335Z   gh issue create -R microsoft/vcpkg --title "[7zip] Build failure on x64-windows" --body-file C:/vcpkg/installed/vcpkg/issue_body.md
2024-10-04T14:15:56.9629742Z ##[error]Process completed with exit code 1.
2024-10-04T14:15:56.9900585Z Post job cleanup.
2024-10-04T14:15:57.3000359Z [command]"C:\Program Files\Git\bin\git.exe" version
2024-10-04T14:15:57.3255654Z git version 2.46.2.windows.1
2024-10-04T14:15:57.3368989Z Temporarily overriding HOME='D:\a\_temp\ec3101e0-20be-4835-9cba-ef93e171818f' before making global git config changes
2024-10-04T14:15:57.3370309Z Adding repository directory to the temporary git global config as a safe directory
2024-10-04T14:15:57.3377910Z [command]"C:\Program Files\Git\bin\git.exe" config --global --add safe.directory D:\a\test_vcpkg\test_vcpkg
2024-10-04T14:15:57.3656078Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp core\.sshCommand
2024-10-04T14:15:57.3922352Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c \"git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :\""
2024-10-04T14:15:57.8815733Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2024-10-04T14:15:57.9087631Z http.https://github.com/.extraheader
2024-10-04T14:15:57.9136783Z [command]"C:\Program Files\Git\bin\git.exe" config --local --unset-all http.https://github.com/.extraheader
2024-10-04T14:15:57.9434960Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c \"git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :\""
2024-10-04T14:15:58.3579894Z Cleaning up orphan processes

Same issue here with lz4, I'm not aware of anything that has changed on our end. Downloading manually via curl does work meaning GHA is able to access the internet, so looks like a vcpkg issue.
-- Downloading https://github.com/lz4/lz4/archive/v1.10.0.tar.gz -> lz4-lz4-v1.10.0.tar.gz...
warning: Download failed -- retrying after 1000ms
warning: Download failed -- retrying after 2000ms
warning: Download failed -- retrying after 4000ms
error: Missing lz4-lz4-v1.10.0.tar.gz and downloads are blocked by x-block-origin.
error: https://github.com/lz4/lz4/archive/v1.10.0.tar.gz: WinHttpSendRequest failed with exit code 10106

It is fixed in vcpkg, but not in Github Actions.
https://github.com/microsoft/vcpkg/issues/41199#issuecomment-2378255699, https://github.com/microsoft/vcpkg/releases/tag/2024.09.30
Alternative Mitigations:

Don't use vcpkg from GHA.
Don't use bash in Windows.
Set environment variables.

@dg0yt Thanks for the detailed reply! Used the Set envrionment variables solution and it worked. So closing this.


OverflowMenu Error: "Only a ReactOwner can have refs."

Environment

"react": "^16.2.0",
"carbon-components": "^8.10.1",
"carbon-components-react": "^5.43.1",

Steps to reproduce the issue
I have a component that looks like this:
<OverflowMenu
  floatingMenu
  flipped
>
<OverflowMenuItem
  onClick={() => foo()}
/>
</OverflowMenu>

when I click an  'OverflowMenuItem', the menu does not open, and I get the following error:
FloatingMenu.js?04f7:303 Uncaught Error: addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component's render method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).

Thanks @joshblack for your response. I also could not reproduce it in the sandbox, I think it's actually related to an old DLL that was not rebuild properly when I upgraded.
Closing.