text:
update DropDown

hi
i update DropDown from 1 to 1.5 but when running program app not working and error
"DropDown.DropDown.anchorView.setter : weak DropDown.AnchorView?", referenced from:
Undefined symbols for architecture x86_64:
  "DropDown.DropDown.anchorView.setter : weak DropDown.AnchorView?", referenced from:
      balen.AircraftSearch.viewDidLoad () -> () in AircraftSearch.o
  "protocol witness table for __ObjC.UIView : DropDown.AnchorView in DropDown", referenced from:
      balen.AircraftSearch.viewDidLoad () -> () in AircraftSearch.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Hello @J-Arji, Thanks for using this library! :)
Can you show the code where you are using the DropDown?
Also, how have you imported this library, manually, Cocoapods or Carthage?

i import with cocoapods an using in swift
code:
   dropDown.dataSource = [
         "Car",
         "Motorcycle",
         "Van",
         "Truck",
         "Bus",
         "Bicycle",
         "Feet"
     ]

         dropDown.selectionAction = { [unowned self] (index, item) in
         self.actionButton.setTitle(item, forState: .Normal)
             let lit = item
             print(lit)
     }

     dropDown.direction = .Bottom
     dropDown.anchorView = actionButton
     dropDown.bottomOffset = CGPoint(x: 0, y:actionButton.bounds.height)
     // returns a String?

 }

 @IBAction func ActionTypeAir(sender: AnyObject) {

     if dropDown.hidden {
         dropDown.show()
     } else {
         dropDown.hide()
     }

Thanks for the follow-up! 👍
So the only line that's causing problem seems to be
dropDown.anchorView = actionButton

Did you try compiling with this line in comment?

Hey @kevin-hirsch I just updated to v1.0 (congrats the full release) and using your pod from Objective-C view controller I experience this issue also. It appears that the anchorView property is not visible to Objective-C. I suspect because it is an Optional of a non-Objective-C type: http://stackoverflow.com/questions/26366082/cannot-access-property-of-swift-type-from-objective-c

Adding @objc before the protocol definition in line 18 allows it to build:
@objc public protocol AnchorView: class {

	var plainView: UIView { get }

}

Hello @markedwardmurray, thanks! :)
anchorView has the type:
public protocol AnchorView: class {
	var plainView: UIView { get }
}

Did you try adding an @objc above the protocol?

Ok, perfect! I'll add this now 👍

Yup, that's literally all it needs! I did have to avoid using the .bounds property on the anchorView from my view controller since it's now a type id, but that's no big deal.

You can access the view through anchorView.plainView property, so for bounds, just do anchorView.plainView.bounds 😉

oh nice! thanks for the tip on that :)

Done in 9d734e5. I will create a new version 1.0.1 for CocoaPods and Carthage.

Actually, the reason I now use an AnchorView and not a UIView anymore is that I wanted to support UIBarButtonItems that are not UIView subclassed. So I implemented:
 extension UIView: AnchorView {
 	public var plainView: UIView {
 		return self
 	}
 }

 extension UIBarButtonItem: AnchorView {
 	public var plainView: UIView {
 		return valueForKey("view") as! UIView
 	}
 }

So anchorView.plainView is the same as using anchorView before 1.0 🙃

Version 1.0.1 available on CocoaPods and Carthage! 🎉
@J-Arji Can you confirm that you don't have the issue anymore?
I leave this issue open until your confirmation.

thanks @kevin-hirsch  :)  #

 extension UIBarButtonItem: AnchorView {      public var plainView: UIView {         return valueForKey("view") as! UIView     }  }
doesn't work anymore in iOS 11

I AM Facing the issue with Large Text in the DropDown Can u please share how to handle.
EX:
DropDown.dataSource = ["asfasdfadfhsfasfsadfsadfdsafgafskhfhskafhfahahfshfkj"]
DropDown not showing the Anchor width.

authors: GZaccaroni J-Arji kevin-hirsch markedwardmurray mekalasiva

repo: AssistoLab/DropDown


text:
Fix refetch response parsing

Right now calling refetch always results in an exception being raised because reason-apollo-hooks tries to parse the refetch response object, not its "data" field. This change fixes that by picking out the data field in the response.

Release under v2.6.0

@all-contributors add @soulplant for code

@all-contributors add @soulplant for code

@all-contributors add @soulplant for code

source: gharchive/pull-request

authors: fakenickels soulplant

repo: Astrocoders/reason-apollo-hooks

license: MIT

license_type: permissive

license_source: github-api


text:
Preserve the order of displaying base layers group and overlays group in layers control as defined in the component: this.layersControl = { overlays: { ... }, baseLayers: { ... } } vs this.layersControl = { baseLayers: { ... }, overlays: { ... } }. Or provide other way to specify the order.

Before submitting an issue, please verify the following:
If this is a request for help, please use Stack Overflow and use the ngx-leaflet tag, or review the Getting Help section of the README. We watch the ngx-leaflet tag on Stack Overflow and will respond there. We will no longer be responding to help and 'how-to' requests on GitHub.
If this is a bug, issue, enhancement request, etc. verify the following before submitting your issue:

[ ] Review the README to see if your issue is covered, and pay particular attention to the Getting Help section.
[ ] Tell us what version of Leaflet, Angular, and ngx-leaflet you're using
[ ] Include code that reproduces your issue

Please edit your issue. You have the description in the title.

Are you asking for the ability to affect how these two things are arranged in the on-map layers control?
Does changing the order of the properties have any impact on this in regular Leaflet?

Too insignificant.

source: gharchive/issue

authors: ciukstar reblace

repo: Asymmetrik/ngx-leaflet


text:
Question
How to open a proxy

Search network icon on right side of the top bar, right-click on that icon and search for VPN-related settings.

repo: Athena-OS/athena


text:
NestedTreeRepositoryTrait' not found in ...

Fatal error: Trait 'Gedmo\Tree\Traits\Repository\ORM\NestedTreeRepositoryTrait' not found in

composer cannot checkout this path
lib/Gedmo/Tree/Traits/Repository
any thoughts? thanks

nvm, changed to "dev-master"


text:
Fixed minor typo

Update bin console command

Thank you.

authors: AkenRoberts sdaoudi


text:
Flake8 rule 'E901' reported an invalid point

Flake8 reported an invalid point for the rule E901, with the messge IndentationError: expected an indented block.

Debug information:
Atom version: 1.25.0
Flake8 version: 2.6.2 (pycodestyle: 2.0.0, flake8-docstrings: 1.3.0, pydocstyle: 2.1.1, hacking.core: 0.0.1, ProxyChecker: 0.0.1, pyflakes: 1.2.3, mccabe: 0.5.3) CPython 2.7.12 on Linux

Please update your flake8 version (pip install -U flake8). This particular error should be fixed in flake8>=3.2.1.

license: mit

license_source: bigquery


text:
Improve Error Page

Improve the error page with a responsive and attractive UI.
I want to work on this issue under JWOC

Go for it @TuhinBanerjee31


text:
TSE-110 - Table cell context menu (LEAN-3746)

In the design they want to show the context menu button on hover can we push back to ignore that? as if we need to do that we are going to update the state

Why are we using a plugin and not a node view?

we can't do that with editable content, if we should do it from node view then we need to tweak table_cell PM schema

Why are we using a plugin and not a node view?

we can't do that with editable content, if we should do it from node view then we need to tweak table_cell PM schema

Why not? Can't we use contentDOM to keep the content editable?

I just tried adding a view for table_cell with the following code and it's working fine:
  public initialise = () => {
    this.createDOM()
  }

  private createDOM = () => {
    this.dom = document.createElement('td')
    this.contentDOM = document.createElement('span')
    this.dom.appendChild(this.contentDOM)
  }

I just tried adding a view for table_cell with the following code and it's working fine:
  public initialise = () => {
    this.createDOM()
  }

  private createDOM = () => {
    this.dom = document.createElement('td')
    this.contentDOM = document.createElement('span')
    this.dom.appendChild(this.contentDOM)
  }

thanks that was very helpful, can you please double check now

authors: asouqi mnatsheh


text:
Terri00 AutoRadar is kind of broke...

There is a displacement error that appends on a displacement it should not analyse.
This, hum, sucks.

This, hum, really sucks.


text:
iOS 12 Support for AudioKit

Is AudioKit support coming for iOS 12 anytime sooner?
I'm currently working on an app which is iOS 12 compatible. Now I'm moving to programming audio using AudioKit, but it's not compatible so far. I would like to know if it's under works and strategise audio programming accordingly.

And as a further follow up, I have successfully installed the AudioKit app I'm currently working on onto an iPad with iOS 12.

Do you have a schedule for a Cocoapod update for iOS12, which was officially released earlier this week?

It's out now! You can get version 4.4.0

It took some convincing, but I found it and installed it!
I'm getting a weird error, but that's for another issue.

authors: aure bluenucleus jhhl megastep

repo: AudioKit/AudioKit


text:
toast fixes

closes https://github.com/AugurProject/augur/issues/3840
should be able to view multiple toasts after another
closes https://github.com/AugurProject/augur/issues/3637

PR looks good.

authors: bthaile phoebemirman

repo: AugurProject/augur


text:
[Bug] Getting Panic Error after 20 seconds into apple logo

What is your configuration ?

CPU: i5 7400
RAM: 8 GB
Hard Disk: Seagate 512GB
USB Boot drive - SanDisk 64 GB
GPU: HD 630
Additional infos:

Describe the Bug
Getting Panic Error after 20 seconds into apple logo
Steps to Reproduce
After booting to opencore
Anything else ?
Panic log attached
panic-2022-12-31-220619.txt
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi @aniruddha789,
Your issue appears to be iGPU related.
I have other questions to try to solve your problem :

What is your motherboard ?
How many screens do you have ?
What video ports you use ?
Is macOS already installed ?
Does it crash while displaying the Apple Logo screen ?

Thanks

Hi, it worked after I replaced device properties in config.plist with the above.
My details
ASUS H110M-CS MOBO
Single screen
VGA Monitor
macOS was not installed earlier
Yes it crashed while apple logo
Note: I also had multiple kexts for USB mapping which also was giving me further issues so I removed them all and just used USBports.kext

In your BIOS do you have an option to set the VRAM allocated to the iGPU, if so how is it set ?
Changing the setting in your BIOS rather than in your confit.plist (by using the stolenmem properties) improves stability and performance.

In BIOS I have set dVMT to 64MB. Btw with the above settings I shared it boots fine but the VRAM shows only 3 MB in the about section. Also its laggy and unresponsive. What do you think would be the issue. I have tried changing SMBIOS from iMac18,1 to Macmini8,1 but no help.
My EFI folder- https://drive.google.com/file/d/1r1-EJ1z0v86FofzxoB78nW156RIYSQ7V/view?usp=share_link

