text:
[BUG] Minimum python version in host is dropped

Describe the bug
A clear and concise description of what the bug is.
The host python does not have a minimum python in noarch packages.
To Reproduce
Steps to reproduce the behavior:

Create recipe with grayskull pypi --strict-conda-forge py3dns

Expected behavior
A clear and concise description of what you expected to happen.
Host and run python has minimum version
Outputs
If applicable, add the output to help explain your problem.
{% set name = "py3dns" %}
{% set version = "3.2.1" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/py3dns-{{ version }}.tar.gz
  sha256: 1f07d4463e98d9859ce0280c3eaa57da670ad623f6d4d3285c67dca23d7045e4

build:
  noarch: python
  script: {{ PYTHON }} -m pip install . -vv
  number: 0

requirements:
  host:
    - python
    - pip
  run:
    - python >=3.6

test:
  imports:
    - DNS
  commands:
    - pip check
  requires:
    - pip

about:
  home: https://launchpad.net/py3dns
  summary: Python 3 DNS library
  license: LGPL-3.0
  license_file: LICENSE

extra:
  recipe-maintainers:
    - BastianZim

Environment:
Grayskull version: 2.1.0
Additional context
Add any other context about the problem here.

Fixed with https://github.com/conda-incubator/grayskull/pull/431 as well

thanks for reporting it :)

authors: BastianZim marcelotrevisani

repo: conda-incubator/grayskull


text:
There should be provision to provide cert as either a base64 encoded string or path to cert file

Today, AA and CDH accepts cert parameter which is a string. Example - https://github.com/confidential-containers/guest-components/blob/main/attestation-agent/attestation-agent/config.example.toml
This is bit fragile and can result in errors when copy/pasting the values.
A more robust mechanism is to either provide a base64 encoded cert or path to the cert file.

I think the current cert is in base64 encoding?
Could you give an example for the base64 encoding format you've mentioned?
We can use a path to cert file, while for kata this would introduce more files (certs) included in initdata.

source: gharchive/issue

license_type: permissive

license_source: github-api


text:
Move ssl passwords into variables

Why is the password hardcoded in configs and scripts? This should be changeable between environments...

As mentioned in the docs, this repository has SSL and SASL plaintext mechanisms intended for proof of concept purposes. This is not meant to replace your need to generate your own secure certificates or SASL credentials.

authors: cotedm grzegorzgr

repo: confluentinc/cp-ansible


text:
[ST] Router not bidding on Gnosis

Describe the bug
https://connextscan.io/tx/0xa92627b3087bbc63326a23f8c9d4ed3eb12460b763bc7c4ee9081adbcfc991b8
There's enough liquidity on Gnosis side, nobidsreceived
@oncall

looks like this completed fast, closing

authors: LayneHaber oswy-cpu

repo: connext/monorepo

license: MIT


text:
As a [end user] I want see a timer/counter in order to estimate how long it's going to take

Problem
Time uncertainty while bridging.
Proposed Solution
Implement a time estimator for transaction. [my comment] I understand that this may be completely impossible to implement reliably on all chains
Acceptance Criteria
From an end tester and/or user perspective, the below criteria must be met to consider this done:

[ ] I can get correct estimations on how long it is going to take me to bridge my assets

Working on figuuring this out this week

repo: connext/nxtp


text:
Add documentation for using Wireshark to capture TFTP packets

Commit this as Documentation/wireshark.md.
Wireshark is a helpful tool for debugging network protocols.
For example, I can capture the packets sent during the unit tests by opening Wireshark, selecting the loopback interface, and then running cargo test. Then stop capture.

Hi @connorkuehl I have also worked with Wireshark a bit and I would be happy to write this documentation.

Thank you very much, @snasphysicist! 🙂

Closed by #58

authors: connorkuehl snasphysicist

repo: connorkuehl/tftp


text:
add winbitToken description

团队背景：
WINBITEX由⼀群区块链从业者、参与者，并有共同价值理念的⼈员组成的团队，使命是
为投资者投资、交易及管理数字资产营造公平理想的环境。因此，平台设计的⽬标就是全⾯的
保证订单的公正性和透明性。并可以以最安全和最有效的⽅式满⾜安全、审计、报告、分析等
监管合规⽅⾯的需求。
项目基本情况:
WT是WinbitToken，是Winbitex交易平台⾃⾝的权益证明，拥有创新的“交易即挖
矿”机制。WT发⾏总量恒定100亿，永不增发。Winbitex会将⼤部分收⼊及时分配给WT的持
有者，同时，WT持有者共同享有社区的治理各类权利。获取WT有两种⽅式：⼀是购买，⼆是在
平台进⾏交易挖矿。
更多关于 winbitToken 的信息

官网: https://www.winbitex.co/

微博: -

Telegram: -

Twitter: -

媒体报道

sohu http://www.sohu.com/a/244197111_595973

建议 gas limit: 60000

已经添加你的代币WT(WINBIT)，请搜索添加测试，另外由于以太坊代币种类多，添加代币工作量大，同时为了避免误导部分 imToken 用户，我们暂时只添加社区内相对流行（有交易所收录，比如币安）的代币 logo 。但是我们暂时不添加贵团队的代币 logo 完全不影响代币的转账，只要贵方的代币是基于以太坊的 ERC 20标准代币，imToken 都是支持的。

已经添加你的代币WT(WINBIT)，请搜索添加测试，另外由于以太坊代币种类多，添加代币工作量大，同时为了避免误导部分 imToken 用户，我们暂时只添加社区内相对流行（有交易所收录，比如币安）的代币 logo 。但是我们暂时不添加贵团队的代币 logo 完全不影响代币的转账，只要贵方的代币是基于以太坊的 ERC 20标准代币，imToken 都是支持的。

你好，该WT已上线至交易所WinbitEx（链接：https://www.winbitex.co/），麻烦恢复添加一下代币的logo，谢谢！

source: gharchive/pull-request

repo: consenlabs/token-profile


text:
add DHO Token

