update token list error exit code 1, online suggestions didn't help only made it worst

I'm submitting a ...
[ ] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[*] question about how to use this project

Summary

error report exit code 1, unable to run yarn test. followed online suggestions made it worst

Other information (e.g. detailed explanation, stack traces, related issues, suggestions on how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

Hi, the original err was,
1 test failed
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: "test:unit" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.
when I google to try and fix it got worst, the original pull was also done by me using a different computer https://github.com/solana-labs/token-list/pull/21727 which only had one error, and now I made it worst with the current pull https://github.com/solana-labs/token-list/pull/21758 with two errors,
can you please help me fix this, or teach me what to do. thx

The duplicate token error means you tried to add a token instead of editting the existing token you have already added: https://github.com/solana-labs/token-list#duplicate-token


Remove Snippet tag from asmx

This was missed in #1060

@mairaw
these don't cover the entire file, but do cover everything that's not the using statements. Should this be merged?

Yes I missed those in PR #1060. There's a bug with asmx files where the snippet comment is rendered on docs, so I just took them out and rendered the entire file.


Forbidden 403 error downloading  CERS

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.07.10. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.07.10

Before submitting an issue make sure you have:

[ ] At least skimmed through the README, most notably the FAQ and BUGS sections
[ ] Searched the bugtracker for similar issues including closed ones
[ ] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
H:\dl\bin>youtube-dl --cookies cookies.txt https://videos.cdn.cers.com.br/kraush/video/XX-AAABXC/738228/dash/REC_6211_061218_DIR_ADM_AULA_12_PT_II_OK.mpd -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--cookies', 'cookies.txt', 'https://videos.cdn.cers.com.br/kraush/video/XX-AAABXC/738228/dash/REC_6211_061218_DIR_ADM_AULA_12_PT_II_OK.mpd', '-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2018.07.10
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134
[debug] exe versions: ffmpeg N-89977-gddd851f7cb, ffprobe N-89977-gddd851f7cb
[debug] Proxy map: {}
[generic] REC_6211_061218_DIR_ADM_AULA_12_PT_II_OK: Requesting header
WARNING: Could not send HEAD request to https://videos.cdn.cers.com.br/kraush/video/XX-AAABXC/738228/dash/REC_6211_061218_DIR_ADM_AULA_12_PT_II_OK.mpd: HTTP Error 403: Forbidden
[generic] REC_6211_061218_DIR_ADM_AULA_12_PT_II_OK: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\extractor\common.py", line 599, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4etivjk5\build\youtube_dl\YoutubeDL.py", line 2211, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default

---

### If the purpose of this *issue* is a *site support request* please provide all kinds of example URLs support for which should be included (replace following example URLs by **yours**):
- Single video: https://www.youtube.com/watch?v=BaW_jenozKc
- Single video: https://youtu.be/BaW_jenozKc
- Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Note that **youtube-dl does not support sites dedicated to [copyright infringement](https://github.com/rg3/youtube-dl#can-you-add-support-for-this-anime-video-site-or-site-which-shows-current-movies-for-free)**. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

---

### Description of your *issue*, suggested solution and other information

Explanation of your *issue* in arbitrary form goes here. Please make sure the [description is worded well enough to be understood](https://github.com/rg3/youtube-dl#is-the-description-of-the-issue-itself-sufficient). Provide as much context and examples as possible.
If work on your *issue* requires account credentials please provide them or explain how one can obtain them.

Fails in browser with the same HTTP error.

https://forum.videohelp.com/threads/389576-How-i-Download-MPD-blocked look
this
2018-07-14 20:38 GMT-03:00 Sergey M<EMAIL_ADDRESS>
Closed #16971 https://github.com/rg3/youtube-dl/issues/16971.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rg3/youtube-dl/issues/16971#event-1734033561, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AnVH8BCQVuLX2cgQQY09nPq8wvmfIOilks5uGoDvgaJpZM4VQDUV
.


Improve settings format, allow JSON + custom settings formats

Currently PSScriptAnalyzer settings suffer from the following drawbacks:

They are opaque and truly documented only by the parsing logic
Misconfiguration usually fails silently, or at best issues an unhelpful generic error
They must be specified in PSD format, forcing a PSD parser to be present
Configurable rules cannot easily specify arbitrary configurations to be read from settings
Setting properties on configurable rules can conflict with constructors (they are set after constructor and default value evaluation)
Settings (and Invoke-ScriptAnalyzer parameters) have ambiguous duplication like Rules, IncludeRules and ExcludeRules
The default Enable rule configuration is false...
Rule names vs namespaces aren't delineated, so it can't be known from settings where the namespace vs name of a rule begins/ends

Instead, PSScriptAnalyzer settings should:

Be self-documenting when possible
Issue useful errors about where and why settings parsing failed
Be specifiable in multiple convenient ways that don't require PowerShell (particularly in JSON), and allow extension to specify them in more ways
Allow arbitrary structured configuration for rules, to be defined by those rules, and read configurations in as objects for the rule to consume
Pass configurations to rules in the constructor call, to allow rules to apply the configurations at the correct time and with their own logic
Make settings simple and self-documenting, with no ambiguous concepts
Enable rules by default, while offering a way to disable them while preserving their configuration entry
Specify rules by name and namespace, separating them with a / character

As such, the proposed new settings will provide:

An extensible API to provide settings
A better way to provide settings in PSD format (and the same from a hashtable object)
A new way to provide settings as JSON

PSSA API structure
PSSA will provide an extensible API to provide configurations. This consists of a top level Script Analyzer configuration:
https://github.com/PowerShell/PSScriptAnalyzer/blob/9ee8c0f3110fda305314b050bf0c74766bfcce42/ScriptAnalyzer2/Configuration/IScriptAnalyzerConfiguration.cs#L22-L31
An individual rule configuration:
https://github.com/PowerShell/PSScriptAnalyzer/blob/9ee8c0f3110fda305314b050bf0c74766bfcce42/ScriptAnalyzer2/Configuration/IRuleConfiguration.cs#L9-L49
And the ability to implement a subclass/implementation of IRuleConfiguration and inject it into a rule's constructor by specifying a rule as generic:
https://github.com/PowerShell/PSScriptAnalyzer/blob/9ee8c0f3110fda305314b050bf0c74766bfcce42/ScriptAnalyzer2/Rules/Rule.cs#L84-L91
Script Analyzer is able to use this configuration type in the generic parameter to deserialise the rule configuration when it is contructed.
PSD settings
Implementing these APIs for PSD format, a typical PSD settings file will look like this:
@{
    BuiltinRules = "Default" # Or "None" | "Aggressive" (name changeable)
    RuleExecution = "Default" # Or "Sequential" | "Parallel", possibly others depending on executor implementations
    RulePaths = @(
        "C:\somewhere\rules.dll"
        "path/relative/to/host/configured/root/module.psm1"
        "/also/allow/directory/module/"
    )
    RuleConfiguration = @(
        @{ Rule = "PS/AvoidAliases"; Configuration = @{ Enable = $false } }
        @{
            Rule = "PS/UseCompatibleCommands"
            Configuration = @{
                TargetPlatforms = @(
                    @{ OS = "Linux" }
                    @{ OS = "MacOS" }
                )
            }
        }
       @{
            Rule = "PS/AnotherRule"
            Configuration = @{
                ModeEnum = "CustomMode"
                Numbers = @(1, 2, 3)
            }
        }
        @{ Rule = "PS/RuleWithoutConfiguration" }
        @{ Rule = "ExternalRules/ExternallyImplementedRule" }
    )
}

Setting fields that aren't provided will have sensible defaults, and explicit default options allowing for the same. When rule settings are deserialised for the first time, failures will be reported (I haven't gotten to this part yet, but I would like to make the settings tell users where the failure occurred, what was given and what was expected).
Hashtable settings
Settings provided by Hashtable object will follow exactly the same conventions as those given above for PSD format, except converting from an in-memory hashtable object. A PSD file and its hashtable result in PowerShell will convert to the same settings.
JSON settings
Similar to the PSD settings, the JSON settings will essentially offer a new syntax for rule settings:
{
    "BuiltinRules": "Default",
    "RuleExecution": "Default",
    "RulePaths": [
        "C:\\somewhere\\rules.dll",
        "path/relative/to/host/configured/root/module.psm1",
        "/also/allow/directory/module/",
    ],
    "RuleConfiguration": [
        { "Rule": "PS/AvoidAliases", "Configuration": { "Enable": false } },
        {
            "Rule": "PS/UseCompatibleCommands",
            "Configuration": {
                "TargetPlatforms": [
                    { "OS": "Linux" },
                    { "OS": "MacOS" }
                ]
            }
        },
        {
            "Rule": "PS/AnotherRule",
            "Configuration": {
                "ModeEnum": "CustomMode",
                "Numbers": [1, 2, 3]
            }
        },
        { "Rule": "PS/RuleWithoutConfiguration" },
        { "Rule": "ExternalRules/ExternallyImplementedRule" }
    ]
}

Deserialisation to objects
Settings in PSD and JSON form will be deserialised to the type requested by the rule they configure. For JSON, this will use Newtonsoft.Json deserialisation, so allowing all attributes it supports. In the case of PSD, those attributes will also be supported. For example:
https://github.com/PowerShell/PSScriptAnalyzer/blob/9ee8c0f3110fda305314b050bf0c74766bfcce42/Tests/ScriptAnalyzer2.Test/PsdTypedObjectConverterTests.cs#L92-L95

Love it. I'd also really like it if the formatter had a default settings file you could place in project root, e.g. .psformatter or something similar and Invoke-Formatter looks for that file is not settings are provided.

@alexchandel Me too. Did you figure out how to do it? I've been at it for over an hour...


Vector Data on Terrain

Vector data: polygons, polylines, and billboards/labels.
For now just a placeholder to gather reading material.  More to come.

Usability Oriented Visualization Techniques for 3D Navigation Map Display.  2014.
An improved algorithm for vector data rendering in virtual terrain visualization.  2013.
A screen-space approach to rendering polylines on terrain.  2011.
Visualization methods of vector data on a Digital Earth System.  2010.
RENDERING 3D VECTOR DATA USING THE THEORY OF STENCIL SHADOW VOLUMES.  2008.
Efficient and accurate rendering of vector data on virtual landscapes.  2007.

Last link seems broken, here is the paper http://wscg.zcu.cz/WSCG2007/Papers_2007/journal/B17-full.pdf
And a review here http://vterrain.org/Misc/draping.html

@bagnell can you evaluate volume decals as an approach for polygons/polylines on terrain?  Think about performance and precision.

Volume roads
Volume decals

I don't know how to make it fast for polygons; it needs either a convex decomposition (not necessarily as fine-grained as triangulation) or a per-pixel point-in-polygon test (which, if done with a 2D texture of the polygon would have all the drawbacks of just rasterizing a texture as an image layer).

@bagnell here are some notes for the shadow volume approach:

[ ] Remember not to use the bounding sphere for the polygon itself since the real polygon is where the volume intersects terrain.  The most conservative thing to do is to use the bounding sphere of the volume, but I think we can do better.
[ ] To save fillrate, instead of using the max altitude to extrude up, we should add a function to the terrain provider to return the max (and perhaps min) height of an extent based on the loaded terrain (perhaps with a callback for refinement?).  To start, this could be based on the bounding sphere of each (or max height when it is lower), but we could make this much better with a quantized-mesh extension that keeps min/max per node.  This could also be a web service.

Notes from our discussion on billboards/labels:

[ ] Depth test origin in vertex shader using terrain depth buffer.  This will require VTF, which is 97% supported (MAX_VERTEX_TEXTURE_IMAGE_UNITS).
[ ] Query height from terrain provider.  Have callback for when it refines.  Entity layer will update the billboards height.
[ ] Longer-term, we might need to ability to only show the closest/most-important x number of labels and not depth test them.  This allows us to see labels through terrain, buildings, etc.

Also, I expect screen-space approaches (shadow volume, decal, etc.) to be much better for runtime editing than texture and sub-sampling approaches (sub-sampling may be OK, but I expect re-rasterizing the texture, especially if we made a sparse quadtree out of it, would be painfully slow).

Query height from terrain provider.

I'm not sure what the implementation looks like now, but we can do much better than brute force look at each triangle.  We can assume the triangle last used will be used next, and also use adjacency information (pre-compute once on the client I guess, or as a quantized-mesh extension) or a quad-tree arrangement inside the tile to find the right triangle.

Have callback for when it refines. Entity layer will update the billboards height.

This could be done on a web worker, e.g., each time we get a new tile, a web worker looks at all the subscribed positions to queue up callbacks (or events).  This could be the same worker that processes the tile for visualization or a separate one to decrease the latency for terrain visualization at the cost of delaying the vector data update.

@bagnell perhaps we do polylines last.  We can evaluate shadow volumes for them using the corridor geometry and sub-sampling using the infrastructure we'll build for billboards/labels.  Chapter 3 of Usability Oriented Visualization Techniques for 3D Navigation Map Display is a nice comparison, but their sub-sampling does exact line-segment/triangle intersections - and still does not get adequate visual quality for high-resolution terrain.

To start, this could be based on the bounding sphere of each (or max height when it is lower), but we could make this much better with a quantized-mesh extension that keeps min/max per node.

Not sure what you mean here.  Quantized mesh tiles already know the min and max height of any point within the tile.  Is that what you're referring to, or do you need something else?  Actually, heightmap tiles do, too, it's just computed at load time.

do you need something else?

No.  That will do it.  I clearly didn't look at the format.

@bagnell I had more ideas about point-in-volume.
We already discussed:

If not already in it: bounding sphere -> extruded convex hull -> exact test
If already in it: inscribed sphere -> inscribed convex hull -> exact test (actually probably check bounding sphere and extruded convex hull before the exact test)
Later: consider BVH to avoid O(n) over all polygons.

Here's a few more ideas:

Probably need a heuristic to see if the convex hull is worth it, e.g., if the polygon is already convex or can be broken into a few convex regions.
I think we should start by coding the generic point (or near plane?) in extruded volume, but I suspect we will also want an optimized version for our unique case:

We don't need to check the bottom cap under terrain
In general, we'll need to check the top cap, testing each triangle would be slow, but I think we can get away with just checking the camera's height.  However, I expect there will be an issue because that assumes an infinite tessellate of the top cap, so we may need to check a conservative height, and then check the triangles (unless the camera is above a max height).

Recent paper:

Practical line rasterization for multi-resolution textures, 2014

Feedback on polygons on terrain (in progress) is in #2618.

[ ] Add dynamic minimum height. (Needs changes to supported geometries)
[ ] Query terrain for tighter maximum height.
[ ] Add option to geometries for creating different bounding volumes.
[ ] Batch by color?
[ ] Tighter OBB? Maybe compute from triangles

Usability Oriented Visualization Techniques for 3D Navigation Map Display. 2014.

That thing is like a Hitchiker's Guide or something waoww

I only read the abstraction, but this could be interesting:

Deferred vector map visualization
Interactive rendering of large scale vector maps is a key challenge for high-quality geographic visualization software systems. In this paper we present a novel approach for the visualization of large scale vector maps over detailed height-field terrains. Our method uses a deferred line shading approach to render large scale vector maps directly in a screen-space shading stage over a terrain visualization. The fact that there is no traditional geometric polygonal rendering involved allows our algorithm to outperform conventional vector map rendering algorithms for geographic information systems. Our flexible clustered deferred line rendering approach allows a user to interactively customize and apply advanced vector styling methods, as well as the integration into a vector map level-of-detail system.
https://dl.acm.org/citation.cfm?doid=3002151.3002157

@likangning93 have a read and let us know what you think.

hi all, you might want to consider our journal article which contains some more perfomance analysis.
http://onlinelibrary.wiley.com/doi/10.1111/cgf.13294/abstract

Thanks for sharing @Thoenu!

Deferred vector map visualization
https://dl.acm.org/citation.cfm?doid=3002151.3002157

This approach is amazing and terrifying. The crux is that instead of rendering "lines" as geometry, they do a full-screen post process pass that checks each terrain fragment in the current view to see how close it is to a line segment, with all the line segments stored in textures using a uniform grid of BVHes.
Concerns about precision issues aside, is it finally time for me to write a GPU BVH traversal? Is it finally my time?!

A screen-space approach to rendering polylines on terrain

Via wayback machine
One beef I have with this technique is the requirement to render both a wall and a shadow volume, which seems more expensive for us because WebGL. However, combining this with ideas leveraging the batch table for fragment culling in https://github.com/AnalyticalGraphicsInc/cesium/pull/6393, I wonder if we could:

render a thin volume for each line segment, carrying a batch ID mapping to start/end positions and a quaternion or something describing a local coordinate system with the XY plane tangent to the ellipsoid
for each fragment, look up globe depth and compute a world position. Squash that world position and start/end positions into the XY plane of the local coordinate system and check for colinearity with start/end

We'd have to disable early Z I think, but maybe that's not such a large price to pay to cut this down to a single pass.

The colinearity approach also gives us data that could be vital for doing style stuff.

Question: what's the extent of material support that we want here? There's an awesome development Polyline Color sandcastle and I'm... not sure how to do that when we're working in fragment space.

For style, start with color and line width.  Then dash.  Then textures.

So the "single pass shadow volume for lines" trick above probably has the same problems as any other shadow volume algorithm for polylines on terrain, namely, difficulty keeping constant screen space width:

when drawn perpendicular to the gradient of a steep slope and viewed edge-on
when viewed at horizon-facing angles on flat ground

But since it's single-pass and doesn't require any special render state it can possibly still share a draw call with @pjcozzi's wall algorithm, which a conventional shadow volume can't do. So that's still kind of promising.

"single pass shadow volume for lines" trick

I think this technique has enough promise that we can start assembling a gameplan. Here's a couple shots of my prototype at various view distances, we should be able to simulate "constant screen space width" reasonably well:
 |  |

:-------------------------:|:-------------------------:|:-----------:
near  |  far | wherever you are
I think through the Primitive API this is going to look something like a custom Geometry type (to be used via a method that builds arrays of GeometryInstances) and a custom Primitive type that will really just be a lightweight wrapper around Primitive but might have to tangle a bit with GroundPrimitive for terrain info.
How should this integrate into the Entity API though? Just something like an onTerrain flag that you can add to polyline entities? I'm reasonably sure that this is going to need its own spaghetti of updaters and batchers under the hood due to the custom Primitive.
It might also be wisest to start off with material support limited to, say, simple colors, but I'll try to have a more concrete idea of how difficult full material support will be soon.

@likangning93 at the entity level, polylines already have a followSurface option that defaults to true.  I imagine we would use this as the new default and use PolylineGeometry when followSurface: false or if it's using a material that's unsupported

when drawn perpendicular to the gradient of a steep slope and viewed wall-on

Fun idea: we might already have slopes available somewhere because of materials on terrain, and if not we can also compute per-fragment terrain slopes like we do for materials on ground primitives. Wonder if this would be useful for reducing smearing on slopes.
Something to experiment with a little later.

@hpinkos can confirm, but I believe we compute slopes in the material shader and it requires vertexnormals be part of the the terrain data (so they are technically not always available).  I'm fine with requiring them, but we may need to either throw an error or provide a fallback (which can be not clamping to terrain).

I believe we compute slopes in the material shader and it requires vertexnormals be part of the the terrain data (so they are technically not always available)

Yep, see https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/?src=Globe Materials.html

@likangning93 can we close this?

@pjcozzi :+1: from me


cache_dir variable isn't set

https://github.com/biglocalnews/court-scraper/blob/f89b86d07d39d99c8c123717227fbc773d4933c3/court_scraper/platforms/wicourts/captcha.py#L29

@palewire Heads up that we're doing some house-cleaning prior to v0.1.0 release and this file is going to be deleted as part of #96. Hoping to drop that release by end of week. Would love a once-over after we've merged and released changes. You can see what's on the menu by checking out tix flagged with the v0.1.0. milestone

Copy


fix(buf): make IoBuf(Mut) unsafe

Closes #220

We will continue maintain 0.9 in https://github.com/compio-rs/compio/tree/dev/v0.9
And then we can happily apply breaking changes to master.


Terraform init is required before apply

Description
Just a doco change, noticed when running through examples.
Are these examples supposed to spin up enterprise search as well? Found it confusing when I hit the UI and saw lots of "Getting started with Enterprise Search" text.
Types of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Refactoring (improves code quality but has no user-facing effect)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] Documentation

@wandergeek heya! 👋 looks like there are some conflicts with the main branch now, could you fix those and address @alaudazzi 's comments so we can get this merged? :)


Add tracer-dao snapshot strategy

Changes proposed in this pull request:

Adds a strategy for the tracer-dao

@raymogg If you just need to call a specific function of a smart contract you dont need to create your own strategy you can use the strategy "contract-all" which allow you to do a custom call see: https://github.com/snapshot-labs/snapshot.js/tree/master/src/strategies/contract-call
Here is an example of a space that is using "contract-call" strategy to get voting score https://hub.snapshot.page/api/spaces/badgerdao.eth Could use that instead?

@raymogg If you just need to call a specific function of a smart contract you dont need to create your own strategy you can use the strategy "contract-all" which allow you to do a custom call see: https://github.com/snapshot-labs/snapshot.js/tree/master/src/strategies/contract-call
Here is an example of a space that is using "contract-call" strategy to get voting score https://hub.snapshot.page/api/spaces/badgerdao.eth Could use that instead?

Looks like this will work for our use case, thanks @bonustrack. Closing the PR.


WMF requirements?

I see no WMF requirements. On an old Win7 laptop I was unable to connect after downloading the module. I updated to WMF 5.1, restarted, and I was able to connect.

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

ID: 65e527db-a4c2-782e-5a5f-ad8b3159a977
Version Independent ID: f2de1272-5e37-c59f-fcb9-34fa66b0d268
Content: Connect to Exchange Online PowerShell using multi-factor authentication
Content Source: exchange/docs-conceptual/exchange-online/connect-to-exchange-online-powershell/mfa-connect-to-exchange-online-powershell.md
Service: exchange-online
GitHub Login: @chrisda
Microsoft Alias: chrisda

@arowswell, thanks for the feedback. I added the Windows and WMF requirements to the "What do you need to know before you begin?" section


Wroking with Vue.js - Google not found

I'm using the library 'vue-video-player' to use videojs within Vue, which by default works pretty neat.
The problem is that I'm trying to implement Google ADS using videojs-ima but I'm not getting any results but some errors.
The current initialization code is
  import {videoPlayer} from "vue-video-player";

  require('videojs-contrib-ads');
  require('videojs-youtube');
  require('videojs-contrib-hls');
  require('videojs-ima');

To implement the Ad, I'm using the player readied event in which I include the ima3.js library and initialize the ima options:
        let ima_script = document.createElement('script');
        ima_script.type = "text/javascript";
        ima_script.src = "https://imasdk.googleapis.com/js/sdkloader/ima3.js";
        document.getElementsByTagName('head')[0].appendChild(ima_script);

        player.ima({
          id: 'videojs-player',
          adTagUrl: 'https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dlinear&correlator=',
          disableFlashAds: true
        });

After trying to load it I get the next error:
Safari - ReferenceError: Can't find variable: google
Firefox - ReferenceError: Can't find variable: google
The video itself can be played but the ads doesn't appear at all.
Thanks in advance.

Hmm it definitely looks like the ima3.js script is either not being loaded or not being loaded properly. If you open the console on the page are you able to create an AdsRequest with var adsRequest = new google.ima.AdsRequest();?

Hey there - it's been a while since we've heard from you, so I'm going to close this out. If you're still seeing this issue, feel free to comment here and we can take re-open it. Thanks!

Hi Shawn,
I'm running into a similar problem here where the symptom is a log entry of "[Error] ReferenceError: Can't find variable: google" from the line "const adsRequest = new google.ima.AdsRequest();" However, it appears that the root problem is that ima3.js isn't loading due to a CORS error that only occurs in Safari (Mac or iPhone).
[Error] Blocked a frame with origin "https://" from accessing a frame with origin "https://**". Protocols, domains, and ports must match.\
This is followed by logging from ima3.js which is pretty cryptic:
Nh (ima3.js:91)
Oh (ima3.js:92)
start (ima3.js:356:165)
This is followed by logging from show_ads_impl.js (there is much, much more I didn't copy):
Ft (show_ads_impl.js:1:162176)
yt (show_ads_impl.js:1:171721)
At (show_ads_impl.js:1:161025)
uu (show_ads_impl.js:1:181688)
(anonymous function) (show_ads_impl.js:1:48771)
si (show_ads_impl.js:1:48481)\
Our systems are on AWS and the files being accessed are in an S3 bucket with standard AWS CORS headers that work for all other desktop and mobile browsers and have worked for Safari in the past so I'm not sure what changed. All ads for this are coming from Google (Doubleclick) servers. You can test this using Safari at:
https://apps.facebook.com/applixirtest
Let me know if you have any idea why Safari is having a problem with this and why this is stopping ima3.js from loading.
Thanks,
Dean

hello
Uncaught ReferenceError: google is not defined
    at SdkImpl.initAdObjects (videojs.ima.js?6665:1284)
    at SdkImpl.onPlayerReady (videojs.ima.js?6665:1623)
    at Controller.onPlayerReady (videojs.ima.js?6665:2276)
    at PlayerWrapper.onPlayerReady (videojs.ima.js?6665:282)
    at bound (video.cjs.js?3d33:2344)
    at eval (video.cjs.js?3d33:4563)

when tried this var adsRequest = new google.ima.AdsRequest(); in console same error google is not defined

hello
Uncaught ReferenceError: google is not defined
    at SdkImpl.initAdObjects (videojs.ima.js?6665:1284)
    at SdkImpl.onPlayerReady (videojs.ima.js?6665:1623)
    at Controller.onPlayerReady (videojs.ima.js?6665:2276)
    at PlayerWrapper.onPlayerReady (videojs.ima.js?6665:282)
    at bound (video.cjs.js?3d33:2344)
    at eval (video.cjs.js?3d33:4563)

when tried this var adsRequest = new google.ima.AdsRequest(); in console same error google is not defined
I am able to fix this issue by following as below
// inside main.js
import LoadScript from "vue-plugin-load-script";

Vue.use(LoadScript);

Vue.loadScript("https://imasdk.googleapis.com/js/sdkloader/ima3.js")
  .then(() => {
    // Script is loaded, do something
    console.log("ima3 loaded");
  })
  .catch(() => {
    // Failed to fetch script
    console.log("ima3 load failed");
  });

What is your vue.config? I get CORS errors using this


Explicitly config num_labels in example

to make it obvious when new users use own dataset

Ok ... makes sense to me (its one of the things most folks don't notice when they start with transformers).  Thanks!


Add script that facilitates using both SD Cards for roms storage on r36s

Please add this script from AeolusUX github for r36s
https://github.com/AeolusUX/ArkOS-R3XS/releases/tag/ArkOS.V2.0.02062024
"Added script that facilitates using both SD Cards for roms storage.
Go to Options -> Advanced -> Switch to SD2 for Roms, Run the script and wait for it to finish.
There should be a new item available at Options -> Advanced -> Read from SD1 and SD2 for Roms run it and it will restart Emulation Station and now show all roms from both cards.
(Thanks to: christianhaitian for pointing out how to do it and kc234567890 for making the initial config that makes this possible for all systems.)
"

Not something I will officially support. You’re welcome to add this to your own setup though.

Why you not added this usefull feature?
I  do not know how add this sctipt by myself :(

I'm not interested in it.  Contact AeolusUX for assistance on how to replicate this on your end.


PrettyPrinter: Custom colors?

In VS Code in the debug console, error messages are very hard to read because they are blue text on red background. It would be great if there were a way to customize the colors.

https://github.com/leisim/logger/pull/137


Dynamic / Named Colors

Hi there,
First off - LOVE this library!
I wanted to ask if there were any way to used named/dynamic colors, such that the color changes when the device changes UIUserInterfaceStyle (i.e. from Light Mode to Dark Mode)
This feature is available for UIColor in iOS 13+ using UIColor(named:) if using Asset Catalogs or:
let dynamicColor = UIColor { (traitCollection: UITraitCollection) -> UIColor in
    switch traitCollection.userInterfaceStyle {
    case
      .unspecified,
      .light: return .white
    case .dark: return .black
    }
}

if creating them programmatically.
I noticed that the initialisers for Color in Macaw don't seem to allow for this.
If it's not currently supported, are there any plans to do so?
Alternatively, how would I go about manually changing the colours of my nodes upon detecting a change in the UIUserInterfaceStyle?
Cheers,
Saf

Hi, @project-academy , actually Macaw doesn't support dark mode for now, but it is good idea to add minimal methods for supporting changing trait collection etc


Getting 503 - Replicated Control Planes

Hi,
I have been following this doc: https://istio.io/latest/docs/setup/install/multicluster/gateways/ for setting up multi-cluster istio. I followed the same steps but I am getting 503 when using the curl command:
kubectl exec -it sleep-6bdb595bcb-ssb58 -n foo -c sleep -- curl -I httpbin.bar.global:8000/headers
I used CoreDNS >=  1.4.0. I want to use Egress's way of connecting two services. I tried both the hostname and IP address option of service entry.
For IP Address, I am doing nslookup for LB for istio-ingressgateway of httpbin cluster and putting the IP in place of ${CLUSTER2_GW_ADDR}
endpoints:
  - address: ${CLUSTER2_GW_ADDR}
    network: external
    ports:
      http1: 15443 # Do not change this port value
  - address: ${CLUSTER1_EGW_ADDR}
    ports:
      http1: 15443

For hostname, I am putting LB address in place of ${CLUSTER2_GW_ADDR}
endpoints:
  - address: ${CLUSTER2_GW_ADDR}
    network: external
    ports:
      http1: 15443
  - address: istio-egressgateway.istio-system.svc.cluster.local
    ports:
      http1: 15443

Both ways are not working and I am getting 503 errors. I am not sure how to debug this? Do, I need to create virtualservice/destination if httpbin?
Thanks

hi! @kpiyush17  install Replicated Control Planes , remote cluster  does not require creating an virtualservice/destination, What are the error logs?  istiod ,coredns

Hi,
I checked istiod, coredns, and istio-proxy logs. I used kubectl logs -f and I do not see any logs when I am calling:
> kubectl exec -it sleep-6bdb595bcb-ssb58 -c sleep -- curl -I http://httpbin.bar.global:8000/headers
HTTP/1.1 503 Service Unavailable
content-length: 91
content-type: text/plain
date: Mon, 29 Jun 2020 04:17:43 GMT
server: envoy

Do you create resources ServiceEntry ?  in ManagerCluster

Yes, my current ServiceEntry:
kubectl apply -n foo -f - <<EOF
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
  name: httpbin-bar
spec:
  hosts:
  - httpbin.bar.global
  location: MESH_INTERNAL
  ports:
  - name: http1
    number: 8000
    protocol: http
  resolution: DNS
  addresses:
  - <IP_ADDRESS>
  endpoints:
  - address: <>.eu-west-1.elb.amazonaws.com
    network: external
    ports:
      http1: 15443
  - address: istio-egressgateway.istio-system.svc.cluster.local
    ports:
      http1: 15443
EOF

Do you telnet  <>.eu-west-1.elb.amazonaws.com: 15443  your RemoteCluster is  successful?

Yes, it is successful.

Can anyone help me with this?

Can you tell me the detailed operation steps

Istio version: 1.6.1
K8s version: 1.15 AWS EKS
Access log  from sleep proxy:
2020-06-29T23:11:31.227036061Z {"bytes_sent":"0","upstream_cluster":"outbound|8000||httpbin.bar.global","downstream_remote_address":"<IP_ADDRESS>:52516","authority":"httpbin.bar.global:8000","path":"/headers","protocol":"HTTP/1.1","upstream_service_time":"-","upstream_local_address":"-","duration":"31","upstream_transport_failure_reason":"-","route_name":"default","downstream_local_address":"<IP_ADDRESS>:8000","user_agent":"curl/7.69.1","response_code":"503","response_flags":"UF,URX","start_time":"2020-06-29T23:11:26.760Z","method":"HEAD","request_id":"a90caa24-a48e-4f5c-b0ec-77c15ad0e3ab","upstream_host":"<IP_ADDRESS>:15443","x_forwarded_for":"-","requested_server_name":"-","bytes_received":"0","istio_policy_status":"-"}

In the above log "upstream_host":"<IP_ADDRESS>:15443", this is egress cluster IP.
But there are no access logs on the egress side. So, I am assuming traffic not going to egress properly.
My istio yaml:
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
  addonComponents:
    istiocoredns:
      enabled: true
    kiali:
      enabled: true
    tracing:
      enabled: true
    prometheus:
      enabled: false

  components:
    egressGateways:
      - name: istio-egressgateway
        enabled: true
    telemetry:
        enabled: true
    citadel:
        enabled: true

  meshConfig:
    accessLogFile: "/dev/stdout"
    accessLogEncoding: JSON

  values:
    global:
      # Provides dns resolution for global services
      podDNSSearchNamespaces:
        - global

      multiCluster:
        enabled: true

      controlPlaneSecurityEnabled: true

      proxy:
        privileged: true

    gateways:
      istio-egressgateway:
        env:
          ISTIO_META_REQUESTED_NETWORK_VIEW: "external"

do you create k8s secret source in remote-cluster  and manager-cluster?
example
➜  ~ kc get secret -n istio-system cacerts NAME      TYPE     DATA   AGE cacerts   Opaque   4      19d
check your remote-cluster  and manager-cluster it is consistent?

Yes, the secrets were created. I am using the one provided in the samples by istio. Both clusters using the same istio yaml. Is meshExpansion mandatory?

yes ! It has to be  meshExpansion ,
this is istio doc yaml
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
  addonComponents:
    istiocoredns:
      enabled: true

  components:
    egressGateways:
      - name: istio-egressgateway
        enabled: true

  values:
    global:
      # Provides dns resolution for global services
      podDNSSearchNamespaces:
        - global
 #       - "{{ valueOrDefault .DeploymentMeta.Namespace \"default\" }}.global"

      multiCluster:
        enabled: true

      controlPlaneSecurityEnabled: true

    gateways:
      istio-egressgateway:
        env:
          # Needed to route traffic via egress gateway if desired.
          ISTIO_META_REQUESTED_NETWORK_VIEW: "external"

@ClareChu But I am not seeing meshExpansion in the above yaml.

you need to take care istio-ingressgateway sevice EXTERNAL-IP
➜  multicluster kc get svc -n istio-system istio-ingressgateway
NAME                   TYPE           CLUSTER-IP     EXTERNAL-IP   PORT(S)                                                                                AGE
istio-ingressgateway   LoadBalancer   <IP_ADDRESS>   <IP_ADDRESS>   15021:27145/TCP,80:35849/TCP,443:37072/TCP,15443:22904/TCP,15011:36129/TCP,15012:31516/TCP,8060:28389/TCP,853:31960/TCP   19d

In my service entry yaml, I am using Load Balancer URL only provided by AWS.
kubectl apply -n foo -f - <<EOF
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
  name: httpbin-bar
spec:
  hosts:
  - httpbin.bar.global
  location: MESH_INTERNAL
  ports:
  - name: http1
    number: 8000
    protocol: http
  resolution: DNS
  addresses:
  - <IP_ADDRESS>
  endpoints:
  - address: <>.eu-west-1.elb.amazonaws.com
    network: external
    ports:
      http1: 15443
  - address: istio-egressgateway.istio-system.svc.cluster.local
    ports:
      http1: 15443
EOF

@ClareChu But I am not seeing meshExpansion in the above yaml. Adding meshExpansion and applying it.

meshExpansion didn't do it

  - address: istio-egressgateway.istio-system.svc.cluster.local
    ports:
      http1: 15443

what does this one mean?

I think this is for the traffic to go through egress. Using this yaml provided in the doc: [https://istio.io/latest/docs/setup/install/multicluster/gateways/#send-remote-traffic-via-an-egress-gateway]

apiVersion: networking.istio.io/v1beta1
kind: ServiceEntry
metadata:
  creationTimestamp: "2020-06-12T11:32:15Z"
  generation: 7
  name: httpbin-bar
  namespace: foo
  resourceVersion: "1662199"
  selfLink: /apis/networking.istio.io/v1beta1/namespaces/foo/serviceentries/httpbin-bar
  uid: 07862e34-4848-455e-9e20-f517b488d84a
spec:
  addresses:
  - <IP_ADDRESS>
  endpoints:
  - address: <IP_ADDRESS>
    ports:
      http1: 15443
  hosts:
  - httpbin.bar.global
  location: MESH_INTERNAL
  ports:
  - name: http1
    number: 8000
    protocol: http
  resolution: DNS

我认为这是为了让流量通过出口。使用文档中提供的以下Yaml：https：//istio.io/latest/docs/setup/install/multicluster/gateways/#send-remote-traffic-via-an-egress-gateway
我正在使用主机名yaml之一。

@kpiyush17  I do not using  AWS Load Balancer URL, So this place didn't help you

So, in the case of your ServiceEntry yaml, the sidecar will directly talk to the ingress-gateway of the remote cluster which is working. But, I want the traffic to go through egress gateway.

ok， Then I'll let you know after I've tried.  I think No problem
And tell you how to configure it

Send remote traffic via an egress gateway
serviceentry.yml
apiVersion: networking.istio.io/v1beta1
kind: ServiceEntry
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"networking.istio.io/v1beta1","kind":"ServiceEntry","metadata":{"annotations":{},"creationTimestamp":"2020-06-12T11:32:15Z","generation":11,"name":"httpbin-bar","namespace":"foo","resourceVersion":"5471232","selfLink":"/apis/networking.istio.io/v1beta1/namespaces/foo/serviceentries/httpbin-bar","uid":"07862e34-4848-455e-9e20-f517b488d84a"},"spec":{"addresses":["<IP_ADDRESS>"],"endpoints":[{"address":"<IP_ADDRESS>","network":"external","ports":{"http1":15443}},{"address":"<IP_ADDRESS>","ports":{"http1":15443}}],"hosts":["httpbin.bar.global"],"location":"MESH_INTERNAL","ports":[{"name":"http1","number":8000,"protocol":"http"}],"resolution":"DNS"}}
  creationTimestamp: "2020-07-02T11:04:07Z"
  generation: 2
  name: httpbin-bar
  namespace: foo
  resourceVersion: "5507354"
  selfLink: /apis/networking.istio.io/v1beta1/namespaces/foo/serviceentries/httpbin-bar
  uid: 77437706-b3db-49a9-96dd-9a857cca0cbe
spec:
  addresses:
  - <IP_ADDRESS>
  endpoints:
  - address: <IP_ADDRESS>
    network: external
    ports:
      http1: 15443
  - address: <IP_ADDRESS>
    ports:
      http1: 15443
  hosts:
  - httpbin.bar.global
  location: MESH_INTERNAL
  ports:
  - name: http1
    number: 8000
    protocol: http
  resolution: STATIC

kubectl get --context=$CTX_CLUSTER2 svc --selector=app=istio-ingressgateway \
    -n istio-system -o jsonpath="{.items[0].status.loadBalancer.ingress[0].ip}"

CLUSTER2_GW_ADDR = <IP_ADDRESS>
  - address: <IP_ADDRESS>
    ports:
      http1: 15443

@ClareChu Thanks. I will try this. <IP_ADDRESS> what is this IP, internal egress one?

@ClareChu谢谢。我会尝试的。<IP_ADDRESS>集群1的内部出口IP是什么？

<IP_ADDRESS> ---> remote-cluster gateway address

Then, both IPs <IP_ADDRESS>, <IP_ADDRESS> are remote cluster gateway?
This is also remote gateway address as mentioned above ---> CLUSTER2_GW_ADDR = <IP_ADDRESS>?

➜  ~ kc get svc -n istio-system istio-egressgateway --context manager-cluster
NAME                  TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)                    AGE
istio-egressgateway   ClusterIP   <IP_ADDRESS>   <IP_ADDRESS>   80/TCP,443/TCP,15443/TCP   20d

do you konw?

It seems to be working using IPs and resolution: STATIC. But is there a way to ensure that it is going through egress?

它似乎正在使用IP和resolution: STATIC。但是有没有办法确保它正在通过出口？
PS：如果我更改CLUSTER1_EGW_ADDR= <IP_ADDRESS>为服务FQDN名称：istio-egressgateway.istio-system.svc.cluster.local，它将停止工作。

yes,  you update CLUSTER1_EGW_ADDR to istio-egressgateway svc address , It's also working
resolution: DNS

Sorry for the late reply. So, here is what I have tried:
In my primary cluster: <IP_ADDRESS> --> Egress cluster IP

This is working. But in the sleep service access logs, the upstream host is <remote_cluster_external_ingress_ip> which I assuming is not going through egress.

resolution: STATIC
- address: <remote_cluster_external_ingress_ip>
    network: external
    ports:
      http1: 15443
  - address: <IP_ADDRESS>
    ports:
      http1: 15443

yes, you update CLUSTER1_EGW_ADDR to istio-egressgateway svc address , It's also working

I tried this,
resolution: DNS
- address: <remote_cluster_external_ingress_ip>
    network: external
    ports:
      http1: 15443
  - address: istio-egressgateway.istio-system.svc.cluster.local
    ports:
      http1: 15443

This is giving 503. Error upstream connect error or disconnect/reset before headers. reset reason: connection failure. Here the upstream host is showing <IP_ADDRESS>. Can you check the access logs for the upstream host?

I tried this also:

resolution: DNS
  - address: <load_balancer_url>.amazonaws.com
    network: external
    ports:
      http1: 15443
- address: istio-egressgateway.istio-system.svc.cluster.local
    ports:
      http1: 15443

Same error as point 2.

Hi, I got the same issue. Below are images when I debugging Envoy and Istiod:

My sample config for 2 k8s clusters:
Cluster A:
apiVersion: v1
kind: ConfigMap
metadata:
  name: coredns
  namespace: kube-system
data:
  Corefile: |
    .:53 {
        errors
        health
        ready
        kubernetes cluster.local in-addr.arpa ip6.arpa {
           pods insecure
           upstream
           fallthrough in-addr.arpa ip6.arpa
        }
        prometheus :9153
        forward . /etc/resolv.conf
        cache 30
        loop
        reload
        loadbalance
    }
    global:53 {
        errors
        cache 30
        forward . <IP_ADDRESS>:53
    }
---
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
  name: httpbin-foo
spec:
  hosts:
  # must be of form name.namespace.global
  - httpbin.foo.global
  # Treat remote cluster services as part of the service mesh
  # as all clusters in the service mesh share the same root of trust.
  location: MESH_INTERNAL
  ports:
  - name: http1
    number: 8000
    protocol: http
  resolution: DNS
  addresses:
  - <IP_ADDRESS>
  endpoints:
  # This is the routable address of the ingress gateway in cluster2 that
  # sits in front of sleep.foo service. Traffic from the sidecar will be
  # routed to this address.
  - address: <IP_ADDRESS>
    ports:
      http1: 30538 # Do not change this port value

---
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
  name: httpbin-bar
spec:
  hosts:
  # must be of form name.namespace.global
  - httpbin.bar.global
  # Treat remote cluster services as part of the service mesh
  # as all clusters in the service mesh share the same root of trust.
  location: MESH_INTERNAL
  ports:
  - name: http1
    number: 8000
    protocol: http
  resolution: DNS
  addresses:
  - <IP_ADDRESS>
  endpoints:
  # This is the routable address of the ingress gateway in cluster2 that
  # sits in front of sleep.foo service. Traffic from the sidecar will be
  # routed to this address.
  - address: <IP_ADDRESS>
    ports:
      http1: 30538 # Do not change this port value
---
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
  name: httpbin-legacy
spec:
  hosts:
  # must be of form name.namespace.global
  - httpbin.legacy.global
  # Treat remote cluster services as part of the service mesh
  # as all clusters in the service mesh share the same root of trust.
  location: MESH_INTERNAL
  ports:
  - name: http1
    number: 8000
    protocol: http
  resolution: DNS
  addresses:
  - <IP_ADDRESS>
  endpoints:
  # This is the routable address of the ingress gateway in cluster2 that
  # sits in front of sleep.foo service. Traffic from the sidecar will be
  # routed to this address.
  - address: <IP_ADDRESS>
    ports:
      http1: 30538 # Do not change this port value

Cluster B:
apiVersion: v1
kind: ConfigMap
metadata:
  name: coredns
  namespace: kube-system
data:
  Corefile: |
    .:53 {
        errors
        health
        ready
        kubernetes cluster.local in-addr.arpa ip6.arpa {
           pods insecure
           upstream
           fallthrough in-addr.arpa ip6.arpa
        }
        prometheus :9153
        forward . /etc/resolv.conf
        cache 30
        loop
        reload
        loadbalance
    }
    global:53 {
        errors
        cache 30
        forward . <IP_ADDRESS>:53
    }
---
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
  name: httpbin-foo
spec:
  hosts:
  # must be of form name.namespace.global
  - httpbin.foo.global
  # Treat remote cluster services as part of the service mesh
  # as all clusters in the service mesh share the same root of trust.
  location: MESH_INTERNAL
  ports:
  - name: http1
    number: 8000
    protocol: http
  resolution: DNS
  addresses:
  - <IP_ADDRESS>
  endpoints:
  # This is the routable address of the ingress gateway in cluster2 that
  # sits in front of sleep.foo service. Traffic from the sidecar will be
  # routed to this address.
  - address: <IP_ADDRESS>
    ports:
      http1: 32690 # Do not change this port value

---
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
  name: httpbin-bar
spec:
  hosts:
  # must be of form name.namespace.global
  - httpbin.bar.global
  # Treat remote cluster services as part of the service mesh
  # as all clusters in the service mesh share the same root of trust.
  location: MESH_INTERNAL
  ports:
  - name: http1
    number: 8000
    protocol: http
  resolution: DNS
  addresses:
  - <IP_ADDRESS>
  endpoints:
  # This is the routable address of the ingress gateway in cluster2 that
  # sits in front of sleep.foo service. Traffic from the sidecar will be
  # routed to this address.
  - address: <IP_ADDRESS>
    ports:
      http1: 32690 # Do not change this port value
---
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
  name: httpbin-legacy
spec:
  hosts:
  # must be of form name.namespace.global
  - httpbin.legacy.global
  # Treat remote cluster services as part of the service mesh
  # as all clusters in the service mesh share the same root of trust.
  location: MESH_INTERNAL
  ports:
  - name: http1
    number: 8000
    protocol: http
  resolution: DNS
  addresses:
  - <IP_ADDRESS>
  endpoints:
  # This is the routable address of the ingress gateway in cluster2 that
  # sits in front of sleep.foo service. Traffic from the sidecar will be
  # routed to this address.
  - address: <IP_ADDRESS>
    ports:
      http1: 32690 # Do not change this port value

same issue with istio-1.7.0, but the same configuration works on istio-1.6.8. Totally follow the document and run on kind

Same issue with istio 1.7.0, Works with 1.6.8

Same issue with 1.7.1, working with 1.6.8 though

The issue is still valid. Can somebody /remove-lifecycle stale please?

/remove-lifecycle stale

I get the same with clusters in AWS is this consistent with it. When going from AWS to GCP it works. When going from GCP to AWS I get these 503 errors.
The connection debug logs show:-
2020-10-01T15:35:28.577148Z	debug	envoy connection	[C333] connecting to <IP_ADDRESS>:15443
2020-10-01T15:35:28.577316Z	debug	envoy connection	[C333] connection in progress
2020-10-01T15:35:28.587518Z	debug	envoy connection	[C333] connected
2020-10-01T15:35:28.587622Z	debug	envoy connection	[C333] handshake expecting read
2020-10-01T15:35:28.598935Z	debug	envoy connection	[C333] handshake error: 5
2020-10-01T15:35:28.598964Z	debug	envoy connection	[C333]
2020-10-01T15:35:28.598969Z	debug	envoy connection	[C333] closing socket: 0
2020-10-01T15:35:28.643445Z	debug	envoy connection	[C334] connecting to <IP_ADDRESS>:15443
2020-10-01T15:35:28.643568Z	debug	envoy connection	[C334] connection in progress
2020-10-01T15:35:28.653619Z	debug	envoy connection	[C334] connected
2020-10-01T15:35:28.653857Z	debug	envoy connection	[C334] handshake expecting read
2020-10-01T15:35:28.666264Z	debug	envoy connection	[C334] handshake error: 5
2020-10-01T15:35:28.666304Z	debug	envoy connection	[C334]
2020-10-01T15:35:28.666312Z	debug	envoy connection	[C334] closing socket: 0
2020-10-01T15:35:28.675526Z	debug	envoy connection	[C331] remote close
2020-10-01T15:35:28.675553Z	debug	envoy connection	[C331] closing socket: 0
2020-10-01T15:35:28.782013Z	debug	envoy connection	[C335] closing data_to_write=143 type=2
2020-10-01T15:35:28.782047Z	debug	envoy connection	[C335] setting delayed close timer with timeout 1000 ms
2020-10-01T15:35:28.782121Z	debug	envoy connection	[C335] write flush complete
2020-10-01T15:35:28.782453Z	debug	envoy connection	[C335] remote early close
2020-10-01T15:35:28.782483Z	debug	envoy connection	[C335] closing socket: 0
[2020-10-01T15:35:28.530Z] "GET /headers HTTP/1.1" 503 UF,URX "-" "-" 0 91 135 - "-" "curl/7.69.1" "db8a6217-7cfa-49c5-8e23-ab4c8143d132" "httpbin.bar.global:8000" "<IP_ADDRESS>:15443" outbound|8000||httpbin.bar.global - <IP_ADDRESS>:8000 <IP_ADDRESS>:41610 - default

Where the Ingress GW logs seem to show a NR message for these:-
[2020-10-01T15:35:28.660Z] "- - -" 0 NR "-" "-" 0 0 0 - "-" "-" "-" "-" "-" - - <IP_ADDRESS>:15443 <IP_ADDRESS>:14400 - -
[2020-10-01T15:35:34.446Z] "- - -" 0 NR "-" "-" 0 0 0 - "-" "-" "-" "-" "-" - - <IP_ADDRESS>:15443 <IP_ADDRESS>:6300 - -
[2020-10-01T15:35:34.486Z] "- - -" 0 NR "-" "-" 0 0 0 - "-" "-" "-" "-" "-" - - <IP_ADDRESS>:15443 <IP_ADDRESS>:37898 - -
[2020-10-01T15:35:34.529Z] "- - -" 0 NR "-" "-" 0 0 0 - "-" "-" "-" "-" "-" - - <IP_ADDRESS>:15443 <IP_ADDRESS>:10141 - -

Hi. Same issue with 1.7.3. Any way to solve this without having to revert to an older version?

Any plans to fix this or any one knows work around?

Can someone please look into this?

/reopen

/reopen


cmd+s doesn't seem to reliably save the project

From Slack:

I press cmd + s
then I wait a bit
then I press reload
warning dialog comes up
I press reload anyway
data is lost
what I usually do is I copy my app ui js contents
and keep pressing cmd + s + reload until the dialog does not come up

Possibly related to the brittleness here?

new project, trying to close it as soon as the welcome tab finished loading triggers the alert
opening a new project, clicking on the app.js tab, clicking back to the Welcome tab, triggers the alert when trying to close
new project, making a change to a code file via the design tool and then undoing it with CMD+Z correctly "resets" the dot, but triggers the alert when trying to close

extra information: it seems like pressing cmd + s in the code editor does not trigger a project save! pressing cmd + s on the canvas does seem to do the trick

As part of debugging some of the github import issues I noticed that cmd+s in the code editor triggers a project save, but doesn't include the updated model in the request sent to the server. Picking this up now.


refactor: Port examples to Fragmentizer

Don't forget that the examples are duplicated in Python

@duesee Can this be closed?

Yes.


CAMEL-15056: camel-main: provide a way to bring a custom engine to control shutdown logic

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] If you're unsure, you can format the pull request title like [CAMEL-XXX] Fixes bug in camel-file component, where you replace CAMEL-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Run mvn clean install -Psourcecheck in your module with source check enabled to make sure basic checks pass and there are no checkstyle violations. A more thorough check will be performed on your pull request automatically.
Below are the contribution guidelines:
https://github.com/apache/camel/blob/master/CONTRIBUTING.md

@davsclaus here a small POC to provide a custom shut-down strategy, mind having a look ?

After merging this PR we may want to compile camel-example and camel-spring-boot in case something is affected.

After merging this PR we may want to compile camel-example and camel-spring-boot in case something is affected.

I'm on it

@davsclaus the spring boot side is also done https://github.com/apache/camel-spring-boot/pull/69


Calibration?

How do you enter the offsets acquired during calibration? Otherwise, the values read from the device are raw and meaningless.

Because no procedure for calibration of the hardware is given in the datasheet, there is no calibration implemented.
What does lack in this module is an implementation of the self test procedure (7.12 of the datasheet).

I'm not asking how to calibrate it. This Arduino sketch explains how to do that http://wired.chillibasket.com/2015/01/calibrating-mpu6050/
I'm asking how to enter the 6 offsets (three for the accelerometer and three for the gyroscope). These are registers on the device:
MPU6050_RA_XA_OFFS_H
MPU6050_RA_YA_OFFS_H
MPU6050_RA_ZA_OFFS_H
MPU6050_RA_XG_OFFS_USRH
MPU6050_RA_YG_OFFS_USRH
MPU6050_RA_ZG_OFFS_USRH
If you don't enter these, the values read from the device will be useless.

While developing this module I used the MPU-6050 Register Map and Descriptions file (Document number: RM-MPU-6000A-00, release date: 4.2, Release date: 2013-08-19) which does not include information about the offset registers. Because of this, there is currently no option to use these registers in this module, since I only just learned about their existence (thanks to you because you pointed this out).

I've decided that because for most applications calibrating the MPU-6050 is not necessary, since the factory calibration will be precise enough, that I won't add support for these calibration features.
If you want to add these features to this project, you're welcome to do so.

@m-rtijn I am not sure if I am doing something wrong, but I get bias of 16 d/s on the X gyro data. that makes it pretty much unusable without calibration.
Would be great to understand what is the way to overcome this, right now I have done a wrapper that adjusts for errors

@m-rtijn I am not sure if I am doing something wrong, but I get bias of 16 d/s on the X gyro data. that makes it pretty much unusable without calibration.
Would be great to understand what is the way to overcome this, right now I have done a wrapper that adjusts for errors

@byapparov  The Arduino-MPU6050 library (linked from the official site) does basically what you do: the readNormalizeGyro() function subtracts a fixed offset  and performs thresholding, both set from calibration at program start calibrateGyro().

It seems that there also exists a Linux kernel module that implements interfacing with the MPU6050, that code can also be used as inspiration: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/iio/imu/inv_mpu6050?h=v6.3


Issues with view-pdf

I am having 2 issues with the view-pdf feature.

The navigation icons in the top right corner are not rendering correctly.

screenshot1

When I add an image, it shrinks down to a line and can't be resized.

screenshot2

Few things
Can you press f12 and right click refresh button and do refresh hard and cache
If that doesn't work can you also answer
Are you running with login function
Are you using nginx or similar?

And any logs in the f12 console

@Frooodle A hard refresh did not help.
I was running with the login function, but I turned it off and still had the same issue.
I am running behind a Cloudflare tunnel.

It looks like view-pdf doesn't work properly if the SYSTEM_ROOTURIPATH environment variable is set.
It's trying to load a couple files like pdf.js, but tries to access from the root path. If system_rooturipath is set to /pdf, it should access the file from /pdf/pdfjs/pdf.js but instead tries to access /pdfjs/pdf.js which is resulting in a 404 error.
Something like RewriteRule ^/pdfjs/(.*?)$ /pdf/pdfjs/$1 [R] should work as a quick fix in your reverse proxy config.

Thanks for the investigation on this
I'll see what I can do on my end!

Thank you @mk-hs for your input. Unfortunately, that doesn't seem to be the issue in my case as I don't have the SYSTEM_ROOTURIPATH set (as far as I know). I don't know what the location of pdf.js is in my system (Kubernetes), but I do know that /pdfjs/pdf.worker.js is loading just fine.

I am making some changes to fix that rootpath issue
Hoping we get lucky and it fixes your issue too

Hello,
have you found an idea for the solution yet?
Here the longlist of Problems, produced under Firefox by starting the app:
Layout-Darstellung wurde erzwungen, bevor die Seite vollständig geladen war.  Verwenden Sie stattdessen die Erweiterungs-API tabs.captureTab https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/tabs/captureTab pagedata-script.js:1:12509
PDF 289a576d8b729810b84600c76ce988b7 [1.7 LibreOffice 7.6 / Writer] (PDF.js: 3.11.174 [ce8716743]) app.js:1674:56
Warning: TT: undefined function: 21 pdf.worker.js:1019:13
#editor_alt_text_button_label is undefined. viewer.js:14124:33
#editor_alt_text_edit_button_label is undefined. viewer.js:14124:33
#editor_alt_text_decorative_tooltip is undefined. viewer.js:14124:33

Can you report back if you still have issues!

I updated to 0.16.1 without changing anything else. Still having the same issues.

Weird another person raised same issue and said it was resolved

Same problem not solved for me yet.
You can test it for yourself here: https://pdf.hub.s-w-w.com/view-pdf

Now im even more confused

What browser are you using, perhaps browser specific?

I'm having the issues across different browsers and computers. I tested in Edge, Chrome and Firefox.
@Frooodle is your screenshot from @HagspielBu 's link?

Yes it's from that link
How weird

You can also test it under iOS or Android. No difference in this behaviour.
I analysed the logs of the docker-stack:  No faults. I suppose, it is the JS-intpretor.
Realy funny!
If I find some time next days, I make an installation under Synology-Linux. Or is there anywhere a better docker-build?
It's not realy a great problem. You can import pictures with ".../add-image".
But for the moment, there are some more difficults with performance (OCRmyPDF and Tesseract for OCR works really slow.) And the proggy still produce uncaught failiures.
One more problem is the bad workflow: The different functions are not integrated. To load the same file for every different operation is a little bit crazy.
Perhaps an integration under Nextcloud would be a good idea?
Good evening!

The tested with the three standards Chrome, Firefox and Edge under Windows 11 and Android.
PS1:  On your screenshot I miss the buttons for import pictures and so on.
PS2:  Is there perhaps a problem with the language (german)?
Tschau!
Burkard
Von: Anthony Stirling @.>
Gesendet: Dienstag, 12. Dezember 2023 23:51
An: Frooodle/Stirling-PDF @.>
Cc: HagspielBu @.>; Comment @.>
Betreff: Re: [Frooodle/Stirling-PDF] Issues with view-pdf (Issue #468)
What browser are you using, perhaps browser specific?
—
Reply to this email directly, view it on GitHub https://github.com/Frooodle/Stirling-PDF/issues/468#issuecomment-1852936732 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ALIXZBKLTGVSHDS5XOTKNFDYJDNUFAVCNFSM6AAAAAA7AISRBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJSHEZTMNZTGI .
You are receiving this because you commented.  https://github.com/notifications/beacon/ALIXZBNUIAR5GHB6PYPJFGTYJDNUFA5CNFSM6AAAAAA7AISRBWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTOOGJBY.gif Message ID: @.*** @.***> >

I can confirm that this issue still persists, the rewrite rule is still necessary, otherwise:
GET 	https://server.url/pdfjs/pdf.worker.js Status 404 Not Found
although https://server.url/rooturl/pdfjs/pdf.worker.js would be required.
The original issue seems to be unrelated though.

I too have the image shrinking issue - installed using the docker image using chrome, edge and safari on ios all showing the same behaviour

I'm struggling to debug the image resize bug. It appears to be a bug in Stirling-PDF itself - I've tried on a couple of public instances and they show the same behaviour.
Adding an image to the mozilla pdf.js example (https://mozilla.github.io/pdf.js/web/viewer.html) does not exhibit the same bug on the same browsers.

More testing. It appears to be an error caused by the inclusion of bootstrap.min.css
Removing that link reverts the page to its expected behaviour.
Discovering that shows that if the page overwrites the css as follows if fixes the problem:
* { -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; }
https://github.com/VadimDez/ng2-pdf-viewer/issues/795


Add tunnel activation event

Fixes #188730

Looks like there's a service dependency cycle that I need to resolve.

The activation event looks okay, but in this PR the "Ports" view and "Forward a Port" commands aren't available unless there's an activated extension that has registered a tunnel factory. I think these would need to be shown if an extension has onTunnel in its activation events (or perhaps we need a static contribution` point)

@connor4312 thanks for noticing this! For now, I'll make a change to show the Ports view if there's an "onTunnel" extension installed. I'm not sure if we have a precedent of doing this, but it will be fine until I can bring it to the API sync.
I'll make the change in a separate PR.


fix pokemon_caught_by_type & rename unknown12

Shouldn't the type be .POGOProtos.Enums.PokemonId for Pokémon IDs? Or are there values outside that range?

@elfinlazz clarified that this is an array of counters indexed by type, thanks. For unk12, would time_since_last_locationfix_ms fit the existing name pattern better?

I can't wait for this to be merged ç_ç

Looks good! :+1:
Thank you for your work with updating the protos.


Custom values for brain_phantom

It would be useful to be able to change the default values. For example, when dealing with T1 or T2 changes due to different magnetic field strengths.
The changes on brain_phantom2D and brain_phantom3D allow the user to define the desired values if passed as an argument.

I think this is a good idea, but how this is implemented adds too many lines and complexity (you repeat the same code twice).
I would suggest having default values in custom_values (tissue_properties I think it is a better name) that give exactly what we have now.
If the user specifies tissue_properties, you could merge the custom properties with the new ones so that the user can define just a few tissues. Maybe a dictionary would be suitable for this.
I think this could be done without adding so many lines.

I think the default properties could do something similar to the simulation parameters, that have a default_brain_tissue_properties function. And the user defined parameters are merged to that. As it doesn't make sense to be defined twice (one in 2d and one in 3d).
Also is makes more sense that the keys for the dictionary were the tissue names, and that inside you can specify the per tissue properties in some documented order. As the other way around the user needs to remember which tissue was which and it's prone to errors.

Sorry about those last commits, the last one is the good one.
In summary, I wrote a default_brain_tissue_properties that is being called for creating the 2D and 3D brain phantom. That way, redefinition is avoided. Also, I changed the definition of tissue properties and now the names are being used. I hope those changes may address the suggestions.

It looks a lot better now!

Ok I had to merge another branch before and now this has merge conflicts. Could you solved them so I can merge this?

Hi @gsahonero when do you think you could finish this?

Sorry for taking this long. I hope the changes address the requested modifications.


DOCUMENTATIONS: Find Accounts of Hassan Habib And Link Them

This section in readme just shows the text, make them Markdown links to refer the accounts of Hassan Habib in corresponding platforms

https://www.markdownguide.org/basic-syntax/

YouTube
LinkedIn
Twitch
Twitter
Facebook
^^^^^^^ Markup ^^^^^^^
@hassanhabib @ElbekDeveloper can not seem to find the Twitch channel link.

Twitch channel: https://www.twitch.tv/binhabib

I got it @ElbekDeveloper


Contribution documentation

We need a CONTRIBUTING.md that describes how to get started with extending STEP and getting it running locally.


Tidy Cognito MFA implementation

This doesn't cause an error, but also doesn't make sense.
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/cognito-idp/client/associate_software_token.html returns a SecretCode (basically, the QR code).
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/cognito-idp/client/verify_software_token.html then requires EITHER an AccessToken (we don't have one) OR a Session (we have that) and then a UserCode (the six digits that change frequently) based on the SecretCode.
Presently, the frontend sends back the SecretCode (for no reason) and the backend then uses it as the AccessToken (no point).
We can first stop setting AccessToken= in the backend, and relax SetupMFA.secret to allow None. Then, later, we can stop sending the secret from the frontend. Finally, we can remove secret from SetupMFA.
This should be tested in staging, just in case I missed something.

Moto did recently add in 5.0.12 3 weeks ago

CognitoIDP: initiate_auth() now supports USERNAME_PASSWORD_AUTH and SMS/Software Token MFA

So, we can probably mock a user with MFA a different way (e.g. opt-in the user via set_user_mfa_preference or admin_set_user_mfa_preference), instead of trying to test the full lifecycle of setting up MFA and then logging in.
https://github.com/getmoto/moto/blob/master/CHANGELOG.md#5012

Separately, we are the only code on GitHub to reference ExpiredTemporaryPasswordException. It's not in boto docs. It's not in AWS docs. It's not on the internet.
I don't know where it came from in 755a3b84405283fc1c5f15959521fced078ad266

Did the first part in #441. What's left:

Then, later, we can stop sending the secret from the frontend. Finally, we can remove secret from SetupMFA.


3.0 - Final Phase, stage continued #11

Adding the method \Nova\Net\Router::matchedRoute and make the Callback optionally on default mode; useful for Testing

@daveismyname and @tomvlk I have a question for you:
WHY we need LIMIT on UPDATE/DELETE methods from Database Engine for MySQL?
To be honest, I never used LIMITs and I never seen them used, in this combination, in my 20 years length working with PHP. It is just another multi-pass?
To note that this thingie make us to copious duplicate the code in Database Engines.


Naming suggestion: config-value-sets OR config-deltas?

Description:
The config value sets in scenario scripts repos introduce a set of changes to an existing deployment. So, these config value sets contain config changes really - ie. deltas.
Hence, how about naming them as config-deltas instead?
WDYT?
Suggested Labels:
Type/Question
Suggested Assignees:
@chaminda @ushanib

It is ok for me but I believe that the usage of term delta is quite differ than the actual use case here we discuss.
when we consider 'delta' as a term in software release process and testing, it is always an incremental difference/or new addition to the existing product. But what we are doing here is setting some configurations in the existing product.
In future, in any case, if there will be a requirement to focus on or write tests specifically on  product-deltas(new implementations) then this term will be required or used.
Just my thoughts, and no any harm other than above to change it to config-deltas if we want. 👍

Answered. Hence, closing


yarn watchd starts twice for me

OS Version: macOS

Steps to Reproduce:

run yarn watchd from the command line outside VSCode
run web selfhost bits
hit Cmd+Shift+B inside web selfhost

=> 🐛 you can see another yarn watchd starting, not connecting to the first
I think this used to work before.
//cc @alexr00 for tasks

The scope is the cwd. Is the cwd exactly the same?

Oh. This has changed since I made core and extensions each run on its own process which improved the build times.
When running Ctrl Shift B, you get both yarn watch-clientd and yarn watch-extensionsd, not yarn watchd.

Yes, that explains it.


Flutter app flagged for missing accessibility content labels by Google Play Store

Flutter app is incorrectly flagged for missing Accessibility content labels by Google Play Store
See also: https://stackoverflow.com/questions/73313667/how-to-fix-google-play-console-warnings-about-missing-content-labels
Steps to Reproduce

Create an app.
Wrap every widget with Semantics widget
Submit to Google Play Store

Expected results:
No accessibility issues raised
Actual results:
700+ instances of accessibility issues of type content label missing raised by Google Play Store Console.
This is for a 4 screen app.
All instances show the app screenshot with the entire screen surrounded by a red line. So store is not identifying individual widgets, it just sees the entire screen as a widget. I suspect this has to do with how flutter framework renders things on screen, so play store bots get confused.

You can use demo app created with `flutter create` command
flutter create testApp

Logs

[√] Flutter (Channel beta, 3.3.0-0.3.pre, on Microsoft Windows [Version 10.0.19044.1889], locale en-US)
• Flutter version 3.3.0-0.3.pre on channel beta at C:\src\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 8c1149878b (8 days ago), 2022-08-10 12:15:36 -0500
• Engine revision f16e757d5d
• Dart version 2.18.0 (build 2.18.0-271.4.beta)
• DevTools version 2.15.0
[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
• Android SDK at C:\Users\dejan\AppData\Local\Android\sdk
• Platform android-32, build-tools 32.1.0-rc1
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[!] Visual Studio - develop for Windows (Visual Studio Community 2022 17.2.6)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.2.32630.192
• Windows 10 SDK version 10.0.22000.0
X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop development with C++" workload, and include these
components:
MSVC v142 - VS 2019 C++ x64/x86 build tools
- If there are multiple build tool versions available, install the latest
C++ CMake tools for Windows
Windows 10 SDK
[√] Android Studio (version 2021.2)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
[√] VS Code (version 1.70.2)
• VS Code at C:\Users\dejan\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.46.0
[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19044.1889]
• Chrome (web)      • chrome  • web-javascript • Google Chrome 98.0.4758.80
• Edge (web)        • edge    • web-javascript • Microsoft Edge 104.0.1293.54
[√] HTTP Host Availability
• All required HTTP hosts are available

Hello @under3415. Thank you for filing this issue. Labelling for further insights from the team.

For me, all the errors either come from the android:id/content/r[0] or android:id/content/FrameLayout[0] element paths, no matter in which screen of the app the tester is, so it's definitely a Flutter framework thing.
I hope these warnings don't cause ASO problems in the Play Store...

Any updates on this?

i have put semantics in the code  but the promblem is still comming in google play store kindly give me a solution plzz

the code
import 'package:cooking/pages/commonpage/signuppage.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:page_transition/page_transition.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:swipeable_button_view/swipeable_button_view.dart';
import '../../routes.dart';
class StartingPage extends StatefulWidget {
@override
State createState() => _StartingPageState();
}
class _StartingPageState extends State {
bool isFinished=false;
bool isFirstTime = true; // Flag to track if it's the first time
Future _checkFirstTime() async {
SharedPreferences prefs = await SharedPreferences.getInstance();
bool firstTime = prefs.getBool('firstTime') ?? true;
setState(() {
  isFirstTime = firstTime;
});

}
Future _updateFirstTimeFlag() async {
SharedPreferences prefs = await SharedPreferences.getInstance();
await prefs.setBool('firstTime', false);
}
@override
void initState() {
super.initState();
_checkFirstTime(); // Check if it's the first time
}
@override
Widget build(BuildContext context) {
if (isFirstTime) {
  TextStyle buttontextstyle;
  return Semantics(
    label: 'Starting page of the app',
    child: Scaffold(
      backgroundColor: Colors.white,
      body: SingleChildScrollView(
        child: SafeArea(
          child: Center(
            child: Column(
              children: [
                SizedBox(
                  height: 100.h,
                ),
                Semantics(
                  label: 'text written Ready to discover',
                  child: Text(
                    "Ready to discover",
                    semanticsLabel: 'text',
                    style:
                    TextStyle(fontSize: 20.sp, fontWeight: FontWeight.bold),
                  ),
                ),
            Semantics(
              label: 'text written your favourite food ',
                  child: Text(
                    " your favourite food ",
                    semanticsLabel: 'text',
                    style:
                    TextStyle(fontSize: 20.sp, fontWeight: FontWeight.bold),
                  ),
                ),
                Semantics(
                  label: 'text written with available ingredients? ',
                  child: Text(
                    "with available ingredients?",
                    style:
                    TextStyle(fontSize: 20.sp, fontWeight: FontWeight.bold),
                  ),
                ),
                Semantics(
                  child: Image(
                    image: AssetImage('assets/images/tt.avif'),
                    semanticLabel: 'Description of the image',

                    height: 260.h,
                  ),
                ),
                Semantics(
                  label: 'Sizedbox',
                  child: SizedBox(
                    height: 40,
                  ),
                ),
                Semantics(
                  label: 'text written Welcome to our culinary adventure! ',
                  child: Text(
                    "Welcome to our culinary adventure!",
                    style: TextStyle(fontSize: 17.sp),
                  ),
                ),
                Semantics(
                  label: 'text written Here are 1000 recipes for you to try. ',
                  child: Text(
                    "Here are 1000 recipes for you to try.",
                    style: TextStyle(fontSize: 17.sp),
                  ),
                ),
                Padding(
                  padding: EdgeInsets.symmetric(
                    horizontal: ScreenUtil().setWidth(20),
                    vertical: ScreenUtil().setHeight(40),
                  ),
                  child: Semantics(
                    label: 'Container',
                    child: Container(
                      decoration: BoxDecoration(
                        border: Border.all(
                          color: Colors.black, // Border color
                          width: 2.0, // Border width
                        ),
                        borderRadius: BorderRadius.circular(10.0), // Adjust the border radius as needed
                      ),
                      child: GestureDetector(
                        onLongPress: () {
                          // Handle long press on SwipeableButtonView
                        },
                        child: Semantics(
                          label: 'Slide button to get started',
                          child: SwipeableButtonView(
                            buttonText: 'SLIDE TO  GET STARTED',
                            buttontextstyle: buttontextstyle =  TextStyle(color: Colors.black,fontWeight: FontWeight.bold),

                            buttonWidget: Container(
                              child: Icon(
                                Icons.arrow_forward_ios_rounded,
                                color: Colors.black,
                              ),
                            ),
                            activeColor: Colors.white,
                            isFinished: isFinished,
                            onWaitingProcess: () {
                              Future.delayed(Duration(seconds: 1), () {
                                setState(() {
                                  isFinished = true;
                                });
                              });
                            },
                            onFinish: () async {
                              await _updateFirstTimeFlag(); // Update the flag
                              await Navigator.push(
                                context,
                                PageTransition(
                                  type: PageTransitionType.fade,
                                  child: SignPage(),
                                ),
                              );
                              setState(() {
                                isFinished = false;
                              });
                            },
                          ),
                        ),
                      ),
                    ),
                  ),

                )
              ],
            ),
          ),
        ),
      ),
    ),
  );
}else {
  if(FirebaseAuth.instance.currentUser!=null){
    WidgetsBinding.instance?.addPostFrameCallback((_) {
      Navigator.pushReplacementNamed(context, MyRoutes.navRoute);
    });
    return Container();

  }else{
    WidgetsBinding.instance?.addPostFrameCallback((_) {
      Navigator.pushReplacementNamed(context, MyRoutes.SignRoute);
    });
    return Container();

  }

}

}
}

Also have this annoying issue

I have the same problem.
The path of the element android:id/content/d0[1].

@ayan-gorain I don't think you need to wrap every widget like that with semantics. Text already have semantics, since it's text. Have you fixed the android app store console warnings though ?

I have the same problem. Did anyone ever find out what is causing this?

have de same problem.

any updates?

Need update info for this problem... @exaby73

I can confirm that issue appears with last flutter release

Same issue for me today, but my element path is different.  I have no idea which element is causing the issue.  I also tried wrapping some widgets in semantics but it didn't resolve the issue.
Element path: android:id/content/P[1]

any update anyone??
@HDLA-BG  from which version and after you mean?

Same issue for me today => android:id/content/w[1]
Thank you so much in advance if somebody finds a solution!

Hi @TetrixGauss
I am on 3.22.1

@HDLA-BG so in previous versions of 3.22.1 was ok for you? because i downgraded my flutter to 3.19.+ and i had the same problem.

@TetrixGauss
No I published my app with 3.22.1 I didn't tried with older version.

The same is here android:id/content/A[1]

Same problem here android:id/content/k[1]. I can't even update my app until I fix this. Google keeps rejecting my app and I don't know how to fix this. Using Semantics on widgets didn't help.

Same for me. We run the app  in flutter version 3.19.1. The app is already live and we have been able to upload updates until now. We just received it in the last update. I have sent an email to let them know that we did everything we could and added all the semantics needed. Their bot still complains.  Hopefully this fixes soon.

Upvote the original issue with a thumbs up to increase priority instead of "any updates?" and the likes which notify people needlessly.
So thumbs up this to increase the likelihood the flutter team looks into this: https://github.com/flutter/flutter/issues/109813#issue-1343737102

Right ✅ @cedvdb
Do thumbs up 👍 on the first comment so that flutter team could look into the issue as soon as possible: https://github.com/flutter/flutter/issues/109813#issue-1343737102

@reidbaker This issue has a recent uptick in reactions: 28 reactions in the last 90 days. Is this on the Android team's radar?

same problem. I have thumbed-up to the first comment as well

@reidbaker This issue has a recent uptick in reactions: 28 reactions in the last 90 days. Is this on the Android team's radar?

@loic-sharma and I talked in person but for everyone else in chat. We are escalating internally to figure out why this might be happening and will post an update here when we have something to share.

For googlers, this cl appears to have some special casing for flutter apps and how we use accessibility that assumes we are using apis that started to be available in api 33  cl/556056491. Looks like we added those apis here https://github.com/flutter/engine/pull/44452 but it was reverted.

sorry, I just realized i have relanded the change https://github.com/flutter/engine/pull/44589. so something else may be triggering the play store error. I will look into it further

I played around looks like it expect the FlutterView to have a content description, which is surprising because the android team does make an exception to skip flutter view.
If I hardcoded a content description in FlutterView in engine, the warning goes away.
will have to talk to Android team about this and see what may be the next step

Talked with android team. This should only happen for prelaunch report on devices below API 34. This also matches my local test. For those who have issues, can you verify if that is the case?
The next step is to talk to play console team to see if they can silence the false positive for below API 34.

I have the same problem. I get warnings on every page.
android:id/content/r[1]

recently post a new update of my app changing targetSdk to 34, every widget with semantic parent and still flagged for accesibility, Bug persist

I have same problem,,, play store give me warning that my whole screen has no label even though I have given sematic tag to root of my app , also root scaffold and body

recently post a new update of my app changing targetSdk to 34, every widget with semantic parent and still flagged for accesibility, Bug persist

Can you talk more about this? Do you still see the whole screen flagged as missing label? or just individual widgets. Do you have exact message that states what is wrong?

I have still this problem,,,, no other widget has problem,,,, the whole full screen is getting warning even I have updated app and added sematic tag to root widget...
Element path is
android:id/content/t[1]

If the issue came from the device below 34 please ignore it for now. Those are false positive and I am working with Android team to silence the warning. These false positive should all be full screen missing label warning. If you see something else below 34, please report here ideally with some screen shot.
For above 34, if you are seeing something not expected, please report here as well.
Here is how to check what API level from a warning

But google will reject app if it contains warning

If you see something else below 34, please report here ideally with some screen shot.

Did you mean "If you see something else equal to or above 34, please report here ideally with some screen shot."

If you see something else below 34, please report here ideally with some screen shot.

Did you mean "If you see something else equal to or above 34, please report here ideally with some screen shot."

No I meat if you see something that is not a full screen missing label warning and the device is below 34, please report.
I would like to know if there is something else that may not be a false positive below 34, though I doubt it. I just want to be safe that we are not missing anything.

If the issue came from the device below 34 please ignore it for now. Those are false positive and I am working with Android team to silence the warning. These false positive should all be full screen missing label warning. If you see something else below 34, please report here ideally with some screen shot.
For above 34, if you are seeing something not expected, please report here as well.
Here is how to check what API level from a warning

bump this, in my case its for that

After talking to some teams internally we found false positives on flutter apps targeting api less than 34 (33 and below). It is getting fixed on the server side.

No more accessibility warnings on appbundle uploaded today (Flutter 3.24.2). Thank you!

2 flutter apps uploaded one yesterday and one today on separate google play accounts : No more accessibility warnings anymore.
Thanks guys great job @reidbaker @chunhtai

I also deployed an app yesterday with zero warnings.  Thanks so much for resolving this issue!

I am still getting content labelling issues :-(