Hi,
The graphics showing 3MB are because the iGPU fall back to VESA Drivers.
So there is no graphics acceleration, this means no transparency, very laggy animations and slow graphics speed.
But I think this problem can be resolved...
This may be an issue with the framebuffer or the video port that need to be patch.
I will investigate more deeply and suggest a patch for you when I find the time to do it.
Thanks again.

Thanks for taking out time.

Hi,
Sorry for the long answer time.
First of all, set the DVMT to 128MB in the BIOS.
After that, download and boot from the first EFI linked to this message (called EFI1.zip) and tell me what happens.
If it does not boot or it boot with the VESA Drivers (you see 3MB in "About my Mac"), try the second EFI linked to this message (called EFI2.zip) and tell me what happens.
For information, all the EFIs linked to this message are modified versions of the latest version of the EFI (with boot picker) at that time (v2.05). These should be compatible with the stable versions of macOS Ventura 13.1, macOS Ventura 13.2 and macOS Ventura 13.2.1. The compatibility of macOS Beta Softwares are not guaranteed.
Thanks.

Download links :
EFI1.zip
EFI2.zip

Hi, @AurelienAudero I'm also suffering from the same issue. I'm running with the same specification except for the fact that I'm using EX H110M-V instead of CS. The DVMT option is unavailable on H110M-V units so I can't really set the amount to allocate.
I'm using the 2.05 EFI, here are what I've noticed:

Without "-igfxvesa", the ventura installer fails and gives me a panic error.
With "-igfxvesa", the installer goes on a seemingly never-ending load screen and in verbose it repeats the same thing over and over ( sandbox restriction/bluetoothd not running ).

Would you mind helping me with this? I already tried the EFI1 and EFI2 you have provided, to no avail.

Hi @caicatar,
It seems like there is a problem with H110 motherboards and this EFI.
I will investigate more into this issue, thanks for your informations.
I will come to you when I know more about it.
Thanks for your time.

Hi @caicatar, It seems like there is a problem with H110 motherboards and this EFI. I will investigate more into this issue, thanks for your informations. I will come to you when I know more about it.
Thanks for using my EFI. Aurélien

This is noted. Hope it works soon. Thanks!

Hi everyone, I apologize for the long delay. I was having exams and a lot of work.
It appears that H110 motherboards doesn't have the option to disable CFG-Lock in the BIOS which is necessary in order to use this EFI. So, I made a modified version of this EFI (based of the latest v2.06) which allows macOS to fonction properly with CFG-Lock on. You can download it here. Please let me know if it works.
⚠ Please note that this is only a test version as of now ! If it works, a definitive and more polished version will be available in the Release section.
Thanks for your time and I apologize once again for the delay. Aurélien.

Thanks @AurelienAudero, I'll make sure to test this one out and I'll give you a feedback once I'm done.

Hi @caicatar,
Can you give me a feedback ?
Thanks.
Aurélien.

Hi,
As I no longer have an answer, I will now close this thread.
If necessary, I invite you to open another issue.
Thanks.
Aurélien.

authors: AurelienAudero aniruddha789 caicatar


text:
Set upper boundary for external dependencies

Closes #747.
Reviewed all the projects and ensured that upper boundary for dependency is always set. In fact, we have only 2 noticeable changes:

Support FakeItEasy4 explicitly, therefore added the AutoFakeItEasy.FakeItEasy4UnitTest project. I prefer to have test projects for all the supported versions - it costs almost nothing to support them, but we can be sure that we suddenly don't break some intermediate version support.
Explicitly support FsCheck till v2 inclusively for Idioms.FsCheck library. I've added 2 test projects: Idioms.FsCheck.FsCheck1UnitTest and Idioms.FsCheck.FsCheck2UnitTest. The idea is the same as for the FakeItEasy - if we support library, we should have the covering tests.

@moodmosaic @adamchester Please let me know whether you have any concerns 😉

@moodmosaic Yep, I can - however wanted to see whether you have any feedback on that. It's fine that no - so I'll simply proceed with this one 😉

repo: AutoFixture/AutoFixture


text:
Refactor for Cleaner Code & Stability

!!!NEVER MERGE INTO MAIN BRANCH!!!
Refactored by Sourcery AI and Revieved by me.
Everything seems okay.
If Merged then send any issues to LOPEKINZ/taipy or pinkyhax@gmail.com
Stats:
2 Commits
153 Files Changed
1,195 Additions
1,123 Deletions
Most Common changes:
Replaced i with _ for Counting
Replaced "String" + "String with f"String {string}"
Changed Formats for better readability.

@jrobinAV @FabienLelaquais
This PR is far from up to date. What can we do about it?

@jrobinAV @FabienLelaquais This PR is far from up to date. What can we do about it?

close it

I would certainly spend a day looking at this and integrating those that make sense, and are still relevant with the current state of the source code.

@FabienLelaquais I can take care of this if you may

Finished in https://github.com/Avaiga/taipy/pull/1007

authors: FredLL-Avaiga LopeKinz florian-vuillemot trgiangdo

repo: Avaiga/taipy


text:
Implement "Go to definition" functionality in AXAML code

