CoreDNS pod refuses to start with log: exiting because of error: log: cannot create log

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):
Deploy a cluster with Rancher 2.2.7 with CoreDNS.
Result:
CoreDNS pod does not start and in the logs I see log: exiting because of error: log: cannot create log.
Other details that may be helpful:
I managed to get the pod to start by replacing the default rancher/coredns-coredns:1.3.1 image with coredns/coredns:1.6.2. I think this is related to https://github.com/coredns/coredns/pull/2529.
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): 2.2.7
Installation option (single install/HA):
Single install

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported):
Custom
Machine type (cloud/VM/metal) and specifications (CPU/memory):
Cloud (2 cores, 8 GB)
Kubernetes version (use kubectl version):

Client Version: v1.14.2
Server Version: v1.14.5

Docker version (use docker version):

19.03.1

I spoke too soon..I get DNS timeouts in some pods....

Weird, I recreated the cluster with Canal instead of Weave and it didn't happen. Can it be a problem with CoreDNS + Weave?

I had forgotten about this and just tried a new cluster with Weave, same thing :( Any idea on how to fix? I would like to use Weave due to the encryption.

Same issue with image rancher/coredns-coredns                           1.3.1                   eb516548c180
.:53
2019-12-05T09:05:43.218Z [INFO] CoreDNS-1.3.1
2019-12-05T09:05:43.218Z [INFO] linux/amd64, go1.11.4, 6b56a9c
CoreDNS-1.3.1
linux/amd64, go1.11.4, 6b56a9c
2019-12-05T09:05:43.218Z [INFO] plugin/reload: Running configuration MD5 = 7a9b44f2681e982947c65f902de02fe7
2019-12-05T09:05:50.219Z [ERROR] plugin/errors: 2<PHONE_NUMBER>729897625.3180258484397850480. HINFO: read udp <IP_ADDRESS>:57785-><IP_ADDRESS>:53: i/o timeout
2019-12-05T09:05:53.220Z [ERROR] plugin/errors: 2<PHONE_NUMBER>729897625.3180258484397850480. HINFO: read udp <IP_ADDRESS>:46634-><IP_ADDRESS>:53: i/o timeout
2019-12-05T09:05:54.220Z [ERROR] plugin/errors: 2<PHONE_NUMBER>729897625.3180258484397850480. HINFO: read udp <IP_ADDRESS>:60434-><IP_ADDRESS>:53: i/o timeout
2019-12-05T09:05:55.220Z [ERROR] plugin/errors: 2<PHONE_NUMBER>729897625.3180258484397850480. HINFO: read udp <IP_ADDRESS>:47676-><IP_ADDRESS>:53: i/o timeout
2019-12-05T09:05:58.220Z [ERROR] plugin/errors: 2<PHONE_NUMBER>729897625.3180258484397850480. HINFO: read udp <IP_ADDRESS>:40461-><IP_ADDRESS>:53: i/o timeout
2019-12-05T09:06:01.221Z [ERROR] plugin/errors: 2<PHONE_NUMBER>729897625.3180258484397850480. HINFO: read udp <IP_ADDRESS>:57977-><IP_ADDRESS>:53: i/o timeout
2019-12-05T09:06:04.221Z [ERROR] plugin/errors: 2<PHONE_NUMBER>729897625.3180258484397850480. HINFO: read udp <IP_ADDRESS>:60517-><IP_ADDRESS>:53: i/o timeout
2019-12-05T09:06:07.221Z [ERROR] plugin/errors: 2<PHONE_NUMBER>729897625.3180258484397850480. HINFO: read udp <IP_ADDRESS>:48917-><IP_ADDRESS>:53: i/o timeout
E1205 09:06:08.218909       1 reflector.go:134] github.com/coredns/coredns/plugin/kubernetes/controller.go:322: Failed to list *v1.Namespace: Get https://<IP_ADDRESS>:443/api/v1/namespaces?limit=500&resourceVersion=0: dial tcp <IP_ADDRESS>:443: i/o timeout
E1205 09:06:08.218909       1 reflector.go:134] github.com/coredns/coredns/plugin/kubernetes/controller.go:322: Failed to list *v1.Namespace: Get https://<IP_ADDRESS>:443/api/v1/namespaces?limit=500&resourceVersion=0: dial tcp <IP_ADDRESS>:443: i/o timeout
log: exiting because of error: log: cannot create log: open /tmp/coredns.coredns-799dffd9c4-2ckqg.unknownuser.log.ERROR.20191205-090608.1: no such file or directory```

I had forgotten about this and just tried a new cluster with Weave, same thing :( Any idea on how to fix? I would like to use Weave due to the encryption.

I hit the same issue, I saw the  issue https://github.com/coredns/coredns/issues/2629
The following log for coredns container. As the coredns maintainer said,choose the coredns image tag which bigger than 1.3.1, I believe this is not issue of rancher
.:53
2019-12-05T09:05:43.218Z [INFO] CoreDNS-1.3.1
2019-12-05T09:05:43.218Z [INFO] linux/amd64, go1.11.4, 6b56a9c
CoreDNS-1.3.1
linux/amd64, go1.11.4, 6b56a9c
2019-12-05T09:05:43.218Z [INFO] plugin/reload: Running configuration MD5 = 7a9b44f2681e982947c65f902de02fe7
2019-12-05T09:05:50.219Z [ERROR] plugin/errors: 2<PHONE_NUMBER>729897625.3180258484397850480. HINFO: read udp <IP_ADDRESS>:57785-><IP_ADDRESS>:53: i/o timeout
2019-12-05T09:05:53.220Z [ERROR] plugin/errors: 2<PHONE_NUMBER>729897625.3180258484397850480. HINFO: read udp <IP_ADDRESS>:46634-><IP_ADDRESS>:53: i/o timeout
2019-12-05T09:05:54.220Z [ERROR] plugin/errors: 2<PHONE_NUMBER>729897625.3180258484397850480. HINFO: read udp <IP_ADDRESS>:60434-><IP_ADDRESS>:53: i/o timeout
2019-12-05T09:05:55.220Z [ERROR] plugin/errors: 2<PHONE_NUMBER>729897625.3180258484397850480. HINFO: read udp <IP_ADDRESS>:47676-><IP_ADDRESS>:53: i/o timeout
2019-12-05T09:05:58.220Z [ERROR] plugin/errors: 2<PHONE_NUMBER>729897625.3180258484397850480. HINFO: read udp <IP_ADDRESS>:40461-><IP_ADDRESS>:53: i/o timeout
2019-12-05T09:06:01.221Z [ERROR] plugin/errors: 2<PHONE_NUMBER>729897625.3180258484397850480. HINFO: read udp <IP_ADDRESS>:57977-><IP_ADDRESS>:53: i/o timeout
2019-12-05T09:06:04.221Z [ERROR] plugin/errors: 2<PHONE_NUMBER>729897625.3180258484397850480. HINFO: read udp <IP_ADDRESS>:60517-><IP_ADDRESS>:53: i/o timeout
2019-12-05T09:06:07.221Z [ERROR] plugin/errors: 2<PHONE_NUMBER>729897625.3180258484397850480. HINFO: read udp <IP_ADDRESS>:48917-><IP_ADDRESS>:53: i/o timeout
E1205 09:06:08.218909       1 reflector.go:134] github.com/coredns/coredns/plugin/kubernetes/controller.go:322: Failed to list *v1.Namespace: Get https://<IP_ADDRESS>:443/api/v1/namespaces?limit=500&resourceVersion=0: dial tcp <IP_ADDRESS>:443: i/o timeout
E1205 09:06:08.218909       1 reflector.go:134] github.com/coredns/coredns/plugin/kubernetes/controller.go:322: Failed to list *v1.Namespace: Get https://<IP_ADDRESS>:443/api/v1/namespaces?limit=500&resourceVersion=0: dial tcp <IP_ADDRESS>:443: i/o timeout
log: exiting because of error: log: cannot create log: open /tmp/coredns.coredns-799dffd9c4-2ckqg.unknownuser.log.ERROR.20191205-090608.1: no such file or directory

Hi @Aisuko , try editing the coredns deployment and making the changes suggested here - it works for me on two clusters :)

here
Thanks a lot.  It is useful for me.

Hi @Aisuko , try editing the coredns deployment and making the changes suggested here - it works for me on two clusters :)
Thanks a lot.  It is useful for me.

We should keep open status of the issue

This wasn't commented on since 1.5 years and is applicable to a version that is not in any active k8s release, what is the reason to keep this open @Aisuko ?

Hello sir @superseb , I believe that if we close this issue with an comment with an final conclusion would be good. Even though this is not an active issue. In my situation, I hit this issue several times on the different versions and have no idea what happen here. This make me  confuse. If we can get some tutorial of debug the plugin from this issue would make more sense.

In CoreDNS version lower than v1.5.0, there was a workaround added to add a tmp directory to avoid an error around log creation, this was removed when v1.5.0 was introduced (see https://github.com/coredns/deployment/pull/152/commits/542c95c2e4dd7141920644baed82c47105a2abf7)
If you are hitting this on recent version, please supply the version of Rancher and k8s you are using as this should not happen anymore. Let me know if I need to reopen this.

Thank you to describe the detail @superseb


[ci] Correctly write into root's known_hosts file

Please squash the commits;p

close since no RESP


Unknown error acquiring position

In Firefox get above issue

Hello I am using Firefox 51.0 on windows 7, then getting above issue,I have tried everything, but all time this problem. BUT then I open about:config in my address bar, go geo.wifi.uri and changed its value to "https://location.services.mozilla.com/v1/geolocate?key=test". works for my localhost, but issue is yet remain for client side.

@abhijagtap73 So i did a quick check:
https://bugzilla.mozilla.org/show_bug.cgi?id=1333516
This seems to be the issue, Firefox 51  on Window has a bug that prevent the geolocation API to work at all.
And is also specific to windows. Do you have any chance to upgrade Firefox ?
Here is a screenshot on Firefox 51 working on OSX

Closing due to inactivity


Revert "Fix issue in issuing access token with scopes for federated users"

Reverts wso2-extensions/apim-km-wso2is#55

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


allow custom mappings with dot (issue #144)

I had troubles to get my .blade.php files recognised as Blade files. Therefore I changed the mapping algorithm to check for a suffix instead of using a regex to get the extension (after the last dot in the filename) and compare this extension to the custom mappings.
I think this is a more convenient way for any use cases and won't break anything.

Great contribution, thanks a lot!


Add TransactionalSummary feature

The main logic of TransactionSummary is done.
The summary is not yet added to the list as further clarifications are needed for the Expense class

Codecov Report

Merging #197 (0d797c6) into branch-payments (d18074b) will decrease coverage by 0.01%.
The diff coverage is 5.12%.

@@                  Coverage Diff                  @@
##             branch-payments     #197      +/-   ##
=====================================================
- Coverage              52.15%   52.14%   -0.02%
  Complexity               586      586
=====================================================
  Files                    125      127       +2
  Lines                   2719     2733      +14
  Branches                 346      346
=====================================================
+ Hits                    1418     1425       +7
- Misses                  1236     1244       +8
+ Partials                  65       64       -1

Impacted Files
Coverage Δ

...u/awe/logic/commands/CalculatePaymentsCommand.java
0.00% <0.00%> (ø)

.../logic/commands/ListTransactionSummaryCommand.java
0.00% <0.00%> (ø)

...java/seedu/awe/logic/parser/AddressBookParser.java
62.50% <0.00%> (-2.02%)
:arrow_down:

...ic/parser/ListTransactionSummaryCommandParser.java
0.00% <0.00%> (ø)

src/main/java/seedu/awe/model/Model.java
100.00% <ø> (ø)

src/main/java/seedu/awe/model/ModelManager.java
80.48% <0.00%> (-3.06%)
:arrow_down:

...e/model/transactionsummary/TransactionSummary.java
0.00% <ø> (ø)

...del/transactionsummary/TransactionSummaryList.java
22.22% <0.00%> (+22.22%)
:arrow_up:

src/main/java/seedu/awe/model/AddressBook.java
61.64% <14.28%> (-5.03%)
:arrow_down:

...va/seedu/awe/logic/commands/AddExpenseCommand.java
84.90% <100.00%> (+3.08%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d18074b...0d797c6. Read the comment docs.


Add 1.8 with dotnetcore2.0

Thanks, this looks good. Will plan on having this in by end of the week. Let's see what we can find time to test it with this week.

Thank you. Merged.


issue #46 : Build Error

include/suffix_tree.h :
    - fixed build errors ( access modifiers issue)
    - removed typedef struct ... as it is unnecessary in C++
src/suffic_tree_demo.cpp :
    - fixed typo in function declaration name (seperate -> separate)

I did not know whether to push this to master branch or develop branch.
so if you want it on the other branch ... let me know.


⚠ Bofrost.at has degraded performance

In bad5de8, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1335 ms

Resolved: Bofrost.at performance has improved in 47e85af.


chore: Allow libsqlite3-sys 0.18.x

This needs to update also the dependency for diesel_cli.

did not notice it, done now.


Bank account payments can be submitted without signing in first

This causes an error, of course, but it indicates that the sign in link is a usability issue.
Possible solutions

[x] if they click the place donation button without having signed in to their bank account, alert them that they have to do that first.
[x] don't allow the place donation button to be clickable without signing in to the bank account first
[x] make the sign in link more usable
[ ] if possible, make the place donation button trigger the Plaid interface, then after that immediately go on to payment (not sure if this is possible)

We should also do a server side check here, and if the user doesn't have a Stripe token/payment method, we should show them an error based on the payment type field they have selected.

Commit ac3c8817e819ca9c17ec6b970ba9ba5d48fb1817 allows the donate button to trigger the plaid interface. I'm just not sure if this is usable. Maybe if the button has different language.

Commit 3093fe23123ae8a2e481d443f51119c2df61ae9c is the server side portion mentioned above.


Notification panel, bar length not long enough, name always "..."

Hi there,
Got a problem with my bar length with the last update, can't see people names in notification panel
Exemple :
http://imgur.com/a/NT9xb
Can I manualy do something about that ? haven't found
Thanks and good job :)

mouse over on right edge

I'm dumb... Thanks
Télécharger Outlook pour Androidhttps://aka.ms/ghei36

From: Konstantin<EMAIL_ADDRESS>Sent: Thursday, August 31, 2017 7:52:36 PM
To: Exslims/MercuryTrade
Cc: Gourdin; Author
Subject: Re: [Exslims/MercuryTrade] Notification panel, bar length not long enough, name always "..." (#152)
mouse over on right edge
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Exslims/MercuryTrade/issues/152#issuecomment-326373141, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AM5TPjNWrYLSM4ZVsbG04qwSE89AzkKDks5sdvLkgaJpZM4PJK-G.


Create accessibility demo page for select

Closing as fixed by https://github.com/angular/material2/pull/6254.


Update solr/README

This file was out of date as new folders have been added.

This can also be backported to 9x, except the api/ folder.


added my ipynb file for the gpa prediction project

I created a notebook for the gpa_predictions project.
Instead of using the sk-learn regression model, I used tensorflow-keras deeplearning to create my model.
I am going to start working on the image scraping tool now, sorry about that

I've created the notebook now. i moved it to my personal project folder since I don't think it should be on its own.
I can move it back up if you want. readme file would have to come later on


WIP:Adding unique parameter to solve #9774

PR Summary
Fixes issue #9774
PR Context
Adding -Unique as suggested to avoid the unexpected behavior.
PR Checklist

[X] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[ ] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[ ] Not Applicable
OR
[x] Documentation needed

[x] Issue filed: #9774

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

@JamesWTruher @PaulHigin, Can you review this draft PR. If okay I'll proceed with doc and tests changes.

@kvprasoon It is an object for PowerShell Committee conclusion. But we still have not discussed it. Could you please share your thoughts in related issue?

@kvprasoon Thanks, I think the question is if this should be a breaking change like you have written it, or if there should be a switch for the new behavior.
I've tagged it for committee review to answer this question.

I think it's better not to make this a breaking change, will change the logic this weekend.

removing  the labels since this is a draft PR and you are going to change it.

@kvprasoon Have you plans to continue?

@iSazonov not soon, lil busy at work :-)


Syncing from upstream zalando/patroni (master)

bt_gitbot

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
To ensure accuracy in future PRs, please see these guidelines.
A quick fix for this PR: rebase it; your next report should be accurate.

81 of 81 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.858%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
13333

Relevant Lines:
13352

💛  - Coveralls


perform_enqueued_jobs-like functionality

Hello,
Would it be possible to implement a perform_enqueued_jobs function like ActiveJob offers?
http://api.rubyonrails.org/v5.1/classes/ActiveJob/TestHelper.html#method-i-perform_enqueued_jobs
The purpose would be to check cases where we want to evaluate the actual results of the que job invocation.
Thank you in advance

Sounds like a nice feature. Send a pull request and I'll give it a review.


Installs fine but won't run

Tried installing into a brand new environment by itself but QGIS won't start:
$ conda create -n qgis -c conda-forge qgis
...
$ conda activate qgis
(qgis) $ qgis
Warning: loading of qgis translation failed [/home/jollyb/miniconda3/envs/qgis/share/qgis/i18n//qgis_en_NZ]
Warning: loading of qt translation failed [/opt/anaconda1anaconda2anaconda3/translations/qt_en_NZ]
Warning: Object::connect: No such signal QgsNetworkAccessManager::sslErrors( QNetworkReply *, const QList & )
Warning: QSqlDatabase: QSQLITE driver not loaded
Warning: QSqlDatabase: available drivers: QSPATIALITE
ERROR: Opening of authentication db FAILED
Warning: QSqlQuery::prepare: database not open
WARNING: Auth db query exec() FAILED
qgis: symbol lookup error: /home/jollyb/miniconda3/envs/qgis/bin/../lib/libqgis_core.so.2.18.15: undefined symbol: _ZNK15QNetworkRequest16sslConfigurationEv

Hi @bhjolly :smile:. I assume this is fixed in the latest build. Please re-open if not.


Update ntfs-overview.md

Updated maximum volume sizes along with NTFS allocation unit sizes supported in Windows Server 2019 and Windows 10, version 1809

@DBArgenis : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@DBArgenis : "This branch has conflicts that must be resolved" -- are you able to solve the file conflict on your own, or do you prefer to close this PR and open a new one when you have updated your repository to match the current Windows Server Docs master branch content?

@DBArgenis : Are you still online and checking this repository?

Please have a look at the 3 changes made to the same file by the MS Docs team members, especially on September 30 this year:
Commit History: https://github.com/MicrosoftDocs/windowsserverdocs/commits/master/WindowsServerDocs/storage/file-server/ntfs-overview.md
In order of succession (2 minutes between commits to the master branch):

84b09825f913ad70e9fe7902c591542c47d29ab3
47756370c61f3007b6f22d3c32fb9e16e2176cee
a1f31e5a355a58bbd5f656b60cac1db7e0fa83ea

@DBArgenis : Any chance you will return to this PR?

No activity nor any reply for 2 months. Closing.
#please-close


DecimalField default is not working

When using default value into a DecimalField during validation, a ValueError of "Not a valid decimal value" is returned even if the default is a valid decimal.

Please add a reproducible example.

DecimalField(default=0)
when validate_on_submit with an empty string, it returns the error

Also tried this without success:
DecimalField(default=None, validators=[Optional])

An empty string isn't a valid integer. The default is only applied when there is no form data provided. This is by design. Unrelated, the validator needs to be instantiated: Optional().


make app backend independent

Hi Carlo,
can you try this out somewhere?
I'm not sure just removing the async function is allowed... but it is deprecated and no longer available in 0.11.
Let me know if there are any issues

Ciao Leopold
sure I try it. and let you know
Carlo

On 10 Mar 2018, at 02:14, Leopold Talirz<EMAIL_ADDRESS>wrote:
Hi Carlo,
can you try this out somewhere?
I'm not sure just removing the async function is allowed... but it is deprecated and no longer available in 0.11.
Let me know if there are any issues
You can view, comment on, or merge this pull request online at:
https://github.com/cpignedoli/mc-empa-surfaces/pull/15
Commit Summary
make app backend independent
File Changes
M metadata.json (6)
M nanoribbon/submit.ipynb (4)
M slab/submit_adsorption.ipynb (4)
Patch Links:
https://github.com/cpignedoli/mc-empa-surfaces/pull/15.patch
https://github.com/cpignedoli/mc-empa-surfaces/pull/15.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


null as first argument to keep style consistent

Add null as first argument for callback if no error.

Coverage decreased (-0.005%) to 99.265% when pulling daa6b0f45f0374d153ad86c21d72a923ed0cbea7 on defcc:master into 235c90462e6eeb7ddb5965209313f9f50be7cab3 on BryanDonovan:master.

Thanks!


Update style.css

Complete the following REQUIRED checkboxes:

[ ] I have thoroughly read and understand The Odin Project Contributing Guide
[ ] The title of this PR follows the location of change: brief description of change format, e.g. 01-flex-center: Update self check

Complete the following checkbox ONLY IF it is applicable to your PR. You can complete it later if it is not currently applicable:

[ ] I have ensured that the TOP solution files match the Desired Outcome image

1. Because:

Closes #XXXXX
2. This PR:

3. Additional Information:

Please do not submit your solutions to our exercise repos. We do not accept these PRs, and I will close this due to that.


Missing regions

[Enter feedback here]
Hi,
There is a missing region for linux container (maybe more ?) in this page :

francecentral

Thanks

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

ID: 4153e809-a854-ff58-3d1e-31770c36a1f9
Version Independent ID: e37b5834-9174-5ea2-567c-7b2628ed9eeb
Content: Resource availability by region - Azure Container Instances
Content Source: articles/container-instances/container-instances-region-availability.md
Service: container-instances
GitHub Login: @macolso
Microsoft Alias: macolso

Thanks for the issue, I've assigned it to the doc author to take a look!

Yes it is - I will fix this ASAP. Thanks for bringing to my attention 👍


Ride players haped as camels

You should be abled to ride players shaped as camels

I tested it and it already worked... Maybe you used an outdated version? You can try the dev version, though.


Metadata from DOI is not persisted in Draft submission unless user goes past the metadata step

Draft submissions are only saved when a user clicks the "Next" button to progress between steps. Metadata only gets attached to the submission when the user finishes the metadata (details) step. When a draft submission is loaded back into the workflow, the component tries to prevent unnecessary calls to the DOI service by not making the call for submissions that already have metadata. The problem was that the DOI lookup sets the submission metadata to an empty object.
Ideally we could simply attach the DOI data to the submission metadata right away, but then the metadata would not be valid according to our schema. The workflow-basic component does not have enough information to prune the DOI data, so it cannot be persisted and is kept in memory in the workflow service. When the user navigates away from the workflow, this data is lost. So we must make a call to the DOI service if no or invalid metadata is present on the submission.


Audio not working with media.peerconnection.enabled: false

Describe the bug
Audio not working on Firefox with media.peerconnection.enabled: false
To Reproduce
Turn media.peerconnection.enabled to false on Firefox.
Join a Room :

Expected behavior
A popup to tell the user to turn media.peerconnection.enabled to true would be a nice addition.

I'm not sure if there's anything I can do about this, I think it needs peerconnection

I'm not sure if there's anything I can do about this, I think it needs peerconnection

Yes, it's not a big deal since most users have it turn on. But if there is a way to inform the user to turn it on, it could be great.


Feature Request: New account configuration

It would be nice if when the account is created I can choose to disable Online Media Sources, set maximum quality, enable experimental features, etc...

Max quality is a good one

When was it completed? Can't see the settings on the invites. Maybe max quality was done, but what about the ability to disable Online Media Sources?

Feature requests are now put in at https://features.wizarr.dev


beaver says 'No data' and quits with 'queue timeout of "60" seconds exceeded, stopping queue'

I'm running beaver v29 on Debian 6.0 and python v 2.6.6.
#beaver.conf
[beaver]
transport: redis
redis_url: redis://logger.monitor.vpn:6379/0
redis_namespace: logstash:redis
format: json
[/var/log/activity.log]
tags: srv_activity.log
[/var/log/mail.log]
tags: srv_mail.log
[/var/log/syslog]
tags: srv_syslog
[/var/log/daemon.log]
tags: srv_daemon.log
[/var/log/auth.log]
tags: srv_auth.log
Beaver abruptly quits on the server after logging the below info:
[2013-06-18 07:43:34,185] DEBUG   Last update time now<PHONE_NUMBER>
[2013-06-18 07:43:34,220] DEBUG   Last update time now<PHONE_NUMBER>
[2013-06-18 07:43:34,230] DEBUG   Last update time now<PHONE_NUMBER>
[2013-06-18 07:43:39,249] DEBUG   No data
[2013-06-18 07:43:44,254] DEBUG   No data
[2013-06-18 07:43:49,258] DEBUG   No data
[2013-06-18 07:43:54,264] DEBUG   No data
[2013-06-18 07:43:59,266] DEBUG   No data
[2013-06-18 07:44:04,272] DEBUG   No data
[2013-06-18 07:44:09,277] DEBUG   No data
[2013-06-18 07:44:14,283] DEBUG   No data
[2013-06-18 07:44:19,286] DEBUG   No data
[2013-06-18 07:44:24,292] DEBUG   No data
[2013-06-18 07:44:29,297] DEBUG   No data
[2013-06-18 07:44:34,303] DEBUG   No data
[2013-06-18 07:44:39,308] DEBUG   No data
[2013-06-18 07:44:39,309] INFO    Queue timeout of "60" seconds exceeded, stopping queue
All the log-files monitored had continuous data activity before and after the timestamp of  2013-06-18 07:43:39 without a gap of even 10 seconds.
Additionally a failure to detect the encoding of a file was also logged when beaver was started:
[2013-06-18 06:31:34,606] DEBUG   [ca08gca001] - getting start position /var/log/activity.log
[2013-06-18 06:31:34,606] DEBUG   [ca08gca001] - getting end position for /var/log/activity.log
[2013-06-18 06:31:34,809] DEBUG   [ca08gca001] - UnicodeDecodeError raised for /var/log/activity.log with encoding utf_8
[2013-06-18 06:31:34,979] DEBUG   [ca08gca001] - UnicodeDecodeError raised for /var/log/activity.log with encoding windows-1252
"file -i /var/log/activity.log" gives "text/plain; charset=us-ascii" as the encoding.
However 'UnicodeDecodeError' doesn't seem to be the reason for abrupt stop for me since it was happily logging even after this error came up. I do not justify this hunch, just thinking out loud. Beaver quit only after 'No data' was showing up.
Please let me know if you'd need any info.
Thanks,

I also encounter the problem with version 33.3.0 while sending logs to Rabbit.
In my installation I am transferring around 10 very large log files (around 50 MB per hour).
The only solution that I find working is restart the service but changing the Queue timeout to 43200 did not help, it exceeded the timeout and stopped.
Any suggestion on what to or what is casing the problem here?

@josegonzalez
Same problem described above with 34.0.0. Only restart help.


ImportError: No module named exceptions

After last update I'm getting this error when loading:
Traceback (most recent call last):
  File "C:\Users\xpto\AppData\Roaming\BurpSuite\bapps\7044ef35fa5a49b39285e101a79bf4ae\BurpSmartBuster.py", line 61, in <module>
    from tld import get_tld
  File "C:\Users\xpto\AppData\Roaming\BurpSuite\bapps\7044ef35fa5a49b39285e101a79bf4ae\BappModules\tld\__init__.py", line 9, in <module>
    from tld.utils import get_tld, get_tld_names, update_tld_names, Result
  File "C:\Users\xpto\AppData\Roaming\BurpSuite\bapps\7044ef35fa5a49b39285e101a79bf4ae\BappModules\tld\utils.py", line 18, in <module>
    from tld.exceptions import TldIOError, TldDomainNotFound, TldBadUrl
ImportError: No module named exceptions

Please see: #23  thank you

I'm using jython-standalone-2.7.0.jar since is the current stable version.
I'm also running Burp Pro under Windows where I have Python 2.7 installed. So for extra python modules I'm installing via pip and point Burp Pro python modules folder to "C:\Python27\Lib\site-packages". It works nicely for other extensions.
For your extension seems it's not loading the Python modules folder from Burp.

Yeah, I haven't look why but on Windows the tld extension works with jython 2.7.1 hence the explication of issue 23.

I also tried with jython-standalone-2.7.1.jar and didn't work because your extension is not loading the Burp environment python modules directory.

Standalone won't work. Please see issue #23 detailed steps are explained.

It works and I found the problem.
When loading your extension Jython will try to load python modules first from extension "BappModules" folder ("C:\Users\xpto\AppData\Roaming\BurpSuite\bapps\7044ef35fa5a49b39285e101a79bf4ae\BappModules").
After installing your extension I've checked the folder "C:\Users\xpto\AppData\Roaming\BurpSuite\bapps\7044ef35fa5a49b39285e101a79bf4ae\BappModules\tld" and I couldn't find the file "exceptions.py" but from my local storage in "C:\Python27\Lib\site-packages\tld" I can see the file "exceptions.py".
For debugging propose I've included the line "print sys.path" on "BurpSmartBuster.py" and I was able to see the item "'C:\Python27\Lib\site-packages'" from sys.path list in the Output window which means Jython is properly loading the Python Modules settings as described here https://portswigger.net/burp/help/extender.html#options_pythonenv.
I've renamed the old modules from "BappModules" folder and installed using pip all the required modules. After that even using the standalone version I was able to load your extension.
I suggest you to update the extension python modules under "BappModules" so the update will be transparent for the users.


Add input validation

Input validation such as valid dates (today or later, up to the limit of google flights)

Fixed in #9 courtesy of @goodgoth


Using Envoy as proxy for simple Python service

Hi,
I'm trying to use Envoy as a proxy for gRPC, with routing, in an internal network. I will also need grpc-web. But for the simplest straightforward request, the stream is reset and nothing goes through to my minimal python service. What am I doing wrong?
The output I get in the Envoy log (-l trace) for my simple request to <IP_ADDRESS>:10000/service1 is:
[2022-02-15 10:42:15.402][138391][debug][http] [external/envoy/source/common/http/conn_manager_impl.cc:261] [C0] new stream
[2022-02-15 10:42:15.402][138391][trace][misc] [external/envoy/source/common/event/scaled_range_timer_manager_impl.cc:60] enableTimer called on 0x55023f0b1280 for 300000ms, min is 300000ms
[2022-02-15 10:42:15.402][138391][debug][http2] [external/envoy/source/common/http/http2/codec_impl.cc:923] [C0] invalid http2: Invalid HTTP header field was received: frame type: 1, stream: 1, name: [:authority], value: [<IP_ADDRESS>:10000/service1]
[2022-02-15 10:42:15.402][138391][debug][http2] [external/envoy/source/common/http/http2/codec_impl.cc:929] [C0] invalid frame: Invalid HTTP header field was received on stream 1
[2022-02-15 10:42:15.402][138391][debug][http] [external/envoy/source/common/http/conn_manager_impl.cc:276] [C0] dispatch error: The user callback function failed
[2022-02-15 10:42:15.402][138391][debug][http] [external/envoy/source/common/http/conn_manager_impl.cc:1504] [C0][S10667945747325144810] stream reset
[2022-02-15 10:42:15.402][138391][trace][main] [external/envoy/source/common/event/dispatcher_impl.cc:252] item added to deferred deletion list (size=1)
[2022-02-15T09:42:15.402Z] "- - HTTP/2" 0 DPE 0 0 0 - "-" "-" "-" "-" "-"
[2022-02-15 10:42:15.402][138391][debug][connection] [external/envoy/source/common/network/connection_impl.cc:133] [C0] closing data_to_write=0 type=2
[2022-02-15 10:42:15.402][138391][debug][connection] [external/envoy/source/common/network/connection_impl_base.cc:47] [C0] setting delayed close timer with timeout 1000 ms
[2022-02-15 10:42:15.402][138391][trace][main] [external/envoy/source/common/event/dispatcher_impl.cc:115] clearing deferred deletion list (size=1)
[2022-02-15 10:42:16.405][138391][debug][connection] [external/envoy/source/common/network/connection_impl_base.cc:63] [C0] triggered delayed close
[2022-02-15 10:42:16.405][138391][debug][connection] [external/envoy/source/common/network/connection_impl.cc:243] [C0] closing socket: 1

This is my envoy.yaml:
admin:
  address:
    socket_address:
      address: <IP_ADDRESS>
      port_value: 9901
static_resources:
  listeners:
    - name: listener_0
      address:
        socket_address:
          address: <IP_ADDRESS>
          port_value: 10000
      filter_chains:
        - filters:
            - name: envoy.filters.network.http_connection_manager
              typed_config:
                "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
                stat_prefix: ingress_http
                access_log:
                  - name: envoy.access_loggers.stdout
                    typed_config:
                      "@type": type.googleapis.com/envoy.extensions.access_loggers.stream.v3.StdoutAccessLog
                http_filters:
                  - name: envoy.filters.http.grpc_web
                  - name: envoy.filters.http.cors
                  - name: envoy.filters.http.router
                route_config:
                  name: local_route
                  virtual_hosts:
                    - name: Service1
                      domains: ["*"]
                      routes:
                        - match:
                            prefix: "/service1"
                          route:
                            cluster: service1
  clusters:
    - name: service1
      type: strict_dns
      connect_timeout: 20s
      load_assignment:
        cluster_name: service1
        endpoints:
          - lb_endpoints:
              - endpoint:
                  address:
                    socket_address:
                      address: <IP_ADDRESS>
                      port_value: 8000

I start Envoy with envoy -c envoy.yaml -l trace.
I have a simple ServiceRpc.proto:
syntax = "proto3";

package Project1.Service1;

service Service1 {
    rpc Function(Command) returns (Response) {}
}

message Command {
    string cmd = 1;
}

message Response{
    int32 result = 1;
}

I generate python grpc code with: python3 -m grpc_tools.protoc -I=. --python_out=./ --grpc_python_out=./ ServiceRpc.proto
My servicer that implements the RPC function, grpc_servicer.py:
"""Service1 gRPC servicer."""
import ServiceRpc_pb2_grpc as rpc
import ServiceRpc_pb2 as msg

class Servicer(rpc.Service1Servicer):
    """Servicer implementing the gRPC API."""

    def __init__(self):
        super().__init__()

    def Function(self, request, context):
        """Return a response."""
        return msg.Response(result=1)

That servicer is in turn used in running the service (grpc server), service1.py:
"""gRPC service."""
import grpc
import concurrent.futures
import grpc_servicer

import ServiceRpc_pb2_grpc as rpc

servicer = grpc_servicer.Servicer()
executor = concurrent.futures.ThreadPoolExecutor(
    thread_name_prefix="gRPC-worker"
)
server = grpc.server(executor)
rpc.add_Service1Servicer_to_server(servicer, server)
server.add_insecure_port("<IP_ADDRESS>:8000")
server.start()
server.wait_for_termination()

The service is run with python3 service1.py.
So, with Envoy and my service running, I execute this client script, grpc-client-test.py:
"""Test run grpc client."""
import grpc

import ServiceRpc_pb2_grpc as rpc
import ServiceRpc_pb2 as msg

channel = grpc.insecure_channel("<IP_ADDRESS>:10000/service1")
stub = rpc.Service1Stub(channel)
response = stub.Function(msg.Command(cmd="test"))
print(response)

which gives the output at the top.
I have tried if a Lua script can intercept and adjust the :authority field (which seems to be the problem):
                http_filters:
                  - name: envoy.filters.http.lua
                    typed_config:
                      "@type": type.googleapis.com/envoy.extensions.filters.http.lua.v3.Lua
                      inline_code: |
                        function envoy_on_request(request_handle)
                          request_handle:logInfo("Authority: "..request_handle:headers():get(":authority"))
                          request_handle:headers():replace(":authority", "localhost:10000")
                          request_handle:headers():replace("host", "localhost:10000")
                        end
                        function envoy_on_response(response_handle)
                          -- nothing
                        end

but no difference in result.
This simple python-envoy test is available in GitLab: https://gitlab.com/whitelizard/grpc-envoy-demo

Ok, so I figured out one thing wrong with my setup. That a stream should only just be domain/IP & port, and not any path. The path is implicit from the stub. But it still doesn't work.
So, the only 2 things I changed is, first in the client code removing /service1 to look like this:
channel = grpc.insecure_channel("<IP_ADDRESS>:10000")

and then in the Envoy config to use the implicit path that the stub uses:
                      routes:
                        - match:
                            prefix: "/Project1.Service1.Service1"
                          route:
                            cluster: service1

But now I get this trace output:
[2022-02-16 10:04:06.345][10271][debug][http] [external/envoy/source/common/http/conn_manager_impl.cc:261] [C0] new stream
[2022-02-16 10:04:06.345][10271][trace][misc] [external/envoy/source/common/event/scaled_range_timer_manager_impl.cc:60] enableTimer called on 0x4f63ff072300 for 300000ms, min is 300000ms
[2022-02-16 10:04:06.345][10271][trace][http2] [external/envoy/source/common/http/http2/codec_impl.cc:779] [C0] recv frame type=1
[2022-02-16 10:04:06.345][10271][debug][http] [external/envoy/source/common/http/conn_manager_impl.cc:882] [C0][S5728735072293914852] request headers complete (end_stream=false):
':scheme', 'http'
':method', 'POST'
':authority', '<IP_ADDRESS>:10000'
':path', '/Project1.Service1.Service1/Function'
'content-type', 'application/grpc'
'grpc-accept-encoding', 'identity,deflate,gzip'
'accept-encoding', 'identity,gzip'
'te', 'trailers'
'user-agent', 'grpc-python/1.43.0 grpc-c/21.0.0 (linux; chttp2)'

[2022-02-16 10:04:06.345][10271][trace][http] [external/envoy/source/common/http/filter_manager.cc:517] [C0][S5728735072293914852] decode headers called: filter=0x4f63ff07a0e0 status=0
[2022-02-16 10:04:06.345][10271][trace][http] [external/envoy/source/common/http/filter_manager.cc:517] [C0][S5728735072293914852] decode headers called: filter=0x4f63ff07a2a0 status=0
[2022-02-16 10:04:06.345][10271][debug][router] [external/envoy/source/common/router/router.cc:445] [C0][S5728735072293914852] cluster 'service1' match for URL '/Project1.Service1.Service1/Function'
[2022-02-16 10:04:06.345][10271][debug][router] [external/envoy/source/common/router/router.cc:631] [C0][S5728735072293914852] router decoding headers:
':scheme', 'http'
':method', 'POST'
':authority', '<IP_ADDRESS>:10000'
':path', '/Project1.Service1.Service1/Function'
'content-type', 'application/grpc'
'grpc-accept-encoding', 'identity,deflate,gzip'
'accept-encoding', 'identity,gzip'
'te', 'trailers'
'user-agent', 'grpc-python/1.43.0 grpc-c/21.0.0 (linux; chttp2)'
'x-forwarded-for', '<IP_ADDRESS>'
'x-forwarded-proto', 'http'
'x-envoy-internal', 'true'
'x-request-id', '19942284-6f09-49a7-9fa2-73849432146a'
'x-envoy-expected-rq-timeout-ms', '15000'

[2022-02-16 10:04:06.345][10271][debug][pool] [external/envoy/source/common/http/conn_pool_base.cc:74] queueing stream due to no available connections
[2022-02-16 10:04:06.345][10271][debug][pool] [external/envoy/source/common/conn_pool/conn_pool_base.cc:241] trying to create new connection
[2022-02-16 10:04:06.345][10271][trace][pool] [external/envoy/source/common/conn_pool/conn_pool_base.cc:242] ConnPoolImplBase 0x4f63ff182600, ready_clients_.size(): 0, busy_clients_.size(): 0, connecting_clients_.size(): 0, connecting_stream_capacity_: 0, num_active_streams_: 0, pending_streams_.size(): 1 per upstream preconnect ratio: 1
[2022-02-16 10:04:06.345][10271][debug][pool] [external/envoy/source/common/conn_pool/conn_pool_base.cc:143] creating a new connection
[2022-02-16 10:04:06.345][10271][debug][client] [external/envoy/source/common/http/codec_client.cc:43] [C1] connecting
[2022-02-16 10:04:06.345][10271][debug][connection] [external/envoy/source/common/network/connection_impl.cc:860] [C1] connecting to <IP_ADDRESS>:8000
[2022-02-16 10:04:06.346][10271][debug][connection] [external/envoy/source/common/network/connection_impl.cc:876] [C1] connection in progress
[2022-02-16 10:04:06.346][10271][trace][pool] [external/envoy/source/common/conn_pool/conn_pool_base.cc:129] not creating a new connection, shouldCreateNewConnection returned false.
[2022-02-16 10:04:06.346][10271][trace][http] [external/envoy/source/common/http/filter_manager.cc:517] [C0][S5728735072293914852] decode headers called: filter=0x4f63ff07a380 status=1
[2022-02-16 10:04:06.346][10271][trace][misc] [external/envoy/source/common/event/scaled_range_timer_manager_impl.cc:60] enableTimer called on 0x4f63ff072300 for 300000ms, min is 300000ms
[2022-02-16 10:04:06.346][10271][trace][http2] [external/envoy/source/common/http/http2/codec_impl.cc:754] [C0] about to recv frame type=8, flags=0
[2022-02-16 10:04:06.346][10271][trace][http2] [external/envoy/source/common/http/http2/codec_impl.cc:1689] [C0] track inbound frame type=8 flags=0 length=4 padding_length=0
[2022-02-16 10:04:06.346][10271][trace][http2] [external/envoy/source/common/http/http2/codec_impl.cc:779] [C0] recv frame type=8
[2022-02-16 10:04:06.346][10271][trace][http2] [external/envoy/source/common/http/http2/codec_impl.cc:754] [C0] about to recv frame type=0, flags=1
[2022-02-16 10:04:06.346][10271][trace][http2] [external/envoy/source/common/http/http2/codec_impl.cc:779] [C0] recv frame type=0
[2022-02-16 10:04:06.346][10271][trace][http2] [external/envoy/source/common/http/http2/codec_impl.cc:1689] [C0] track inbound frame type=0 flags=1 length=11 padding_length=0
[2022-02-16 10:04:06.346][10271][debug][http] [external/envoy/source/common/http/filter_manager.cc:779] [C0][S5728735072293914852] request end stream
[2022-02-16 10:04:06.346][10271][trace][misc] [external/envoy/source/common/event/scaled_range_timer_manager_impl.cc:60] enableTimer called on 0x4f63ff072300 for 300000ms, min is 300000ms
[2022-02-16 10:04:06.346][10271][trace][http] [external/envoy/source/common/http/filter_manager.cc:647] [C0][S5728735072293914852] decode data called: filter=0x4f63ff07a0e0 status=0
[2022-02-16 10:04:06.346][10271][trace][http] [external/envoy/source/common/http/filter_manager.cc:647] [C0][S5728735072293914852] decode data called: filter=0x4f63ff07a2a0 status=0
[2022-02-16 10:04:06.346][10271][trace][router] [external/envoy/source/common/router/upstream_request.cc:220] [C0][S5728735072293914852] buffering 11 bytes
[2022-02-16 10:04:06.346][10271][trace][http] [external/envoy/source/common/http/filter_manager.cc:647] [C0][S5728735072293914852] decode data called: filter=0x4f63ff07a380 status=3
[2022-02-16 10:04:06.346][10271][trace][http2] [external/envoy/source/common/http/http2/codec_impl.cc:754] [C0] about to recv frame type=8, flags=0
[2022-02-16 10:04:06.346][10271][trace][http2] [external/envoy/source/common/http/http2/codec_impl.cc:1689] [C0] track inbound frame type=8 flags=0 length=4 padding_length=0
[2022-02-16 10:04:06.346][10271][trace][http2] [external/envoy/source/common/http/http2/codec_impl.cc:779] [C0] recv frame type=8
[2022-02-16 10:04:06.346][10271][trace][http2] [external/envoy/source/common/http/http2/codec_impl.cc:691] [C0] dispatched 318 bytes
[2022-02-16 10:04:06.346][10271][trace][connection] [external/envoy/source/common/network/connection_impl.cc:547] [C1] socket event: 3
[2022-02-16 10:04:06.346][10271][trace][connection] [external/envoy/source/common/network/connection_impl.cc:656] [C1] write ready
[2022-02-16 10:04:06.346][10271][debug][connection] [external/envoy/source/common/network/connection_impl.cc:665] [C1] connected
[2022-02-16 10:04:06.346][10271][trace][connection] [external/envoy/source/common/network/connection_impl.cc:410] [C1] raising connection event 2
[2022-02-16 10:04:06.346][10271][debug][client] [external/envoy/source/common/http/codec_client.cc:82] [C1] connected
[2022-02-16 10:04:06.346][10271][debug][pool] [external/envoy/source/common/conn_pool/conn_pool_base.cc:275] [C1] attaching to next stream
[2022-02-16 10:04:06.346][10271][debug][pool] [external/envoy/source/common/conn_pool/conn_pool_base.cc:171] [C1] creating stream
[2022-02-16 10:04:06.346][10271][debug][router] [external/envoy/source/common/router/upstream_request.cc:371] [C0][S5728735072293914852] pool ready
[2022-02-16 10:04:06.346][10271][trace][connection] [external/envoy/source/common/network/connection_impl.cc:470] [C1] writing 460 bytes, end_stream false
[2022-02-16 10:04:06.346][10271][trace][connection] [external/envoy/source/common/network/connection_impl.cc:470] [C1] writing 21 bytes, end_stream false
[2022-02-16 10:04:06.346][10271][trace][connection] [external/envoy/source/common/network/connection_impl.cc:656] [C1] write ready
[2022-02-16 10:04:06.346][10271][trace][connection] [external/envoy/source/common/network/raw_buffer_socket.cc:67] [C1] write returns: 481
[2022-02-16 10:04:06.346][10271][trace][connection] [external/envoy/source/common/network/connection_impl.cc:585] [C1] read ready. dispatch_buffered_data=false
[2022-02-16 10:04:06.346][10271][trace][connection] [external/envoy/source/common/network/raw_buffer_socket.cc:24] [C1] read returns: 46
[2022-02-16 10:04:06.346][10271][trace][connection] [external/envoy/source/common/network/raw_buffer_socket.cc:38] [C1] read error: Resource temporarily unavailable
[2022-02-16 10:04:06.346][10271][trace][http] [external/envoy/source/common/http/http1/codec_impl.cc:555] [C1] parsing 46 bytes
[2022-02-16 10:04:06.346][10271][debug][client] [external/envoy/source/common/http/codec_client.cc:149] [C1] Error dispatching received data: http/1.1 protocol error: HPE_INVALID_CONSTANT
[2022-02-16 10:04:06.346][10271][debug][connection] [external/envoy/source/common/network/connection_impl.cc:133] [C1] closing data_to_write=0 type=1
[2022-02-16 10:04:06.346][10271][debug][connection] [external/envoy/source/common/network/connection_impl.cc:243] [C1] closing socket: 1
[2022-02-16 10:04:06.346][10271][trace][connection] [external/envoy/source/common/network/connection_impl.cc:410] [C1] raising connection event 1
[2022-02-16 10:04:06.346][10271][debug][client] [external/envoy/source/common/http/codec_client.cc:101] [C1] disconnect. resetting 1 pending requests
[2022-02-16 10:04:06.346][10271][debug][client] [external/envoy/source/common/http/codec_client.cc:137] [C1] request reset
[2022-02-16 10:04:06.346][10271][trace][main] [external/envoy/source/common/event/dispatcher_impl.cc:252] item added to deferred deletion list (size=1)
[2022-02-16 10:04:06.346][10271][debug][router] [external/envoy/source/common/router/router.cc:1091] [C0][S5728735072293914852] upstream reset: reset reason: protocol error, transport failure reason:
[2022-02-16 10:04:06.346][10271][debug][pool] [external/envoy/source/common/conn_pool/conn_pool_base.cc:393] [C1] client disconnected, failure reason:
[2022-02-16 10:04:06.346][10271][trace][main] [external/envoy/source/common/event/dispatcher_impl.cc:252] item added to deferred deletion list (size=2)
[2022-02-16 10:04:06.346][10271][trace][main] [external/envoy/source/common/event/dispatcher_impl.cc:115] clearing deferred deletion list (size=2)
[2022-02-16 10:04:06.346][10271][debug][pool] [external/envoy/source/common/conn_pool/conn_pool_base.cc:200] [C1] destroying stream: 0 remaining

I guess the relevant line is:
[2022-02-16 10:04:06.346][10271][debug][client] [external/envoy/source/common/http/codec_client.cc:149] [C1] Error dispatching received data: http/1.1 protocol error: HPE_INVALID_CONSTANT

http/1.1 looks suspicious as the request is http/2?
Can anyone see what I'm doing wrong?

i think you may need to set http2 for the cluster - see here for example
https://github.com/envoyproxy/envoy/blob/cca384882deeb185b4de568dbd00a9c74d8b4784/examples/grpc-bridge/server/envoy-proxy.yaml#L36-L40

That worked! Huge thanks!


WIP: New querying interface

An exercise trying a simpler way of querying with Tiberius in a case where the parameters are not known in compile time. This would be an alternative for the query and execute methods, saving the user from nasty compilation errors when the query parameters are not statically known.

Hello, I will add my results here if that is ok. Before I get to the dynamic param part I run into this. Not sure if this is because of the git dependency
~/s/r/t/src (master)> cargo clippy
    Checking tib-test v0.1.0 (/home/pierre/sandbox/rust/tib-test)
error[E0308]: mismatched types
  --> src/main.rs:14:38
   |
14 |     let mgr = ConnectionManager::new(config);
   |                                      ^^^^^^ expected struct `tiberius::client::config::Config`, found struct `tiberius::Config`
   |
   = note: perhaps two different versions of crate `tiberius` are being used?

For more information about this error, try `rustc --explain E0308`.
error: could not compile `tib-test` due to previous error

This connection manager is from the bb8 crate, but was working before I tried the new branch.
Minimal program:
use bb8::Pool;
use bb8_tiberius::ConnectionManager;
use tiberius::{Config, EncryptionLevel};

#[tokio::main]
async fn main() {
    let mut config = Config::from_jdbc_string(
        "jdbc:sqlserver://localhost:1433;databaseName=mydb;user=sa;password=strong",
    )
    .unwrap();
    config.trust_cert();
    config.encryption(EncryptionLevel::NotSupported);
    let mgr = ConnectionManager::new(config);

    let pool = Pool::builder().max_size(10).build(mgr).await.unwrap();
}

The Cargo.toml:
[package]
name = "tib-test"
version = "0.1.0"
edition = "2021"
publish = ["meuse"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
tiberius = { git = "https://github.com/prisma/tiberius", branch = "new-query-interface" , features=["chrono","tds73","rust_decimal"]}
tokio={version="*", features=["macros","rt-multi-thread","io-util","net"]}
bb8-tiberius="*"
bb8="*"

You probably need to fork bb8-tiberius too and point it to the correct revision...

Thanks, the new query interface works nice!

I might finish this soon, but what I see here would be also a statement interface, maybe in another PR...

@lanklaas you can follow main branch from now on. I'll probably cut a new release in a few weeks when the time changes are also done.


Deploy chat plugin

Deploy the chat plugin to our cluster as a container.

@lucapette I would introduce a new deployment for this, rather than re-use the demo container.


Facebook and Instagram loading Issue

Hey @danishcognived, did you solve this issue?

yes, I have changed the script,
for Facebook

for Instagram

useEffect(() => {
const script = document.createElement("script");
script.src =
"//www.instagram.com/static/bundles/metro/EmbedSDK.js/d9addf525b6a.js";
script.async = true;
document.body.appendChild(script);
}, []);

Thanks, dude @danishcognived :)

Hey,
I am getting this similar issue with instagram.
Any idea how to solve this for instagram? @danishcognived


Single nameserver DNS failover

Added stop and close to else in failover to cleanup a single configured connection on failover. This is a simple bug fix that really needs to go into 7.1.2, if at all possible.

Sigh, I'm a bad person. I have to objections to this now -

You should eio.stop regardless of whether the file descriptor is '<2' - it's reasonable to not close the file descriptor itself, but it should always be pulled out of the epoll.
If you move the eio.stop in to the DNSConnection::close you should remove it from DNS.cc:487 as well.

This should only go on master, since we landed a different PR against 7.1.x, where the DNS code is older than master.


How would you be able to change the algorithm?

Instead of using BuchheimWalker algorithm. Do you think you can change it to AVL self balance tree algorithm like example below link?
https://people.ok.ubc.ca/ylucet/DS/AVLtree.html

We have no plans to implement this. The feature is too unique and we only want to visualise data in graph structures.

I'm closing this issue due to inactivity. If you have further input on the issue, don't hesitate to reopen this issue or post a new one.


AttributeError: 'ConstrainedHypothesis' object has no attribute 'met_process'

Hello,
When trying to run the mt neurologic decoding, I get the following error:
Traceback (most recent call last):
  File "decode.py", line 99, in <module>
    main()
  File "decode.py", line 85, in main
    sat_tolerance=args.sat_tolerance)
  File "/home/nlp/sloboda1/anaconda3/envs/hug/lib/python3.7/site-packages/torch/autograd/grad_mode.py", line 26, in decorate_context
    return func(*args, **kwargs)
  File "/home/nlp/sloboda1/controlled_reduction/decoding_approaches/neurologic_decoding/mt/generate.py", line 341, in generate
    model_specific_kwargs=model_specific_kwargs,
  File "/home/nlp/sloboda1/controlled_reduction/decoding_approaches/neurologic_decoding/mt/generate.py", line 528, in _generate_beam_search
    num_fill=2 * num_beams)
  File "/home/nlp/sloboda1/controlled_reduction/decoding_approaches/neurologic_decoding/mt/topK_parallel.py", line 152, in topk_huggingface
    num_fill=num_fill)
  File "/home/nlp/sloboda1/controlled_reduction/decoding_approaches/neurologic_decoding/mt/topK_parallel.py", line 253, in _sequential_topk
    all_orders = set([x.hypothesis.met_process() for x in sorted_candidates])
  File "/home/nlp/sloboda1/controlled_reduction/decoding_approaches/neurologic_decoding/mt/topK_parallel.py", line 253, in <listcomp>
    all_orders = set([x.hypothesis.met_process() for x in sorted_candidates])
AttributeError: 'ConstrainedHypothesis' object has no attribute 'met_process'

So, I just want to make sure: the met_process() function in the mt/topK_parallel.py file was supposed to be met_order(), as in the other topK.py files, right?
Thanks!

yes, met_process() should be the same.


FHIR mapping path not correct for expanded codeable concept element

For example ohEncounter.reason.coding

Can you give details?

I think that this has been fixed along the way.


firebase - documentation - setup

I was trying to install firebase via the firebase_storage package and had difficulties, later i found following the instructions at https://pub.dartlang.org/packages/firebase_auth in order to properly install it.
Apologies if this issue isn't made at the right repo, but I'd like to suggest we add notes to each firebase package that people need to go through this process for installing and setting up firebase for the 1st time.

cc @collinjackson

cc @wmleler

@acidjazz
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/879. Any further collaboration will be done there.


App center seems do not support iphone 5s with ios 12.2

Story
I would like to install the Application in iPhone 5s ( iOS 12.2 ) via app center
iPhone 5s

iPhone X

Expected
iPhone 5s should able to download the ipa like iPhoneX
Actual
iPhone 5s do not have download button

Hi, a fix for this was deployed yesterday. Are you still experiencing the issue? @AlphaWong

@botatoes
Thx, I am currently sick leave. May I reply u at 8APR2019 HKT?:smile:

Hi, a fix for this was deployed yesterday. Are you still experiencing the issue? @AlphaWong

@botatoes
Same result.

iPhoneXs iOS 12.0 and IPhoneXR iOS 12.0 missing button also

iphone 7 12.1.2 missing button also

Hi, sorry for the late reply @AlphaWong, this issue got lost in my list of reponses. Can you open an intercom ticket if you are still experiencing this?


Create superlinter.yml

Inspired from kind people on StackOverflow

I kindly suggest to merge https://github.com/GGn0/training_mern/pull/6 first

By the way, if you merge the PR as-is sooner or later you will get the following error from Super-Linter
https://github.com/gmacario/training_mern/runs/2511441326?check_suite_focus=true
Anyway the workflow may be disabled , so I believe you may safely merge the PR.
But I will leave this to your judgement, @GGn0 😉

Thanks for the feedback!


Added unit tests for AccountMailer

Coverage remained the same at 100.0% when pulling d8546b6eacfa4be540425fd43e113f0ced3bce3f on mailer_unit_tests into de190d6a52b98d3ba64d7d6a785dd8e7771d9142 on master.


Mini Vacuum K10+ not working

Describe Your Problem
The vacuum cleaner works like a light bulb
Relevant log output
[SwitchBot] Total SwitchBot Devices Found: 1
[2/11/2024, 3:01:51 PM] [SwitchBot] Adding new accessory: Alfred WoSweeperMini DeviceID: 360TY420703034216
[Alfred@@Firmware Revision] characteristic value expected string and received undefined
[2/11/2024, 3:05:32 PM] [SwitchBot] Initializing SwitchBot platform...

But it is added as a light bulb. It shows only the battery level (correct) and a switch to turn on/off the light bulb, but it doesn't work. The vacuum does nothing will using it.

Config for homebridge-switchbot
"name": "SwitchBot",
    "credentials": {
        "token": "my token",
        "secret": "my secret",
        "notice": "Keep your Token & Secret a secret!"
    },
    "platform": "SwitchBot"

Screenshots

Device & Model
Vacuum K10+
Node.js Version
v18.19.0
NPM Version
10.2.3
Homebridge Version
v1.7.0
Homebridge SwitchBot Plugin Version
3.3.0
Homebridge Config UI X Plugin Version
No response
Operating System
Debian 12

The vacuums can only be shown as a switch(light bulb) as there is no vacuum device type for HomeKit. I need logs of what happens when you send a command to try to resolve this issue.

Thank you for your prompt reply. So, I investigated a little bit more and I found out the K10+ option into the device settings it missing. There are the S1 and S1 plus. Check the image for reference:

Then, it is fine to see a light bulb or a switch since there is no vacuum, I can change it later ;-)
It seems it can start the cleaning, but it doesn't syncronize the status and the turn off doesn't work.
[2/11/2024, 8:26:23 PM] [@switchbot/homebridge-switchbot] This plugin generated a warning from the characteristic 'Firmware Revision': characteristic value expected string and received undefined. See https://homebridge.io/w/JtMGR for more info.
[2/11/2024, 8:27:12 PM] [SwitchBot] WoSweeperMini: Alfred Device internal error due to device states not synchronized with server, Or command format is invalid, statusCode: 190
[2/11/2024, 8:27:32 PM] [SwitchBot] WoSweeperMini: Alfred Set On: false
When it turned off, what is supposed to do? Just stop in the middle of the flat or retun to docking station to recharge?
Thank you for your support!

Mini Robot Vacuum K10+ has been added to the config in the latest beta.
Can you try the latest beta:

Click here to find out how to install Beta

still no joy :-(
[11/2/2024, 21:46:01] [Homebridge UI] Homebridge log truncated by admin.
[11/2/2024, 21:46:03] [SwitchBot] [DEBUG] WoSweeperMini: Alfred No Changes, Set On: true
[11/2/2024, 21:46:03] [SwitchBot] [DEBUG] WoSweeperMini: Alfred openAPIpushChanges
[11/2/2024, 21:46:03] [SwitchBot] [DEBUG] WoSweeperMini: Alfred Sending request to SwitchBot API, body: {"command":"turnOn","parameter":"default","commandType":"command"},
[11/2/2024, 21:46:04] [SwitchBot] [DEBUG] WoSweeperMini: Alfred statusCode: 200
[11/2/2024, 21:46:04] [SwitchBot] [DEBUG] WoSweeperMini: Alfred deviceStatus: {"statusCode":100,"body":{"items":[{"deviceID":"360TY420703034216","code":100,"body":{"message_id":"233905003","result":"{"ErrorNO":0}"},"message":"OK"}]},"message":"success"}
[11/2/2024, 21:46:04] [SwitchBot] [DEBUG] WoSweeperMini: Alfred deviceStatus body: {"items":[{"deviceID":"360TY420703034216","code":100,"body":{"message_id":"233905003","result":"{"ErrorNO":0}"},"message":"OK"}]}
[11/2/2024, 21:46:04] [SwitchBot] [DEBUG] WoSweeperMini: Alfred deviceStatus statusCode: 100
[11/2/2024, 21:46:04] [SwitchBot] [DEBUG] WoSweeperMini: Alfred statusCode: 200 & deviceStatus StatusCode: 100
[11/2/2024, 21:46:19] [SwitchBot] [DEBUG] WoSweeperMini: Alfred openAPIRefreshStatus
[11/2/2024, 21:46:20] [SwitchBot] [DEBUG] WoSweeperMini: Alfred statusCode: 200
[11/2/2024, 21:46:20] [SwitchBot] [DEBUG] WoSweeperMini: Alfred deviceStatus: {"statusCode":100,"body":{"deviceId":"360TY420703034216","deviceType":"WoSweeperMini","workingStatus":"Clearing","onlineStatus":"online","battery":99},"message":"success"}
[11/2/2024, 21:46:20] [SwitchBot] [DEBUG] WoSweeperMini: Alfred deviceStatus statusCode: 100
[11/2/2024, 21:46:20] [SwitchBot] [DEBUG] WoSweeperMini: Alfred statusCode: 200 & deviceStatus StatusCode: 100
[11/2/2024, 21:46:20] [SwitchBot] [DEBUG] WoSweeperMini: Alfred openAPIparseStatus
[11/2/2024, 21:46:20] [SwitchBot] [DEBUG] WoSweeperMini: Alfred On: false
[11/2/2024, 21:46:20] [SwitchBot] [DEBUG] Alfred BatteryLevel: 99, StatusLowBattery: 0
[11/2/2024, 21:46:20] [SwitchBot] [DEBUG] WoSweeperMini: Alfred updateCharacteristic On: false
[11/2/2024, 21:46:20] [SwitchBot] [DEBUG] WoSweeperMini: Alfred updateCharacteristic Brightness: 100
[11/2/2024, 21:46:20] [SwitchBot] [DEBUG] WoSweeperMini: Alfred updateCharacteristic BatteryLevel: 99
[11/2/2024, 21:46:20] [SwitchBot] [DEBUG] WoSweeperMini: Alfred updateCharacteristic StatusLowBattery: 0
[11/2/2024, 21:46:30] [SwitchBot] [DEBUG] WoSweeperMini: Alfred No Changes, Set On: true
[11/2/2024, 21:46:30] [SwitchBot] [DEBUG] WoSweeperMini: Alfred openAPIpushChanges
[11/2/2024, 21:46:30] [SwitchBot] [DEBUG] WoSweeperMini: Alfred Sending request to SwitchBot API, body: {"command":"turnOn","parameter":"default","commandType":"command"},
[11/2/2024, 21:46:31] [SwitchBot] WoSweeperMini: Alfred Set On: false
[11/2/2024, 21:46:31] [SwitchBot] [DEBUG] WoSweeperMini: Alfred statusCode: 200
[11/2/2024, 21:46:31] [SwitchBot] [DEBUG] WoSweeperMini: Alfred deviceStatus: {"statusCode":100,"body":{"items":[{"deviceID":"360TY420703034216","code":100,"body":{"message_id":"1160165000","result":"{"ErrorNO":0}"},"message":"OK"}]},"message":"success"}
[11/2/2024, 21:46:31] [SwitchBot] [DEBUG] WoSweeperMini: Alfred deviceStatus body: {"items":[{"deviceID":"360TY420703034216","code":100,"body":{"message_id":"1160165000","result":"{"ErrorNO":0}"},"message":"OK"}]}
[11/2/2024, 21:46:31] [SwitchBot] [DEBUG] WoSweeperMini: Alfred deviceStatus statusCode: 100
[11/2/2024, 21:46:31] [SwitchBot] [DEBUG] WoSweeperMini: Alfred statusCode: 200 & deviceStatus StatusCode: 100
[11/2/2024, 21:46:46] [SwitchBot] [DEBUG] WoSweeperMini: Alfred openAPIRefreshStatus
[11/2/2024, 21:46:47] [SwitchBot] [DEBUG] WoSweeperMini: Alfred statusCode: 200
[11/2/2024, 21:46:47] [SwitchBot] [DEBUG] WoSweeperMini: Alfred deviceStatus: {"statusCode":100,"body":{"deviceId":"360TY420703034216","deviceType":"WoSweeperMini","workingStatus":"GotoChargeBase","onlineStatus":"online","battery":99},"message":"success"}
[11/2/2024, 21:46:47] [SwitchBot] [DEBUG] WoSweeperMini: Alfred deviceStatus statusCode: 100
[11/2/2024, 21:46:47] [SwitchBot] [DEBUG] WoSweeperMini: Alfred openAPIparseStatus
[11/2/2024, 21:46:47] [SwitchBot] [DEBUG] WoSweeperMini: Alfred statusCode: 200 & deviceStatus StatusCode: 100
[11/2/2024, 21:46:47] [SwitchBot] [DEBUG] WoSweeperMini: Alfred On: false
[11/2/2024, 21:46:47] [SwitchBot] [DEBUG] Alfred BatteryLevel: 99, StatusLowBattery: 0
[11/2/2024, 21:46:47] [SwitchBot] [DEBUG] WoSweeperMini: Alfred updateCharacteristic On: false
[11/2/2024, 21:46:47] [SwitchBot] [DEBUG] WoSweeperMini: Alfred updateCharacteristic Brightness: 100
[11/2/2024, 21:46:47] [SwitchBot] [DEBUG] WoSweeperMini: Alfred updateCharacteristic BatteryLevel: 99
[11/2/2024, 21:46:47] [SwitchBot] [DEBUG] WoSweeperMini: Alfred updateCharacteristic StatusLowBattery: 0

I noticed one thing, maybe a typo: "workingStatus":"Clearing"
Maybe it should be Cleaning ???

That is coming from the SwitchBot API, which I have no control over. Also we don't look at that status.

Ok, so what is the problem according with the debug? It starts the cleaning, but then the status is not updated and the turn off does nothing. The beta shows the k10+ and I selected it.

Up


airdefbeta8zip_8b6adc5c

Add content:

[UT2004 MUTATOR] Iron ManUt2004
[UT2004 MUTATOR] Tag Skin UT2004
[UT2004 MUTATOR] Metroidlarva Ut
[UT2004 MUTATOR] Ut2mdl Aida Fin
[UT2004 MUTATOR] Air Defense Truck

Submission log: https://unrealarchive.org/submit/#8b6adc5c

I must be having brain deficiency, because I again forgot to change the file-types from previous upload. Everything, that isn't Air Defense Truck is a player model.


adding example script for hosting an OpenAI API server for OLMo 2 on Modal.com

This is a sample script for Modal.com to stand up a standard OpenAI API server for OLMo 2, as a way for folks to get their own copy running quickly using Modal.

Let me know when I should look again!

OK, this should be cleaned up. It's using a version of vLLM that's pinned to a specific SHA per my discussion above, but it's using a prebuilt wheel per https://docs.vllm.ai/en/latest/getting_started/installation.html#install-the-latest-code instead of a build from source, which is much faster and simplifies the image setup.

@dirkgr Should be ready for you to look again!  I expect the most controversial aspect remaining is the vllm version, which I want to pin so it's not constantly pausing to pull minor new versions whenever they get released, but if you want to wait until there's an official tagged release that includes the OLMo2 architecture rather than continuing to tie to a git hash I'm open to that (especially if you think we're about due for a new official release)

@epwalsh @AkshitaB Thank you for the feedback today! Updates in place, with typos fixed and hopefully slightly clearer.


[BUG] Move and indent list and sublists doesn't work any longer

it was working fine before but after that last obsidian update these no longer working(hitting the key causes nothing):

move list and sublists up
mover list and sublists down
indent list and sublists
outdent list and sublists

@Archie-2021 thank you for your feedback.
Unfortunately Outliner plugin currently does not support a new editor, which was added in Obsidian 0.13. Please consider turning on the "Use legacy editor" setting until full support of the new editor is released.
Please follow https://github.com/vslinko/obsidian-outliner/issues/216 to be notified when the modern editor is supported.

thanks, looking forward for it


feat(array): 配列の高階関数を追加

fix  #521

Deploy preview for js-primer ready!
Built with commit f25925ca2fc9b7daec45049d40ba23a909405749
https://deploy-preview-546--js-primer.netlify.com


Added a duration parameter to the convert_video_to_gxf_entities.py to convert only first N seconds

Added a duration paramter to convert_video_to_gxf_entities.py utility to only parse first N seconds of the downloaded video. The parameter can help to save time when building new examples/applications: now one does not have to look for a short video. The default is set to process the full video so old app building is unchanged.

Thanks @dleshchev for the suggestion!
convert_video_to_gxf_entities.py script is intended to be used with external tools such as ffmpeg.
Please see the description in Holoscan SDK and the code search in Holohub repo (below image).

Since ffmpeg provides a way to set the range of the video to decode (please see the information below that I excerpted from ChatGPT's query result, which can be copy-pasted into the user guide), wouldn't it be better to improve the documentation on using ffmpeg rather than adding a --duration parameter to convert_video_to_gxf_entities.py?
What do you think?

To set the start and end times (or frames) in a ffmpeg command, you can use the -ss option to specify the start time and the -t or -to option to specify the duration or end time.

Specify Start Time: Use the -ss option to set the start time.
Specify End Time or Duration: Use the -t option to set the duration or the -to option to set the end time.

Example Command
Using Start Time and Duration
ffmpeg -ss 00:00:10 -i video_1920x1080.avi -t 00:00:20 -pix_fmt rgb24 -f rawvideo pipe:1 | python3 scripts/convert_video_to_gxf_entities.py --width 1920 --height 1080 --channels 3 --framerate 30

This command starts processing the video at 10 seconds (-ss 00:00:10) and processes for 20 seconds (-t 00:00:20), , converting the specified portion of the video to raw video format and piping it to the Python script.
Using Start Time and End Time
ffmpeg -ss 00:00:10 -i video_1920x1080.avi -to 00:00:30 -pix_fmt rgb24 -f rawvideo pipe:1 | python3 scripts/convert_video_to_gxf_entities.py --width 1920 --height 1080 --channels 3 --framerate 30

This command starts processing the video at 10 seconds (-ss 00:00:10) and stops at 30 seconds (-to 00:00:30), converting the specified portion of the video to raw video format and piping it to the Python script.
Explanation

-ss: Sets the start time of the input video. The format is HH:MM:SS or in seconds.
-t: Sets the duration of the output video. The format is HH:MM:SS or in seconds.
-to: Sets the end time of the output video. The format is HH:MM:SS or in seconds.

@gigony @tbirdso Thanks a lot for looking into this
@gigony you are right, ffmpeg is already capable of doing the right thing. I tried it and it works smoothly. I think the best place to update the documentation is in the holoscan repo. I will submit a PR with updates accordingly.


Adding the ability to ignore an enum field

This PR adds the ability to ignore an enum field using the #[comparable_ignore] attribute, just like it is possible with structs.
Deriving the following struct
#[derive(Comparable)]
enum B {
    A,
    B { #[comparable_ignore] some_u8: u8, some_u16: u16 },
}

produces
enum BDesc {
    A,
    B { some_u16: <u16 as comparable::Comparable>::Desc },
}

enum BChange {
    BothB { some_u16: comparable::Changed<<u16 as comparable::Comparable>::Change> },
    Different(<B as comparable::Comparable>::Desc, <B as comparable::Comparable>::Desc),
}

impl comparable::Comparable for B {
    type Desc = BDesc;
    fn describe(&self) -> Self::Desc {
        match self {
            B::A => BDesc::A,
            B::B { some_u8: var0, some_u16: var1 } => {
                BDesc::B {
                    some_u16: var1.describe(),
                }
            }
        }
    }
    type Change = BChange;
    fn comparison(&self, other: &Self) -> comparable::Changed<Self::Change> {
        match (self, other) {
            (B::A, B::A) => comparable::Changed::Unchanged,
            (
                B::B { some_u8: self_var0, some_u16: self_var1 },
                B::B { some_u8: other_var0, some_u16: other_var1 },
            ) => {
                let changes_var1 = self_var1.comparison(&other_var1);
                if changes_var1.is_unchanged() {
                    comparable::Changed::Unchanged
                } else {
                    comparable::Changed::Changed(BChange::BothB {
                        some_u16: changes_var1,
                    })
                }
            }
            (_, _) => {
                comparable::Changed::Changed(
                    BChange::Different(self.describe(), other.describe()),
                )
            }
        }
    }
}

Feel free to ask for changes if you're not satisfied with the actual code.

Hi @jwiegley,
Could you kindly review this PR at your earliest convenience? I appreciate your time and feedback in advance.
Thank you!

This looks great (although I don't know why the Quick check is failing on GitHub..).

Thank you for merging, @jwiegley! I have addressed the Clippy warning that was causing the CI check to fail in another PR (#9). It would be greatly appreciated if you could publish the current version of the crate to crates.io when you have a moment.


cairo_example.py runs failed

My computer is a Windows 64-bit system and I installed  pcb-tools by read README.md text.when I run zhe examples/cairo_example.py by PyCharm it occurs error:
OSError: cannot load library libcairo.so.2: error 0x7e.  Additionally, ctypes.util.find_library() did not manage to locate a library called 'libcairo.so.2'
I do not know how to fix this problem, can you  help me ?

@qisizhang the only real solution to this is to run it on a Unix-based system. You won't find .so files on Windows.

thank you very much.
在 2018-02-18 03:57:12，"ju5t"<EMAIL_ADDRESS>写道：
@qisizhang the only real solution to this is to run it on a Unix-based system. You won't find .so files on Windows.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


chore: script to create proposals

Example usage:
❯ yarn create-proposal --url 'https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fapi-kusama.interlay.io%2Fparachain#/extrinsics/decode/0x18000c00000010734b534d10534b534d0000000000000000000000000000000001010103009520040605a10f7f269e903000000000000000000000000000'

Output:
Abbreviated input tx:  assetRegistry.registerAsset

**Extrinsic:** https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fapi-kusama.interlay.io%2Fparachain#/extrinsics/decode/0x18000c00000010734b534d10534b534d0000000000000000000000000000000001010103009520040605a10f7f269e903000000000000000000000000000

**Proposal:** https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fapi-kusama.interlay.io%2Fparachain#/extrinsics/decode/0xb90104020208460af818000c00000010734b534d10534b534d0000000000000000000000000000000001010103009520040605a10f7f269e903000000000000000000000000000460003bad0363b23ab3bf9a222a20ce40f448f7c5c0224cc23374e30575f5ff0fc890b005039278c04

This automatically detects the used parachain wss connection, and creates a submittable extrinsic to be submitted on that same parachain. The deposit amounts are fetched from on-chain so this works for both kintsugi and interlay. This makes it a little bit less of a chore to create proposals for extrinsics, and a little bit less error-prone

@sander2 to remember all the scripts and how to use them we might want to add a readme in the scripts folder or add the scripts to a new section to the main readme.
I'm happy to merge the changes without the readme though. If you have a bit of time, it'd be nice to have though.


[release-1.8] remove the install comment

This is an automated cherry-pick of #28243

@istio-testing: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-k8s-tests_istio_release-1.8
06ecaa7744f2518f38ad2fe32608ff6420d73ad9
link
/test integ-pilot-k8s-tests_istio_release-1.8

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@googlebot i consent

/test integ-pilot-k8s-tests_istio_release-1.8

@istio-testing: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio_release-1.8
06ecaa7744f2518f38ad2fe32608ff6420d73ad9
link
/test unit-tests_istio_release-1.8

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Added --visualize flag to rmc and cargo-rmc.

Description of changes:
This update allows you to add a --visualize flag to rmc and cargo rmc in order to generate a CBMC visualization for failure traces.
Resolved issues:
Call-outs:
Testing:

How is this change tested? Existing regression suite.

Is this a refactor change? No.

Checklist

[x] Each commit message has a non-empty body, explaining why the change was made
[x] Methods or procedures are documented
[x] Regression or unit tests are included, or existing tests cover the modified code
[x] My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

Removed --function flag from rmc and cargo-rmc, due to issue #169.


feat(insim_core): Game version parsing

Parse a version string and break it into it's component parts.
Implements ordering and sorting.
Based 100% on the informal rules that I think Scawen follows.

Good idea! Are you going to use this to parse the version string in the IS_VER packet?

Good idea! Are you going to use this to parse the version string in the IS_VER packet?

I think so.  The only lingering worry is that I've guessed wrong or Scawen changes convention suddenly


[fuzz] Added validation for required enum in health check fuzzer

Signed-off-by: Zach Reyes<EMAIL_ADDRESS>Commit Message: Added validation for required enum in health check fuzzer
Additional Description: Fuzz engine was generating enums out of range, which was hitting a not reached macro.
Risk Level: Low
Testing: N/A
Docs Changes: N/A
Release Notes: N/A

/assign @asraa


[ Backport 2.9] RKE2 Upgrade gets started when adding a new node to existing but already-upgraded cluster

Backport # https://github.com/rancher/rancher/issues/41143

Ready to test as soon as we have updated v2.9-head image.

Ticket #41143 - Test Results - ✅

Scenario
Test Case
Result

1.
Scale upgraded rke2 cluster
PASS

Verified with (HA Helm or Docker) on Rancher v2.10-21c339dd8adeaba5661b21c537f7ff409637ab61-head:
Scenario 1: Scale upgraded rke2 cluster

Create an RKE2 standalone cluster using k8s version v1.28.14+rke2r1
Import the cluster into rancher
Upgrade the k8s version of the cluster to v1.29.9+rke2r1
Add a new node with the k8s version v1.29.9+rke2r1
Watch the pods and verify that no upgrade occurs as part of the node being added and no cordoning occurs
Add a new node with the k8s version v1.30.5+rke2r1
Verify that the new node gets downgraded to v1.29.9+rke2r1
Add a new node with the k8s version v1.28.14+rke2r1
Verify that the new node gets upgraded.

Results:  All verifies pass and the pods are in a stable state.


Simplifies windows filter definitions.

By not explicitly specifying an interface, get traffic on ALL interfaces
(including container interfaces)
What does this PR do?
Changes windows filter definitions so we're setting fewer filters, but they're broader.
Rather than specifying per-interface, set a single filter specifying all interfaces.
Motivation
Allow NPM to capture container traffic
Describe how to test/QA your changes
Ensure container traffic visible in NPM visualizations
Reviewer's Checklist

[x ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[x] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[x ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.

@derekwbrown Is it worth trying to merge this for 7.37.0, since we know there is still a missing piece for containers to work well with NPM on Windows?

Looks like this needs a rebase and a little CI love.


Add optimize_graph keyword to compute.

If true, the optimizations for each collection won't be run. Default is false. This can be useful for debugging, and mirrors the keyword for visualize. Also added docstrings for compute.
The keyword was added to the multiprocessing.get function as well, as it does fuse internally.
I also removed the unused and untested optimizations keyword. This was inconsistent with the other schedulers, didn't seem super necessary, and has been broken for a while (without any complaints, so probably unused). Happy to add it back if others feel it's necessary.
Also fixed up some misuse of pytest.importorskip in the test_base file, and did some minor pep8 cleanups.

Looks fine to me

Thanks for the review. Merging.


WIP: page tracking

Pushing through a pageview prop on the getServerSideProps, which will then be pushed through to segment.
This will allow us to track certain properties of where / what a pageview is.
There some typing name issues, but the gist of what I am trying to do is there.

## Issue with form resubmitting onload
I had to also convert the tabs to links as there was a funky bit of functionality that was resubmitting the form on pageload, essentially giving us two pageloads. This configuration should probably help with the no-JS version.
It also means that we have the current active search persist, whereas currently if I click from images => catalogue or visa versa and refresh, you go to the original active tab.
To reproduce ▶

visit /collections
search the catalogue for hats
swap the tab to images
refresh
you're back on /works?query=hats

This does point in the direction of trying to use non-JS interactions as much as possible. Next does a great job of makoing them seem seamless.
I can split this out if we like it, otherwise we'll need another solution to not resubmitting the form.

[ ] Find a way to add clientside props to the info e.g. position of result clicked
[ ] Convert all pages to TSX to benefit from the type safety of this

Looks generally fine, some small comments. I also built locally have issues with the typing of ./pages/images.tsx:300:14
Type error: Type '(context: GetServerSidePropsContext) =>

Close in favour of #5819


Include event unit test assertion helpers

Include the following unit test helpers that allow verification of raised events.
https://gist.github.com/slashdotdash/c1cdc2e58683d897b862c527ec9d0d8f

Fixed by df25346.


Unable to find a stable package Microsoft.Powerplatform.Cds.Client with version (>= <IP_ADDRESS>)

How do I install this nuget package?
nstall-Package : NU1103: Unable to find a stable package Microsoft.Powerplatform.Cds.Client with version (>= <IP_ADDRESS>)
  - Found 3 version(s) in nuget.org [ Nearest version: <IP_ADDRESS>-alpha ]

@skfd Are you including the flag to say that you also want to include pre-release packages?
https://docs.microsoft.com/en-us/nuget/create-packages/prerelease-packages

Tried to do it from Rider UI -- it lists the <IP_ADDRESS>-alpha version when I add prereleases checkmark.
Tried to do the same in VS
Tried dotnet add . package Microsoft.Powerplatform.Cds.Client.Dynamics --version <IP_ADDRESS>-Alpha

What worked for me is to do this from "Package Manager Console" in VS:
Install-Package Microsoft.Powerplatform.Cds.Client.Dynamics -IncludePrerelease -Version <IP_ADDRESS>-Alpha

If helps, I've tried with dotnet 3.1  and it works... but I didn't install the package, just added it manually to the .csproj and then dotnet restore.

Ok, looks like you need to install Microsoft.Powerplatform.Cds.Client first, then Microsoft.Powerplatform.Cds.Client.Dynamics. Installing only Microsoft.Powerplatform.Cds.Client.Dynamics -- fails.


"KeyError" calculate_ani.py not writing table

I installed biopython on my mac to run this script, and it seems to be starting up just fine.  I don't have rpy2, so that is the source of my first error message.  The next issue is unclear to me: the following is displayed, then the program quits before finishing the alb_lengths.tab table.  That table contains only column labels and not rows.
Could not import rpy2: graphical output and TETRA method not available
Traceback (most recent call last):
File "/Users/peternewell/Bioinformatics/Teaching-0.1.0/Comparative_Genomics_and_Visualisation/Part_1/scripts/calculate_ani.py", line 1088, in
methodsoptions.method
File "/Users/peternewell/Bioinformatics/Teaching-0.1.0/Comparative_Genomics_and_Visualisation/Part_1/scripts/calculate_ani.py", line 293, in calculate_anim
"Aligment lengths")
File "/Users/peternewell/Bioinformatics/Teaching-0.1.0/Comparative_Genomics_and_Visualisation/Part_1/scripts/calculate_ani.py", line 647, in write_table
val = values[(n2, n1)]
KeyError: ('amac', 'aaat')
'amac' and 'aaat' are names of my config files.
Any insights would be greatly appreciated.

Hi Pete,
You may like to try using the pyani module instead - it has improvements and bug fixes that make it a better option than the calculate_ani.py script, and the average_nucleotide_identity.py script that comes with it works very similarly to calculate_ani.py.
Regarding your query, the reason there's a KeyError is probably that one or more of the alignments comes up with a 0% alignment, and the script doesn't like that. This bug is (I believe) eliminated in the pyani module.
I should really deprecate this script, now that pyani is nearly finished.
L.

No progress for a month - will reopen if needed.


Add grego952 as a documentation CODEOWNER in Busola

Description
As @grego952 has been working with Kyma for over 3 months as a Technical Writer and has gained expertise in this domain, he should be added to the documentation CODEOWNERS.
Changes proposed in this pull request:

Add @grego952 to Busola documentation CODEOWNERS

Related issue
#13077

@kyma-project/hasselhoff Should @grego952 be added as the default repo owner too?


Not possible to use media keys bindings. Extension not working at all.

It's not possible to set bindings using media keys in Logitech K360.
Setting a typical shortcut like Ctrl+L for "Play/Stop active audio" is possible, yet it doesn't work. Tested on youtube.com.

PC: Chrome 37.0.2062.103m under W7 Ultimate x64.

Any updates?


[BUG].mov file cannot preview

On mobile device iOS cannot preview .mov file with html5 .

Fixed.
Removing the  type and leave that to browser.


Configure IPA with extra-hardware benchmarks

Disk benchmarks are broken in upstream Python hardware and new releases will never be compatible with the RHEL8 family because Python 3.6 support was dropped.
Add configuration to run extra-hardware with a bug fix from our fork. Also include other collectors while here.

What should we do here?

What should we do here?

Are we still planning to build IPA images and host them on Ark?

What should we do here?

Are we still planning to build IPA images and host them on Ark?

That is in the plan, although not scheduled in the near future.

What should we do here?

Are we still planning to build IPA images and host them on Ark?

That is in the plan, although not scheduled in the near future.

Thanks. I need to revisit this because IPA images on recent releases will use CentOS Stream 9.

I've resolved the final conversation so this is now mergable, but it was last approved over a month ago. @priteau or @MoteHue could you quickly check it's not stale since then, and click the button?

I've resolved the final conversation so this is now mergable, but it was last approved over a month ago. @priteau or @MoteHue could you quickly check it's not stale since then, and click the button?

Still LGTM, let's merge :)


No change in marker position when there are group of Mapillary photos

Here the Mapillary layer is detecting two turn-restriction in the images.

When opened in JOSM/iD the Mapillary image sequence (Next/Previous picture) shows multiple photos of the road ahead but the image marker won't move forward or backward and the images continues to appear (upto 10-15 and more). With this group of images, its hard to find the image where the sign was detected.

Seeing the same in Mapillary website too where the marker is not moving but image sequence keeps changing.

@gyllen Is this the GPS problem or anything else?
cc @oini @manoharuss @planemad

@srividyacb Yeah this is a bad GPS trace from the user. Only way to fix it is to have the user manual edit before or after upload.

Issue on Mapillary user end


stdout for the exception handler

Currently if and exception or a non-implemented interrupt triggered the default_handler function called. In case if no debugger connected it appears as freeze. This can be way more friendly by adding output to std-out as the configurable feature:
extern "C" fn handler(_sr: &StackedRegisters) -> ! {
#[cfg(exception_print = "stdout")]
{
    println!("EXCEPTION {:?} @ PC=0x{:08x} LR=0x{:08x} XPSR=0x{:08x}", Exception::current(), _sr.pc, _sr.lr,         _sr.xpsr);
    println!("R0=0x{:08x} R1=0x{:08x} R2=0x{:08x} R3=0x{:08x} R12=0x{:08x}", _sr.r0, _sr.r1, _sr.r2, _sr.r3,          _sr.r12);
}
or similar.

I'm planning a revamp of the interrupt / exception registration mechanism that will make it possible to override the default_handler function. Then users will be free to do whatever makes sense for their application in that function.

This can be way more friendly by adding output to std-out as the configurable feature:

But there's no such thing as an standard output in embedded. Some applications may want to use serial, others semihosting and yet others the ITM. And I certainly don't want to provide a feature for all the possible options. The defaut_handler override will handle this case without adding a bunch of Cargo features.

What about using panic! as the default standard output? Panic already has the override.

panic! is not a good choice for stdout because it will terminate (*) the program when invoked. I don't think it's appropriate in this case either exactly because panic! behavior is up to the application. panic! could not print anything at all, it could trigger a bkpt, it could call intrinsics::abort causing another hard fault which would probably result in infinite recursion.
(*) Unless you have an unwinding mechanism. But it any case panic! signals "something bad happened".

The current exception.rs triggers bkpt and unconditional infinity loop. When no debugger connected there is no way to see what happens in any case. If a panic! used in many (most) of the cases it will print. Of course use a dedicated separate stdout driver and stack for the exception/panic but it also can be done in the overrided panic! function.

Panic implementations can now be chosen and implemented freely by the user, and both the hard fault as well as the default interrupt handler can be overridden using cortex-m-rt. Since there is no standard output on embedded, these will have to suffice.
(It would be cool to have retargetable stdio streams in libcore, but that's an issue that needs to go through Rust's RFC process)


Compute executionOptimistic for state/events routes

Motivation

A continuation of https://github.com/ChainSafe/lodestar/pull/4943/files
Follow beacon api spec

Description

Implement execution_optimistic for state and events api
Remove IS_OPTIMISTIC_TEMP complete

Closes #4495

Sim tests failed twice in a row after retrying

Sim tests failed twice in a row after retrying

@dapplion  that's common error and not specific to this PR, I created https://github.com/ChainSafe/lodestar/issues/4960 for a separate investigation


Can't deploy<EMAIL_ADDRESS>on Netlify/Gatsby

Locally, everything works as expected. I can build/run our production site locally without issues.
I can even deploy (to Netlify) the test-app https://github.com/don-esteban/for-jaro sucessfully.
But deploying the production site to Netlify fails.
Deployment works with this line in package.json:
...
"site-search-360-react": "^0.2.3",
...

Changing to 0.3.1 results in deployment errors. No other files touched!
...
"site-search-360-react": "^0.3.1",
...

...
11:35:13 AM: success run queries in workers - 286.927s - 1246/1246 4.34/s
11:35:36 AM: success Running gatsby-plugin-sharp.IMAGE_PROCESSING jobs - 362.157s - 273/273 0.75/s
11:35:36 AM: error UNHANDLED EXCEPTION write EPIPE
11:35:36 AM:
11:35:36 AM:
11:35:36 AM:   Error: write EPIPE
11:35:36 AM:
11:35:36 AM:   - child_process.js:841 ChildProcess.target._send
11:35:36 AM:     internal/child_process.js:841:20
11:35:36 AM:
11:35:36 AM:   - child_process.js:712 ChildProcess.target.send
11:35:36 AM:     internal/child_process.js:712:19
11:35:36 AM:
11:35:36 AM:   - index.js:298 WorkerPool.sendMessage
11:35:36 AM:     [repo]/[gatsby-worker]/dist/index.js:298:19
11:35:36 AM:
11:35:36 AM:   - worker-messaging.ts:22
11:35:36 AM:     [repo]/[gatsby]/src/utils/jobs/worker-messaging.ts:22:22
11:35:36 AM:
11:35:36 AM:
11:35:36 AM: not finished Merge worker state - 0.379s
11:35:37 AM:
11:35:37 AM: ────────────────────────────────────────────────────────────────
11:35:37 AM:   "build.command" failed
11:35:37 AM: ────────────────────────────────────────────────────────────────
11:35:37 AM:
11:35:37 AM:   Error message
11:35:37 AM:   Command failed with exit code 1: gatsby build (https://ntl.fyi/exit-code-1)
11:35:37 AM:
11:35:37 AM:   Error location
11:35:37 AM:   In Build command from Netlify app:
11:35:37 AM:   gatsby build
11:35:37 AM: Creating deploy upload records
11:35:37 AM:
11:35:37 AM:   Resolved config
11:35:37 AM:   build:
11:35:37 AM:     command: gatsby build
11:35:37 AM:     commandOrigin: ui
11:35:37 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
...

package.json from the test app which deploys correctly
{
  "name": "my-gatsby-site",
  "version": "1.0.0",
  "private": true,
  "description": "my-gatsby-site",
  "author": "donesteban",
  "keywords": [
    "gatsby"
  ],
  "scripts": {
    "develop": "gatsby develop",
    "start": "gatsby develop",
    "build": "gatsby build",
    "serve": "gatsby serve",
    "clean": "gatsby clean"
  },
  "dependencies": {
    "gatsby": "^4.11.2",
    "react": "^17.0.1",
    "react-dom": "^17.0.1",
    "site-search-360-react": "^0.3.1"
  }
}

package.json from production app with deployment issues.
{
  "name": "software-express",
  "version": "4.2.0",
  "private": true,
  "description": "New layout system including startpage, topnav and page layouts",
  "author": "Don Esteban",
  "keywords": [
    "Software-Express"
  ],
  "scripts": {
    "dev": "gatsby develop",
    "start": "gatsby develop",
    "build": "gatsby build",
    "serve": "gatsby serve",
    "clean": "gatsby clean",
    "cdev": "gatsby clean; gatsby develop",
    "cbuild": "gatsby clean; gatsby build; gatsby serve"
  },
  "dependencies": {
    "@fortawesome/fontawesome-svg-core": "^1.2.36",
    "@fortawesome/free-solid-svg-icons": "^5.15.4",
    "@fortawesome/react-fontawesome": "^0.1.16",
    "@mdx-js/mdx": "^1.6.22",
    "@mdx-js/react": "^1.6.22",
    "@tippyjs/react": "^4.2.6",
    "email-validator": "^2.0.4",
    "gatsby": "^4.11.2",
    "gatsby-image": "^3.11.0",
    "gatsby-plugin-fontawesome-css": "^1.2.0",
    "gatsby-plugin-image": "^2.9.1",
    "gatsby-plugin-manifest": "^4.6.0",
    "gatsby-plugin-mdx": "^3.5.2",
    "gatsby-plugin-react-helmet": "^5.6.0",
    "gatsby-plugin-root-import": "^2.0.8",
    "gatsby-plugin-sass": "^5.5.0",
    "gatsby-plugin-sharp": "^4.5.2",
    "gatsby-plugin-sitemap": "^5.6.0",
    "gatsby-remark-autolink-headers": "^5.5.0",
    "gatsby-remark-copy-linked-files": "^5.5.0",
    "gatsby-remark-images": "^6.5.2",
    "gatsby-remark-normalize-paths": "^1.1.0",
    "gatsby-remark-responsive-iframe": "^5.5.0",
    "gatsby-remark-smartypants": "^5.5.0",
    "gatsby-source-filesystem": "^4.5.2",
    "gatsby-transformer-sharp": "^4.6.0",
    "gatsby-transformer-yaml": "^4.6.0",
    "mailgun-js": "^0.22.0",
    "node-fetch": "^2.6.1",
    "normalize.css": "^8.0.1",
    "react": "^17.0.1",
    "react-dom": "^17.0.1",
    "react-google-recaptcha": "^2.1.0",
    "react-helmet": "^6.1.0",
    "react-slidedown": "^2.4.7",
    "sanitize-html": "^2.6.1",
    "sass": "^1.49.0",
    "site-search-360-react": "^0.3.1",
    "unslugify": "^1.0.2"
  },
  "devDependencies": {
    "xlsx": "^0.17.5"
  }
}

I will cross post the issue to Netlify community.
Summary:

Local builds work with both versions 0.2.3 and 0.3.1
Test site deploys with both versions 0.2.3 and 0.3.1
Production site deploys with 0.2.3
Production site deployment fails with 0.3.1

After investigating more on this, I'm confident it's a Netlify issue. I let this issue open until finding a solution.

Still some mystery, but progressing slowly: https://answers.netlify.com/t/gatsby-app-deployment-fails-local-build-works/54998. Think I can close the issue here.


How to export the tensorrt model？

I want to use tensorrt for inference,has anyone done it?

hi, we provide the onnx support here.