项目基本情况：
DHO为 DAO Hyperledger Omniverse 生态的唯一治理TOKEN,以DAO组织作为第一战略驱动，运用区块链技术搭建一个完整的web3.0生态应用系统。将在超级账本，量子计算，NFT,元宇宙，gameFi等版块深度布局。
更多关于 imToken 的信息
官网：[https://www.dhoup.io/)
电报：[https://t.me/dhotoken)
推特：[https://twitter.com/DHO_TOKEN)
建议gas limit：60000
收录的交易所

@kaiko1203 Why hasn't my submission request been approved yet？

1.Missing official announcement: (see details for completeness and accuracy of information)

1.twitter:https://twitter.com/DHO_TOKEN/status/1546449536541143040?s=20&t=aA4cCC66xvbvzsn38S73QA
2.The size of logo has been modified
@kaiko1203

can I submit BSC Token Profile？
@kaiko1203


text:
Adding description to Manifest file

Another idea. What about adding "description" into packages in Manifest file. Let's say user has project with huge amount of dependencies and wants to add description to them - gb vendor fetch --desc "My awesome package" $repo. Also the gb vendor list can be updated to also print the description of the package.
{
	"version": 0,
	"dependencies": [
		{
			"importpath": "github.com/my/awesome/package",
			"repository": "https://github.com/my/awesome",
			"revision": "214a2b2cadabe2baeb2fbfab3bd...",
			"branch": "master",
			"path": "",
			"description": "My awesome package that does nothing at all"
		}
	]
}

@davecheney ?

Not LGTM for two reasons

This would mean changing the metadata format (potentially) and this
isn't a good enough justification for this.

If you want comments then json is the wrong format for that. That means
changing the format, see point 1

On Tue, 2 Jun 2015 02:20 Dávid Kaya notifications@github.com wrote:

Another idea. What about adding "description" into packages in Manifest
file. Let's say user has project with huge amount of dependencies and wants
to add description to them - gb vendor fetch --desc "My awesome package"
$repo. Also the gb vendor list can be updated to also print the
description of the package.
{
"version": 0,
"dependencies": [
{
"importpath": "github.com/my/awesome/package",
"repository": "https://github.com/my/awesome",
"revision": "214a2b2cadabe2baeb2fbfab3bd...",
"branch": "master",
"path": ""
"description": "My awesome package that does nothing at all"
}
]
}
@davecheney https://github.com/davecheney ?
—
Reply to this email directly or view it on GitHub
https://github.com/constabulary/gb/issues/176.

Ok, closing

This isn't to say it isn't a good idea, but I don't want to see it
shoehorned into json, because that is a poor format for free style
commentary. There are bigger fish to fry, and will be for some time.
On Tue, Jun 2, 2015 at 7:18 AM, Dávid Kaya notifications@github.com wrote:

Ok, closing
—
Reply to this email directly or view it on GitHub
https://github.com/constabulary/gb/issues/176#issuecomment-107715952.

Yea, that json was also in my "cons" list. It´s ok, I was just brainstorming during my studying for Bachelor finals today..

Maybe once gb becomes self hosting we can look at a different encoding
scheme, one that maybe isnt available in the stdlib, but becoming self
hosting is very low on the priority list.
On Tue, Jun 2, 2015 at 7:24 AM, Dávid Kaya notifications@github.com wrote:

Yea, that json was also in my "cons" list. It´s ok, I was just
brainstorming during my studying for Bachelor finals today..
—
Reply to this email directly or view it on GitHub
https://github.com/constabulary/gb/issues/176#issuecomment-107717201.

authors: davecheney davidkaya

repo: constabulary/gb

license: mit

license_source: bigquery


text:
🛑 resterdigne.net is down

In 24c4067, resterdigne.net (https://resterdigne.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: resterdigne.net is back up in 55f0c07.

repo: constructions-incongrues/status


text:
🛑 foutre.partouze-cagoule.fr is down

In 118cb01, foutre.partouze-cagoule.fr (https://foutre.partouze-cagoule.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: foutre.partouze-cagoule.fr is back up in ea7bfab.


text:
🛑 parishq.net is down

In a31b596, parishq.net (https://parishq.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: parishq.net is back up in 1853a79.


text:
🛑 letrucapripri.partouze-cagoule.fr is down

In 42bbceb, letrucapripri.partouze-cagoule.fr (https://letrucapripri.partouze-cagoule.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: letrucapripri.partouze-cagoule.fr is back up in fbc68ba.


text:
🛑 degelite.org is down

In 50e7a05, degelite.org (https://degelite.org) was down:

HTTP code: 500
Response time: 15706 ms

Resolved: degelite.org is back up in fe25dae after 33 minutes.


text:
🛑 Mille Milliards - Tirages Ingrats is down

In 832bebb, Mille Milliards - Tirages Ingrats (https://tiragesingrats.millemilliards.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Mille Milliards - Tirages Ingrats is back up in 502d93d after 7 minutes.


text:
Not maintained. USE proxybroker2 INSTEAD.

As this project is not maintained by the original developer, we've forked and continued maintaining it in proxybroker2 project since 2020.

https://github.com/bluet/proxybroker2
https://github.com/constverum/ProxyBroker/pull/161

If anyone's interested, please join. We need more volunteers. :-)

@bluet Thanks for that !

repo: constverum/ProxyBroker


text:
remove blanket impl for comparator references

This conflicted with the one for functions once rust-lang/rust#23895
landed, though this solution isn't satisfactory.

r? @Gankro
(I've picked a reviewer for you, use r? to override)

This is preventing compare from building with today's nightly.

r? @reem

Sorry about the delay!

authors: FlashCat Gankro apasel422

repo: contain-rs/compare


text:
Proposal - add more complex FROM clause parsing

I wrote a more complex FROM clause parsing, and it currently sits in a opensourced piece of software - would you be interested in transferring it to your library? It would make much more sense to have it in here. Its used in production, covered with tests, and should be pretty much a direct copy-paste. Its the DockerImageId class here https://github.com/kiwicom/the-zoo/blob/master/zoo/analytics/tasks/utils.py
Tests are here https://github.com/kiwicom/the-zoo/blob/master/test/analytics/tasks/test_utils.py
Let me know, I will submit PR if you are interested.

Hello,
Thank you for your interest into contribution! :rocket:
Your format (and class properties) seems very specific to your use cases:
my.registry.com:5005/special-name/my-image/namespace/another-namespace:0.1.1-alpine3.9 as base-image
We are using have images with different tag formats and different namespace structure. (For example quay.io registry doesn't support such nested namespace structure)
Here we need more generic handling of image name. I'd keep dockerfile-parse simple and let users choose how to parse it with their favorite library.
For example we use this: https://github.com/containerbuildsystem/atomic-reactor/blob/master/atomic_reactor/util.py#L91
It's simple enough for our use cases.

I see, could you maybe outline what the different tag formats and namespaces structures are? I was aiming to do it as general as possible, did quite a lot of research on different formats used around etc.
I know some registries do not support nested namespaces for example, but my parser handles that ok, as far as I know different formats are only a subset of what my parser supports, not something completely different that would break it.
In case there are such different formats used that I cannot make compatible with what I support already then I understand.

I believe what Martin meant with his comment was that maybe restricting or labelling the data in the from instruction to do more than specified by the container build engines (e.g., https://docs.docker.com/engine/reference/builder/#from) may be the role of some other tool instead of a general purpose parser (unless we could make the parser more generic).
One use case the parser does not cover, which is definitely desired, is handling digest references.
For instance  ubuntu@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2 is parsed as having the reponame as ubuntu@sha256 and the tag and version as the digest.
Also, if we use just the digest, the hash function is parsed as being the repository name.
Moreover, how should the parser behave if it had to parse an ipv6 literal? See https://github.com/docker/distribution/pull/2899
Now for specifics, let's look at the Fedora case, where '-' may be used on the tag to separate the version from the release for a component NVR (Name, Version, Release). Also note this is not so different for other distros, such as Debian (however, AFAIK, they do not ship containers as part of the distro). Now, let's say wehave an image named registry.fedoraproject.io/my-image:1.0.0-123.4.
What makes sense to parse as OS in your parser, should actually be the release. Furthermore, if we ad a tilde there to point to a pre-release 1.0.0-1~beta, we would get that split in the OS components.
Hence, I do not think a copy-paste of the parser pointed here would be generic enough for dockerfile-parse. However, a more complex (less restrictive, in the sense it would not raise errors, but maybe warnings) generic parser would be nice to have as long as it would not break backward compatibility with former versions of dockerfile-parse. For instance, we could start with the abstractions shown in https://docs.docker.com/engine/reference/builder/#from

Thank you for the suggestion, but based on the previous comment this is not something we want to support.

Thank you for the suggestion, but based on the previous comment this is not something we want to support.

authors: MartinBasti athos-ribeiro lcarva m1n0

repo: containerbuildsystem/dockerfile-parse


text:
Containerd 1.3.9 unable to use nvidia-container-runtime

Hi there, I'm upgrading containerd from 1.2.6 to 1.3.9, and I cannot find the right way to config to use nvidia-container-runtime.
For 1.2.6, I just change [plugins.linux] "runtime" from "runc" to "nvidia-container-runtime", and it all works. For 1.3.9, I tried to follow the doc but still can't find the right way to config, following is my config for 1.3.9, can someone help with that?
version = 2
root = "/var/lib/containerd"
state = "/run/containerd"
plugin_dir = ""
disabled_plugins = []
required_plugins = []
oom_score = 0

[grpc]
  address = "/run/containerd/containerd.sock"
  tcp_address = ""
  tcp_tls_cert = ""
  tcp_tls_key = ""
  uid = 0
  gid = 0
  max_recv_message_size = 16777216
  max_send_message_size = 16777216

[ttrpc]
  address = ""
  uid = 0
  gid = 0

[debug]
  address = ""
  uid = 0
  gid = 0
  level = ""

[metrics]
  address = ""
  grpc_histogram = false

[cgroup]
  path = ""

[timeouts]
  "io.containerd.timeout.shim.cleanup" = "5s"
  "io.containerd.timeout.shim.load" = "5s"
  "io.containerd.timeout.shim.shutdown" = "3s"
  "io.containerd.timeout.task.state" = "2s"

[plugins]
  [plugins."io.containerd.gc.v1.scheduler"]
    pause_threshold = 0.02
    deletion_threshold = 0
    mutation_threshold = 100
    schedule_delay = "0s"
    startup_delay = "100ms"
  [plugins."io.containerd.grpc.v1.cri"]
    disable_tcp_service = true
    stream_server_address = "127.0.0.1"
    stream_server_port = "0"
    stream_idle_timeout = "4h0m0s"
    enable_selinux = false
    sandbox_image = "k8s.gcr.io/pause:3.1"
    stats_collect_period = 10
    systemd_cgroup = false
    enable_tls_streaming = false
    max_container_log_line_size = 16384
    disable_cgroup = false
    disable_apparmor = false
    restrict_oom_score_adj = false
    max_concurrent_downloads = 3
    disable_proc_mount = false
    [plugins."io.containerd.grpc.v1.cri".containerd]
      snapshotter = "overlayfs"
      default_runtime_name = "runc"
      no_pivot = false
      [plugins."io.containerd.grpc.v1.cri".containerd.default_runtime]
        runtime_type = "io.containerd.runtime.v1.linux"                     // changed from "io.containerd.runc.v1"
        runtime_engine = ""
        runtime_root = ""
        privileged_without_host_devices = false
      [plugins."io.containerd.grpc.v1.cri".containerd.untrusted_workload_runtime]
        runtime_type = ""
        runtime_engine = ""
        runtime_root = ""
        privileged_without_host_devices = false
      [plugins."io.containerd.grpc.v1.cri".containerd.runtimes]
        [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
          runtime_type = "io.containerd.runtime.v1.linux"                  // changed from "io.containerd.runc.v1"
          runtime_engine = ""
          runtime_root = ""
          privileged_without_host_devices = false
    [plugins."io.containerd.grpc.v1.cri".cni]
      bin_dir = "/opt/cni/bin"
      conf_dir = "/etc/cni/net.d"
      max_conf_num = 1
      conf_template = ""
    [plugins."io.containerd.grpc.v1.cri".registry]
      [plugins."io.containerd.grpc.v1.cri".registry.mirrors]
        [plugins."io.containerd.grpc.v1.cri".registry.mirrors."docker.io"]
          endpoint = ["https://registry-1.docker.io"]
    [plugins."io.containerd.grpc.v1.cri".x509_key_pair_streaming]
      tls_cert_file = ""
      tls_key_file = ""
  [plugins."io.containerd.internal.v1.opt"]
    path = "/opt/containerd"
  [plugins."io.containerd.internal.v1.restart"]
    interval = "10s"
  [plugins."io.containerd.metadata.v1.bolt"]
    content_sharing_policy = "shared"
  [plugins."io.containerd.monitor.v1.cgroups"]
    no_prometheus = false
  [plugins."io.containerd.runtime.v1.linux"]
    shim = "containerd-shim"
    runtime = "nvidia-container-runtime"              // changed from "runc"
    runtime_root = ""
    no_shim = false
    shim_debug = false
  [plugins."io.containerd.runtime.v2.task"]
    platforms = ["linux/amd64"]
  [plugins."io.containerd.service.v1.diff-service"]
    default = ["walking"]
  [plugins."io.containerd.snapshotter.v1.devmapper"]
    root_path = ""
    pool_name = ""
    base_image_size = ""

Are you still using the v1 shim?
That's the only one you have configured but I think the default in 1.3 is io.containerd.runc.v1 (And 1.4 io.container.runc.v2).

hi~ @diyi0926
Could you show the way running a container on your machine, like ctr run ... or crictl create ... or kubectl ...

repo: containerd/containerd


text:
ctr: fix parsing mount options

Set DisableSliceFlagSeparator = true
urfave/cli/v2 uses ',' as default string slice separator. That means '--mount type=bind,src=/src,des=/des,options=rbind:rw' will be token as four bind mount options.
Fixes: #10003
reference:
https://github.com/urfave/cli/pull/1582
DisableSliceFlagSeparator is a global setting.
Before updating urfave/cli to v2,  ctr doesn't support to take --<option>  foo1=bar1,foo2=bar2 as --<option> foo1=bar1 --<option>  foo2=bar2.
So I think set DisableSliceFlagSeparator = true is compatible with before

/ok-to-test

/retest


text:
v1.7.5 and v2.0.0-beta.2 planning

Will release v1.7.5 and v2.0.0-beta.2 right after the release of containerd v1.7.14
cc @containerd/nerdctl-maintainers

https://github.com/containerd/nerdctl/releases/tag/v1.7.5
https://github.com/containerd/nerdctl/releases/tag/v2.0.0-beta.2

repo: containerd/nerdctl


text:
weird: podman [image|container] inspect -l : panics

$ ./bin/podman inspect -l
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x147a3c9]

goroutine 1 [running]:
github.com/containers/libpod/libpod.(*Container).ID(...)
        libpod/container.go:481
github.com/containers/libpod/pkg/domain/infra/abi.getContainersAndInputByContext(0x20300000000100, 0xc0003ad220, 0x0, 0x1, 0xc0005a2600, 0xc0001739b8, 0x420eee, 0x7f94c3ee67e0, 0x0, 0xb, ...)
        pkg/domain/infra/abi/containers.go:47 +0x499
github.com/containers/libpod/pkg/domain/infra/abi.getContainersByContext(...)
        pkg/domain/infra/abi/containers.go:70
github.com/containers/libpod/pkg/domain/infra/abi.(*ContainerEngine).ContainerInspect(0xc000010698, 0x1cfc9e0, 0xc000042198, 0xc0003ad220, 0x0, 0x1, 0x19c8fdf, 0x4, 0x1, 0x19c84b7, ...)
        pkg/domain/infra/abi/containers.go:337 +0x7b
github.com/containers/libpod/cmd/podman/inspect.(*inspector).inspect(0xc0004ca0f0, 0xc0003ad220, 0x0, 0x1, 0x3, 0xc0004ca0f0)
        cmd/podman/inspect/inspect.go:114 +0x5df
github.com/containers/libpod/cmd/podman/inspect.Inspect(0xc0003ad220, 0x0, 0x1, 0x19c8fdf, 0x4, 0x1, 0x19c84b7, 0x3, 0x1a179fe, 0x4)
        cmd/podman/inspect/inspect.go:44 +0x9b
main.inspectExec(0x29343e0, 0xc0003ad220, 0x0, 0x1, 0x0, 0x0)
        cmd/podman/inspect.go:35 +0x8d
github.com/spf13/cobra.(*Command).execute(0x29343e0, 0xc00003c1a0, 0x1, 0x1, 0x29343e0, 0xc00003c1a0)
        vendor/github.com/spf13/cobra/command.go:838 +0x453
github.com/spf13/cobra.(*Command).ExecuteC(0x2934bc0, 0xc000042198, 0x17b9a40, 0x29de598)
        vendor/github.com/spf13/cobra/command.go:943 +0x317
github.com/spf13/cobra.(*Command).Execute(...)
        vendor/github.com/spf13/cobra/command.go:883
github.com/spf13/cobra.(*Command).ExecuteContext(...)
        vendor/github.com/spf13/cobra/command.go:876
main.Execute()
        cmd/podman/root.go:87 +0xec
main.main()
        cmd/podman/main.go:57 +0x168

Same with podman image inspect -l, podman container inspect -l
master @ c4ccd7cbc1509bab6183c47f740cbf2cc4ee0424

Happens when no container is present, we're probably doing something silly

Also, podman image inspect should not have the -l flag

authors: edsantiago mheon

repo: containers/libpod


text:
Name models interfaces as their files

https://github.com/projectatomic/studio-extension/pull/92#discussion_r1457710622

closing obsolete

authors: feloy slemeur


text:
exec terminal update (automatic resize and detach)

Using vt10x package instead of vtterm that will allow automatic terminal resize.
Updating container exec dialog and removing detach keys input field. By selecting "close" button it will automatically detach if exec is in attached mode.
Using "containers/podman/pkg/channel" instead of utils/streams. pkg/channel was also previsouly used in image build dialog.
Signed-off-by: Navid Yaghoobi n.yaghoobi.s@gmail.com

LGTM

authors: navidys rhatdan

repo: containers/podman-tui


text:
Service Weights not working in Kubernetes

Do you want to request a feature or report a bug?
Bug
Did you try using a 1.7.x configuration for the version 2.0?
No
What did you do?
I am trying to use traefik.ingress.kubernetes.io/service-weights to distribute traffic among my two backends
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: vikas
  namespace: default
  annotations:
    kubernetes.io/ingress.class: traefik
    traefik.frontend.rule.type: PathPrefixStrip
    traefik.ingress.kubernetes.io/service-weights: |
      vikas-v1: 80%
      vikas-v2: 20%
spec:
  rules:
  - host: some.example.com
    http:
      paths:
      - path: /
        backend:
          serviceName: vikas-v1
          servicePort: http
      - path: /
        backend:
          serviceName: vikas-v2
          servicePort: http

What did you expect to see?
I expected the weights to be different on the Traefik UI and HTTP responses

What did you see instead?
Weights of the two backend were same and requests were processed in round robin fashion
Traefik version:
1.7.10 Alpine

Sorry about this, it was my bad. I had a typo in my service selector.

repo: containous/traefik


text:
Fix tracing duplicated headers

What does this PR do?
This PR fix duplicated header in Tracing.
Motivation
When an incoming request arrives with a tracing header, Træfik should used this header to create the new tracing headers and keep only the last one.
Additional Notes
Closes #3854
It is an issue in opentracing/opentracing-go ant it has been fixed by https://github.com/opentracing/opentracing-go/pull/191 but for now we are not able to upgrade this dependency

LGTM

authors: jbdoumenjou mmatur


text:
Add Notion usage details to the home page

Do this in conjunction with #59

Fixed with #104

repo: contentlayerdev/website


text:
[Snyk] Upgrade io.reactivex.rxjava3:rxjava from 3.1.8 to 3.1.9

Snyk has created this PR to upgrade io.reactivex.rxjava3:rxjava from 3.1.8 to 3.1.9.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.

The recommended version was released on 24 days ago.

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:

🧐 View latest project report
📜 Customise PR templates
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Upgrade the package version in this PR : https://github.com/contentstack/contentstack-java/pull/149.

authors: erpranavjoshi reeshika-h

repo: contentstack/contentstack-java


text:
Integration of thirdparty libraries into build tree

Point for discussion
I believe providing mechanisms to build very common/widespread third party libraries like protobuf and asio in-tree as part of the ecal build process is not best practice.
It might be a welcome crutch for quick installation on a developer's local system. But for proper deployment on a target, the dependencies should be explicitly handled. There is a high chance that the user will also need other (non ecal) components that depend on these libraries. Other (incompatible) versions of these libraries might already pre-exist on the target systems. With the possibility to build in-tree (ECAL_THIRDPARTY_BUILD...), developers will be lead into using this, and might end up with duplicate libraries on a resource restricted embedded target. Better to clearly specify the dependencies, and have the developers or integrators do their work.
I am a little on the fence on less prevalent and/or possibly outdated third party dependencies (for example simpleini). For these cases, it might be more reasonable to provide them in-tree (in some cases maybe even going as far as having a copy in-tree, not as git sub-modules). But in general, I think best practice is to make third party dependencies explicit, document them well, and have the developer handle them.
This has the added side-effect of keeping the CMakeLists.txt structure a bit simpler. The ecal one is complicated enough as it is ;)

Hi @bendelec,
I totally get your point, from the view of an experienced (I guess Linux) embedded developer.
But I think that there might also be a lot of other developers, who just quickly want to build eCAL and see if this project fits their needs. And it should be fairly easy for everyone to clone the repo including submodules, build the whole thing and then start evaluating.
If you have a whole long list of dependencies to install (especially when you're in a Windows based environment which does not have any package mangers - and where it's not trivial to build and install a library in such a way that it will be located from CMake afterwards), that innitial effort may be too high for newcomers to get started and they might not continue evaluating eCAL.
On the other hand, if you're an experienced developer, you can easily disable building the thirdparty dependencies by passing the correct flags (ECAL_THIRDPARTY_BUILD_xxx) to CMake.
So far we only give the option to take a system wide protobuf installation (because it is the only one that has to be build vs header only), but we are free to add these options also for asio and tclap.
Also we will make sure that all these CMake options will be properly documented.

Hi @Kerstin-Keller,
I was actually thinking about the less experienced developers specifically. An experienced developer will do the right thing anyway. But a less experienced developer will be lead into shortcuts that will come back to haunt him later when their system gets more complex and there are other components driving conflicting dependencies...
But I have to admit, I haven't had the need to develop on or for Windows for many years. If it is really such a hassle in the windows world otherwise, then I agree that some compromises have to be made to accommodate the unfortunate souls who are forced to develop in such an uncomfortable environment :D ... So be it.

Conan integration started. So hopefully we get rid for some of the "internal" third party dependencies.

For linux builds all builtin (none header only) thirdparty git submodules can be deactivated by setting the appropriate CMake options to OFF. So we have a nice comfortable solution for windows users to use the submodules and build them inside the repository and for linux user to use the system installed dependencies. No more need to invest more effort here.
If conan will replace both solutions in the future will be decided later.

authors: Kerstin-Keller bendelec rex-schilasky

repo: continental/ecal


text:
eCAL 5.10 broke compatibility with eCAL 5.9 and lower in C API

Some functions were renamed without any need to rename them.
Commit:
https://github.com/continental/ecal/commit/17f576bc749461be597de5afb1993102593fe102#diff-d689389f1a48931b2e6f5dce34cff0ff5b8ac0a8efe2a99879faca9b01742a67
Files (probably more):
ecal/core/include/ecal/cimpl/ecal_proto_dyn_json_subscriber_cimpl.h
ecal/core/include/ecal/cimpl/ecal_client_cimpl.h
ecal/core/include/ecal/cimpl/ecal_publisher_cimpl.h
ecal/core/include/ecal/cimpl/ecal_subscriber_cimpl.h

Yes, this was done by accident. The idea was to have the same naming convention for all C API functions. Some of them end with a 'C' some not. This C postfix makes no sense but we can rename then back for the minority of users that are using the raw C API.

I will make the fix. We will have both and deprecate the old C postfix. We can then remove the deprecated functions with eCAL 6.
The deprecation may be compiler specific, and might not work on all platforms.
However it will be marked as deprecated in the documentation.
Should we wait with the deprecation for 5.11. and have both (none deprecated) in 5.10? Because then we can mention it in the release notes.

The deprecation notice is not really consistent anyways. But please add some "Deperecated since 5.11" or whatever to the documentation, so we can add more consistent deprecation notes to the release notes in the future


text:
make build image and version configurable via env

Not sure if this commit is needed. I made it to stay BC, but it would be easier to move the timeout param to the last position in the signature.

LGTM @sroze 👍

Does the api image builds automatically

Does the api image builds automatically

yep, it does.

authors: OskarStark sroze

repo: continuouspipe/continuouspipe


text:
Problem with swarm on docker 1.12

So when I set DOCKER_HOST,
I dont see anything in docker network ls command
if I dont set DOCKER_HOST,
I do see networks created by contiv under docker network ls command.
This happens when you do make demo.
docker info
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 0
Server Version: swarm/1.2.0
Role: primary
Strategy: spread
Filters: health, port, dependency, affinity, constraint
Nodes: 3
 (unknown): 192.168.2.11:2385
  └ Status: Pending
  └ Containers: 0
  └ Reserved CPUs: 0 / 0
  └ Reserved Memory: 0 B / 0 B
  └ Labels:
  └ Error: Cannot connect to the Docker daemon. Is the docker daemon running on this host?
  └ UpdatedAt: 2017-01-10T22:13:26Z
  └ ServerVersion:
 (unknown): 192.168.2.10:2385
  └ Status: Pending
  └ Containers: 0
  └ Reserved CPUs: 0 / 0
  └ Reserved Memory: 0 B / 0 B
  └ Labels:
  └ Error: Cannot connect to the Docker daemon. Is the docker daemon running on this host?
  └ UpdatedAt: 2017-01-10T22:13:26Z
  └ ServerVersion:
 (unknown): 192.168.2.12:2385
  └ Status: Pending
  └ Containers: 0
  └ Reserved CPUs: 0 / 0
  └ Reserved Memory: 0 B / 0 B
  └ Labels:
  └ Error: Cannot connect to the Docker daemon. Is the docker daemon running on this host?
  └ UpdatedAt: 2017-01-10T22:13:26Z
  └ ServerVersion:
Plugins:
 Volume:
 Network:
Swarm:
 NodeID:
 Is Manager: false
 Node Address:
Security Options:
Kernel Version: 3.10.0-327.22.2.el7.x86_64
Operating System: linux
Architecture: amd64
CPUs: 0
Total Memory: 0 B
Name: 8130f300c940
Docker Root Dir:
Debug Mode (client): false
Debug Mode (server): false
WARNING: No kernel memory limit support
[vagrant@netplugin-node1 netplugin]$ netctl tenant create t1
Creating tenant: t1
[vagrant@netplugin-node1 netplugin]$ netctl network create --tenant t1 --subnet=20.1.1.0/24 --gateway=20.1.1.254 -e "vlan" n1
Creating network t1:n1
[vagrant@netplugin-node1 netplugin]$ netctl group create -t t1 n1 g1
Creating EndpointGroup t1:g1
[vagrant@netplugin-node1 netplugin]$ netctl net ls -a
Tenant  Network  Nw Type  Encap type  Packet tag  Subnet       Gateway     IPv6Subnet  IPv6Gateway
------  -------  -------  ----------  ----------  -------      ------      ----------  -----------
t1      n1       data     vlan        0           20.1.1.0/24  20.1.1.254
[vagrant@netplugin-node1 netplugin]$
[vagrant@netplugin-node1 netplugin]$
[vagrant@netplugin-node1 netplugin]$
[vagrant@netplugin-node1 netplugin]$
[vagrant@netplugin-node1 netplugin]$
[vagrant@netplugin-node1 netplugin]$ docker network ls
NETWORK ID          NAME                DRIVER              SCOPE
[vagrant@netplugin-node1 netplugin]$
[vagrant@netplugin-node1 netplugin]$
[vagrant@netplugin-node1 netplugin]$
[vagrant@netplugin-node1 netplugin]$ docker net ls
docker: 'net' is not a docker command.
See 'docker --help'.
[vagrant@netplugin-node1 netplugin]$ docker network
connect     create      disconnect  inspect     ls          rm
[vagrant@netplugin-node1 netplugin]$ docker network ls -a
unknown shorthand flag: 'a' in -a
See 'docker network ls --help'.
[vagrant@netplugin-node1 netplugin]$ docker network ls
NETWORK ID          NAME                DRIVER              SCOPE
[vagrant@netplugin-node1 netplugin]$ unset DOCKER_HOST
[vagrant@netplugin-node1 netplugin]$ docker ps
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                    NAMES
2ef020553771        swarm:1.2.0         "/swarm join --advert"   About an hour ago   Up About an hour    2375/tcp                 swarm-agent
8130f300c940        swarm:1.2.0         "/swarm manage -H :23"   About an hour ago   Up About an hour    0.0.0.0:2375->2375/tcp   swarm-manager
[vagrant@netplugin-node1 netplugin]$
[vagrant@netplugin-node1 netplugin]$
[vagrant@netplugin-node1 netplugin]$
[vagrant@netplugin-node1 netplugin]$ netctl net ls -a
Tenant  Network  Nw Type  Encap type  Packet tag  Subnet       Gateway     IPv6Subnet  IPv6Gateway
------  -------  -------  ----------  ----------  -------      ------      ----------  -----------
t1      n1       data     vlan        0           20.1.1.0/24  20.1.1.254
[vagrant@netplugin-node1 netplugin]$ docker network ls
NETWORK ID          NAME                DRIVER              SCOPE
2ca762af1cd7        bridge              bridge              local
de844c01695b        g1/t1               netplugin           global
60bdf9f20df4        host                host                local
d8ab116645a3        n1/t1               netplugin           global
f3a1645dfbc0        none                null                local
[vagrant@netplugin-node1 netplugin]$
[vagrant@netplugin-node1 netplugin]$
[vagrant@netplugin-node1 netplugin]$ docker network ls
NETWORK ID          NAME                DRIVER              SCOPE
2ca762af1cd7        bridge              bridge              local
de844c01695b        g1/t1               netplugin           global
60bdf9f20df4        host                host                local
d8ab116645a3        n1/t1               netplugin           global
f3a1645dfbc0        none                null                local
[vagrant@netplugin-node1 netplugin]$ export DOCKER_HOST=tcp://192.168.2.10:2375
[vagrant@netplugin-node1 netplugin]$ docker network ls
NETWORK ID          NAME                DRIVER              SCOPE
[vagrant@netplugin-node1 netplugin]$ docker run -itd --net="g1/t1" alpine sh
docker: Error response from daemon: No healthy node available in the cluster.
See 'docker run --help'.
[vagrant@netplugin-node1 netplugin]$ docker --version
Docker version 1.12.3, build 6b644ec
[vagrant@netplugin-node1 netplugin]$
[vagrant@netplugin-node1 netplugin]$

@gaurav-dalvi please verify docker 1.12 with net-demo-installer

I will. But those are two different platforms.
as of now for make demo its broken

Yes, we showed you that it was broken in make demo. Could you please verify with net-demo-installer to see if that is also broken

I think that's the default behavior of docker network command with swarm - it doesn't show these "global" entities. If you want to see them, you have to access the docker host directly.

It got resolved by https://github.com/contiv/netplugin/pull/701
Port is changed from 2375 to 3375. I will close this once i verify on baremetal.

to verify on baremetal we need this change as well.
https://github.com/contiv/ansible/pull/307

@gaurav-dalvi, this issue and fix #701 are for make demo. Please close this if its working for you. contiv/ansible#307 is for net_demo_installer

authors: gaurav-dalvi gkvijay rhim

repo: contiv/netplugin


text:
Bugfix/pytest removal error

Changes
Bumps the minimum pytest version to 8.1 for consistency with the version currently being used in the release workflow.
Inconsistencies in pytest versions can produce unexpected errors in the release workflow. For example, https://github.com/contrailcirrus/pycontrails/actions/runs/8254181733 failed because the release workflow used pytest 8.1.1, and 8.1 is the first minor version without pytest.PytestRemovedIn8Warning (https://docs.pytest.org/en/7.1.x/backwards-compatibility.html?highlight=removedin). This wasn't caught in earlier testing (https://github.com/contrailcirrus/pycontrails/actions/runs/8253888054), which used pytest 7.4.4.
These changes are a bandaid solution in that they don't prevent similar future errors. These could occur if, for example, the release workflow starts using pytest >=9.1 but the test workflow stays on pytest <=9.0.
Internals

Bump minimum pytest version to 8.1

Tests

[x] QC test passes locally (make test)
[ ] CI tests pass

Reviewer

@mlshapiro

This looks like a great solution, even if its a bandaid. I'm not sure we need to systematically fix these unless they are causing larger issues around.

authors: mlshapiro thabbott

repo: contrailcirrus/pycontrails


text:
player.getInternalPlayer('dash').setProtectionData("widevine") is Supported ?

player.getInternalPlayer('dash').setProtectionData("widevine") is it supported for video encoding ?

If the dash instance supports that method then there is no reason why it would not work.

authors: FouadGeagea cookpete

repo: cookpete/react-player


text:
How do I stretch a video to fit its containing div?

Be sure to search for your issue before opening a new one.
Current Behavior

When I add a video into a container of different aspect ratio, I get grey padding blocks to the sides or above/below (depending on container's aspect ratio relative to video's aspect ratio).
Expected Behavior

The video stretched to fill the containing div, with the video's aspect ratio changed to match the containing div's.
Steps to Reproduce

The same as https://github.com/CookPete/react-player/issues/145 - but I'm wanting the inverse result - video aspect ratio to match containing div's aspect ratio.
Environment

URL attempting to play: https://youtu.be/sjeN9QdsDRQ
Browser: Chrome 74
Operating system: Fedora Linux 29

The youtube player will always show the video at the correct ratio, regardless of the size you set the player:

You could possibly experiment with object-fit to get the result you want? https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit

@cookpete would you not have to set object-fit on the <video> element itself? If so, I'm finding it difficult to access the video element, as getInternalPlayer returns the iframe.

I found the way round since I want the video to fill the height of the page and being responsive and this is an example:
on .jsx

            <ReactPlayer
              url={...}
              className={styles.player_inner}
              height='100%'
            />

and my .scss is
.player{
position: relative;
padding-top: 100vh;
&_inner{
position: absolute;
top: 0;
left: 0;
min-width: 100% !important;
width: calc(100vh * (16 / 9)) !important;
}

I found the way round since I want the video to fill the height of the page and being responsive and this is an example: on .jsx

            <ReactPlayer
              url={...}
              className={styles.player_inner}
              height='100%'
            />

and my .scss is
.player{ position: relative; padding-top: 100vh; &_inner{ position: absolute; top: 0; left: 0; min-width: 100% !important; width: calc(100vh * (16 / 9)) !important; }

I am working on a nextjs13 project that had me wandering down this path of trying for hours to get the video (linked to youtube) to play with the video taking up the entire viewport - your response let me to a suitable answer:
const [calcWidth, setCalcWidth] = React.useState(null);
React.useEffect(() => {
const viewportHeight = window.innerHeight;
const aspectRatio = 16 / 9;
const newCalcWidth = viewportHeight * aspectRatio;
setCalcWidth(newCalcWidth);
}, [])
    <Box
    sx={{
      position: 'absolute',
      top: 0,
      left: 0,
      width: '100%',
      height: '100%',
      backgroundColor: 'rgba(0, 0, 0, 0.5)',
      overflow: 'hidden',
    }}
  >
      {calcWidth &&
    <ReactPlayer
      url="https://youtu.be/yourVideoHere"
      controls={false}
      playing={true}
      loop={true}
      muted={true}
      height="100vh"
      width={calcWidth ? calcWidth : '100vw'}
      style={{
        position: 'absolute',
        top: '50%',
        left: '50%',
        transform: 'translate(-50%, -50%)',
        objectFit: 'cover',
        zIndex: -20,
        opacity: 1,
      }}
    />
    }
    </Box>

Hey @sinonymousx, by any chance do you have a website or screenshot of how the end results look like? I tried but it still has some black border around in some screen sizes; I have the video as the background and some divs with text on top, so the approach might be different. I think the better option is to access the <video> tag as @matt-koevort suggested before.

javier - thank you for the response and yes, definitely there were still some issues with certain viewports but I finally have the problem solved using a modification of my earlier method. I tried using the video tag option, myself, as you suggested, but had no luck, which is why I offer this alternative. I updated the code and this might still be over-engineered but it does handle every aspect ratio of the viewport correctly, now. I am still a fairly new developer so please correct me without reservation!
const [calcWidth, setCalcWidth] = React.useState(null);
const [playing, setPlaying] = React.useState(false);
const [windowDimensions, setWindowDimensions] = React.useState({
width: window?.innerWidth,
height: window?.innerHeight,
});
const handleResize = () => {
setWindowDimensions({
width: window.innerWidth,
height: window.innerHeight,
});
};
React.useEffect(() => {
window.addEventListener('resize', handleResize);

// Cleanup
return () => {
  window.removeEventListener('resize', handleResize);
};

}, []);
React.useEffect(() => {
if (userName) {
setPrompt("Please welcome " + userName + " to KOEIGO, an afterschool program for learning programming, digital art, Japanese, and English, in 3 short ryhming sentences.")
}
const fetchData = async () => {
const courseData = await getGenDbData('courseTypes');
const nonAdminData = courseData.filter(course => course.admin == false);
setData(nonAdminData);
}
fetchData();
const viewportHeight = windowDimensions.height;
const aspectRatio = 16 / 9;
if (windowDimensions.width < viewportHeight * aspectRatio) {
const newCalcWidth = viewportHeight * aspectRatio;
setCalcWidth(newCalcWidth);
} else {
setCalcWidth(windowDimensions.width);
}
setPlaying(true);
handleResize();
}, [windowDimensions.width, windowDimensions.height])
return (
<>
{calcWidth &&
<Box
sx={{
position: 'relative',
top: 0,
left: 0,
width: {xs: '99.9vw', lg: '99vw'},
height: '100vh',
backgroundColor: 'rgba(0, 0, 0, 0.5)',
overflow: 'hidden',
}}
>
<ReactPlayer
url="insert your video url here"
controls={false}
playing={playing}
loop={true}
muted={true}
height={calcWidth / 16 * 9}
width={calcWidth}
style={{
position: 'absolute',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)',
objectFit: 'cover',
zIndex: -20,
opacity: 1,
}}
/>
<Stack spacing={1} sx={{width: '90%', mt: 30, ml: {xs: 2, md: 10}}}>
<Typography variant="h2" sx={{textAlign: 'left', fontWeight: 600, fontSize: {lg: 100}, letterSpacing: '-.4rem', textDecoration: 'none', my: 1}}>
Teaching

<Typography variant="h1" sx={{textAlign: 'left', fontWeight: 700, fontSize: {lg:200}, letterSpacing: '-.5rem', textDecoration: 'none', my: 1}}>
STEAM

<Typography variant="h3" sx={{textAlign: 'left', fontWeight: 600, fontSize: {lg:100}, letterSpacing: '-.25rem', textDecoration: 'none', my: 1}}>
and Languages

<Typography variant="body1" sx={{textAlign: 'left', fontWeight: 700, fontSize: {lg:60}, letterSpacing: '.5rem', textDecoration: 'none', my: 1}}>
for a better future

}

Hey @sinonymousx thank you so much. I think you nailed it! Your code helped me achieve the desired result. I created a demo repo for anyone needing the same; I needed to add overflow: hidden because some videos were too broad and exceeded screen size. I think this approach is the best I've achieved for background videos.
Repo: https://github.com/javierdebug/reactplayerdemo/blob/main/app/page.tsx
Preview: https://transcendent-malabi-5b1b2c.netlify.app/

authors: CookPete CyberiaResurrection PaulRGU2014 javierdebug matt-koevort sinonymousx


text:
Crowdplatform cleanup

This cleanes up the crowdplatform code

No more weak recovery (for more detail see commit)
Implementation of currency

Updated. Other stuff?

I dont think so ;)

authors: marcelhollerbach redalertexpert

repo: coolcrowd/object-service


text:
Anonaddy service

https://anonaddy.com/

@andrasbacsai   Kindly Add and Vote for this request here: https://feedback.coolify.io/

Closing this one if favor of: https://feedback.coolify.io/posts/64/service-anonaddy

authors: andrasbacsai compgeniuses

repo: coollabsio/coolify


text:
Compatibility issues with smartparens

copilot-mode doesn't play nice with smartparens-mode, specifically around {.
When the copilot overlay is visible and next character in the Copilot suggestion is ", manually typing a double quote allows smartparens to insert the matching end character.
However when the next character is {, typing that character seems to prevent smartparens from inserting the matching closing character.
Below is a screen recording of Copilot suggesting both " and {. After typing each character I use C+p to move the cursor up a line to clear the copilot overlay.
https://github.com/copilot-emacs/copilot.el/assets/39563/dcd4b78d-234c-4f27-9eb5-f1181d37f599

You could try to make the function copilot--self-insert do nothing.
This was previously used to prevent overlay flickering.

authors: jimeh zerolfx


text:
Lots of storage written to my C:\ drive on virtualization

So, I go to your website, load a VM, and for some reason, I check the storage left on my C:\ drive, and it drops like 600MB.
Why does it do this?

v86 doesn't use any sort of storage (cookies, localStorage or IndexedDB). I suspect your browser is caching disk images, so try clearing site data for copy.sh. At least Firefox is also configurable to not cache to disk at all or clear caches when it's closed.


text:
Coracle failed to publish my note and lost it - or can I recover it?

I just typed an elaborate reply to a note and clicked Send.
I see the message: "Published to 0/11 relays (11 pending)"
It's stuck there. All relays seem to be disconnected. All activity in the console is dead.
So I went to the feed, now there is read activity but my reply still unpublished. It's been like that for more than 10 minutes.
I'd like to get my note and post it using another client. How do I do? (I did not close the window.)

You should be able to find it using db.userEvents.all().sort((a, b) => a.created_at > b.created_at ? 1 : -1) in the console, it'll be one of the last events. I need to work on socket re-connection stuff, this happens on occasion.

repo: coracle-social/coracle


text:
Cannot drop a runtime in a context where blocking is not allowed when I invoke client.send_transaction(&tx).await?;

I use anchor_client sdk in my web service of axum
When I create async client and send transaction it throw error:
use anchor_client::{
    solana_client::nonblocking::rpc_client::RpcClient as AsyncRpcClient,
}

pub fn route(app_state: Arc<AppState>) -> Router {
    let mut router = Router::new()
        .route("/sol/handler", post(handler))
    ...
}

...
// request handler
pub fn async handler(State(data): State<Arc<AppState>>, Json(payload): Json<Req>) -> Result<Json<Response<()>>, AppError> {
    let async_client = Arc::new(AsyncRpcClient::new_with_commitment(
        data.sol_rpc.clone(),
        CommitmentConfig::confirmed(),
    ));

    // result is ok
    let latest_blockhash = client.get_latest_blockhash().await?;

    let tx = Transaction::new_signed_with_payer(
            &[instr],
            Some(&wallet.pubkey()),
            &[&wallet],
            latest_blockhash,
     );
    // throw error: Cannot drop a runtime in a context where blocking is not allowed. This happens when a runtime is dropped from within an asynchronous context.
    let sig = client.send_transaction(&tx).await?;
    ...
}

I don't know why I called client.get_latest_blockhash().await is success but when I called client.send_transaction(&tx).await?; it throw error with Cannot drop a runtime in a context where blocking is not allowed. This happens when a runtime is dropped from within an asynchronous context.
How can I fix this problem

I fixed. Program, Client and AsyncClient should not be create and drop at this async function, I store then as groble varibles and the error is disappear

repo: coral-xyz/anchor


text:
Variables as plugins, implementing types: map, single value, proxy, persistence, custom

Map: map[string][]string, used by maps like ARGS_POST or REQUEST_HEADERS
Proxy: Connects two Map variables, for example: ARGS_POST+ARGS_GET=ARGS
Singe value: REQUEST_METHOD
Custom: TIME_EPOCH -> Returns the exact time epoch once the variables is requested

Problems to solve:

When you concat variables like REQUEST_METHOD|ARGS, both types of variables are different
Could we use multiple data types? Not just strings

Idea:
type VariableResult struct {
  Collection string
  Key string
  Value string
}

type Variable func(*coraza.Transaction) []VariableResult

func VariableRequestMethod(tx *coraza.Transaction) []VariableResult {
  res := make([]VariableResult, 1)
  res[0] = VariableResult{
    Value: tx.Collections.RequestMethod
  }
  return res
}

func VariableTimeEpoc(_ *coraza.Transaction) []VariableResult {
  ts := time.Now()
  res := make([]VariableResult, 1)
  res[0] = VariableResult{
    Value: strconv.Atoi(ts)
  }
  return res
}

func variableArgs(tx *coraza.Transaction) []VariableResult {
  res := make([]VariableResult)
  // res = MergeCollections(tx.Collections.ArgsGet, tx.Collections.ArgsPost)
  for k, v := range tx.Collections.ArgsGet {
    res = append(res, ...)
  }
  for k, v := range tx.Collections.ArgsPost {
    res = append(res, ...)
  }
  return res
}

func variableUser(tx *coraza.Transaction) []VariableResult {
  return tx.Persistence.Get("USER")
}

Already implemented on v3

repo: corazawaf/coraza


text:
Control Center use the port 7000 on mac 13.1

Describe the bug
Control Center use the port 7000 on mac 13.1.
Screenshots

Desktop (please complete the following information):

OS: mac 13.1

Thank you for sharing this issue. We'll fix that problem by changing the port from 7000 to 6500. Before fixing, you can solve this problem by changing docker-compose.yml and your user prompt.

Ok. Dont forget to change example. maybe I can pull reqeusts to fix it?

I would appreciate it if you open a pull request! Thank you very much.

fixed on #36

authors: adldotori zkhCreator

repo: corca-ai/EVAL


text:
Double Check embedding html in emails for new badges is correct.

A recently passing project reports that the embedding code in the congrats email does not work.  There were some bad quotes in what they put in their page.  Lets make sure we are not sending the wrong thing.

Can we get a specific sample?

A project was trying to embed the badge into their page and inserted the following code, which may have come from our email.

I redacted the project number. I am not sure if this was a copy and paste error, some software parsing issue on their end or our mistake.  There are some mismatched types of quotes and obviously some of the < and > got converted.

authors: david-a-wheeler jdossett

repo: coreinfrastructure/best-practices-badge


text:
dev branch: add a password resource for local email/password login

Kubernetes changes tested locally.

@kans @dghubble @squat ready for review

repo: coreos/dex


text:
connector/ldap: fix case where groups are listed on the user entity

Support schemas that determine membership by having fields on the
user entity, instead of listing users on a groups entity. E.g. the
following schema is now supported when it wasn't previously:
cn=eric,cn=user,dn=example,dn=com
objectClass=myPerson
cn: eric
uid: eric
email: eric@example.com
memberOf: foo
memberOf: bar

cn=foo,cn=group,dn=example,dn=com
objectClass=myGroup
cn: foo

cn=bar,cn=group,dn=example,dn=com
objectClass=myGroup
cn: bar

Were you able to test this with OneLogin?

No. No account.


text:
Update booting-digitalocean with warning about insecure network

Closes #718

@kevinsimper Thanks for the excellent suggestion to add this note. I've adapted a version based on your and robszumski's input and am closing this in favor of those changes in #728.

authors: joshix kevinsimper

repo: coreos/docs


text:
Add Google Cloud Storage (GCS) backend for etcd-backup/restore-operators

Support backing up to/restoring from GCS in the backup and restore operators.  The code follows the lead set by the existing S3 and ABS backends.
The [doc/design/gcs_backup.md] and [doc/user/gcs_backup.md] docs explain usage and configuration.

@xiang90 @hongchaodeng Friendly ping for reviewing this PR. Thanks!

@xiang90 @hongchaodeng Friendly ping for reviewing this PR. Thanks!

Hi @cpick could you rebase against master please so we can get this PR back on track.
/cc @crimsonfaith91

@hexfusion I've just rebased against master and pushed.

@etcd-bot ok to test

@cpick thanks I will try and review this week, in the meantime we are going to need some e2e testing around this can you start looking at that?

lgtm

@cpick thanks this looks great last nit could you rebase this into 3 separate commits something like below. As soon as that is done I will merge.
doc: add design details and examples for GCS backup/restore
pkg/*: add support for GCS backup/restore
dep: add cloud.google.com/go

/LGTM

repo: coreos/etcd-operator


text:
Document GOMAXPROCS recommendation

re: https://github.com/GoogleCloudPlatform/kubernetes/issues/7767
It would be useful to document recommended GOMAXPROC for optimal performance.

@yichengq Does this make sense for part of our test suite?

@barakmich We can include this var into our benchmark. And we can suggest the "optimal" number of cores for different workload.

authors: barakmich timothysc xiang90

repo: coreos/etcd


text:
mvcc: don't block on concurrent reads

Right now mvcc must acquire a heavily contended mutex to make Range requests. For better scalability, protect it without taking the mutex.

currently a Range request acquires

a read lock in mvcc.kvindex
a lock in mvcc.store
a lock in mvcc.backend.batchTx

are you planning to remove all three locks?
can you pls share your idea ?

@vimalk78 mvcc.store and mvcc.backend.batchTx. There's already a RWMutex in mvcc.kvindex, so there's no read contention. There's going to be a separate transactional view for reads. This is related to getting the performance back for #6876.

the mvcc.store.mu should be change to RWMutex, cannot completely remove it from Range path.
for reading the boltdb, do you plan to hold a single ReadOnly transaction, or create a new ReadOnly transaction for every Range request, or use DB.View method.  perhaps using DB.View will be better as we dont have to deal with transactions directly and create/close will be done by boltdb.

@vimalk78
https://github.com/xiang90/etcd/commit/1fcc0128a06d95bf0a29d177c916c9c512452bfa
This is an example for what we should start with. But note that the readTx needs to capture the changes happened in batchTx before it. So we need to have a shared in-mem map in front of these txs.
@heyitsanthony might provide more thoughts on that.


text:
Cannot fetch all keys in a namespace

If I create a (v3) client with a prefixed namespace and try and fetch all keys in that namespace with ...
cli.KV = namespace.NewKV(cli.KV, "my-prefix/")
resp, _ := cli.Get(ctx, "", clientv3.WithPrefix())

... the zero length key causes the namespace wrapper function for Get() to return ErrEmptyKey immediately, rather than passing the query to the underlying client as Get("my-prefix/").
The (hack?) that's used elsewhere of passing "\x00" as the key doesn't seem to work with namespaces, returning no results.

@wttw cli.Get(ctx, "\x00", clientv3.WithFromKey())

Perfect, if a little unintuitive. Thanks!

authors: heyitsanthony wttw


text:
after snap raftexample cannot start httpkvapi

Bug reporting
raftexample
newKVStore would do readCommits, but if snap load ok, newKVStore would not return and serveHttpKVAPI would not exec
A good bug report has some very specific qualities, so please read over our short document on reporting bugs before submitting a bug report.
To ask a question, go ahead and ignore this.

raftexample: fix raft blocking on restart #7315


text:
etcdserver: check -initial-cluster in join case

fixes #2396
/cc @wsimmonds I have reproduced the panic and fixed it through this PR. Could you double-check it?

integration tests fixed. PTAL

split existing and bootstrap verify. PTAL

PTAL

LGTM.

PTAL

PTAL


text:
SQLi using scientific notation not detected at PL1

Description
New SQLi attack using scientific notation of numbers:
https://blog.h3xstream.com/2021/10/bypassing-modsecurity-waf.html
Author thinks libinjection should catch it, maybe better to catch it with regexp rules too.
We catch it just fine at PL2, but PL1 would be sweet.
curl localhost -d "foo=1.e(ascii 1.e(substring(1.e(select password from users limit 1 1.e,1 1.e) 1.e,1 1.e,1 1.e)1.e)1.e) = 70 or'1'='2"

Your Environment

CRS version (e.g., v3.2.0): CRS 3.4/dev
Paranoia level setting: PL1
ModSecurity version (e.g., 2.9.3): 2.9.4
Web Server and version (e.g., apache 2.4.41): Apache
Operating System and version: Ubuntu

Confirmation
[X] I have removed any personal data (email addresses, IP addresses,
passwords, domain names) from any logs posted.

Found this around: https://github.com/mindhack03d/WAF-Rule-Scientific-Notation

Waiting for @lifeforms to provide test set of FP's.

@lifeforms could you check this out please?

@emphazer volunteered to work on this, but he can't without the FPs promised by @lifeforms.

I totally forgot about this, sorry. Will have a look this week.

This is an interesting bypass. According to the blog, you can insert 1.e(...) or another number like 2.e(...).
Fortunately, MySQL does not accept a space between e and (:
mysql> select 10.e(1);
+---+
| 1 |
+---+
| 1 |
+---+
1 row in set (0.00 sec)

mysql> select 10.e (1);
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '10.e (1)' at line 1

The fact that e( should be next to each other, allows us to write a rule that hopefully will not cause many false positives.
If I'm right, we can catch this by looking for \d\.e( and I'm pretty positive about it.
In the comments I was asked for FP's, but I totally forgot what input I need to deliver. Does someone remember and can request me something specific?

@lifeforms here's where we were talking about it: https://owasp.slack.com/archives/CBKGH8A5P/p1640034126356900. You said something about having a dump from Reddit.

@lifeforms @theseion We need to fix this asap. With all the changes in the SQL detection we are doing, this still holds?
@karelorigin can you help taking a look? I know you were rewriting data files, so this might be in the top of your head by now...

@dune73 @lifeforms More than one year. Is this relevant, are we going to do something, or we close it?

OK. We're catching this at PL2 as is. Catching it at PL1 would have been cool, but there is no pressing need (as we catch it at PL2).
We're unsure of FPs and any systematic FP tests will only be available after CRS4. I am closing this now to get rid of the deadlock. And if this pops up again in the future we have the necessary discussion and the link to a PoC rule here.

authors: dune73 fzipi lifeforms theseion

repo: coreruleset/coreruleset


text:
RCE bypass using z'x;idx'x (BB 13SXD562)

Short: curl http://sandbox.coreruleset.org/?eval=z'x;idx%27x
Long version:
curl -i -s -k -X $'GET' \
    -H $'Host: 51.158.176.1:8080' -H $'Cache-Control: max-age=0' -H $'Upgrade-Insecure-Requests: 1' -H $'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36' -H $'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9' -H $'X-CRS-Version: nightly' -H $'X-CRS-Paranoia-Level: 3' -H $'X-Format-Output: txt-matched-rules' -H $'Connection: close' \
    $'http://sandbox.coreruleset.org/?eval=z%27`x;id`x%27x'

Should match:
z'`x;id`x'x

Comment: craft regexp - amend 932151 to pick up the pattern '` ?

It looks like 13SXD562 was marked as a duplicate of VXH0CIJO.
VXH0CIJO was addressed in #2583 which adds new rule 932151, however 932151 does not catch the payload z'`x;id`x'x

I think it's this part of the regular expression of 932151:
\w+(?:[$<>]\(.*\)|`.*`)\w*
of which I guess the interesting part to examine is:
\w+`.*`
So it's the single quote mark after the z that is causing the problem. Maybe we need to look for [\w']+ at the beginning? Are there any other symbols we would need to account for? I'm not really a PHP person so I'm not sure :laughing:

Solved via https://github.com/coreruleset/coreruleset/pull/2583
Exploit detected by 942110 PL2 SQL Injection Attack: Common Injection Testing Detected.
Closing this.
CC @karelorigin

authors: RedXanadu dune73 franbuehler


text:
Add flag to only show failed tests

Sometimes when running in a pipeline, tests are a massive output that barely makes sense for the ones not failing.
Maybe extend the quiet flag to show failures only? On adding a new flag.
That would make results more succinct.

A flag like --output-failures-only would be more explicit.

authors: fzipi jcchavezs

repo: coreruleset/go-ftw


text:
feat: Add Trivy scanner to the pipeline

Trivy action scans a Docker image against vulnerabilities in the CI/CD. The vulnerabilities cache is scheduled to be updated on a daily basis.

Nice, I think it has a good find. Will fix and then we can rebase.

@huberts90 Can you take a look on why this is failing now?

repo: coreruleset/modsecurity-crs-docker


text:
Multiple data in dataset charts

I'm using Vue-Chartjs, currently implemented in the template, to create a line graphic with two datasets.
[
  {
    label:'site1',
    data: [99, 30, 90, 97, 92, 100, 98.4, 97.7, 99.8, 99.2, 94.9, 98.3,100],
    borderColor: 'rgb(255, 99, 132)',
    lineTension:0
  },
  {
    label:'site2',
    data: [99, 30, 90, 87, 92, 100, 98.4, 93.7, 94.8, 99.2, 94.9, 98.3,99.9],
    borderColor: 'rgb(6,18,248)',
    lineTension:0
  }
]

However it gives the following error: TypeError: Cannot read property 'data' of undefined
If I only use one dataset it shows correctly.

Thanks for moving to the correct place.
Another point to add is that I'm using CChartLineSimple.

There is an error in object merging function, for now, please use CChartLine component:
<CChartLine :datasets="[
  {
    label:'site1',
    data: [99, 30, 90, 97, 92, 100, 98.4, 97.7, 99.8, 99.2, 94.9, 98.3,100],
    borderColor: 'rgb(255, 99, 132)',
    lineTension:0
  },
  {
    label:'site2',
    data: [99, 30, 90, 87, 92, 100, 98.4, 93.7, 94.8, 99.2, 94.9, 98.3,99.9],
    borderColor: 'rgb(6,18,248)',
    lineTension:0
  }
]"/>

repo: coreui/coreui-free-vue-admin-template


text:
Please support the other mirror

I'm chinese, In our country nodejs.org frequent connection failure

http://npm.taobao.org/mirrors/node for china

Support for custom mirrors is now available in the master branch.

thanks

In case anyone else is digging through old issues to find out. the command to set a node download mirror is nvm node_mirror https://npm.taobao.org/mirrors/node/. The tailing / is important.

authors: Micua coreybutler xiegeo zce

repo: coreybutler/nvm-windows


text:
Public Release v1.0.0

Summary
This pull request opens up CP to the public with all of the changes made since the Spring 2020 semester.

[x] Updated landing page and privacy policy (@neketka , @einc , @willespencer)
[x] Updated walkthrough (@rmz38 , @willespencer)
[x] Firestore data migration & global data store (@SamChou19815)
[x] Backwards compatibility for semester ordering (@tcho6319)
[x] Enhanced Onboarding modal (e.g. graduation year, support for multiple majors & minors, transfer credit) (@rmz38, @jason-tung, @willespencer)
[x] Support for AB/IB exam transfer credits (@benjamin-shen)
[x] Requirements bar modularization and adding courses from requirements bar (@tcho6319, @SamChou19815, @willespencer, @hanywang2)
[x] Update progress bar functionality for each fulfilled slot in a requirement (@willespencer)
[x] Reset functionality for courses on requirements bar (@neketka)
[x] Replaced many self check requirements with course/credit requirements with warnings (@einc, @SamChou19815)
[x] Self check dropdown & self check add course modal (@willespencer)
[x] Updated add modal w/ edit requirement functionality (@hahnbeelee)
[x] Backend support for requirements determined by user choice (@benjamin-shen)
[x] Much closer to Level A Accessibility (e.g. keyboard accessibility) (@hahnbeelee)
[x] Requirement infra rework with more fine-grained control over perSlotMinCount (@SamChou19815)
[x] Updated responsive design (@SamChou19815)
[x] Added many more majors, minors, concentrations and edited requirements computation (@einc, @SamChou19815, @willespencer)
[x] Refactored Bottom Bar and Modal code (@SamChou19815)
[x] Update call to CUReviews API endpoint for bottom bar (@tcho6319)
[x] Hover states for all buttons (@tcho6319)
[x] Replaced vue2-dragula with vue-draggable (@SamChou19815)

Test Plan
Test that the app is fully functional. This includes testing all functionality on the compact view, regular view, and mobile view, like going through the walkthrough, adding AP/IB transfer credits in the onboarding, adding/dragging courses, adding/editing semesters, editing/resetting requirements, interacting with course/semester menus, changing credit numbers, etc. Ensure that requirements computations work as expected for a variety of colleges, majors, and minors.
Regular view with the bottom bar, major requirements with course cards displayed, different sized semesters, emojis, etc:

Regular view with new Onboarding modal opened:

Regular view with new Add Modal:

Mobile regular view with bottom bar expanded:

Mobile regular view with bottom bar collapsed:

Updated landing page:

Notes

There are a number of Notion items created to address issues still left in this release! Many are mentioned on the pull requests they came from.
This release currently restricts CP access to CP members only. A following release is needed to remove the whitelists.

WOOHOO 🥳 😭 WE DID IT COURSEPLAN 🥺 🤯 THANK U ALL FOR UR HARD WORK!!!!!!!!!!!!!!!!!!!!!!!!!!!

repo: cornell-dti/course-plan


text:
remove elements from cornerstone.getEnabledElements()

Hi
I see EnabledElements using cornerstone.getEnabledElements().
How can  I remove  an element from this list?

Disable the element with cornerstone.disable(element)

authors: swederik unosbaghaie

repo: cornerstonejs/cornerstoneTools


text:
💄 Fix the github and discord buttons.

I fixed a typo in the Discord component and I fixed the UI of the Discord and Github button in the footer.

Thanks!

authors: JosianeMorissette LouisGariepy

repo: cornucopia-rs/website


text:
Fehler bei Kommunikation mit Google API(17)

I installed the app and tried to activate "Risiko-Ermittlung Aktivieren". But that throws an error:
Fehler bei Kommunikation mit Google API(17).
As it is not possible to select the error code, I took screenshots of the detailed error description:

My system: Android 9, ZTE Axon 9 Pro

Hi, i am facing the same error.
Using a Oneplus 7 Pro on Android 10 (OxygenOS 10.0.5) havily debloatet and rooted with Magisk.
I will have a look at how the app handles when I undebloat my device later in the day.
I tried with wifi and mobile internet. So it seems to be a client device problem.
Let me know if I can help troubleshooting.
Best regards

Hi, i am facing the same error.
Using a Oneplus 7 Pro on Android 10 (OxygenOS 10.0.5) havily debloatet and rooted with Magisk.
I will have a look at how the app handles when I undebloat my device later in the day.
I tried with wifi and mobile internet. So it seems to be a client device problem.
Let me know if I can help troubleshooting.
Best regards

I'm on the 7 Pro with stock OxygenOS 10, the app works fine for me.
Have you removed anything related to Google Play Services? Are you running the latest version of them?

I run into the same error with a Samsung J5 running android 7.1.1.
I also had to remove all cached data from google play services and update the version before installing since I got an "Authentifizierung erforderlich" error from google play.

Same error appears with Huawei p20 lite, Android 9, EMUI 9.1.0 ... updating google services didn't work. Let me know if I can provide more information.

Same problem here too:
OS: Android 8.0.0
Phone Model: LM-G710EM
Google Play Services: updated few minutes ago
I retried it several times. I restart my phone.  Every time the same error.

Same problem here too:
APP: Versio 1.0.0
OS: Android 7.0
Phone: m-net Power1
The second problem is that I can't take a screen shot
(e.g. adb shell screencap -p /sdcard/screen.png) from screens of the app!

The same 9002 Error with installed and activated NetGuard.
Perhaps an information in App "your are not connected to the internet... but contacts will be recorded" how ever the flow should look
Derselbe 9002 Fehler bei installiertem und aktiviertem NetGuard.
Vielleicht eine Information in der App "Sie sind nicht mit dem Internet verbunden... aber Kontakte werden aufgezeichnet", wie auch immer der Ablauf aussehen soll

Haha i have the same problem, I want to install the app via Android SDK, but later in the app error Google API (17).
I Use Moto G4 with a custom rom android 9 (https://www.aospextended.com)
Ich gehe mal davon aus das ihr auch deutsch könnt ich habe jetzt auchmal versucht die app via apk zu installieren(selberfehler).

Country-settings in your Google-Account have to match with corresponding Covid-App!
Change it or create a new one!
https://support.google.com/googleplay/answer/7431675?hl=de
https://support.google.com/googleplay/answer/7431675?hl=en

I want to install this app but not from google play, i want to install it from github.

I tried it with .apk too and it doesn't work until I set this alocation.

Sorry, my country is set to German since account creation. I think the app requires German, so I could not change anyrhing.byeSimonAm 16.06.2020 12:23 schrieb Kobold82 notifications@github.com:
I tried it with .apk too and it doesn't work until I set this alocation.
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.

@simhey314
Check: Device settings >  Google services & settings > COVID-19 service
You should see the COVID-App installed. If you installed it from .apk uninstall it and reinstall it directly from Google PlayStore: https://play.google.com/store/apps/details?id=de.rki.coronawarnapp

Same here, Pixel 3a XL!

I dont wan to install it from play store
because I don't want them to have changed the code, so they can spy on me even more easily (I know I am a bit paranoid)

I can solve the error/problem:

uninstall the app
reinstall the app

I guess I it was a problem with an old google play service/update order.
I did:

install the corvid19 app
start it and get an error
update the google play service
start it, get the api(17) error

I simply reinstall the app and it works.

Hi! I have a Honor 9Lite, Android 9.1.0, all updated and reinstalled app several times, same error code!
So Kobold82 was right, I had to add Germany as my coutnry in the Google Play settings.  However Google didnt permit it unless I added a payment method that was based in Germany. So I added my paypal and only thereafter the country setting was approved to Germany. The corona app started working normally, no error codes no more.
Did someone else also have to add a payment method to get the country to Germany?

@Kobold82:
My Country is Germany &  my payment method is voucher.
My PlayStore is V20.4.18 & my Play-Services are V20.18.17.
But I got the API(17) error.

I currently experience the same problem! Huawei P20 Pro, Android 1 and Google Play services 20.18.17 and play store country set to Germany.
Even after reinstalling several times, clearing the cache of play services and play store, the same error message is created:
"Cause: 3
Something went wrong.
Error when communication with Google API (17)"
Thanks everyone for helping or fixing the bug :)

Same error:
Samsung Galaxy S10+
Android Version: 10
One UI-Version: 2.1
Kernel: 4.14.113-1873-1944 - Jun 3 2020
Clearing the cache did not solve the problem!
best regards
dirk

for me it was solved claering the google play services data. and reinstalling the corona warn app. I tried it 3 or 4 times in different orders until it worked.

Now I have solved:

clearing cache & data of Play-Store & Play-Services
turn on bluetooth manually
reboot the phone
stating the corona app

@Kobold82:
...
Under Settings > Google: Services: COVID-19 Exposure Notifications On/1app

I have the same problem and your last line could be a hint. I have two nearly identical Samsung Galaxy A70, both updated before installing the Corona Warn App and one works, the other has this issue. It seems the difference is, that under this setting (Google - Services) the one that works has a German entry called "Benachrichtigungen zu möglicher Begegnung mit COVID-19-Infizierten" and when clicking on the entry, you get to "Corona-Warn".
On the other device that's not working, the entry has the heading "COVID-19 Exposure Notifications" with a smaller sub title "On/1app". When you click it, you get to an empty page.
The language setting of the account was mentioned, but both devices use the same account, and it is set to "Deutschland" from the beginning.
Somehow it seems, one device got an English Notification API which is not compatible with the German app. How do I get rid of it, that is replace it with the German version? Clearing data and cache from Play Store and Play Services didn't help either. At first, the English service "COVID-19 Exposure Notifications" was gone, but came reappeared after some waiting.
Clearing the cache from Google Play Services, reinstalling Covid Warn App and rebooting several times did not help. Covid Warn App was installed from the play store.
In case it matters, one device identifies as SM-A705FN, the other as SM-A705FN/DS, both have Android 10, One UI 2.0, same kernel, same build number, same security patch level. Everything normal, not rooted, etc. There is only one difference: one device was switches off for a longer period of time (maybe 2 month), but I did all the updates before installing Corona Warn App.

Yes, you are right:
Not working if you see this:
Settings > Google: Services: "COVID-19 Exposure Notifications On/1app"
And working if you see this:
Settings > Google: Services: "Benachrichtigungen zu möglicher Begegnung mit COVID-19-Infizierten"
My language settings are:

phone: German, English (US), Czech
account: German
Try to clear cache & data of Play-Store & Play-Services,
turn on wifi & bluetooth, reboot, wait about 5 minutes and then start the corona app.

The problem is fixed on my device. As I wrote earlier, I had deleted data and cache from Google Play and Google Play Services, then at first the service was gone, but then the English service reappeared after a couple of minutes and I still got the exception. Now I did nothing except wait for about an hour and now I have the German service and it works. I don't know what I did right :-).
By the way, issue #508 seems to be the same bug, but it is speculated that the problem occurs only with self-built versions of the app. This was not the case here. I never did compile the app, it came straight from the Play Store.
And an information for people who might fear, that deleting the data from Google Play might harm you (i.e. the phone might forget it's installed apps): this is not the case. So far I have not found any negative effects.

I can solve the error/problem:
1. uninstall the app

2. reinstall the app

I guess I it was a problem with an old google play service/update order.
I did:
1. install the corvid19 app

2. start it and get an error

3. update the google play service

4. start it, get the api(17) error

I simply reinstall the app and it works.

don't work...
after remove corona-app (and empty cache) and restart >
"Fehler bei Zugriff auf Google Play-Dienste
Please complete action required by Carrier Services"
So it's a Google-Problem?

Same issue here. Clearing Cache and rebooting does not help.

Same issue here:
Device: Sonx Xperia XA1+
Android: 8.0.0
No "COVID-19 Exposure Notifications" anywhere in the system setup available

Install Google Play Services v20.21.15 solve my problem. Everything looks fine.
best regards
dirk

Same error:
Samsung Galaxy S10+
Android Version: 10
One UI-Version: 2.1
Kernel: 4.14.113-1873-1944 - Jun 3 2020
Clearing the cache did not solve the problem!
best regards
dirk

Install Google Play Services v20.21.15 solve my problem. Everything looks fine.
best regards
dirk

Where do you get a new one? My "Google Play-Dienste" is 20.18.75 and there is no update available.

https://drive.google.com/file/d/1KCGH__aTH75nd3kK_1v83iiVFTcyKzuH/view?usp=drivesdk

https://drive.google.com/file/d/1KCGH__aTH75nd3kK_1v83iiVFTcyKzuH/view?usp=drivesdk

"Beim parsen des Pakets ist ein Problem aufgetreten"

https://drive.google.com/file/d/1KCGH__aTH75nd3kK_1v83iiVFTcyKzuH/view?usp=drivesdk

Any "official" place to get this from?

As I wrote earlier, I was able to solve the problem and I didn't have to install some obscure APK from a Google Drive (sorry traut21 :-). I still have version 20.18.17. I did follow more or less MaxPonozka's advice:
- clearing cache & data of Play-Store & Play-Services
- turn on wlan & bluetooth manually
- reboot the phone
- waiting 5 minutes
- starting the corona app

It didn't work after 5 minutes, but after about an hour, the English Notification Service under settings - google -  services changed to German and then the app works.
As it seems to be a Play Services issue, if you have time, I would first try to delete data & cache from Play Services only and wait for some time. Maybe it's not necessary to delete PlayStore data & cache.

Okay, I think I just found a fix (at least for me).

check in your Settings, if your Region and Language are set to German(y) before you install the App.
if you updated the Google Play Services after you changed you Region/Language, then repeat setting the Region/Language to German(y)

As I wrote earlier, I was able to solve the problem and I didn't have to install some obscure APK from a Google Drive (sorry dynamicduo4000 :-). I still have version 20.18.17. I did follow more or less MaxPonozka's advice:
- clearing cache & data of Play-Store & Play-Services
- turn on wlan & bluetooth manually
- reboot the phone
- waiting 5 minutes
- starting the corona app

It didn't work after 5 minutes, but after about an hour, the English Notification Service under settings - google -  services changed to German and then the app works.
As it seems to be a Play Services issue, if you have time, I would first try to delete data & cache from Play Services only and wait for some time. Maybe it's not necessary to delete PlayStore data & cache.

Clearing cache AND DATA, reboot, wait helped me. Thanks! Still on v20.18.17

It didn't work after 5 minutes, but after about an hour, the English Notification Service under settings - google -  services changed to German and then the app works.
As it seems to be a Play Services issue, if you have time, I would first try to delete data & cache from Play Services only and wait for some time. Maybe it's not necessary to delete PlayStore data & cache.

Clearing cache AND DATA, reboot, wait helped me. Thanks! Still on v20.18.17

Deleting the Play Services DATA and rebooting (finally) deleted the "COVID-19 Exposure Notifications On/1app" under Google Services. Updating Play Services from v20.18.17 to v20.21.17 added the German "Benachrichtigungen zu möglicher Begegnung mit COVID-19-Infizierten".
(Only problem left now, when I go to the CWA on the Play Store website and click on "install" the site DOES ask me to register/sign in to download the app. pas cool.  >:(  )

@littleboxis any news?
im also on the 7pro, but on a custom rom without any google. i cant use exposure logging and i get a noti saying i need to update play services:

Updating Play Services from v20.18.17 to v20.21.17 added the German "Benachrichtigungen zu möglicher Begegnung mit COVID-19-Infizierten".

Can confirm. After (manually) updating Play Services to v20.21.17, it's finally started working for me!

I can confirm the finding regarding the (really cumbersome and absolutely not straight-forward to resolve!) issue evolving around the language setting.
Having two (older) Huawei devices, both fully up to date and with a seemingly German system running, the one device worked as expected, the other one kept reminding me to update Google Play Services. However, the version of the play services (20.18.17) was the same on both devices. Seeing On/1app in the Play Services settings in comparison to the "right" stuff on the other device was the main difference. HOWEVER: even finding the Play Services settings is a pain. Clearing the cache and the data appears weird: cache is of course the first thing to try out, but clearing all the data without knowing what will actually be wiped is more severe (it claims that accounts and so fourth will be banned). Then I manually tried switching the locale in google play store (BTW: It was never supposed to be anything but the German version and I cannot tell, if it wasn't as there was no evidence, that it was not the German location already). Having to add (and then remove) a payment method is even more annoying plus it is only possible to switch the locale once a year.
In conclusion it appears that there is a language/region incompatibility issue that should be cleared out a.s.a.p. as it affects not just a handful of devices and not just everyday Joe users but also users that keep diving into the matter in order to resolve the issue. It must also be noted that a substantial amount of people from other countries (and I am not referring to refugees only but to many people that are working and living here) will have different locales and they should not be excluded from the usage of the app (which I suppose to happen seeing the reported issues). I spent several hours due to a high personal motivation of getting the thing going but actually most people will just uninstall after the first unsuccessful try, and then they will continue blaming the 20Mio € that went into it (though if the app helps saving a few weeks of intensive care, then this will already be made up for and the 20 Mio are ridiculous in comparison to the economic impact due to other, equally important measures).
Great to have the app (finally after a long journey), but having it work seemlessly across devices (including the use of the novel Huawei Mobile Services API a.s.a.p.) is crucial in order to actually have broad coverage.

So I had two Google Play Services updates show up. The second one however came in quite late. I assume that it was a fix in my case since after updating a second time the app startet to work (Oneplus 7 Pro, Magisk, debloat).
My language/region settings are english(Germany).

One thing to keep in mind: apparently you have to install the app in the main profile, in case you have multiple profiles.
I installed it in my "home" profile on my work mobile, and got the same error as in this report. The hint was that settings doesn't show the "Benachrichtigungen zu möglicher Begegnung mit COVID-19-Infizierten". I've now installed it in my main (work) profile, and it works there.
However, I wonder whether the app will be useful if I'm walking around while the secondary profile is active?

I had the same issue with a Samsung Galaxy J5 (2016, duos), Android 7.1.1,
steps I took to get it running:

removed the Corona warning app
cleared the cache of Google Play-Dienste (v20.21.17)
turned on manually Bluetooth and GPS (Standordtdienste)
reinstalled the Corona warning app and started
Everything works now fine.

Maybe the workarounds should get added more prominently somewhere under workarounds for known issues? FAQs? Or a special page with troubleshooting tips?

One thing to keep in mind: apparently you have to install the app in the main profile, in case you have multiple profiles.
I installed it in my "home" profile on my work mobile, and got the same error as in this report. The hint was that settings doesn't show the "Benachrichtigungen zu möglicher Begegnung mit COVID-19-Infizierten". I've now installed it in my main (work) profile, and it works there.
However, I wonder whether the app will be useful if I'm walking around while the secondary profile is active?

Similar behavior here. App was installed while second user/profile active. Not working. Checked the "main" user: working with no issue.
That should be fixed soon as maybe parents wants their kids phones have running the app while don't giving them full access to the phone - just one use case for the profiles. In my case, the 2nd user is only limited in the way that android is limiting it. I had no additional restrictions enabled when activating it.
Error persistent with app version 1.0.2. from play store.
Device Huawei P20 pro

Looks like everybody who still sees this issue needs to update Google Play Services to a version > 20.18.17. Unfortunately, Google Play Store does not yet distribute such a version for some affected platform variants, such as for my "100408".
I have therefore checked here: https://android-apk.org/com.google.android.gms/
what the most recent version for my platform variant is - for me, this is 20.21.15 (100408-313409149) and installed this version manually from APK.
After installing from APK, just to be on the safe side, reboot your device, and then start Corona-Warn-App once again - for me, it now started to work :-)
Question to the developers: Why don't you officially document this issue & the minimum version of Google Play Services that is needed to properly run the app for every platform variant?
This type of error is completely unresolvable for any Android newbie!!!
Hope this helps...
awl1

Looks like everybody who still sees this issue needs to update Google Play Services to a version > 20.18.17.
[...]
Hope this helps...
awl1

Not everybody.
In my case, the app works - just only in the main profile, so it's not only an issue caused by the play services version.
I've version 20.24.13 (100408-316577029) running.
But after all, you're right, no one that's just a user would be able to fix that even if it's solvable by clearing data, reinstall or similar steps.

A more user-friendly message is shown  with https://github.com/corona-warn-app/cwa-app-android/pull/648.
There are various reasons listed why this error occurs in https://www.coronawarn.app/de/faq/#cause_3

It still does not work even after completing all the steps mentioned above and installing the newest play services directly from google. Rebooted, cleared all data and still have no way to get it working. Can somebody from the dev team please help?? And it seems like I'm not the only one...

@kyleKuz Please verify whether any of these reasons explain the error, you might not be able to use the app.
Der Fehler bedeutet, dass Dein Gerät aus einem oder mehreren der folgenden Gründe die Risiko-Ermittlung nicht durchführen kann:
Deine Google Play-Dienste sind veraltet.
Deine Google Play-Landesversion ist nicht Deutschland.
Du hast die Corona-Warn-App nicht über den offiziellen Google Play Store installiert.
Dein Gerät wurde modifiziert (z. B. gerooted).
Du hast mehrere Benutzerkonten auf Deinem Gerät, und die App wird für einen nicht-primären User (ohne Administrationsrechte) ausgeführt.
Der Hersteller Deines Geräts hat die Google Play-Dienste und den Google Play Store für Dein Gerät nicht verfügbar gemacht (betrifft z. B. einige Modelle von Huawei und Xiaomi)
Die Google Mobile Services sind veraltet.

In my case, the app works. (...) I've version 20.24.13 (100408-316577029) running.

How did you get this version? AFAIK, this is a beta version, so you seem to also have installed it by hand. Seems like in the meantime, a non-beta release 20.21.17 is available, but even this is still NOT (at least not for me) auto-updateable via Google Play Store:
https://www.apkmirror.com/apk/google-inc/google-play-services/google-play-services-20-21-17-release/google-play-services-20-21-17-100408-316502805-android-apk-download/

@kyleKuz Please verify whether any of these reasons explain the error, you might not be able to use the app.
Der Fehler bedeutet, dass Dein Gerät aus einem oder mehreren der folgenden Gründe die Risiko-Ermittlung nicht durchführen kann:
Deine Google Play-Dienste sind veraltet.
Deine Google Play-Landesversion ist nicht Deutschland.
Du hast die Corona-Warn-App nicht über den offiziellen Google Play Store installiert.
Dein Gerät wurde modifiziert (z. B. gerooted).
Du hast mehrere Benutzerkonten auf Deinem Gerät, und die App wird für einen nicht-primären User (ohne Administrationsrechte) ausgeführt.
Der Hersteller Deines Geräts hat die Google Play-Dienste und den Google Play Store für Dein Gerät nicht verfügbar gemacht (betrifft z. B. einige Modelle von Huawei und Xiaomi)
Die Google Mobile Services sind veraltet.

Google Play is updated to v 18.3.13
Location: Germany
Of course I installed over the play store
Phone is not rooted or anything like that.
Only one (admin) user on the phone.
Huawei phone was bought before the whole US-China trade war, so it has google play services.
Those google play services are v 20.18.17

So no none of this seems to be it :/

@kyleKuZ: I had the same situation, only on a Samsung device. Therefore the list from @friedger is not complete. It seems that somehow an English version can get installed, even though the country was always Germany and the device is updated, not rooted, etc. But I was able to fix it.
You said you followed all the steps above, but which ones? Did you delete cache AND data from Google Play Services (and maybe Google Play)? I deleted cache AND data from both and after waiting for about an hour, suddenly it worked. No newer versions necessary.
As it seems to be a Google Play Services issue I think, deleting data AND cache from Google Play might not be necessary, but I had already done it. BTW, all deletions didn't have any negative effect so far (like one could think, the device forgets which apps are installed when deleting Google Play data).

@kyleKuz @friedger @Michael-635: To me, it seems as if Google Play Services versions <= 20.18.17 have an issue that - most probably under one or more additional conditions like the ones already discussed - make it impossible to get things resolved.
At least for me, everything only started working after upgrading Google Play Services to a more recent version (current release version: 20.21.17, although this still is not automatically distributed via Play Store)...
@kyleKuz: Try to manually upgrade Google Play Services to a newer release, and immediately after upgrading, reboot your phone. For me, the next attempt to start Corona-Warn-App after the reboot was successful :-)

Thank you all for your input. While we cannot solve this issue directly, the team implemented a more descriptive error description in the latest app version that also links to the FAQ which contain more information than could possible fit into a single mobile screen.

How did you get this version?

Installed via play store

Thank you all for your input. While we cannot solve this issue directly, the team implemented a more descriptive error description in the latest app version that also links to the FAQ which contain more information than could possible fit into a single mobile screen.

So is there still any interest to drive that issue? Or does that mean "tough luck" to all that want to have the devices used with restricted rights. Maybe for their kids?

I don't know what about which kids - but my Sony Xperia XA1 plus still does not work, while even a low budget Honor device within the family now does work.
So I guess it's now more up to Sony whether to fix their products.

Thank you all for your input. While we cannot solve this issue directly, the team implemented a more descriptive error description in the latest app version that also links to the FAQ which contain more information than could possible fit into a single mobile screen.

So is there still any interest to drive that issue? Or does that mean "tough luck" to all that want to have the devices used with restricted rights. Maybe for their kids?

Of course, we‘re interested in ensuring that the app works for as many people as possible. For this particular error 3 issue this is however not that trivial since many solutions are just updates and settings outside the application. That‘s why we expanded the FAQ and provided more descriptive error messages. If the problem still persists despite following the FAQ, it would be great to have a new dedicated issue for your specific problem since in this thread just mixed many different issues over time.

ok, so I'll move to he proper thread

I have seen this issue too and it got solved by updating to Google Play Services 20.21.17 and CWA 1.0.4.

Here I do not see "Google Play-Dienste" within the Google Play Store list of installed apps, but via Einstellungen > Apps & Benachrichtigungen > App-Info > Alle Apps. It there says Version 20.21.17 (040408-316502805), "App installiert vom Google Play Store". CWA 1.0.4 - never a success.

Maybe this will help someone. I used Smart Switch to transfer data to a new Samsung mobile. On the new mobile I couldn't get the warn app to work. I had to delete play store data and cache. Once I had done that I saw the covid service in the Google settings. And when I reinstalled the warn app it finally worked.

authors: 0xbeefbeef C0mmander198 EMMAOpenSource Frieder21 GrieferAtWork InkeriK JProof Jogala Kobold82 MaxPonozka Michael-635 MysticMagican PaulWestenthanner RobbTheBob awl1 corneliusroemer dynamicduo4000 friedger genodeftest heike-hh irgendeinenrico kyleKuz littleboxis mbanck pemue-git piratenkatzerrr ristein simhey314 stephanflemming thebia tkowark tomjschwanke traut21

repo: corona-warn-app/cwa-app-android


text:
Error code 8: attempt to write a readonly database

Avoid duplicates

[x] Bug is not mentioned in the FAQ
[x] Bug is specific for Android only (didn't find any similiar issue in the other repos)
[x] Bug is not already reported in another issue

Describe the bug
When resetting the CWA (Anwendung zurücksetzen), the following error message appears:

Ursache: 9002
Etwas ist schief gelaufen
Error code 8: attempt to write a readonly database

Expected behaviour
No error
Steps to reproduce the issue

Go to CWA Settings
Click on "Anwendung zurücksetzen"
Confirm all the dialogues to use the CWA again

Technical details

Mobile device: Motorola Moto G 3
Android version: 6.0.1 (not rooted)
CWA version: 1.1.1

Original Issue ID: EXPOSUREAPP-1904, EXPOSUREAPP-1851

Just reproduced the error again and it seems that you have to reset the CWA two times to trigger the error 8 (the error was only there on the second and any further reset).

This issue has been marked as obsolete and will be closed now.

Hello community,
this issue has been closed by mistake. I reopened the issue.
Thanks,
LMM
Corona-Warn-App Open Source Team

Dear @pathmapper,
We would appreciate some feedback: Do you still experience this issue with the actual CWA version 1.6.1?
Best wishes,
DS

Corona-Warn-App Open Source Team

Hi @dsarkar,
the issue is not reproducible with CWA 1.6.1, please feel free to close here.

authors: GPclips dsarkar pathmapper