Is your feature request related to a problem? Please describe.
While developing an Avalonia application I am constantly dearly missing the "Go to definition" functionality in AXAML code. Having to manually search for properties, types, resource dictionaries, templates and everything else adds up very quickly.
Describe the solution you'd like
"Go to definition" should be implemented and it should automatically bring you to the definition of the element under the caret (be it in C# code or in AXAML code).
Describe alternatives you've considered
None.
Additional context
Labels : [area-dev-tools] [enhancement]

Shouldn't this be an issue in https://github.com/AvaloniaUI/AvaloniaVS ?
Maybe it can be moved by the avalonia team

Indeed, moving to AvaloniaVS (Rider has built-in Go to definition support for Avalonia).

repo: AvaloniaUI/Avalonia


text:
TextBlock.Inlines.Clear() no work

Describe the bug
Call TextBlock.Inlines.Clear() is can't remove all Inlines element, then the text still display.
To Reproduce
Steps to reproduce the behavior:
TextBlock.Inlines.Add(new Run("123"));

//Render ..

TextBlock.Inlines.Clear()

Expected behavior
Before TextBlock.Inlines.Clear(), text not display.
Screenshots

This should not display, because it has already been deleted

Expected

Environment

OS: Windows
Avalonia-Version: 11.0.6

Additional context
AvaloniaApplication1.zip

Text is already null

but still have text in _textLines, _textRuns

_textRuns is not clear, because HasComplexContent is false


text:
ComboBox SelectedIndex does not update from binding ViewModel

Describe the bug

TransitioningContentControl with ViewLocator has successful only SelectedIndex of ComboBox.
(below were not successful)

SelectedItem
SelectedValue
SelectedValueBinding

Next, I tried updating the screen by changing the Index from the ViewModel.
This challenge was successful and I was able to confirm that the screen was updated. but I noticed that the combobox itself was not updating accordingly.

To Reproduce
Steps to reproduce the behavior:

git clone https://github.com/rtazaki/ComboboxTransitionIssueTest
build and run (.Desktop)
ComboBox changed 111 <--> 222 : "One." <---> "Two!"
Click on Button (TransitioningContentControl: "One." <---> "Two!")

Expected behavior
Combobox does changed.
Environment

OS: Windows 10 (maybe 11)
.NET 8.0 (maybe 7.0)
Avalonia-Version: 11.0.6
ReactiveUI.Fody: 19.5.39 (latest)

I am not seeing a combobox anywhere in your code?

I am not seeing a combobox anywhere in your code?
MainView.axaml

    <DockPanel>
        <DockPanel DockPanel.Dock="Top">
            <ComboBox ItemsSource="{Binding PageNames}" SelectedIndex="{Binding PageIndex}">
                <ComboBox.ItemTemplate>
                    <DataTemplate>
                        <TextBlock Text="{Binding Name}" />
                    </DataTemplate>
                </ComboBox.ItemTemplate>
            </ComboBox>
            <Button Command="{Binding TransitionfromViewModel}" Content="ViewModelから遷移したとき、コンボボックスが切り替わらない。(画面遷移自体は成功している。)" />
        </DockPanel>
        <TransitioningContentControl Content="{Binding CurrentPage}" DockPanel.Dock="Top" />
    </DockPanel>

PageIndex is not "Reactive", means it will not notify the UI about changes.

PageIndex is not "Reactive", means it will not notify the UI about changes.

I understood. Added RaiseAndSetIfChanged to PageIndex.

By the way, since this issue wasn't actually an issue, should it be labeled as a "by-design" rather than a bug?
And can the report author simply close this ticket?

@rtazaki I can label it by-design, sure. But you as the author are allowed to close the issue 👍
Also we have a telegram chat and Discussions for questions.

authors: rtazaki thevortexcloud timunie


text:
High GPU usgae on Windows

Describe the bug
High GPU usage was observed when running Animations.
Test platform:

CPU: Intel i9-14900k
GPU: RTX 4090
Screen Resolution: 4K

To Reproduce

Expected behavior
No response
Avalonia version
11.2.999-cibuild0046479-alpha
OS
Windows
Additional context
No response

what animation

what animation

Most of the animations in my app are opacity, thickness and width/height animations.

same situationon intels integrated GPU. In laptop thi cousing  siginificant increate of power usage and.. fan noise..
Even Progres bar is causing really giht GPu usage..
<ProgressBar IsIndeterminate="True"/>

Looks like cpu and gpu usage is quite high also when using for example an indeterminate progress bar in Web Assembly. At least on Windows.


text:
ItemsRepeater treats invisible items incorrectly

MCVE
xaml
<ScrollViewer VerticalScrollBarVisibility="Visible">
  <ScrollViewer.Resources>
    <local:SomeConverter x:Key="i2v" />
  </ScrollViewer.Resources>
  <ItemsRepeater Items="{Binding Items}">
    <ItemsRepeater.ItemTemplate>
      <DataTemplate>
        <Grid IsVisible="{Binding ., Converter={StaticResource i2v}}">
          <TextBlock Text="{Binding .}" />
        </Grid>
      </DataTemplate>
    </ItemsRepeater.ItemTemplate>
  </ItemsRepeater>
</ScrollViewer>

C#
public class Context
{
    public IEnumerable<int> Items { get; }
    public Context()
    {
        Items = Enumerable.Range(0, 100).Select(v => v).ToArray();
    }
}

public class SomeConverter : IValueConverter
{
    public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
    {
        return value switch
        {
            int v => v % 2 == 0,
            _ => false
        };
    }

    public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
    {
        throw new NotImplementedException();
    }
}

Result:

Items are getting eaten

I'm not sure ItemsRepeater handles making items invisible. This is something that will need to be tested on the upstream WinUI control.

Fixed by #10864 and #11127.

authors: FoggyFinder grokys


text:
Fix SelectedItemsChanged event arguments in SelectingItemsControl

What does the pull request do?
Corrects the event arguments for replacing a selected item in SelectingItemsControl.
What is the current behavior?
The arguments for the SelectedItemsChanged event are inverted.
What is the updated/expected behavior with this PR?
Sets the arguments as expected.

Checklist:

[x] Added unit tests

Idk if this should be added to the breaking changes.

I haven't found any issues referencing this bug, so it's unlikely anyone quietly assumed this will remain broken forever. I'd say it's more likely no one used this feature until now.

Wow thats a good spot! @jmacato should we get this into 0.7?

@danwalmsley I do think this is a critical bug fix that needs to be included with the release
@WojciechKrysiak hmm better be safe and let's add it there

@jmacato done: https://github.com/AvaloniaUI/Avalonia/wiki/Breaking-Changes

authors: WojciechKrysiak danwalmsley jmacato


text:
🧑💻: UI improvement for Home page

We are not getting anything while clicking on home page.

@sanskritisahu21 go ahead

ok! Thankyou I will join.

repo: Avdhesh-Varshney/WebMasterLog


text:
📃:  Capcha Generator

:red_circle: Title :  Capcha Generator
:red_circle: Aim :  Capcha Generator
:red_circle: Tech Stack Used :  HTML,CSS,JS
Screenshots 📷

:white_check_mark: To be Mentioned while taking the issue :

Full name :  Damini Chachane
What is your participant role? GSSOC

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

@Avdhesh-Varshney Can you assign this to me.


text:
Token multiple call

Issue and Steps to Reproduce
After logging into the application when I see in the log, there are a lot of calls to the token. Like about very 30sec or less ...
Versions
"@axa-fr/react-oidc": "^7.22.8",

Screenshots

Config
client_id: 'my_clientid',     redirect_uri: window.location.origin + '/oidc-callback',     silent_redirect_uri: window.location.origin + '/silent-oidc-callback',     scope: 'profile offline_access openid profile_extended + my_scopes',     authority: GetConfig('ssoUrl'),     service_worker_relative_url: '/OidcServiceWorker.js',     service_worker_only: true,     demonstrating_proof_of_possession: false,     acr_values: 'externalAmrAzureEnable:1',     loadUserInfo: true,     extras: {         acr_values: 'externalAmrAzureEnable:1',     },

Installed packages:
Using react.js and vite

hi @YaoHure ,
Did you tried to set token_renew_mode: TokenRenewMode.access_token_invalid,
in your configuration?
Do you have a sample of your tokens ?

Hi @guillaume-chervet,
When i try to put the  token_renew_mode: TokenRenewMode.access_token_invalid it worse the token is call almost every 5 secs.
Here is an sample of tokens and scope that i send :
{
    "id_token": "abcdJhbGciOiJSUzI1NiIsImtpZCI6IkNEMTIzNEE2NzZBMTlGN0U5MzQ5MkQ0QzQ2Q0IyNkZEIiwidHlwIjoiSldUIn0.eyJuYmYiOjE3MjAxMDE2NTYsImV4cCI6MTcyMDgcyMDEwMTU1OSwiaWRwIjoiQXp1cmVBRCIsImFtcjI6WyJleHRlcmAvQ3EXJtDlTGmXrAPrC3kRlyFZ8fYuBtAwFc2qFY4s_gyAHTDkBPI1bsDT5n9VtTch8HI8f6aWMRSCuWQ5C3aUzY3vbLKoa34XQ0HQLQxrdI1l5BYdxgMNb5zxz5-ovxZb5WInP9hqKDSr8_LIjPRYflmJ8U1ddqGxnAlDWRXzA7vQQtVHJZGoZVpFGFBB5Sxi6d6WhR7lhOsniKtRC84nTxZs0gRyO-HyYVqUqtfLcyo2uOzxQ",
    "access_token": "abcdJhbGciOiJSUzI1NiIsImtpZCI6IkNEMTIzNEE2NzZBMTlGN0U5MzQ5MkQ0QzQ2Q0IyNkZEIiwidHlwIjoiSldUIn0.eyJuYmYiOjE3MjAxMDE2NTYsImV4cCI6MTcyMDg2NDU1NiwiaXNzIjoiaHR0cHM6Ly90LWZlLW15Yi1zc28tbWFzdGVyLmVkaXR1c2hvbWUubHUiLCJhdWQiOiJ0aWNrZXRpbmdfdWkiLCJpYXQiOjE3MjAxMDE2NTYsImF0X2hhc2giOiJDSUNPMkVZNkI4Z3FoUkhaUUNLUFhBIiwic3ViIjoiMTIzNGFjZGVmLTA5OGMtNDUyMC05ZWQxLWJhZjUzMjI4OTZlOCIsImF1dGhfdGltZSI6MTcyMDEwMTU1OSwiaWRwIjoiQXp1cmVBRCIsImFtcjI6WyJleHRlcm5hbCJdfQ.JrLSqL8AvQ3EXJtDlTGmXrAPrC3kRlyFZ8fYuBtAwFc2qFY4s_gyAHTDkBPI1bsDT5n9VtTch8HbE70pl8A0bFvBepRFR_Bf4N5lzm-XvLZgVFk1FJduOBgBd6gThFYDQdXOsG3W2MOTY2v1Yb4In9gWFBtO0kALdBPQy5I8f6aWMRSCuWQ5C3aUzY3vbLKoa34XQ0HQLQxrdI1l5BYdxgMNb5zxz5-ovxZb5WInP9hqKDSr8_LIjPRYflmJ8U1ddqGxnAlDWRXzA7vQQtVHJZGoZVpFGFBB5Sxi6d6WhR7lhOsniKtRC84nTxZs0gRyO-HyYVqUqtfLcyo2uOzxQabcdJhbGciOiJSUzI1NiIsImtpZCI6IkNEMTIzNEE2NzZBMTlGN0U5MzQ5MkQ0QzQ2Q0IyNkZEIiwidHlwIjoiSldUIn0.eyJuYmYiOjE3MjAxMDE2NTYsImV4cCI6MTcyMXvLZgVFk1FJduOBgBd6gThFYDQdXOsG3W2MOTY2v1Yb4In9gWFBtO0kALdBPQy5I8f6aWMRSCuWQ5C3aUzY3vbLKoa34XQ0HQLQxrdI1l5BYdxgMNb5zxz5-ovxZb5WInP9hqKDSr8_LIjPRYflmJ8U1ddqGxnAlDWRXzA7vQQtVHJZGoZVpFGFBB5Sxi6d6WhR7lhOsniKtRC84nTxZs0gRyO-HyYVqUqtfLcyo2uOzxQ9wZSI6WyJvcGVuaWQiLCJwcm9maWxlIiwicHJvZmlsZV9leHRlbmRlZCIsInBob2VuaXguc2VhcmNoLnJlYWQiLCJkb21haW4uY29tcGFuaWVzLnJlYWQiLCJkb21haW4udGlja2V0aW5nLnJlYWQiLCJkb21haW4udGlja2V0aW5nLndyaXRlIiwiYXBpX2F1dGhvcml6YXRpb25fYWNjZXNzIiwiZG9tYWlUu7avnR9TH7C-lhbu_UBv86_bOxWZzm3s7r0lRIshAl4F-qU2whcfegmNxvEqiv91XLDaCsDMr9XAYuaUgHY1Y4vw593J0xfPfO4RhFgo9smSPySCe3YDpBphhe6Q4AwQkzqp8PiBpbmIwxXQE4OgaUBKAKQelahX0dq3AF_hiJ4uBBoRDi_8picnMqEVRFoNLZMNMXuMQK0a8FS-MA_5oLkktWudpokd7sODsL5_IyHWILFteFLQpc4cR61qSlHI08aW95tQDtx7DLnNQ",
    "expires_in": 120,
    "token_type": "Bearer",
    "refresh_token": "885552A4C3A2D9AA20E008F7001C259844Y6ED00EFA1FBB5845EDFRE80",
    "scope": "openid profile profile_extended offline_access"
}

Do you know the lifetime of your access_token and refresh_token ? @YaoHure

You can also set the default behavior to refresh only when needed https://github.com/AxaFrance/oidc-client/blob/main/examples%2Freact-oidc-demo%2Fsrc%2Fconfigurations.ts#L20
It require you to use fetch from the library to ensure a correct behavior.

access_token : 120 and refresh_token : 30 days

hi @YaoHure ,
it will ask for a new token only when needed. It require to use for example https://github.com/AxaFrance/oidc-client/blob/388bd33a54c546afeee496b0f7d58f2c4f51da5e/examples/react-oidc-demo/src/FetchUser.tsx#L50
or to use this method before an http call :
https://github.com/AxaFrance/oidc-client/blob/388bd33a54c546afeee496b0f7d58f2c4f51da5e/packages/oidc-client/src/fetch.ts#L18

Hi @guillaume-chervet
Can you please provide me a real example of implementation of :
const { fetch } = useOidcFetch(window.fetch, props.configurationName);
cause i don't understand what should i put instead of  props.configurationName .

configurationName is not mandatory @YaoHure , default is "default". it is used when you have multiple authentication with multiple configuration.

I will close this issue i found the solution

authors: YaoHure guillaume-chervet

repo: AxaFrance/oidc-client


text:
.NET Core Support

Do you plan on releasing a nuget version which works with .net core?

I am working on this here -> https://github.com/RyannosaurusRex/AxosoftAPI.NET
Currently I have it building and unit tests running and passing under .NET core (library is netstandard2.0, but can probably be even lower).
Next steps are to make sure it can package properly.
@schinizel Can you take a look or whoever owns this library? I can make a PR if you want, though I'm not sure about the CI around the package yet. The .sln references the 2 new AxosoftAPI.Net.Core.csproj and AxosoftAPI.Net.Core.Tests.csproj files now for comparison that are .net core and for the most part just reuse the original files with some dependency updates for .net core.
Hopefully we can get this out on NuGet as I'm building a .NET Core app that uses this API and we have an internal wrapper that uses this library that we could reuse. Just let me know what I can do to help. 👍

authors: RyannosaurusRex nullif


text:
Thaumatorium not working on server

I made a thaumatoriam, added Nitor as heat source and when i put catalisator and click on recepies nothing happening. Just sound and nothing else

Dupe of #1239

Does fix of this issue exist? Or what i have to do to fix that?

Wait until B21 gets released

authors: UxiT davue wamc2017

repo: Azanor/thaumcraft-beta


text:
[B10] Research table not registering items

I tried to use a sheet that required a sensus crystal but it didnt accept the one i cheated in (see #475 )

Same issue as #494


text:
Don't ping units with the Locust ability when using the -limited command

This should exclude the uncontrollable Goblin boats and trading zeppelins.

This is proving to be a huge pain in the ass so I'm just going to skip it.

repo: AzerothWarsLR/WarcraftLegacies


text:
refactor: Update messages boxes to account for L2 reorgs

@LHerskind to insert a larger description, we have most defined in the disco dingo doc, but can be clarified here a bit simpler than that entire doc. Generally should be fairly easy to address but need to actually have a timeliness requirement and cases where a reorg will happen to test it properly.

Easier to deal with if handled after #7594 and together with #7616 since we can then more easily deal test and actually do a reorg there 👍

repo: AztecProtocol/aztec-packages


text:
feat(docs): Merge yellow paper into docs protocol specs section

This PR removes the yellow-paper directory and adds the contents to the docs, under the protocol-specs section.
Adds a new item called "Protocol Specs" with its own sidebar to the top Navigation bar.

Benchmark results
No metrics with a significant change found.

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
64 txs

l1_rollup_calldata_size_in_bytes
676
676
676

l1_rollup_calldata_gas
6,424
6,424
6,424 (+1%)

l1_rollup_execution_gas
585,757
585,757
585,757

l2_block_processing_time_in_ms
1,298 (-11%)
4,755 (+1%)
9,182 (-1%)

note_successful_decrypting_time_in_ms
212 (-7%)
526 (+11%)
995 (+15%)

note_trial_decrypting_time_in_ms
13.4 (-55%)
36.7 (-57%)
113 (+33%)

l2_block_building_time_in_ms
10,361 (+1%)
36,691
72,442 (-9%)

l2_block_rollup_simulation_time_in_ms
10,328 (+1%)
36,570
72,220 (-9%)

l2_block_public_tx_process_time_in_ms
4,900 (+1%)
19,079 (+1%)
38,170 (-6%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
14,029
27,286 (+4%)

note_history_successful_decrypting_time_in_ms
1,166 (-7%)
2,270 (+3%)

note_history_trial_decrypting_time_in_ms
39.0 (-34%)
80.8 (+7%)

node_database_size_in_bytes
18,665,552
35,004,496

pxe_database_size_in_bytes
29,859
59,414

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
144 (-1%)
44,377
26,164

private-kernel-inner
156 (-1%)
71,744
26,164

private-kernel-ordering
107 (-2%)
50,830
39,026

base-parity
3,902 (-2%)
128
311

root-parity
1,062 (-1%)
1,244
311

base-rollup
13,417 (-6%)
110,464
861

root-rollup
49.6
4,359
725

public-kernel-app-logic
80.2 (-1%)
47,695
40,661

public-kernel-tail
113
53,372
7,125

merge-rollup
9.71 (-10%)
2,568
861

public-kernel-teardown
76.5 (-2%)
47,695
40,661

public-kernel-setup
75.3 (-3%)
47,695
40,661

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
512 leaves
1024 leaves
2048 leaves
4096 leaves
32 leaves

batch_insert_into_append_only_tree_16_depth_ms
10.0 (-1%)
17.0 (+5%)
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.6
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.583 (-1%)
0.524 (+5%)
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
45.9 (-1%)
72.7 (+1%)
231
447
870
1,729 (+1%)
N/A

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
96.0
159
543
1,055
2,079
4,127
N/A

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.470 (-1%)
0.448 (+1%)
0.421
0.417
0.414
0.414 (+1%)
N/A

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
54.2 (-2%)
107
337
659
1,312
2,608
N/A

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
105
207
691
1,363
2,707
5,395
N/A

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.479 (-1%)
0.480
0.457 (-1%)
0.454
0.455
0.454
N/A

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
61.0 (-1%)

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
109

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
0.533

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
40,372
496,534

Transaction size based on fee payment method

Metric
native fee payment method
fpc_public fee payment method
fpc_private fee payment method

tx_with_fee_size_in_bytes
905
1,161
1,377

Transaction processing duration by data writes.

Metric
0 new note hashes
1 new note hashes
2 new note hashes

tx_pxe_processing_time_ms
1,183 (-2%)
827 (-2%)
4,015 (-2%)

Metric
1 public data writes
2 public data writes
3 public data writes
4 public data writes
5 public data writes
8 public data writes

tx_sequencer_processing_time_ms
421 (-2%)
282 (-3%)
729 (-3%)
395 (-3%)
1,193 (-3%)
434 (-2%)

Thanks Josh!
The only strange thing I can see (when viewing the preview), is that the LaTeX isn't being formatted correctly in the Keys section.
This is what it should look like: https://yp-aztec.netlify.app/docs/addresses-and-keys/keys
This is how it looks in the preview: https://6616dac18e9d7c2c03b0ac01--aztec-docs-dev.netlify.app/protocol-specs/addresses-and-keys/keys
The global definitions for all the latex symbols is in the file 0-keys-latex-preamble (the 0 at the start of the file name was important to ensure that this file gets parsed first, before the other files in the folder). This file then gets imported by the other .mdx files in the addresses and keys section. I can't tell what's gone wrong. Perhaps it's the latex settings?

@iAmMichaelConnor huh, yea I missed this, good catch. it's almost fixed, ill have another look tomorrow.

@iAmMichaelConnor the preview hasn't update yet, but it renders properly when i build locally now

authors: AztecBot critesjosh iAmMichaelConnor


text:
feat: Sync from noir

Automated pull of development from the noir programming language, a dependency of Aztec.
BEGIN_COMMIT_OVERRIDE
fix(frontend): Call trait method with mut self from generic definition (https://github.com/noir-lang/noir/pull/5041)
feat: Implement turbofish operator (https://github.com/noir-lang/noir/pull/3542)
feat: add as_witness builtin function in order to constrain a witness to be equal to a variable  (https://github.com/noir-lang/noir/pull/4641)
chore(experimental): Elaborate impls & non-trait impls (https://github.com/noir-lang/noir/pull/5007)
feat: add native rust implementation of schnorr signature verification (https://github.com/noir-lang/noir/pull/5053)
chore: Release Noir(0.30.0) (https://github.com/noir-lang/noir/pull/4981)
END_COMMIT_OVERRIDE

Benchmark results
No base data found for comparison.

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Proof generation
Each column represents the number of threads used in proof generation.

Metric
1 threads
4 threads
16 threads
32 threads
64 threads

proof_construction_time_sha256
5,764
1,560
714
767
775

L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
64 txs

l1_rollup_calldata_size_in_bytes
772
772
772

l1_rollup_calldata_gas
6,844
6,868
6,856

l1_rollup_execution_gas
587,384
587,408
587,396

l2_block_processing_time_in_ms
1,360
5,102
10,139

l2_block_building_time_in_ms
32,541
127,898
282,881

l2_block_rollup_simulation_time_in_ms
32,360
127,256
281,622

l2_block_public_tx_process_time_in_ms
20,329
84,472
191,349

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
15,203
28,368

node_database_size_in_bytes
21,385,296
38,301,776

pxe_database_size_in_bytes
29,868
59,425

Circuits stats
Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Circuit
protocol_circuit_simulation_time_in_ms
protocol_circuit_witness_generation_time_in_ms
protocol_circuit_proving_time_in_ms
protocol_circuit_input_size_in_bytes
protocol_circuit_output_size_in_bytes
protocol_circuit_proof_size_in_bytes
protocol_circuit_num_public_inputs
protocol_circuit_size_in_gates

private-kernel-init
159
3,654
21,879
19,985
61,999
86,720
2,643
1,048,576

private-kernel-inner
612
4,859
40,460
89,053
61,999
86,720
2,643
2,097,152

private-kernel-reset-small
583
2,385
23,191
117,961
61,999
86,720
2,643
1,048,576

private-kernel-tail
543
4,095
37,587
86,849
79,454
10,688
267
2,097,152

base-parity
6.52
220
3,302
128
64.0
2,208
2.00
131,072

root-parity
49.6
305
40,686
27,064
64.0
2,720
18.0
2,097,152

base-rollup
790
2,925
43,393
111,158
957
3,136
31.0
2,097,152

root-rollup
93.5
50.6
8,313
11,518
821
3,456
41.0
524,288

public-kernel-app-logic
254
184
1,087
96,978
85,095
116,448
3,572
4,096

public-kernel-tail
888
569
1,014
388,207
7,755
10,176
251
512

public-kernel-setup
228
205
1,371
138,309
85,095
116,448
3,572
4,096

public-kernel-teardown
228
168
836
143,320
85,095
116,448
3,572
4,096

merge-rollup
6.51
20.7
1,620
2,760
957
3,136
31.0
65,536

private-kernel-tail-to-public
N/A
9,455
72,581
N/A
N/A
116,960
3,588
4,194,304

Stats on running time collected for app circuits

Function
app_circuit_proof_size_in_bytes
app_circuit_proving_time_in_ms
app_circuit_size_in_gates
app_circuit_num_public_inputs

SchnorrAccount:entrypoint
16,128
47,964
2,097,152
437

Test:emit_nullifier
16,128
2,660
65,536
437

FPC:fee_entrypoint_public
16,128
16,364
524,288
437

FPC:fee_entrypoint_private
16,128
8,869
524,288
437

Token:unshield
16,128
49,997
2,097,152
437

SchnorrAccount:spend_private_authwit
16,128
2,662
131,072
437

Token:transfer
16,128
34,982
2,097,152
437

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
512 leaves
1024 leaves
2048 leaves
4096 leaves
32 leaves

batch_insert_into_append_only_tree_16_depth_ms
11.3
18.4
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.7
31.8
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.657
0.565
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
53.2
80.9
261
506
989
1,957
N/A

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
543
1,055
2,079
4,127
N/A

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.545
0.499
0.474
0.473
0.469
0.468
N/A

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
64.2
119
377
741
1,475
2,931
N/A

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
106
208
692
1,363
2,707
5,395
N/A

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.559
0.534
0.511
0.510
0.511
0.510
N/A

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
68.5

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
108

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
0.600

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
84,741
673,219

Transaction size based on fee payment method
| Metric |  |
| - |  |
Transaction processing duration by data writes.

Metric
0 new note hashes
1 new note hashes
2 new note hashes

tx_pxe_processing_time_ms
29,576
4,391
100,358

Metric
0 public data writes
1 public data writes
2 public data writes
4 public data writes
8 public data writes

tx_sequencer_processing_time_ms
1,393
2,812
2,022
3,378
1,999


text:
chore: Wrap acvm-simulator's raw error string in new Error

acvm-simulator via acvm.js seems to throw a raw string, this is somewhat of an anti-pattern for error handling as there is no stack trace. Barring a better fix, doing this
Now
  ● e2e_c_gam_contract › should call join_game and queue a public call

    could not satisfy all constraints

      209 |       return result;
      210 |     } catch (err: any) {
    > 211 |       throw typeof err === 'string' ? new Error(err) : err; // Work around raw string being thrown
          |                                       ^
      212 |     }
      213 |   }
      214 |

      at AccountState.simulate (../../aztec-rpc/src/account_state/account_state.ts:211:39)
      at AccountState.simulateAndProve (../../aztec-rpc/src/account_state/account_state.ts:267:29)
      at AztecRPCServer.simulateTx (../../aztec-rpc/src/aztec_rpc_server/aztec_rpc_server.ts:167:16)
      at ContractFunctionInteraction.simulate (../../aztec.js/src/contract/contract_function_interaction.ts:81:15)
      at ../../aztec.js/src/contract/contract_function_interaction.ts:118:30
      at SentTx.getTxHash (../../aztec.js/src/contract/sent_tx.ts:18:12)
      at SentTx.isMined (../../aztec.js/src/contract/sent_tx

before: no stack trace

Could we do this at the source? here https://github.com/AztecProtocol/aztec-packages/blob/master/yarn-project/acir-simulator/src/acvm/acvm.ts#L76

It seems: no

authors: ludamad sirasistant


text:
Turkish translation

Added Turkish language translation for the project.

Thank you so much for the translations, they help our project go far! Cudos to you, approved.

repo: AzuraCast/Azuri


text:
Azure-Samples / Azure-AD-B2C-page-templates does not render the Signinorsignup "api" properly

This issue is for a: (mark with an x)
- [ X] bug report -> please search issues before submitting
- [ ] feature request
- [X ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Get these Templates
Put the template files for "assets" and ocean_blue on you Blob storage
Modify all so references are absolute to the locations on Blob storage
Upload the modified files to Blob storage
Setup a B2C tenant
Adjust your blob storage to allow CORS as per Azure B2C docs
Get the starter local custom policy files
Modify the local custom policies and modify the TrustFrameworkBase.xml  as follows for the api.signuporsignin:

https:///ocean_blue/unified.html
~/common/default_page_error.html
urn:com:microsoft:aad:b2c:elements:unifiedssp:1.0.0

Signin and Signup

Upload your custom policy files
Now try your new custom B2C_1A_signup_signin user flow

The "Email" field does not render properly
Any log messages given by the failure

Expected/desired behavior

I expect both the Email and Password fields to render identically.
If you use the EXACT same html file in a custom SignupSignIn user flow you created from the basic V1 flow the "Email" field displays just like the "Password" field (when  you select the templates).
I would expect that a "Sample" that is provided would at the very least render the page correctly and as the "Email" section is inserted it is very difficult to guess what someone has changed so that the sample no longer actually works
OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Windows 10
Versions

Mention any other details that might be useful

Thanks! We'll be in touch soon.

OK I believe I have found the issue.
The "TrustFrameworkBase.xml" has the following claimtype:

Sign in name
string

TextBox

Changing the Id to logonIdentifier and (all the references) now allows the "api" to render properly

Sign in name
string

TextBox

It would seem that someone did a name change in the backend (the "api" code that is inserted) and this was NEVER migrated to the samples ...
Here is a snippet of what was rendered to the page for the first "var SA_FIELD" BEFORE I made the change (when the email field was mangled):
... ,"DN":"Sign in name","ID":"signInName","U_HELP":"","DAY_PRE":"0" ...
This is what is rendered for the same field (which now displays the email field properly):
... ,"DN":"Sign in name","ID":"logonIdentifier","U_HELP":"","DAY_PRE":"0", ...
Perhaps someone can do a review of the active-directory-b2c-custom-policy-starterpack-master xml files and update them so that they match the current Azure B2C tenants.  (perhaps there are other renamed items ...)
Thanks

The alternative is to update unified.css - find #logonIdentifier and add a copy of the same rule with #signInName

@wikNureva and @jpda thank you very much!! I had the same issue and I have just asked in Microsoft web page. Thank you for your solution.

wikNureva's solution works, especially "(all the references)". I guess a lot of people will face this issues when starting with one of the custom policy examples from the start packs. Should probably close this issue and create a new PR to update the starter packs.

authors: MichielCornilleESC henriquebelotto jpda wikNureva


text:
Grant type used by CI/CD example is not supported by Graph API

Please provide us with the following information:

This issue is for a: (mark with an x)
- [X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Attempt to set up CI/CD following instructions in CICDINSTRUCTIONS.md

Any log messages given by the failure

At ...\DeployToB2c.ps1:23 char:15
+ ...   $response=Invoke-RestMethod -Uri $graphuri -Method Put -Body $polic ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand

Expected/desired behavior

Policy file posted without error

OS and Version?

Windows 10

Versions

Mention any other details that might be useful
Documentation states that the grant type used is not supported, see: https://docs.microsoft.com/en-us/graph/api/trustframework-put-trustframeworkpolicy?view=graph-rest-beta
I was able to update the policy by using Resource Owner Password Credentials flow (grant_type = password). This required creating a user in the directory with appropriate admin roll (B2C IEF Policy administrator).

Thanks! We'll be in touch soon.

Hi Scythen
As the page mentions the app only token feature is in private preview and we are rolling it out soon to public. Please send your tenant name at aadb2cpreview@microsoft.com and we';;; allowlist your tenant.

Ah, Okay. I missed that after reading the not about being in public preview on the main readme.

authors: Scythen agrabhi


text:
Adding a Single Page JavaScript application supporting claim challenges.

added automation
updated to ADAL.Net 3.14.2
added a TodoListSPA application which uses ADAL.js 1.0.15
updated the README.md

@jmprieur,
Thanks for your contribution. It looks like you are a Microsoft vendor. To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
The agreement will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot

I don't see any claims usage/handling, but this seems by design. I would recommend adding an error handler for HTTP 403 - "interaction_required" for all bearer requests that extracts claims parameters and puts it in a new response. While this sample calls it's own resource, if a developer takes the pattern and calls a new resource or the MS Graph then they'll be susceptible to this problem.
Psuedocode of what i'm thinking
var at = bearer(res1, callback(err) {
if (err.indexOf("interaction_required" (or check for 403)) {
   var claims = extractClaims(err)
   ATInteractive(res1, claims)
}}

Thanks @danieldobalian for your review. I've taken into account all your feedback, and added more comments.
Note that we'll need to do another round of update of the TodoListClient (.NET) when the NuGet package for ADAL.Net 3.15 (with Claim challenge support) is available publically

authors: danieldobalian jmprieur msftclas


text:
ERROR: required external tools are missing: Python CLI is not installed

Please provide us with the following information:

This issue is for a: (mark with an x)
- [X ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Install azd
azd auth login
azd init -t azure-search-openai-demo
Add a new environment name
azd up

Any log messages given by the failure
? Please select an Azure Subscription to use:  1. MY_AZUR_SUB
? Please select an Azure location to use: 47. (US) South Central US (southcentralus)

Packaging services (azd package)

ERROR: required external tools are missing:
 - Python CLI is not installed, please see https://wiki.python.org/moin/BeginnersGuide/Download to install

Expected/desired behavior
I definitely have python installed!
OS and Version?
Windows 11 Pro
Versions
Version	10.0.22000 Build 22000
Mention any other details that might be useful

Tried both the integrated powershell terminal in VS Code and standalone powershell terminal.
Same issue

Thanks! We'll be in touch soon.

Installed python 3.11 and azd up worked. But why?

Installed python 3.11 and azd up worked. But why? I definitely had python already installed. I use it everyday.

I think it depends on how you had python installed. I had the same issue and re-installing python 3.11 from python.org/downloads fixed it. I don't remember exactly how I installed python 3.11 previously, but I too have been using python on my machine forever but I definitely did not recognize the installer experience from the installer downloaded from python.org. Either way, azd up works for me now for this project.

Same here. Python from Microsoft store didn't work. I re-installed python from python.org and azd up works as expected.
https://www.python.org/downloads/

Same issue with the azure cli not finding python/python3 even though it can be found in a terminal after installing with yum on a Red Hat Linux OS:

@vprzybylo , the script uses python instead of python3.
You can either update the script on your end to use python3 or you can see if python-is-python3 is available for Red Hat (it is for Ubuntu), which would create the alias on your system for python

@vhvb1989 thanks for the response. No luck changing python3 to python in prepdocs.sh and I set up an alias for python to point to /usr/bin/python3. Both python and python3 are found and bring up the python interpreter from a terminal but 'azd up' doesn't recognize the installation.

@vprzybylo , can you run azd up --debug and share the output.
azd looks for phyton on system path.  I'd like to see the full error on stderr (if available, for azd)

--debug doesn't give any specific python error. The system path for python is /usr/bin/python

@vprzybylo , I just noticed that on your case, azd is falling even before running prepdocs script.
azd is failing to detect python within your system.
azd looks for python3 to be in the path (code here).
Can you tell what RedHat version are you using. I will try to repro on my side.

@vprzybylo, I couldn't repro on Red hat 8.5.0-18
I installed python using sudo yum install python38 and/or sudo yum install python39.
(can't use sudo yum install python3 as it get python 3.6, and azd requires python >= 3.7)
For node, I used fnm like fnm use 18.  This is b/c installing nodjs with yum was also pulling python 3.6.
Can you tell if you are also using yum ?
btw, having same results with dnf

Thanks for trying to reproduce. Here is some more info:

I used sudo yum install python39 and curl -sL https://rpm.nodesource.com/setup_x.x | bash with yum install -y nodejs and checked that there is no python3.6 installed in /usr/bin. I also tried spinning up a fresh VM to reinstall the requirements with fnm but ran into the same issue.

repo: Azure-Samples/azure-search-openai-demo


text:
Store Blockchain Workbench messages in Cosmos DB code does not work

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ x] bug report -> please search issues before submitting
- [ ] feature request
- [X ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

I followed the docs and created the Cosmos DB account and Function App.

Any log messages given by the failure

2018-05-25T00:50:07.630 [Error] Exception while executing function: Functions.CosmosDBConsumer. mscorlib: Exception has been thrown by the target of an invocation. f-CosmosDBConsumer__-1449330061: Object reference not set to an instance of an object.

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful

Thanks! We'll be in touch soon.

Howard - I've reached out to the CosmosDB dev that put together the sample and will follow up.

I figured it out.  The test sample that was generated did not contain the operation

authors: HowardEdidin mmercuri

repo: Azure-Samples/blockchain


text:
JavaScript sample passes string array to AddPhrase when SDK doc says it only takes string

https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/c09ba521937e4dcc042a181d6595e39dd458753e/samples/js/browser/index.html#L744
According to https://docs.microsoft.com/en-us/dotnet/api/microsoft.cognitiveservices.speech.phraselistgrammar.addphrase?view=azure-dotnet, addPhrase only accepts a string. Therefore, shouldn't the sample script call addPhrase for each array element in .split(";") ?

@noahsw That link is to the C# documentation. The JS documentation can be found here.
Thanks for using Speech SDK!

authors: glharper noahsw


text:
Create a sample or quickstart for python async operation

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
There is a c# example for async operation involving the IntentRecognizer, however the way to go about registering callbacks is quite different in c# than python.  It took me a good while to figure out how to do it in python, especially without source code access.  Therefore an example that shows how to properly register and use callbacks for python.
Describe the solution you'd like
A clear and concise description of what you want to happen.
A new file constituting a working example under the samples directory in the python subfolder.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Scream real loud?  No seriously, I have the blocking case working just fine, however there are cases when the async is preferred in my setup and so using blocking is only partially good.
Additional context
Add any other context or screenshots about the feature request here.
I see #148, which was closed, however nothing was explicitly discussed as what needs to be done.  It will be far clearer to future users of this library if they have an example to look at which fills in a gap of the how-to examples.

Hi @demongolem, did you have a look at e.g. this sample? If there is anything concrete that is missing, we'll be happy to add it. And the repo is open-source, so if there is something you found particularly helpful that is missing, you are welcome to add it ;)
Thanks!

Thanks for the reply @chlandsi.  This is half the story, the sample you share.  There are two ways to handle the async family of functions.  One is to use the .get() blocker call as you have.  Second is to register the recognizer (whether it be Speech or Intent) with callbacks like 	intent_recognizer.recognized.connect(foo) and then to implement the foo method which contains a single args parameter.  For my usage, this second version is the only of the two that makes sense, but both are perfectly valid.  Thanks for the invitation, I may well later today add a sample that covers this callback path which is missing.

Actually, some of the callback stuff was covered in the continuous case it looks like.  I think having a sample for the once case as well will be useful, so I have created a pull requested for what that looks like.  I have run it with my own keys and I get the expected results, that is the speech from the mic is recognized and the test id in the code is returned as the predicted intent

Hi @demongolem, thank you for the pull request #220 ! I guess the underlying problem is that the docs don't make it sufficiently clear that the event/callback mechanisms are the same for one-shot and for continuous recognition. It is good to have this additional example for intent, I will adapt it into an example case for all recognizer types, which illustrates that one-shot can be used with callbacks. It might take a few days though.

Closed by #220.

authors: chlandsi demongolem


text:
connection failure occurs on the network using the proxy

This app runs well on the network that don't use proxy.
However, this application outputs a 'connection error' on the network using the proxy.
I want to run this application on a network using a proxy.
This issue is for a: (mark with an x)
- [x] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Run application, select the option 1

Any log messages given by the failure
 1. Speech recognition with microphone input.
 2. Speech recognition in the specified language.
 3. Speech recognition with file input.
 4. Speech recognition using customized model.
 5. Speech continuous recognition using events.
 6. Translation with microphone input.
 7. Translation with file input.
 Your choice (0: Stop.): 1
 Say something...
 There was an error. Status:Canceled, Reason:Connection failed (no connection to the remote host).

 Recognition done. Your Choice (0: Stop):

Expected/desired behavior

No Connection failed occurs.

OS and Version?

Windows 8.1 Pro

Versions

cognitive-services-speech-sdk/Windows/csharp_samples/csharp_samples.sln (042626c : Commits on May 25, 20)

Mention any other details that might be useful

none

I am also facing this issue in proxy network. Can you please update when the fix will be available

I am also facing this issue in proxy network. october News ????

@FrColin, @Thenmozhi16, @earth55
Please take a look at the just released version 1.1.0 if this fixes your issues.
https://docs.microsoft.com/azure/cognitive-services/speech-service/releasenotes#speech-service-sdk-110

I'm closing this - if you have further questions regarding proxy support, please open a new issue
thx


text:
Adding NSG's for custom vnet

PR Summary
Adding in additional nsg definitions for when AKSC is deploying a custom virtual network.
This was done by deleting the specific AppGwNsg file and creating a single more parameter driven file that can deploy an NSG. EG. Both an Application Gateway subnet and a Bastion subnet that have very specific rules that are checked on association with a subnet.
PR Checklist

[x] PR has a meaningful title
[x] Summarized changes
[x] This PR is ready to merge and is not Work in Progress
[x] Link to a filed issue

As discussed, pulled the enablePrivateClusterPublicFQDN param from this branch

Tested on a standard AKS

Added UI for the 2 params

Ok - this looks good.

repo: Azure/AKS-Construction


text:
chore: automated PR to update VHDVersion for 230707 windows VHD

This is an automated PR to VHDVersion for the windows VHD release with image version 230707

Pull Request Test Coverage Report for Build 5583620436

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall First build on wsimageBump/230707 at 61.542%

Totals

Change from base Build 5578998570:
61.5%

Covered Lines:
2570

Relevant Lines:
4176

💛  - Coveralls

authors: coveralls wanqingfu

repo: Azure/AgentBaker


text:
weekly image cve patching from Sec Pipelines

weekly image cve patching from Sec Pipelines

Pull Request Test Coverage Report for Build 8180739224
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 79.39%

Totals

Change from base Build 8180038026:
0.0%

Covered Lines:
2292

Relevant Lines:
2887

💛  - Coveralls

authors: HDYA coveralls


text:
feat: add datamodel fields for Windows next-gen networking

What type of PR is this?
/kind feature
What this PR does / why we need it:
EnableNextGenNetworking controls whether to enable Windows eBPF for networking.
NextGenNetworkingUrlBase is the per-cloud base URL for downloading Windows eBPF assets.
Which issue(s) this PR fixes:
Fixes #
Requirements:

[x] uses conventional commit messages
[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build 9066988977
Details

0 of 15 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 76.721%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/agent/datamodel/types.go
0
15
0.0%

Totals

Change from base Build 9056263108:
-0.3%

Covered Lines:
3032

Relevant Lines:
3952

💛  - Coveralls

authors: coveralls wedaly


text:
Convert to Python3

using : find . -name '*.py' | xargs 2to3 -w

@ralic,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot

authors: msftclas ralic


text:
Instructions for Exchange Admin Audit Log Events Data Connector has incorrect log names (Exchange On-Premises Solution)

The data connector for the Exchange Admin and Audit Log Events uses 'MS Exchange Management' as the log name when it should be 'MSExchange Management'. For example:  Click Add Windows event log and enter MS Exchange Management as log name.
To reproduce the issue, install the Exchange On-Premises solution and try to configure:
[Option 1] MS Exchange Management Log collection > Data Collection Rules - When the legacy Azure Log Analytics Agent is used > Configure the logs to be collected.
And
[Option 1] MS Exchange Management Log collection > Data Collection Rules - When Azure Monitor Agent is used > Option 2 - Manual Deployment of Azure Automation.

An example of the event name (Which is used correctly in the parsers etc through the solution already):

Line 212 and 232 in ESI-ExchangeAdminAuditLogEvents.json

FYI, @v-prasadboke

Hi @v-prasadboke , @v-sudkharat, I confirm that the XPath information is not good. The good value is "MSExchange Management!*" So in connector documentation it has to be "MSExchange Management"

Got it @nlepagnez, Working on it

Hi @v-prasadboke, the XPath will be corrected in the pull request #11049

authors: leighcurranTW nlepagnez v-prasadboke v-sudkharat

repo: Azure/Azure-Sentinel


text:
Signing in process for a deployment takes considerably long

Describe the bug
When trying to deploy version 2.7 on Power Shell, the initial stages are ok but once it gets to 'Signing in...' it sticks for quite a while. The length of time has varied for us from 5mins - 2hours. On average it can take about 20 minutes to sign in. Note: This is just waiting for the sign in window to even appear, before credentials have been entered.
To Reproduce
Steps to reproduce the behavior:

Clone repo
CD to Industrial IoT folder
Run command ".\deploy -version 2.7"

Expected behavior
After speaking with someone from the Microsoft team we understand this is not normal nor intended. The process should be a lot quicker.
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Windows Powershell 64bit, Windows Powershell x86

Additional context
Initially we thought it may be scaling in relation to the number of subscriptions on the user account, but we've seen nothing conclusive as of yet.

@NooraKubati, can you please pass id (subscriptionId) of the subscription that you would like to use or its name (subscriptionName) to the script and see if that accelerates it or not ? Please check this page for the list of deployment script options.

@karok2m, Hi I have just attempted this and the signing in process takes at the very least 5 minutes still. My understanding is that it should be relatively instantaneous so I believe the problem still exists.

I ran into an issue recently where the sign in (Connect-Azure) was hanging for a long time (forever because I typically give up after a minute or two).  I tried to fix it by using --use-device-code instead which produced a Az.Account versioning error.  In the course of addressing this versioning error the hang also resolved itself for me.
Essentially here is what I did:

Remove all Az and Az.* and AzureRM modules from your machine as per the official install/uninstall instructions for Az.
Remove all remaining occurrences of Az and AzureRM modues as per the instructions here: follow https://github.com/Azure/azure-powershell/blob/master/documentation/troubleshoot-module-load.md (essentially delete the orphaned modules if you have any from your file system / module load path).
Install latest Az using the official instructions.

Seem that this is tno a bug, but an issue which was seen because of outdated components. Closing for now. Pls reactivate if it is seen again.

This issue is also happening to me.
The script is stuck on Signing step for hours.

@saramonteiro, can you please go over the steps outlined by @marcschier above and see if that accelerates sign-in process for you ?

@saramonteiro, can you please go over the steps outlined by @marcschier above and see if that accelerates sign-in process for you ?

@karok2m I got to solve it by:
Using Connect-AzAccount -TenantId
We also can use az login before running the script

authors: NooraKubati hansgschossmann karok2m marcschier saramonteiro

repo: Azure/Industrial-IoT


text:
Domain join v2

PR with updates from review.  Still need to determine folder names.

Closing PR.  See https://techcommunity.microsoft.com/t5/azure-lab-services-blog/use-labs-without-registering-joining-to-ad-aad/ba-p/3880261 for details.

authors: EMaher RogerBestMsft

repo: Azure/LabServices


text:
feat: Updated Azure.AppService.AvailabilityZone

PR Summary
Fixes #2986
Updated Azure.AppService.AvailabilityZone with default reason.
PR Checklist

[x] PR has a meaningful title
[x] Summarized changes
[x] Change is not breaking
[x] This PR is ready to merge and is not Work in Progress
Rule changes

[x] Unit tests created/ updated
[x] Rule documentation created/ updated
[x] Link to a filed issue
[ ] Change log has been updated with change under unreleased section

Other code changes

[ ] Unit tests created/ updated
[ ] Link to a filed issue
[ ] Change log has been updated with change under unreleased section

Ready for review @BernieWhite.


text:
Autoscale settings

Hello ,
Thanks for the great module.
Is it possible to add autoscaler, VM min and maximum count in the variables and then use those in main play ?

Are there any updates on this?
Terraform has ability to deploy AKS clusters with node autoscaler and horizontal pod autoscaler. Which is what I'll have to resort to if this module doesn't provide us with same functionality.

authors: AdnanHodzic imlight

repo: Azure/ansible-aks


text:
Support for Web Socket

Does the App Gateway ingress controller support Web Socket traffic?

I believe Application Gateway v2 does support web sockets. @akshaysngupta could you confirm?
@rahulvmarathe  however don't think we expose any specific configurations for web sockets?

Hi @asridharan, thanks for the update per this https://docs.microsoft.com/en-us/azure/application-gateway/application-gateway-websocket, App Gateway does support Web Sockets.
Wanted to know if there is anything specific I need to for it to work with the AKS Ingress.

@rahulvmarathe I tested App Gateway v2 and the K8s Ingress. As expected - App Gwy has native support for websockets.  And I did not have to do anything special to expose my Golang websockets server.
Here is my Deployment:
apiVersion: apps/v1
kind: Deployment
metadata:
  name: websocket-repeater
spec:
  selector:
    matchLabels:
      app: wsrepeater
  replicas: 2
  template:
    metadata:
      labels:
        app: wsrepeater
    spec:
      containers:
        - name: websocket-repeater
          imagePullPolicy: Always
          image: abc.azurecr.io/websockets-repeater
          ports:
            - containerPort: 8888
      imagePullSecrets:
        - name: acr-creds

---

apiVersion: v1
kind: Service
metadata:
  name: websocket-repeater
spec:
  selector:
    app: wsrepeater
  ports:
  - protocol: TCP
    port: 8888
    targetPort: 8888

---

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: websocket-repeater
  annotations:
    kubernetes.io/ingress.class: azure/application-gateway
spec:
  rules:
    - host: ws.mis.li
      http:
        paths:
          - backend:
              serviceName: websocket-repeater
              servicePort: 8888

One small caveat though: my particular websocket server implementation is fairly strict - requires the Sec-Websocket-Version header etc.  So a default Health Check doing an HTTP GET on /ws and expecting a 200 did not work.  As a result my pods were marked as unhealthy by App Gateway. Eventually that results in a 502.
Here is what a health ywebsocket call would look like:
curl -i -N -H "Connection: Upgrade" \
        -H "Upgrade: websocket" \
        -H "Host: localhost" \
        -H "Origin: http://localhost" \
        -H "Sec-Websocket-Version: 13" \
        -H "Sec-WebSocket-Key: 123" \
        http://1.2.3.4:8888/ws

So because we don't have a websocket specific health check and my implementation is strict - I had to add an endpoint /health just for monitoring.
Another workaround would have been to make custom health probes in App Gwy that accept error code 400, which is what my server returns when the websocket specific headers are missing.
Please reach out if I can further assist you with this.  I'll consider this question answered (and we'll augment our documentation with this blurb here to make it clear that the ingress and app gwy v2 support websocktes)

@draychev We should document this.

@draychev @akshaysngupta We have some issues in successfully implementing our websocket enabled application via AGIC and the AppGW. The websocket connection drops after 30 seconds, which is the default http timeout. When changing the timeout vault, the ws connection drops at the selected value. We submitted a ticket at Azure support, but their suggestion was the following:

The backend should be available to work on both HTTP and HTTPS. I can see that your app gateway backend pool only has port 80 enabled.

But the documentation states that the Listeners must be setup correctly:

You would need both HTTP and HTTPS listeners to support WebSocket and secure WebSocket traffic.

I find it hard to believe that HTTPS is mandatory for websocket. Your example above here does not use HTTPS, also your example in the documentation on Websocket does not use HTTPS. I hope you can shed a light on the issue we are experiencing.
We tried the following setup:
apiVersion: v1
kind: Pod
metadata:
  name: ws
  labels:
    app: ws
spec:
  containers:
    - name: ws
      image: ********.azurecr.io/ws:latest
    - name: nginx
      image: ********.azurecr.io/ws-nginx:latest
      ports:
        - containerPort: 80
        - containerPort: 443
      volumeMounts:
      - name: cert
        mountPath: "/certs"
        readOnly: true
  volumes:
  - name: cert
    secret:
      secretName: cert-1
---
apiVersion: v1
kind: Service
metadata:
  name: ws
spec:
  selector:
    app: ws
  ports:
    - protocol: TCP
      port: 80
      targetPort: 80
      name: http
    - protocol: TCP
      port: 443
      targetPort: 443
      name: https
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: ws
  labels:
    app: ws
  annotations:
    kubernetes.io/ingress.class: azure/application-gateway
    appgw.ingress.kubernetes.io/ssl-redirect: "true"
spec:
  rules:
  - host: ws.********.tech
    http:
      paths:
      - backend:
          serviceName: ws
          servicePort: 80
      - backend:
          serviceName: ws
          servicePort: 443
  tls:
  - secretName: cert-1

This deploys a small NodeJS application, inlcuding and Nginx in front, which exposes 80 and 443, and also loads the SSL certificates.
The ws service exposes these two ports. The ingress includes two backend ports: 80 and 443, but this fails at azure-ingress-pod-level:
`Processing event failed:network.ApplicationGatewaysClient#CreateOrUpdate: Failure sending request: StatusCode=400 – Original Error: Code="ApplicationGatewayPortNotValidForProtocol" Message="Port 443 is not valid for protocol Http in backendHttpSettingsCollection /subscriptions/********-****-****-****-************/resourceGroups/d-weu-rg-shared-dev/providers/Microsoft.Network/applicationGateways/d-app-ag-dev/backendHttpSettingsCollection/bp-default-ws-443-443-ws." Details=[]

Removing the backend with port 443 works, but still the WS connection drops after 30 sec.
We tested using npm i -g ws and store the following script in a file (e.g. client.js):
const WebSocket = require('ws');

const ws = new WebSocket('wss://ws.*****.tech', { rejectUnauthorized: false });

ws.on('open', function open() {
  console.log('connected')
});

ws.on('close', function close() {
  console.log('disconnected');
});

After running node client.js we notice that the connection drops after 30 sec.
Conclusion: Its still unclear whats the issue is, all requirements seem to be fulfilled.
We now ended up using a Keep-Alive ping, which is sent from the server to the client to keep the connection up. But I believe that this should not be necessary.

authors: MarkDNL akshaysngupta asridharan draychev rahulvmarathe


text:
Fix CanBeInitializedInline and GetParameterInitializer

In CanBeInitializedInline, type may be initialized inline (e.g. string), but defaultValue, though convertible to type, may not be used for inline initialization (e.g. extensible enum). So, if type is different than the type of defaultValue, we need to check if defaultValue can be assigned to its own type, then check for the provided type
GetParameterInitializer should add conversion extension method if required

Fixes build issue in https://github.com/Azure/azure-sdk-for-net/pull/30472


text:
[FeatureRequest] ParameterSet/parameter that returns HttpRequestMessage object without making a call

We are considering adding OData batch request support to our PowerShell SDK generated using AutoREST.PowerShell. To do this, we need to access the HttpRequestMessage object for each cmdlet that participates in the batch request without making a call to the service.
Proposal
Add a WithHttpRequestOutput AutoREST configuration that customers can use to specify whether AutoREST should generate a parameterSet that returns an HttpRequestMessage object. This should be an opt-in config that generates a parameterSet with -OutputRequest switch parameter.
Our proposed batch request implementation will utilize the new parameterSet as such:
$managerRequest = Get-MgUserManager -UserId $userId -OutputRequest
$updateUserRequest = Update-MgUserSetting -UserId $userId -ContributionToContentDiscoveryAsOrganizationDisabled -OutputRequest
$removeGroupRequest = Remove-MgGroup -GroupId $groupId -OutputRequest
Invoke-MgBatchRequest -Request $managerRequest, $updateUserRequest, $removeGroupRequest

Related to https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/116

We hope to understand the use case and benefit to end user. The further comment is helpful to us for prioritizing the request.

Hello @dingmeng-xue .
Do we have any updates?

@maisarissi , ARM supports batch API as well but we don't have clear idea about the benefit to either user or services. Could you share us a design doc?

authors: dingmeng-xue maisarissi peombwa


text:
Update interactive extension for CLI core 2.0.62.

Fixes #629.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/tjprescott/azure-cli-extensions.git@UpdateInteractive#subdirectory=src/$EXT&egg=$EXT"

authors: azuresdkci tjprescott

repo: Azure/azure-cli-extensions


text:
az apim create does not work

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az apim create -h
Errors:
The command failed with an unexpected error. Here is the traceback:

No module named 'azure.mgmt.apimanagement.models.api_management_client_enums'
Traceback (most recent call last):
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-1o1fsnhi\knack\knack\cli.py", line 206, in invoke
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-1o1fsnhi\azure-cli-core\azure\cli\core\commands\__init__.py", line 528, in execute
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-1o1fsnhi\azure-cli-core\azure\cli\core\__init__.py", line 300, in load_arguments
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-1o1fsnhi\azure-cli\azure\cli\command_modules\apim\__init__.py", line 28, in load_arguments
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-1o1fsnhi\azure-cli\azure\cli\command_modules\apim\_params.py", line 11, in <module>
ModuleNotFoundError: No module named 'azure.mgmt.apimanagement.models.api_management_client_enums'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az apim create

Expected Behavior
Environment Summary
Windows-10-10.0.17134-SP0
Python 3.6.6
Shell: powershell.exe

azure-cli 2.0.81

Additional Context

@cpatterson26 , thanks for reporting, we are looking at it.

@cpatterson26 Looks like this has since been fixed and I can confirm that there is no error now. Apologies for no updates on this issue sooner. Unless you are still seeing this error on your end, I believe this could be closed.

repo: Azure/azure-cli


text:
az interactive not working

Describe the bug
Command Name
az interactive
Errors:
cannot import name 'ENV_ADDITIONAL_USER_AGENT' from 'azure.cli.core.commands.client_factory' (/usr/local/Cellar/azure-cli/2.5.1/libexec/lib/python3.8/site-packages/azure/cli/core/commands/client_factory.py)
Traceback (most recent call last):
python3.8/site-packages/knack/cli.py, ln 215, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 631, in execute
    raise ex
...
interactive/azext_interactive/azclishell/app.py, ln 31, in <module>
    from azure.cli.core.commands.client_factory import ENV_ADDITIONAL_USER_AGENT
ImportError: cannot import name 'ENV_ADDITIONAL_USER_AGENT' from 'azure.cli.core.commands.client_factory' (/usr/local/Cellar/azure-cli/2.5.1/libexec/lib/python3.8/site-packages/azure/cli/core/commands/client_factory.py)

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az interactive

Expected Behavior
Environment Summary
macOS-10.13.6-x86_64-i386-64bit
Python 3.8.2
Installer: HOMEBREW

azure-cli 2.5.1 *

Extensions:
interactive 0.4.3

Fixed as per https://github.com/Azure/azure-cli/issues/12837#issuecomment-607610509.
Closing


text:
Issue Deploying Azure Premium Functions from CLI

So I create a function app using the following  but I need a Premium function app to be created the below command doesn't create one for me .

az functionapp create --resource-group test --os-type Linux --runtime python --name testar --plan test drift --storage-account xyzzy

Also When I use the Function app I created from the UI I am not able to push any functions to it , it does show pushed in local but I see nothing in the Azure Function Web page (Azure UI)

sudo func azure functionapp publish test  --build-native-deps

Please Let me know how to deploy Premium Linux Azure Function in python and How to push it to the app.

thanks @RodgeFu . routing to apporpriate team

@ahmedelnably, @fabiocav Do you have any updates to share.

authors: SaurabhSharma-MSFT raghav20 yungezz


text:
[App Service] Linux web apps don't appear to be configured correctly when using local git

Using the CLI, I created a new Linux App Service plan, and a web app that is configured to use local git for deployments. After doing a Git push and setting the start file (which hopefully won't be necessary soon), I launched the site and got the following error:

After not being able to figure out what the issue was, I opened up the portal and noticed that there wasn't a runtime stack selected on the Docker Container tab (see image below). I explicitly set it to Node.js 6.6.0, at which point, everything worked great.

That makes me wonder whether the az appservice web create command configures the app correctly when relying on a default runtime stack. I've not had any issues when deploying a custom Docker container, so maybe the az appservice web config container update command doesn't the necessary work to configure the app correctly? Oddly enough, when I ran the az appservice web config appsettings show command, I noticed that following output, so it seemed like it detected the use of Node after the Git push, but it didn't setup the runtime stack container right?
WEBSITE_NODE_DEFAULT_VERSION
------------------------------
6.9.1

As an update, I noticed that I can mitigate this issue from the CLI by running the following command: az appservice web config update --node-version 6.6.0. I suppose this is somewhat analogous to needing to run az appservice web config container update to set a custom container. However, the problem is that you can setup an app and push a Git deployment without realizing the app wasn't configured correctly. Whereas with the custom Docker container, you wouldn't expect it to know which image you want it to use.
Ideally, the web app would be able to auto-detect your runtime stack by inspecting the code upon deployment (doesn't Kudu do this already?).

Clarify, the node related appsettings doesn't impact container based linux web, they are 2 different flows, you either go with container, which you have coupe of appsetings to tweak for the image source; or we go with non-container model where you need to specify the the entry file and node/python/php versions
So check out the sample flow
Either way, we need to update the commands to get flow more clearer and less error-prone for users.

@yugangw-msft I fully understand the difference here, although the portal makes it clear that you're always using a container, it's just a matter if its a custom container or not. That said, my primary point here was that the experience of creating a web app and deploying via local git doesn't feel very optimized, since you can easily get into a position where you're deployed app doesn't work.
The portal doesn't allow you to create a Linux web app without specifying your runtime stack/custom container, whereas the CLI does.

The portal doesn't allow you to create a Linux web app without specifying your runtime stack/custom container, whereas the CLI does.

Agreed.

delay a bit for the the same reason of #1337

The stack runtime version for a linux web is controlled by the site configuration linux_fx_version. CLI has done 2 improvement to help set up:
1. On webapp create, you can set through --runtime
2. On webapp config container set, when the arg of --docker-custom-image-name is used, CLI will also patch it.
With those, the original confusion will be greatly mitigated.
Note, the --node-version is irrelevant. It was added at service side but abandoned shortly, hence I am going to rewire it to WEBSITE_NODE_DEFAULT_VERSION

Submitted https://github.com/Azure/azure-cli/pull/3375 to remove the --node-version.
Closing this issue as we don't have other things to handle.

authors: lostintangent yugangw-msft


text:
Getting an issue while assigning User Identity to Function App using az cli

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az functionapp identity assign
Errors:
The command failed with an unexpected error. Here is the traceback:
'NoneType' object is not callable
Traceback (most recent call last):
  File "/usr/local/Cellar/azure-cli/2.23.0/libexec/lib/python3.8/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/usr/local/Cellar/azure-cli/2.23.0/libexec/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 657, in execute
    raise ex
  File "/usr/local/Cellar/azure-cli/2.23.0/libexec/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 720, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/usr/local/Cellar/azure-cli/2.23.0/libexec/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 691, in _run_job
    result = cmd_copy(params)
  File "/usr/local/Cellar/azure-cli/2.23.0/libexec/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 328, in __call__
    return self.handler(*args, **kwargs)
  File "/usr/local/Cellar/azure-cli/2.23.0/libexec/lib/python3.8/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/usr/local/Cellar/azure-cli/2.23.0/libexec/lib/python3.8/site-packages/azure/cli/command_modules/appservice/custom.py", line 789, in assign_identity
    webapp = _assign_identity(cmd.cli_ctx, getter, setter, role, scope)
  File "/usr/local/Cellar/azure-cli/2.23.0/libexec/lib/python3.8/site-packages/azure/cli/core/commands/arm.py", line 706, in assign_identity
    resource = setter(resource)
  File "/usr/local/Cellar/azure-cli/2.23.0/libexec/lib/python3.8/site-packages/azure/cli/command_modules/appservice/custom.py", line 782, in setter
    webapp.identity.user_assigned_identities[identity] = UserAssignedIdentitiesValue()
TypeError: 'NoneType' object is not callable

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az functionapp identity assign -g {} -n {} --identities {}

Expected Behavior
Environment Summary
macOS-11.3.1-x86_64-i386-64bit
Python 3.8.10
Installer: HOMEBREW

azure-cli 2.23.0

Extensions:
webapp 0.3.1

Additional Context

route to service team

Hi @ravitellakula sorry you ran into this -- can you try updating to 2.24.0? This should be fixed in that cli version

this should be fixed - please open a new issue if this still occurs with latest cli version

authors: gzuber panchagnula ravitellakula yonzhan


text:
Token for postman

Please see below for the autogenerated error message.
I'm looking to use Postman to check what my APIs return during development. The command below had previous returned an access token. Now it returns the error below.
Please notify me as to the correct resource to gain an access token.
az account get-access-token --resource 0b07f429-9f4b-4714-9392-cc5e8e80c8b0sdxz
Thanks
This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az account get-access-token
Errors:
Get Token request returned http error: 400 and server response: {"error":"invalid_resource","error_description":"AADSTS500011: The resource principal named ![image](https://user-images.githubusercontent.com/86230380/122739276-bc2f6d80-d27a-11eb-9a5c-f66732448535.png)429-9f4b-4714-9392-cc5e8e80c8b0sdxz was not found in the tenant named 87d70b0f-5efc-4991-a065-e205bc3db308. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant.\r\nTrace ID: 8398f091-1a03-440a-b484-b9c1bf954f00\r\nCorrelation ID: 3687d6e4-b061-477b-b3a7-056781e8ac36\r\nTimestamp: 2021-06-21 09:18:34Z","error_codes":[500011],"timestamp":"2021-06-21 09:18:34Z","trace_id":"8398f091-1a03-440a-b484-b9c1bf954f00","correlation_id":"3687d6e4-b061-477b-b3a7-056781e8ac36","error_uri":"https://login.microsoftonline.com/error?code=500011"}
Traceback (most recent call last):
Temp\pip-unpacked-wheel-taryuzhh\knack\cli.py, ln 233, in invoke
...

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az account get-access-token --resource {}

Expected Behavior
Environment Summary
Windows-10-10.0.18362-SP0
Python 3.6.8
Installer: MSI

azure-cli 2.20.0

Additional Context

@jiasli for awareness

Per the error message:
Get Token request returned http error: 400 and server response: {"error":"invalid_resource","error_description":"AADSTS500011: The resource principal named ![image](https://user-images.githubusercontent.com/86230380/122739276-bc2f6d80-d27a-11eb-9a5c-f66732448535.png)429-9f4b-4714-9392-cc5e8e80c8b0sdxz was not found in the tenant named 87d70b0f-5efc-4991-a065-e205bc3db308.

You are using ![image](https://user-images.githubusercontent.com/86230380/122739276-bc2f6d80-d27a-11eb-9a5c-f66732448535.png)429-9f4b-4714-9392-cc5e8e80c8b0sdxz as the --resource which a picture:

Running the command with text (not picture) should work:
az account get-access-token --resource 0b07f429-9f4b-4714-9392-cc5e8e80c8b0sdxz

authors: adrian-street jiasli yonzhan


text:
No examples for workspace.yml file in `az ml workspace create' command

It is quite painful to not able to find any documentation or example for the YAML file which can be passed into az ml workspace create command to create workspace with existing resources.

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

ID: 63446f78-d3ac-0cc3-a102-a1612c54d90e
Version Independent ID: a20a657c-aeaa-d122-0714-1aa2cfecd966
Content: az ml workspace
Content Source: latest/docs-ref-autogen/ml/workspace.yml
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

route to service team

I know it is little frustrating to figure out the full YAML, good news is we  are working on the documentation. In the meantime here is a sample which has all the fields that and workspace create can take from file input (-f option), hope it helps:
name: full_workspace_name
location: EastUS
friendly_name: for_fun
description: some desc
storage_account: /subscriptions/SUBID/resourceGroups/RG_NAME/providers/Microsoft.Storage/storageAccounts/name
container_registry: /subscriptions/SUBID/resourceGroups/RG_NAME/providers/Microsoft.ContainerRegistry/registries/name
key_vault: /subscriptions/SUBID/resourceGroups/RG_NAME/providers/Microsoft.KeyVault/vaults/name
application_insights: /subscriptions/SUBID/resourceGroups/RG_NAME/providers/microsoft.insights/components/name
hbi_workspace: true
customer_managed_key:
key_vault: /subscriptions/SUBID/resourceGroups/RG_NAME/providers/Microsoft.KeyVault/vaults/name
key_uri: https://kv_name.vault.azure.net/keys/testvm/key_id
private_endpoints:
approval_type: AutoApproval
connections:
my-endpt1:
subscription_id: SUBID
resource_group: RG_NAME
location: EastUS
vnet_name: vntest
subnet_name: default
tags:
purpose: testing
team: management

authors: banibrata prapanw yonzhan