Not able to fetch Custom Metrics (for Azure Windows VM) using Azure Monitor REST API

Custom Metric Updated through Diagnostics Config:
I have enabled custom metric by configuring Azure Monitor Sink ,by updating the Diagnostic extension for Windows VM ( https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineextensions/update)
The custom metric being "\Memory% Committed Bytes In Use" has been updated in the Diagnostics config file :
VM-Diagnostics.txt
The same metric is viewable from the Azure Portal -> Metrics pane.

But,when I try to fetch the same metric using the Azure Monitor REST API (https://docs.microsoft.com/en-us/rest/api/monitor/metrics/list)  I get no data and an empty timeseries object:
REST APIs Tried:
https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/apmgroup/providers/Microsoft.Compute/virtualMachines/apm-vm-testvm1/providers/microsoft.insights/metrics?timespan=2019-03-31T11:30:00.000Z/2019-04-01T11:30:00.000Z&interval=PT1H&metricnames=\Memory\% Committed Bytes In Use&aggregation=Average&api-version=2018-01-01&metricnamespace=azure.vm.windows.guestmetrics
https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/apmgroup/providers/Microsoft.Compute/virtualMachines/apm-vm-testvm1/providers/microsoft.insights/metrics?timespan=2019-03-31T11:30:00.000Z/2019-04-01T11:30:00.000Z&interval=PT1H&metricnames=\Memory\% Committed Bytes In Use&aggregation=Average&api-version=2018-01-01&metricnamespace=azure.vm.windows.guest
Response:
{
    "cost": 0,
    "timespan": "2019-04-01T11:52:22Z/2019-04-01T12:52:22Z",
    "interval": "PT1H",
    "value": [
        {
            "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/apmgroup/providers/Microsoft.Compute/virtualMachines/apm-vm-testvm1/providers/Microsoft.Insights/metrics/\\Memory\\% Committed Bytes In Use",
            "type": "Microsoft.Insights/metrics",
            "name": {
                "value": "\\Memory\\% Committed Bytes In Use",
                "localizedValue": "\\Memory\\% Committed Bytes In Use"
            },
            "unit": "Unspecified",
            "timeseries": []
        }
    ],
    "namespace": "azure.vm.windows.guestmetrics",
    "resourceregion": "southeastasia"
}

Please provide some documentation as to fetching Custom metrics (multi-dimensional using wildcard) via REST API and namespaces for custom metrics for Windows/Linux VM.

@annerejula Thanks for the Comment. We are actively investigating and will get back to you soon.

May I know if there's any update on this please? Is the updating the "Wadcfg" part of the diagnostics configuration sufficient for including Azure Monitor Sink or is there more I have to modify?

@anirudhcavale might this be something you could advise on? I see you have contributed to many of the Azure Monitor docs

@anirudhcavale  Please let me know if the Azure Monitor REST APIs allow fetching of Custom Metrics as of now..

Hey @annerejula the REST API does support fetching of custom metrics. This may have to do with JSON escaping of '/' characters. What client are you using to query metrics (fiddler, postman, ARM Client)?

@anirudhcavale  I'm using postman right now..
There don't seem to be any "/" in the metric name. Its there only in the timespan parameter.
Considering the same for a different metric - "\System\Processes" :
This is my request :
https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/apmgroup/providers/Microsoft.Compute/virtualMachines/apm-vm-testvm1/providers/microsoft.insights/metrics?timespan=2019-04-08T05:30:00.000Z/2019-04-09T05:30:00.000Z&interval=PT1H&metricnames=\System\Processes&aggregation=Average&api-version=2018-01-01&metricnamespace=azure.vm.windows.guestmetrics
Response:
{
    "cost": 0,
    "timespan": "2019-04-08T05:30:00Z/2019-04-09T05:30:00Z",
    "interval": "PT1H",
    "value": [
        {
            "id": "/subscriptions/47da1f5f-c756-481b-ae8d-0471c6fbb262/resourceGroups/apmgroup/providers/Microsoft.Compute/virtualMachines/apm-vm-anne/providers/Microsoft.Insights/metrics/\\System\\Processes",
            "type": "Microsoft.Insights/metrics",
            "name": {
                "value": "\\System\\Processes",
                "localizedValue": "\\System\\Processes"
            },
            "unit": "Unspecified",
            "timeseries": []
        }
    ],
    "namespace": "azure.vm.windows.guestmetrics",
    "resourceregion": "southeastasia"
}

Although if I query the same metric via Azure Storage Explorer, I can see its data, with the same metric name "\System\Processes"

Network Log for the same metric when accessed via Azure Portal -> Metrics. Its obtainable from the portal:

@annerejula this definitely should be working and I am able to have my postman client query my Guest Metrics back. However, my guest metrics do not have start with a '' (ex. yours are "\System\Processes" and my metric is just "System\Processes").
Is there an email I can follow up with you on to debug further?

@anirudhcavale  I tried with just "System\Processes" also with no success.. You can reach me at<EMAIL_ADDRESS>

Thanks @anirudhcavale
@annerejula I will close this out and let you two work offline on this further.

@annerejula @anirudhcavale @MicahMcKittrick-MSFT any success ?

@himanksharma24 yes we were able to close it out with Anne offline. Can you open a new issue, with details if you are unable to query custom metrics?

Can anyone please help me to query Custom metrics(For azure VM)?

@rajashekargowda can you describe what you have configured so far on the VM? For example:

Is this a Windows VM?
Have you configured the diagnostics extension?
Did you declare the "Azure monitor" data sink or are the metrics only being sent to a storage account?
How are you calling the REST API to retrieve the metrics?

@anirudhcavale, Thanks for the comment.

Is this a Windows VM?
I am looking for both windows and Linux VM’s
Have you configured the diagnostics extension?
Yes, I have configured the diagnostic extensions on both Linux and Windows VM. Now I need a way to pull the Memory metric.
Did you declare the "Azure monitor" data sink or are the metrics only being sent to a
storage account?
Memory metric only being sent to a storage account.
How are you calling the REST API to retrieve the metrics?
I want to go with powershell to call Rest API, but I don’t know what all parameters need to be passed to the rest API to get the memory metric information.
I am following below link to fetch the details, but always the response includes default counters like Percentage CPU.
https://docs.microsoft.com/en-us/rest/api/monitor/metrics/list
Please help.

@rajashekargowda thanks for the reply:

That metrics REST API will only return values IF you are sending metrics to the Azure Monitor data sink
The Azure monitor data sink is only supported on Windows VMs today (not Linux yet).
Once you enable the data sink and you want to query the metrics back, you will need to in the metric query: specify the metric namespace and metric name

@anirudhcavale
Just wanted to confirm, the memory metrices of Linux VMs are not supported if we try to fetch through REST API? As I see, Windows VMs and Linux VMs(Classic) I am able to fetch but not for the Linux VMs after enabling guest level monitoring too.
Awaiting a response.

@tars400 the diagnotic settings on Linux VMs don't support the azure monitor sink yet, so yes metrics collected by it will not be queryable via the REST API.
For Linux VMs if you'd like to collect guest metrics and have them queryable via the REST API, we have customers try: https://docs.microsoft.com/en-us/azure/azure-monitor/platform/collect-custom-metrics-linux-telegraf

@anirudhcavale
Thank You !

We can access the extended metrics from linux VM's as-well using the RestAPI.
Use the below API to get the metric definition. This will give you all the extended metrics.
https://management.azure.com/{resourceId}/metricdefinitions?api-version=2014-04-01
From this response, we need to dynamically create the Rest URL which will give you the required data.
Pick up the below mentioned elements from the json

name.value
metricAvailabilities.location.tableEndpoint
metricAvailabilities.location.tableInfo.tableName
metricAvailabilities.location.tableInfo.sasToken

URL: {tableEndpoint}/{tableName}()sasToken&$filter=(CounterName eq '{name.value}' or CounterName eq ‘{name.value}’ and TIMESTAMP ge datetime'2019-09-07T00:00:00Z' and  TIMESTAMP le datetime'2019-09-10T00:00:00Z')
No need to pass anything else, make sure you have set the Headers as below
Content-Type = application/x-www-form-urlencoded
Accept = application/json

Hi @anirudhcavale ,
Could you please pass on the steps to get the Custom Metrics from Monitor REST API ?
Below are the details
Virtual Machine Type - Windows
Diagnostic Settings - Enabled
Azure Monitor Data Sink - Yes
Rest API - https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testingwvm/providers/Microsoft.Compute/virtualMachines/testingwvm/providers/microsoft.insights/metrics?api-version=2018-01-01&interval=PT1H&metricnames=\Memory% Committed Bytes In Use&aggregation=Average&metricnamespace=azure.vm.windows.guest

can you guys  tell me solution for above request 'https://github.com/MicrosoftDocs/azure-docs/issues/28457#issuecomment-481115552'.
I am facing same issue .

@ravirajuMoga as I called out in my response to the original comment sometimes the metric name may be slightly different than you expect. Have you done a "get metric definitions" call on the VM/resource (for the custom metric namespace) to discover the metric names? You should use the metric names returned by that call when doing the actual get metrics call?

@annerejula  @anirudhcavale  I am having the same issue.  But i get timeseries array empty. Please help

@yash-abhyankar Issue solved, internally. Will discuss once you are back.

Sure
On Tue, Nov 10, 2020, 10:44 PM ajinkrayate<EMAIL_ADDRESS>wrote:

@yash-abhyankar https://github.com/yash-abhyankar Issue solved,
internally. Will discuss once you are back.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/28457#issuecomment-724842313,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF3UB3PBRADBMPQPB5YU3R3SPFYGVANCNFSM4HCW7QLQ
.

Today I am facing the same issue(#28457), I'm doing R&D then I saw this post. Now I get the solutions.

Can anyone please help me, How to get custom metrics for linux vm with namespaces using the REST API or NodeJS SDK ??

What metric u want?
On Tue, Dec 1, 2020, 6:09 PM Parameswar Mondal<EMAIL_ADDRESS>wrote:

Can anyone please help me, How to get custom metrics for linux vm with
namespaces using the REST API or NodeJS SDK ??
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/28457#issuecomment-736526224,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF3UB3JEPJRG4YIUOAU4USLSSTPWJANCNFSM4HCW7QLQ
.

What metric u want?
…
On Tue, Dec 1, 2020, 6:09 PM Parameswar Mondal @.***> wrote: Can anyone please help me, How to get custom metrics for linux vm with namespaces using the REST API or NodeJS SDK ?? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#28457 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF3UB3JEPJRG4YIUOAU4USLSSTPWJANCNFSM4HCW7QLQ .

Memory, Logical Disk

@yash-abhyankar I need Memory, Logical Disk metrics for linux VM

I was able to get memory metric for windows. Via enabling guest metrics
On Tue, Dec 1, 2020, 7:24 PM Parameswar Mondal<EMAIL_ADDRESS>wrote:

@yash-abhyankar https://github.com/yash-abhyankar I need Memory,
Logical Disk metrics for linux VM
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/28457#issuecomment-736565873,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF3UB3MZEGJMK6BQ2SJ2S53SSTYQNANCNFSM4HCW7QLQ
.

Okay, I also got the windows vm metrics data for Memory, Logical Disk. But now I need Memory, Logical Disk metrics for linux VM.

Oh not sure for the linux. Arent you getting it for linux in the same way
as windows?
On Tue, Dec 1, 2020, 7:31 PM Parameswar Mondal<EMAIL_ADDRESS>wrote:

Okay, I also got the windows vm metrics data for Memory, Logical Disk. But
now I need Memory, Logical Disk metrics for linux VM.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/28457#issuecomment-736570019,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF3UB3IJX6AMKFZQ3ARI2STSSTZKZANCNFSM4HCW7QLQ
.

No, I'm not getting metric namespace for linux vm. So I'm not getting the custom metrics information.


gcs init fails

I am unable to get helm gcs init to work. Irrespective of which auth method i use, it invariably fails with--
ERROR: (gcloud.auth.application-default.login) Invalid file format.
See https://developers.google.com/api-client-library/python/guide/aaa_client_secrets
Expected a JSON object with a single property for a "web" or "installed" application

I have tried these (all env variables below are configured properly) :

With application-default

echo $GCLOUD_SERVICE_KEY > ${HOME}/account-auth-deploy.json
gcloud auth application-default login --client-id-file=${HOME}/account-auth-deploy.json
gcloud --quiet container clusters get-credentials $CLOUDSDK_CONTAINER_CLUSTER

With application default (alt)

gcloud auth application-default login --client-id-file=${HOME}/account-auth.json

With google app creds env var

export GOOGLE_APPLICATION_CREDENTIALS=${HOME}/account-auth-deploy.json

Neither of these seem to have any effect.
Using: helm 2.13.1, gcs plugin latest.

ERROR: (gcloud.auth.application-default.login) Invalid file format.

@prabuvenkat make sure that your service account credentials file is good. Check out the format and contents here https://cloud.google.com/iam/docs/creating-managing-service-account-keys
Working example (from out CI/CD pipeline):
 echo $GCLOUD_SERVICE_KEY > /gcloud-service-key.json
 gcloud auth activate-service-account --key-file=/gcloud-service-key.json

@prabuvenkat may I ask you to share more details, debug output and your sanitized content of service account (json)?


feat(series): add new series flow support

Description

series and media items have same id
bulk endpoint is used to get episodes

Steps completed:

According to our definition of done, I have completed the following steps:

[ ] Acceptance criteria met
[ ] Unit tests added
[ ] Docs updated (including config and env variables)
[ ] Translations added
[ ] UX tested
[ ] Browsers / platforms tested
[ ] Rebased & ready to merge without conflicts
[ ] Reviewed own code

@dbudzins nice catch, thanks! Made some cleanup


OmniSharp can't load Microsoft.NET.Sdk.Web if Visual Studio 2017 is installed

The initial application creation and loading steps above will fail in VSCode if Visual Studio 2017 is installed as well because OmniSharp will find the MSBuild version from that install before the .NET Core SDK version.  The older version of MSBuild will not resolve the web SDK correctly.  I worked around this by simply relocating the old MSBuild version so OmniSharp would no longer find it.

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

ID: c07e57dc-526f-9479-4695-de7d8f06eb9a
Version Independent ID: 8226ed72-69b2-3c93-a931-218bd11cf9c8
Content: Get started with Blazor
Content Source: aspnetcore/blazor/get-started.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

Closing as a duplicate. This issue is engineering-related and is being tracked in the extension's repo at https://github.com/OmniSharp/omnisharp-vscode/issues/3074. Please track progress over there.


Errors while compiling: does not conform to protocol 'GeneratedMessageProtocol' and is not a member type of

I have several protobuf files which are actively used in a project with some other languages, and now need swift versions. I can build .pb.swift files successfully but when I add them to Xcode, I am receiving tons of bugs mainly composed of:

Type 1 'Foo' does not conform to protocol 'GeneratedMessageProtocol'"
'Foo' is not a member type of 'Bar'

I prepared a minimal example showing this issue:
message PStatus {
  optional int64 battery_usage = 1;
  optional int64 max_battery_usage = 2;
  message PCardVoltageStatus
  {
    message PCard
    {
      optional string card_name = 1;
      optional string no = 2;
    };
    repeated PCard card = 1;
  };
};

If you build .pb.swift file from this example and add to xcode, you should also get those errors.

Have you added runtime library into the project?
You should update your protobuf-swift compiler and runtime library from repository.
Your example works for me.

I have followed all steps in "How To Install Protobuf" section under readme

Do you mean adding ./src/ProtocolBuffers/ProtocolBuffers.xcodeproj in my project? I also added generated .framework file to my project accordingly.
How can I make those updates? Are these something different which is not mentioned in readme?

I cloned latest repo and build and followed all steps in how to install section. But still having problems? I think I am missing something...

For some reason, your project does not see ProtocolBuffers.framework. But I can't reproduce this.

But it is very strange because I can compile following with no problem:
message SearchResponse {
    message Result {
      optional string card_name = 1;
      required string no = 2;
    };
    repeated Result result = 1;
};

But receive those errors with a count of 55, with the following:
message SearchResponse {
    message PResult {
      optional string card_name = 1;
      required string no = 2;
    };
    repeated PResult result = 1;
};

Just changed Result-->PResult, since my messages have that prefix.

ooohhh... this is bug...:)
I can fix it by this evening.

Happy to hear not being alone with this:)
Thanks a lot...

Try this

Yes, thats working.
Thank you very much...


Don't allow to delete operator profile by themselves

in delete own account form
in accounts administration grid

RE in accounts administration grid:
There is no possibility to delete your own profile from Accounts module -> Manage grid. Single 'Delete' actions aren't available. Bulk 'Delete' actions return error message 'Cannot delete the selected account(s)'.

RE in delete own account form:
Fixed.


Swift Segmentation Fault 11

After properly adding the pod and putting
class AppDelegate: UIResponder, UIApplicationDelegate {
    lazy var window: COSTouchVisualizerWindow? = {
        COSTouchVisualizerWindow(frame: UIScreen.mainScreen().bounds)
        }()
   ...
}

There is a segmentation fault
error: use of undeclared type 'COSTouchVisualizerWindow'
    lazy var window: COSTouchVisualizerWindow? = {
                     ^~~~~~~~~~~~~~~~~~~~~~~~
0  swift                    0x0000000101cd8968 llvm::sys::PrintStackTrace(__sFILE*) + 40
1  swift                    0x0000000101cd8e54 SignalHandler(int) + 452
2  libsystem_platform.dylib 0x00007fff88cb1f1a _sigtramp + 26
3  libsystem_platform.dylib 0x0000000000000040 _sigtramp +<PHONE_NUMBER>
4  swift                    0x000000010209dea2 mapSignatureFunctionType(swift::ASTContext&, swift::Type, bool, bool, bool, unsigned int) + 66
5  swift                    0x000000010209dcf3 swift::ValueDecl::getOverloadSignature() const + 531
6  swift                    0x0000000101fb35cd checkRedeclaration(swift::TypeChecker&, swift::ValueDecl*) + 397
7  swift                    0x0000000101fad073 swift::ASTVisitor<(anonymous namespace)::DeclChecker, void, void, void, void, void, void>::visit(swift::Decl*) + 2723
8  swift                    0x0000000101f9df0b swift::TypeChecker::typeCheckDecl(swift::Decl*, bool) + 123
9  swift                    0x0000000101f8425a swift::performTypeChecking(swift::SourceFile&, swift::TopLevelContext&, unsigned int) + 1514
10 swift                    0x00000001012b95dd swift::CompilerInstance::performSema() + 2381
11 swift                    0x000000010101e788 frontend_main(llvm::ArrayRef<char const*>, char const*, void*) + 2008
12 swift                    0x000000010101c86d main + 1677
13 libdyld.dylib            0x00007fff8d0405c9 start + 1
14 libdyld.dylib            0x000000000000005e start +<PHONE_NUMBER>

Can you post the snippet of your AppDelegate?

I also commented out the original window.
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
    lazy var window: COSTouchVisualizerWindow? = {
        COSTouchVisualizerWindow(frame: UIScreen.mainScreen().bounds)
        }()
    //var window: UIWindow?

Any luck?

Not yet,  I was investigating it but I couldn't even get the window to load in Xcode 6.3.  I'm getting a compile time error about overriding the getter on window.
What version of Xcode/Swift
With Does your Podfile contain the use_frameworks! declaration ?

I'm using Xcode 6.2 right now.
About the use_frameworks!, no I am unaware of this. Sorry I'm quite new to Cocoapods.

Okay,
Apple might have changed something in Xcode 6.3 in the Swift formatting that is breaking my project which is why I can't run it right now.  I'll have to trouble shoot that first.
As for use_frameworks!, that takes advantage of Apple's support for having proper bundled packages. Framework support was added in the latest minor release version of Cocoapods (0.36.0).  If you're not using frameworks, then you're importing the COSTouchVisualizer through a bridging header.
Once I figure out why I can't use this library in Swift 1.2, I'm going to take a look at whether or not the bridging header makes a difference or not.

I can confirm this issue with the latest swift update. Hope you can find what's going on !

I am having the same issue. Importing COSTouchVisualizer through a Bridging header. The error I'm getting is as follows:
Objective-C method 'window' provided by getter for 'window' conflicts with optional requirement getter for 'window' in protocol 'UIApplicationDelegate'

Use the following in your AppDelegate
    lazy var window: UIWindow? = {
        COSTouchVisualizerWindow(frame: UIScreen.mainScreen().bounds)
    }()

Then it should work without problems

@krusche thank you, I was trying that but I forgot the step of setting the delegate.  I just updated the project with a Swift example and here is the entire AppDelegate
import UIKit
import COSTouchVisualizer

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate, COSTouchVisualizerWindowDelegate {

    lazy var window: UIWindow? = {
        var customWindow = COSTouchVisualizerWindow(frame: UIScreen.mainScreen().bounds)
        customWindow.touchVisualizerWindowDelegate = self
        return customWindow;
        }()

    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        return true
    }

    func touchVisualizerWindowShouldAlwaysShowFingertip(window: COSTouchVisualizerWindow!) -> Bool {
        return true
    }
}


I can run web socket

I downloaded proyect but get connection refused
how I can know what happened?
WebSocket connection to 'ws://localhost:8090/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
connectServer @ 1:33
I run command
php ssh-server/bin/websocket.php 2>&1 >/dev/null &
[1] 5980

Hello!!!
You must change the localhost for the url of the server you are running the
websocket.
In spanish:
Debes modificar localhost por la url del servidor donde tienes corriendo el
websocket.
Jose J. Anton
El lun, 11 ene 2021 a las 18:04, jjuandiaz<EMAIL_ADDRESS>escribió:

I downloaded proyect but get connection refused
how I can know what happened?
WebSocket connection to 'ws://localhost:8090/' failed: Error in connection
establishment: net::ERR_CONNECTION_REFUSED
connectServer @ 1:33
I run command
php ssh-server/bin/websocket.php 2>&1 >/dev/null &
[1] 5980
[image: image]
https://user-images.githubusercontent.com/59715844/104214193-e6e8e080-5415-11eb-975b-2db621833ed0.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/roke22/Laravel-ssh-client/issues/9, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABLRQPN7ILFT2NAICLDOSZTSZMVSTANCNFSM4V53N4RA
.

Hello!!!
You must change the localhost for the url of the server you are running the
websocket.
In spanish:
Debes modificar localhost por la url del servidor donde tienes corriendo el
websocket.
Jose J. Anton
El lun, 11 ene 2021 a las 18:04, jjuandiaz<EMAIL_ADDRESS>escribió:

I downloaded proyect but get connection refused
how I can know what happened?
WebSocket connection to 'ws://localhost:8090/' failed: Error in connection
establishment: net::ERR_CONNECTION_REFUSED
connectServer @ 1:33
I run command
php ssh-server/bin/websocket.php 2>&1 >/dev/null &
[1] 5980
[image: image]
https://user-images.githubusercontent.com/59715844/104214193-e6e8e080-5415-11eb-975b-2db621833ed0.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/roke22/Laravel-ssh-client/issues/9, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABLRQPN7ILFT2NAICLDOSZTSZMVSTANCNFSM4V53N4RA
.


Very good desing! appreciate it!

hi,
it is very good desing and implementation of user system api.
i wonder that if we want to add web version, how we can add it?
thank you.

Hi, thank you!
So, if you wanna use this API in a web application, you could call its routes directly.
you can find all of them in the documentation along with instructions on how to execute the API.
lemme know if you got any issues.

thank you for response. i just wonder that implementation of web page with html engine render.
to consume api , i need to use javascript or similar technology. but i am looking for implementing web side of clean architecture.
because i like the design of your understanding. folder structure seems more understandable. some people use different folder structure and it is not easy to follow the code. i think clean arch need better understandable folder structure for all people.

when i looked the code, you use routeadapter only sends JSON. i couldnt decide which way is better for clean architecture principle to make ports moduler like plugable.

because when i look your desing. it seems that another framework like gin or other can be implemented because of clean arch.

Hey. I see your point.
So, indeed switching to another plugin like gin would be easy given the clean arch implemented. In your case, if I got that right, you wanna serve a static page directly, right?
If that's the case, I think you can create some new functions on the presentation layer for serving those pages. Those functions should implement the controller interface. After that, you could create a new adapter that serves the page instead of taking the JSON data.
lemme know if you think that's a good approach.
thank you.

firstly i want to use your structure for gofiber template. in fact i am interested in creating clean architecture login system with privacy like encrypting some information and hashing some others. in order to do that i am trying to understand how can i change your structure or make new files to get web pages for gofiber framework first. my second concern is another person can change this structures to adopt another framework, so we will have open source login system with JWT and cookies. these are things in my mind. first of all , i think i need to change gofiber routes or adding ne routes like your routes will be /api// and my web routes will be /singuppage,  / loginpage , /forgotpasswordpage etc. i think generating another fiber routes will be ok for web page rendering. maybe sending http response is not ideal. i could not decide yet.

you project is wonderful for only api system. not compatible for web page rendering. if we may add it , it can be best clean architecture example

That's quite an interesting use case for this project. Indeed, when I did it I was not concerned with web compatibility, but as you said, creating new routes for serving the web pages could be a solution. As I said, I made an abstraction over a controller. So you could create some structs on the presentation layer that implement that same interface and create an adapter for them. I'll think more about that when I get more time, maybe I'll try to implement it just to see how it goes.
Anyways, thank you for your comments, and lemme know if you get any other ideas.

may i ask why you used custom validator for api presentation side. inside of entity section. you used asaskevich/govalidator but in api side you used another custom validation. is there any special reason?


Implement OptimizedPathMappingRepository

As explained in puli/issues#80, I implemented an optmized version of the PathMappingRepository. This pull-request is not ready for the moment, please do not merge it now. It's just a place for dicussion about the code.
I want to explain what I did and what I plan to do to discuss, especially with @webmozart :) .

Create the repository ✓

https://github.com/puli/repository/compare/1.0...tgalopin:path-mapping?diff=unified&name=path-mapping#diff-55bbc453f8c7d643ba2cd09cc280c00f
As discussed with @webmozart, optimized and not optimized versions of the PathMappingRepository are completely different in code, it makes sense to separate them. I created the optimized version only for the moment and I'll open another pull-request for the classical one.

Create a GenericFilesystemResource ✓

https://github.com/puli/repository/compare/1.0...tgalopin:path-mapping?diff=unified&name=path-mapping#diff-2ba3bf2e348a04a316173aba204de2d9
It's the best solution I found to store a virtual directory in the repository. Here is the problem:

I want to store only FilesystemResource instances in the repository ;
However, when someone add the path /webmozart/puli/file1, the paths /webmozart and  /webmozart/puli should be created if they does not exist. But they don't have to represent a real file on the system ;

So I created this class to represent a generic, virtual filesystem resource usable in the repository while not having any real file / directory behind it. Perhaps are there better ways or just a better name for this class, please tell me if you think of something :) .

Externalize test resources creation in order to be able to override it ✓

https://github.com/puli/repository/compare/1.0...tgalopin:path-mapping?diff=unified&name=path-mapping#diff-59ad75cfaee83a692af80d3634224473
As my repository only handle FilesystemResource instances, I needed to create specific testing objects. I had to externalize this creation, so I edited the abstract tests in order to do so.

Add specific tests for the optimized version ✓

https://github.com/puli/repository/blob/a25287982a5d2c64c0ed507532110af89bd614b8/tests/OptimizedPathMappingRepositoryTest.php
Test that the adding of a single directory does add all the children of this directory in the right place.
Do you think of other specific test I could have forgotten?

I fixed all your notes @webmozart.
I'm working on the benchmarks to see if storing paths would be a better idea.

Okay, I did the benchmarks, and here are the results. Please don't hesitate to tell me if you see a problem in the process I'll explain here.
1. Raw data
I had to generate a bit of raw data to benchmark properly. Here is the script doing so:
<?php

require 'src/vendor/autoload.php';

/*
 * Resources
 */
$store = new \Webmozart\KeyValueStore\ArrayStore();
$repository = new \Puli\Repository\OptimizedPathMappingRepository($store);

for ($i = 0; $i < 50; $i++) {
    $repository->add('/tgalopin/key' . $i, new \Puli\Repository\Resource\DirectoryResource(__DIR__ . '/fixtures'));
}

file_put_contents('serialized-resource.data', serialize($store));

/*
 * Paths
 */
$store = new \Webmozart\KeyValueStore\ArrayStore();
$repository = new \Puli\Repository\OptimizedPathMappingRepositoryPath($store);

for ($i = 0; $i < 50; $i++) {
    $repository->add('/tgalopin/key' . $i, new \Puli\Repository\Resource\DirectoryResource(__DIR__ . '/fixtures'));
}

file_put_contents('serialized-path.data', serialize($store));

This script will generate a first serialized file containing a store of resources, and a second one containing a store of paths.
2. Benchmark process
2. a. Resources
Repository: https://gist.github.com/tgalopin/9d0ce833d9bfcbdd2207
Here is the script:
<?php

require 'src/vendor/autoload.php';

$start = microtime(true);

for ($i = 0; $i < 1000; $i++) {
    $store = unserialize(file_get_contents('serialized-resource.data'));
    $repository = new \Puli\Repository\OptimizedPathMappingRepository($store);

    for ($j = 0; $j < 50; $j++) {
        $root = $repository->get('/tgalopin/key' . $j);
        $rootFile = $repository->get('/tgalopin/key' . $j . '/rootfile.txt');
        $sub = $repository->get('/tgalopin/key' . $j . '/sub');
        $subFile = $repository->get('/tgalopin/key' . $j . '/sub/subfile.txt');

        unset($root, $rootFile, $sub, $subFile);
    }
}

echo (microtime(true) - $start) . "ms per iteration\n";

2. b. Paths
Repository: https://gist.github.com/tgalopin/fa48225c87abcff29764
Here is the script:
<?php

require 'src/vendor/autoload.php';

$start = microtime(true);

for ($i = 0; $i < 1000; $i++) {
    $store = unserialize(file_get_contents('serialized-path.data'));
    $repository = new \Puli\Repository\OptimizedPathMappingRepositoryPath($store);

    for ($j = 0; $j < 50; $j++) {
        $root = $repository->get('/tgalopin/key' . $j);
        $rootFile = $repository->get('/tgalopin/key' . $j . '/rootfile.txt');
        $sub = $repository->get('/tgalopin/key' . $j . '/sub');
        $subFile = $repository->get('/tgalopin/key' . $j . '/sub/subfile.txt');

        unset($root, $rootFile, $sub, $subFile);
    }
}

echo (microtime(true) - $start) . "ms per iteration\n";

3. Results
I ran both the scripts ten times (for i in {1..10}; do php benchmark.php; done) and got these results:
3. a. Resources
3.7852931022644ms per iteration
3.8438930511475ms per iteration
3.8876490592957ms per iteration
3.765016078949ms per iteration
3.8802471160889ms per iteration
3.9678199291229ms per iteration
3.7913291454315ms per iteration
3.8928418159485ms per iteration
3.9371881484985ms per iteration
3.7685868740082ms per iteration

3. b. Paths
4.9362621307373ms per iteration
5.1432459354401ms per iteration
5.0016570091248ms per iteration
5.1690270900726ms per iteration
4.8666050434113ms per iteration
4.9411540031433ms per iteration
4.8729741573334ms per iteration
4.994236946106ms per iteration
4.9226040840149ms per iteration
4.9880139827728ms per iteration

Resources seem to be faster. However, I'm not sure about my process and I may have introduce some comparison problems, so don't hesitate to search for them.
For the moment, I suggest we keep direct resources storage.

I implemented the storage of paths in the KeyValue store instead of resources, according to benchmarks. I also improved the removing of resources by not accessing the filesystem in the process.
I think this PR is ready to be merged and I'll work on the classic PathMappingRepository now.If you have suggestions about the current code, please tell me, I'll be pleased to improve it!

Thanks a lot for this great PR @tgalopin! :)

I chaned various things accordingly to your notes. Do you have any other thing in mind to change?

Looks good now, thanks! Could you fix the remaining issues?
Do you want to work on sortable key-value stores next? (webmozart/key-value-store#8) Then we could improve the sorting used here.

Done :) .
The sorting issue seems interesting, I'll give it a shot. Perhaps after the classical PathMapping repository?

Thanks!


Rename CV

Rename all the CVs to end in CV rather than start with it. This is clearer and conforms to the pythonic names of classes

Should be ready now once all tests pass.


⚠ AGEG website (prod) has degraded performance

In 0f2d0f5, AGEG website (prod) (https://www.ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 8072 ms

Resolved: AGEG website (prod) performance has improved in d69ca7a.


Can't submit password form using Enter

Describe the bug
Previously when unlocking it was possible to submit password input with enter, not it’s not working I have to click Unlock with mouse
To Reproduce
Lock and then try to unlock the Signer.
Steps to reproduce the behavior:

Lock Signer
Try to unlock using Enter

Defect Type

[x] Regression
[ ] New
[ ] Escape

Just came to make sure this Issue existed when testing 1.4.0.  :)


Given ColumnMapping is invalid

I am getting this error and was wondering, do I need to implement every column in the database in my entity for this to work?
I have to craft a series of bulk update services for a project, but I only want to pass in a list of the users ids and the new value all the users will be updated to.
Can I not create an entity that doesn't expose all the columns and have BulkUpdate work?

Done a little more reading and I think I am mistaken. It looks like it shouldn't matter if my entity only supports a subset of the columns in the table. It should still work. I will keep working.

Yes never mind.


Refactor maybe_item to use Marker argument

As suggested at https://github.com/rust-analyzer/rust-analyzer/pull/980#issuecomment-473659745.
For expression paring functions, changing signature

from fn(&mut Parser) -> Option<CompletedMarker> to fn(&mut Parser, Marker) -> Result<CompletedMarker, Marker>
from fn(&mut Parser) -> CompletedMarker to fn(&mut Parser, Marker) -> CompletedMarker
is my plan.

bors r+


April 2023 Update

→ https://deploy-preview-1447--fluxcd.netlify.app/blog/

Does anyone want to check if there's entries about Flux in https://www.youtube.com/@cncf/videos or at https://www.flickr.com/photos/143247548@N03/?

@staceypotter found all of these:
https://www.flickr.com/photos/143247548@N03/52837739714/in/album-72177720307596641/
https://www.flickr.com/photos/143247548@N03/52836983222/in/album-72177720307596641/
https://www.flickr.com/photos/143247548@N03/52837980010/in/album-72177720307596641/
https://www.flickr.com/photos/143247548@N03/52837980005/in/album-72177720307596641/
https://www.flickr.com/photos/143247548@N03/52837568501/in/album-72177720307596641/
https://www.flickr.com/photos/143247548@N03/52838225580/in/album-72177720307596641/
https://www.flickr.com/photos/143247548@N03/52838007744/in/album-72177720307596641/
https://www.flickr.com/photos/143247548@N03/52838267158/in/album-72177720307596641/
https://www.flickr.com/photos/143247548@N03/52838006324/in/album-72177720307596641/
https://www.flickr.com/photos/143247548@N03/52837250597/in/album-72177720307596641/
https://www.flickr.com/photos/143247548@N03/52838267043/in/album-72177720307596641/
https://www.flickr.com/photos/143247548@N03/52838267018/in/album-72177720307596641/
https://www.flickr.com/photos/143247548@N03/52838969604/in/album-72177720307596641/


Crystal documentation master vs release

When searching for "crystal mime", you end up on the page:
https://crystal-lang.org/api/master/MIME.html

Yet, when trying out:
require "mime"

MIME.from_extension(".html")         # => "text/html; charset=utf-8"
MIME.from_filename("path/file.html") # => "text/html; charset=utf-8"

You are presented with a error as:
in /home/Crystal/Shared/Service.cr:6: while requiring "mime": can't find file 'mime'

If you're trying to require a shard:
- Did you remember to run `shards install`?
- Did you make sure you're running the compiler in the same directory as your shard.yml?

require "mime"

The issue is, that the https://crystal-lang.org/api/master/ direct to the latest development version of the documentation. And thus includes changes for Crystal 0.27.x or 0.28. As such, this can create confusion because new changes do not match with the stable released version ( namely 0.27.0 at this moment ).
This is the result of exposing the master branch onto Google and other search engines. This is a issue that needs to be addressed with some kind of information popup or a better way to deal with search engine redirects.

I am new, will I learn?

This issue can be closed. Searching for crystal mime points to https://crystal-lang.org/api/0.32.1/MIME.html which is latest atm, not master. The rest is tracked in #4754 and #7011


Verify that "Valea Caselor" is listed in the dropdown menu when searched

Description:
"Valea Caselor" should appear in the dropdown menu with correct spelling and locality information.
Preconditions:
The website is up and running.

Step 1
Type "Valea Caselor" in the search bar.
Expected results:
The dropdown is listing "Valea Caselor" as the first location in the dropdown menu.

Step 2
Observe the dropdown menu.
Expected results:
"Valea Caselor" is displayed and selectable from the dropdown menu.


ForEach for buckets

Hello!
Is it possible to enumerate buckets in the bucket?
It would be good that bolt will have methods like:
func (b *Bucket) ForEach(fn func(k, b *Bucket) error) error { /* */ }
func (b *Tx) ForEach(fn func(k, b *Bucket) error { /* */ }

Wouldn't it be easier (more useful) to use a way of []byte to *Bucket conversion?

Great! Thanks for the question and answer. I have the same issue) @benbjohnson I think it would be nice to add this information in the comments of func (b *Bucket) ForEach(..) declaration. Unfortunately, it isn't obvious(


Custom runtime

I have a script which currently installs the following executables. Could I have these available ?
All of these are needed to run the selenium python script.
yum -y install unzip
yum -y install python-setuptools
yum -y install python-setuptools-devel
easy_install pip
pip install boto3
pip install coverage
yum -y install xorg-x11-drv-openchrome.x86_64
pip install xlrd
pip install psycopg2-binary
curl https://intoli.com/install-google-chrome.sh | bash
mv /usr/bin/google-chrome-stable /usr/bin/google-chrome
pip install selenium --user
VERSION=$(curl http://chromedriver.storage.googleapis.com/LATEST_RELEASE)
wget https://chromedriver.storage.googleapis.com/$VERSION/chromedriver_linux64.zip
unzip chromedriver_linux64.zip
mv chromedriver /usr/bin/chromedriver
chown root:root /usr/bin/chromedriver
chmod +x /usr/bin/chromedriver
python -m pip install requests

Because AWS has limits on the size of layers, I don't think I should add these in. I only want to include what makes sense and is usable by most people. I would fork this or make your own layer on top that has these included.


how can i code the menu table to be displayed in middle  right of the view?

by the way i love Yalantis’s code. god bless Ukraine ,defeat the devil of Russia and his bastard son Chinese Communist Party.

set   UIEdgeInsets inserts;
[self.contextMenuTableView showInView:self.navigationController.view withEdgeInsets:inserts animated:YES];
UIView+YALConstraints.h

(void)addSubViewiew:(UIView *)view withSidesConstrainsInsets:(UIEdgeInsets)insets
{
code....
}


Fix qr code being cut off (fixes #2852) (COMMUNITY)

This was causing starkly rounded corners for bigger qr codes which had
trouble being scanned.
Fixes #2852.
Description
This sets the rounded corner radius to that of the backgound image.
Result (compare to #2852):

Steps to reproduce
See #2852

Internal Tracking ID: EXPOSUREAPP-6540

I intentionally targeted 2.0 with this. It would be nice if it were to make the initial presence tracing release :-).

@Bubu thanks for this fix, sadly we can't include anything in release/2.0.x. Please target release/2.1.x.

Rebased on 2.1.x. I hope I didn't mess something up now.

Thanks! :)


ENV/scm/git: rewrite in Bash

Wow, nice turnaround on this 👍. Looks good to me. Does shellcheck seem OK? If so and if you've tested it: :shipit:


Treemap timeline doesn't work

Hello,
I've made a treemap with timeline, it was working until the last saturday, I don't know what is happening know. I've made it in Jsfiddle
http://jsfiddle.net/ranucame/4jdok3sg/4/
Thanks

It works!
Thank you
On Mon, Sep 17, 2018 at 8:22 PM Dave Landry<EMAIL_ADDRESS>wrote:

I just published a relase (v0.7.3) that should fix this. Let me know if
it's still not working for you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/alexandersimoes/d3plus/issues/661#issuecomment-422222185,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aovu1jHFs_RhiL98gdoVY0G75RqMUbVPks5ucErJgaJpZM4WsVKj
.


Add test to check and log mdatp install/config info

Adding an mdatp test to check configuration info in a VM if defender is installed.

@LiliDeng LGTM

LGTM from mdatp side. Pls get a review from the MDC agent side too if possible

Already reviewed! Thanks so much. @LiliDeng can we merge this ASAP?

@LiliDeng Current version LGTM.


WebGL build fails for 2021 and 2022

Background:
When upgrading from Unity 2020.3.13 to Unity 2021.2.2 I ran into the following error when building for WebGL:
Building Library/Bee/artifacts/WebGL/build/debug_WebGL_wasm/build.js failed with output:
wasm-ld: error<EMAIL_ADDRESS>machine type must be wasm32 or wasm64
emcc2: error: '/Applications/Unity/Hub/Editor/2022.1.0a13/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/llvm/wasm-ld @/var/folders/kb/3bv7y1wd3g5b9r0nmdn3cfnc9cdgcz/T/emscripten_w9_luvrm.rsp' failed (1)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)

This is also an issue in Unity 2022.1.0 for WebGL.
Other platforms seem to be working.
Reproduction:

Install Unity 2021.2.2 with WebGL target
Open the manifest.json and add

"com.atteneder.draco": "https://gitlab.com/atteneder/DracoUnity.git",

Build for target platform WebGL
Build should fail with message

libdracodec_unity.bc: machine type must be wasm32 or wasm64

Platforms:
Affected: Unity 2021.2.2, Unity 2022.1.0
Not affected: Unity 2020.3.13

For Unity 2021.2 and later you have to use DracoUnity 4.x or later.
The recommended way to install is via the installer (see README).
If you insist on installing via GIT URL, please use this one:
https://github.com/atteneder/DracoUnity.git
The one you used (gitlab) is outdated and was recently fixed in the readme.

Thanks for your answers, but as mentioned here the main problem with the library using the Draco is still unresolved.
Seems that in older versions there was a method with this signature:
	[DllImport(DRACODEC_UNITY_LIB)] private static extern int DecodeDracoMesh(
		byte[] buffer, int length, DracoMesh * * mesh);

Can you provide some information on how this method is changed in newer versions, so we can resolve the issue?

@rasoulMrz I don't know what GLTFUtility is using for Draco. Maybe another version of draco (the original Google version?). You have to ask them for support.


Error when installation directory contains spaces

Steps to reproduce the issue
On windows install yosys into a directory that has spaces and that does not have windows 8.3 filenames enabled.
By default the system drive does have 8.3 files enabled, which mitigates the problem. (As 8.3 filenames do not contain spaces)
You should be able to create drive without 8.3 filenames by formatting an external USB drive as NTFS.
Running dir /x can confirm that 8.3 filenames are not enabled.
E:\>dir /x
 Volume in drive E has no label.
 Volume Serial Number is EEF4-B741

 Directory of E:\

14/07/2020  05:36 PM    <DIR>                       blink
14/07/2020  05:08 PM    <DIR>                       fpga toolchain-windows_amd64-nightly-20200712
               0 File(s)              0 bytes
               2 Dir(s)     841,580,544 bytes free

Wheras when 8.3 filenames are enbaled you will see this
E:\>dir /x
 Volume in drive E has no label.
 Volume Serial Number is EEF4-B741

 Directory of E:\

14/07/2020  05:36 PM    <DIR>          BLINK          blink
14/07/2020  05:08 PM    <DIR>          FPGATO~1       fpga toolchain-windows_amd64-nightly-20200712
               0 File(s)              0 bytes
               2 Dir(s)     841,580,544 bytes free

Expected behavior
Yosys functions normally
Actual behavior
When running an ecp5 flow synth_ecp5, it fails when loading cells_sim.v
2.1. Executing Verilog-2005 frontend: E:\fpga toolchain-windows_amd64-nightly-20200712\fpga-toolchain\bin\../share/yosys/ecp5/cells_sim.v
Parsing Verilog input from `E:\fpga toolchain-windows_amd64-nightly-20200712\fpga-toolchain\bin\../share/yosys/ecp5/cells_sim.v' to AST representation.
Generating RTLIL representation for module `\LUT4'.
ERROR: Assert `(unsigned)*c > (unsigned)' '' failed in ./kernel/rtlil.h:168.
make: *** [Makefile:32: blink.json] Error 1

The space in the filename here appears to trigger this assertion.

Don't get me wrong, this is a bug and should be fixed, but this is such a commonly occurring kind of bug (especially IMO in FPGA tooling) that I personally think you're a little bit crazy to use spaces in your directory names :).


fix weFTT (symbol and name were reversed confusingly)

just to document:
etherscan has
symbol=FTX Token
name=FTT

which are probably just backward but no one ever fixed it.
coingecko and coinmarketcap both have it the more logical way
this PR makes it do the more logical thing


Fix crash of static field reuse in tests

Change-Id: I3590ed72a5ea0af41cf575b8237f66489de047b9

Note that this currently blocks #2943 so must be merged first.


Retain the Kubectl/log shells on page reload

Is your feature request related to a problem? Please describe.

As a QA, while I am testing things, I like to keep the operator logs open so that I can monitor activities triggered during test. I specifically work on hosted providers, so I follow gke/eks/aks operator logs while working with the clusters, many a times I need to reload the page because UI is not fast enough to give live status of the clusters, but reloading the page mean I lose the shells that were displaying logs, and I have to go to the apps list again and restart the logs shell.
Describe the solution you'd like

Retain the terminal shells on page reload.
Describe alternatives you've considered

Additional context

Screencast from 07-09-2024 06:00:19 PM.webm

We should make this optional, as some users will want a fresh start on refresh.
I'm also concerned about the need to refresh. In this feature the UI is a simple shim over what is provided over websocket, and it's probably the case the UI isn't receiving this information. @valaparthvi when you say it does not keep up, are you saying there's 100s of lines a second, or there's lag between the actual server state and what's shown in the logs?
Would you also be able to provide steps to reproduce (just so everyone is clear which logs and where they were kicked off)?

I usually don't wait to note the delay, I refresh if the cluster name backgroud is red and it does not immediately report an error or update, for e.g in the screen cast here:

I'm also concerned about the need to refresh. In this feature the UI is a simple shim over what is provided over websocket, and it's probably the case the UI isn't receiving this information.

You are right, it is a valid concern. I believe the time to refresh is case based, sometimes I have noticed the error appears almost as soon as Provisioning turns red. for e.g. in the case where AKS nodepool name is longer than 12 characters, but in some cases like below, it may take a few minutes or even a reload for the error to appear.
I am not sure about exact steps to reproduce, but I noticed it while creating AKS with invalid SSH key, perhaps that might work.

Create AKS cluster with an invalid/malformed ssh key.
Hit save and wait for the Provisioning to turn red. IT waited at least half a minute before reloading the page to see why it was red and what the error was.

Screencast from 10-18-2023 08:40:29 AM.webm


Philly location controller

If applied, it will fix the endpoint to consume the correct API endpoint for latitude and longitude, and provide controller code for the swagger API to create a pathway to trigger a GET API, along with a controller test case.
Closes #9

there are some errors. lets work on this together


How to access 'data' field after capturing photo

The doc says that "data: Returns a base64-encoded string with the capture data (only returned with the deprecated Camera.constants.CaptureTarget.memory)"
So currently, simple photo capture method only returns path and mediaUri. How do we access base64-encoded string using these two values?

There is no method within the library for doing that anymore; it was deprecated some versions back. You'd need to implement a pattern to do it yourself either in native code, or in native JS (through the FileReader API would be the obvious choice, particularly the readAsDataURL method).
All methods have downsides – unless you actually need the base64 representation, I'd opt for just rendering the image from the provided path property.


(maint) Run integration tests against puppetserver master branch

(in travis)

Test PASSed

CLA signed by all contributors.


Avoid reconciliation loops with predicates

Summary
From the godoc:

GenerationChangedPredicate implements a default update predicate function on Generation change.
This predicate will skip update events that have no change in the object's metadata.generation field.
The metadata.generation field of an object is incremented by the API server when writes are made to the spec field of an object.
This allows a controller to ignore update events where the spec is unchanged, and only the metadata and/or status fields are changed.
For CustomResource objects the Generation is only incremented when the status subresource is enabled.
Caveats:

The assumption that the Generation is incremented only on writing to the spec does not hold for all APIs.
E.g For Deployment objects the Generation is also incremented on writes to the metadata.annotations field.
For object types other than CustomResources be sure to verify which fields will trigger a Generation increment when they are written to.
With this predicate, any update events with writes only to the status field will not be reconciled.
So in the event that the status block is overwritten or wiped by someone else the controller will not self-correct to restore the correct status.

In short: This should avoid a reconciliation loop when we update the status by ourselves. but also means that if someone else manually updates the status field then no reconciliation will be triggered either. I don't a reason why a user would do that, but hey...
May also be relevant for #257

Checklist

[x] Keep pull requests small so they can be easily reviewed.
[x] Categorize the PR by setting a good title and adding one of the labels:
bug, enhancement, documentation, change, breaking,
as they show up in the changelog
[x] Link this PR to related issues.

May also be relevant for #257

#257 should be fixed with https://github.com/vshn/k8up/pull/266, it wasn't a problem with too many reconciliations but rather a problem of updating the status information. This PR would not have fixed that problem.
Still, I believe this PR will avoid unnecessary reconciliation loops which improves many factors of k8up (i.e. load and log output, possibly others)

May also be relevant for #257

#257 should be fixed with https://github.com/vshn/k8up/pull/266, it wasn't a problem with too many reconciliations but rather a problem of updating the status information. This PR would not have fixed that problem.
Still, I believe this PR will avoid unnecessary reconciliation loops which improves many factors of k8up (i.e. load and log output, possibly others)


Fatal error: Call to undefined function JMS\Serializer\json_decode()

I have tested the code on my local computer and it seems to run well. But I get the following error;
Fatal error: Call to undefined function JMS\Serializer\json_decode() in /home/havis2/public_html/authorize/vendor/jms/serializer/src/JMS/Serializer/JsonDeserializationVisitor.php on line 27
when I try to run the code after uploading it to an online server.
My local PHP installation is version 5.6.28 and the one at the server is version 5.6.30.
Here is a screenshot of the active modules at the online server that is running into the error.

Any help would be appreciated.

json_decode() is function provided by the json module of php.
As the error says undefined function json_decode(), the reason could be no json module installed or incorrectly json module installed.
Your screenshot shows you have the json module already installed, so try reinstalling it once again.

Thank you kikmak42.
I went over to the account and created a simple script that’d run the json_decode() function and it returned a similar fatal error. So this is clearly not an authorize.net API issue, rather an issue at the server hosting the website. I will contact goddady for a fix.


benddao

Tag
Exchange
Project URL
https://www.benddao.xyz/
Worker description
Liquidity for NFTs - Use NFTs as collateral to borrow liquidity or deposit to earn yields instantly!
What actions should be included?

TakerAsk

TakerBid

Deposit

Withdraw

Borrow

Repay

Auction

Redeem

Liquidate

Additional description
This is for V1, new worker for V2 can be created as a new worker later
This is not a duplicated worker request

[X] I have searched existing issues and pull requests to ensure this worker has not already been requested

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."


Create dongguk.edu

dongguk.edu
dongguk university
http://www.dongguk.edu

@shin1121 I am closing this request because the university was already added to the list. Thank you.


[R24.08] [SSI Credential Issuer] Release Checks

[!IMPORTANT]
Follow the guidance on how to use the templates.

Release Info
Please provide information on what you want to be included in the Eclipse Tractus-X release.
If you are not owner of this issue, please provide the information as comment to the issue.
Make sure to assign this issue to expert(s) for their approval, as soon as you have finished preparation. Multiple assignees allowed; they will un-assign themselves once review completed.
Version to be included in Eclipse Tractus-X release: version placeholder
Leading product repository: repository link
Compliance Verifications
This issue tracks all checks, that need to be performed for a product release in Eclipse Tractus-X.

[ ] Interoperability checks performed
[ ] Data Sovereignty checks performed

General Checks

[ ] Tractus-X Release Guidelines(TRGs) fulfilled

Make sure to open and fill in a separate documentation issue in your product repository using the Quality Gate Checklist issue template

[!NOTE]
Note: most criteria for documentation and security are now covered in TRGs

Security Checks

[ ] Threat Modeling Analysis passed

Test Results

[ ] E2E Integration Test passed
[ ] User Journey approved

Helpful Links

Eclipse Tractus-X openAPI specs on SwaggerHub

Hi,
please remove the check topics for Interoperability, Data Sovereignty and Threat Modeling in your description.

QG Review 24-July

Please remove Int and Sov test from the check list
Please remove threat modeling Analysis from the check list
Please list your version which will be included in Eclipse Tractus-X release
Please create a Quality Gate Checklist issue
User Journey needs to be approved
E2E test is pending

QG Review 26-July

[ ] Please remove Int and Sov test from the check list
[ ]  Please remove threat modeling Analysis from the check list
[ ]  Please list your version which will be included in Eclipse Tractus-X release
[ ]  Please create a Quality Gate Checklist issue
[ ]  User Journey needs to be approved
[ ]  E2E test is pending

Planned E2E Tests for release 24.08 on Catena-X INT environment have been performed successfully. Thank You!

Could you set the check for the e2e test and could you give me an update on how far you are with the TRGs and the user journey?

@ther3sa TRGs are looking good, there is currently one outstanding one. We need to merge the latest changes to the main branch for it to than be resolved. As soon as this is done I can close the TRG issue.

@ther3sa TRGs are looking good, there is currently one outstanding one. We need to merge the latest changes to the main branch for it to than be resolved. As soon as this is done I can close the TRG issue.

Thank you for your update.

Perfect thanks. :)
Can you also check off the e2e test in the description and do you know who does the approval for the user journey ?

@ther3sa done :)

Thank you :)

Congrats:

Quality Gate fully approved with all necessary pre-requisites fulfilled!

Thanks for all your efforts :)


Fix zoom slider events

Fix as discussed in #7485 - reverting the changes from #6422 and replacing them with a fix that leaves the intended events back in. Makes sure that if the user moves the mouse outside of the ZoomSlider, the expected events still fire correctly.

Seen the issues raised from Travis CI - will get those sorted.


JVM crash after few minutes of playing

I recently switched from OSB to Runelite. But only after 5 minutes of playing, I noticed some frames droped and the game crashed. I tried downloading the latest version and put the --mode=OFF-- at the end of the shortcut. I logged onto runescape, walked a bit and when the map loaded, the client crashed again. It said Runelite stopped working. Any idea how to fix this?

Can you give some system info? Did osbuddy run fine all the time?

Yes OSB runs fine all the time. By system info do you mean the specs of my computer? If so, it has 4 GB of ram, Radeon hd series 7700, Intel Core 3.00GHz

The first time I open it, when a loading screen shows up, like teleporting away, the client crashes leaving a hs_err_pidxxxx text file.

If you are in the discord, could you message that error file to me? It most likely contains useful information for us to find out what's crashing the JVM. you should be able to see me in the members list on discord.

As has been mentioned by Kamiel, please join our Discord's #support channel, and post your JVM crash log there. It will be found in your log folder and will be named something like jvm_crash_pid_12345.


make CompositeRegistration remove sub-registrations in order, reverse…

… to addition order

Also, did you run all the tests (including the slow tests) with this change? It might lead to some errors.


"up to date" checks fail for the jar operation

the jar task is always re-executed

Sorry, I haven't been availalbe during Christam holidays. How could I reproduce the issue? Note, there are a couple of integration tests checking that the jar task is not executed if manifest file has not been changed (see @Issue(1)).

Not a problem! Hope you had a great holiday ☺
To reproduce, simply note during the build that gradle never emits a message indicating assemble stage was up to date.

Hmmm. I can't reproduce it on a simple project I set up. Perhaps, a failing integ test would be helpful.


Incorrect column reference in the example

In the example section  https://docs.microsoft.com/en-us/cli/azure/monitor/scheduled-query?view=azure-cli-latest#az-monitor-scheduled-query-create-examples
The sample command used
az monitor scheduled-query create -g {rg} -n {name1} --scopes {rg_id} --condition "count 'Placeholder_1' > 360 resource id _ResourceID at least 1 violations out of 5 aggregated points" --condition-query Placeholder_1="union Event, Syslog | where TimeGenerated > ago(1h) | where EventLevelName=='Error' or SeverityLevel=='err'" --description "Test rule"
This will throw an error
ERROR: (BadRequest) ResourceIdColumn '_ResourceID' is missing from the columns in the query's results
'_ResourceID' should be referred as  '_ResourceId' to resolve above error.

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

ID: 29ac6be4-8618-641e-a8f8-6deb9b47cb6f
Version Independent ID: a9477987-1c59-212d-52ae-8e18e1e2b33e
Content: az monitor scheduled-query
Content Source: latest/docs-ref-autogen/monitor/scheduled-query.yml
Service: monitoring-and-diagnostics
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

monitor

@YuanyuanNi, please create a PR to update this example.


feat(managed-services): add support for updateStrategy

This patch allows for specifying the updated strategy for the managed service.
This is particularly useful to handle changes in cloud-based load balancers.
Closes #4922

/test limit=local

/test limit=local

/test limit=local


Remove ToBytes and FromBytes

Description

As per title. These traits are insecure, often incorrect, and have been superseded by CanonicalSerialize and CanonicalDeserialize. Closes #390

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[x] Targeted PR against correct branch (master)
[ ] Linked to GitHub issue with discussion and accepted design OR have an explanation in the PR that describes this work.
[ ] Wrote unit tests
[ ] Updated relevant documentation in the code
[x] Added a relevant changelog entry to the Pending section in CHANGELOG.md
[x] Re-reviewed Files changed in the GitHub PR explorer

A reason why we previously keep them is that they are, at least expected, to match the constraint counterparts, ToBytesGadget, which would be useful for certain serialization.
What do you think?

I think for usage in constraint world, we need a to_bits variant anyway, as that is more efficient in circuit. Another option is to just bite the bullet and use canonical serialization inside circuits. So, e.g., we make a CanonicalSerializeGadget trait, and use serialize_uncompressed in circuit.


Presentation of extracted tabular data

Currently, one of the possible, human readable way of viewing the extracted "tables", one should do the following:
from libextract import extract
from libextract.strategies import TABULAR
from libextract.html.tabular import filter_tags

from lxml.html import open_in_browser
from requests import get

reddit = get("http://reddit.com")
strat = TABULAR + (filter_tags,)

tabs = extract(reddit.content, strategy=strat)
tabs = list(tabs)
open_in_browser(tabs[0])

Any other ideas on how else we should present it?
Edit: one very cool way is following import.io's approach as an example; this means classifying by the node's "class" values.

I think we should just leave the presentation layer to the user. IMHO this is not the job of a library.

Gotcha, but arguably, the ARTICLE_TEXT is a presentation-layer method. Should we provide the same text-type output for tabular extraction?
This may also help "selling" the library as an extraction tool, as I don't think it's convincing enough to just say, "hey, here's the most frequent tag."
It could even be a simple conversion of the html-node parameters to json:
{
  "tag": "div",
  "class": "table-data",
  "inner_text": "blah blah blah"
  ...
}

Sorry for the late reply, I was having lunch. Arguably this should live in a separate repository, perhaps libextract/json-driver? Also I think that the html-node parameters should include the XPath:
{
  "tag": "div",
  "xpath": "//body/div",
  "class": "table-data"
}

It will also make it possible for users to develop their own "drivers" for libextract, such as their own custom XML format.

It's all good! It should be me apologizing about my response times :P
Or libextract/formatters? As those are end-of-the-pipeline functions, we could do something like:
from libextract.formatter import article_text, tabular_json
...
text = article_text(extract(...))

json = tabular_json(extract(...))

Something prettier would be much better.
You are correct though in that this idea should probably towards the end of the priority list.

:+1: formatters sound better. Again I'm not too sure of what to include in the json-formatted node. Any ideas?

Hmm. Should this be a new repo or just a submodule? B/c as of now, we only have like two or three functions we'll be including in there :P

IMHO, better to make it a separate repo as we don't have to re-release the library when we make changes or make bugfixes to the formatters. Or we could just include a submodule like what you suggest as it will cut down the dependencies.

Interesting point on the rerelease. Go ahead and make the repo then :)

@rodricios check it out: https://github.com/libextract/formatters

Awesome! Great job!


Use double-quotes in documentation HTML code

Wow, I don't actually know how those weird quotes got in there. Thank you!


$uibModal is not minification-safe

We recently updated angular-ui bootstrap from 0.12.0 to 0.14.3. In the process, we changed all injected services to the "uib" prefixed variants to avoid the deprecation warning.
During testing of the minified version of our application, we discovered that $uibModal is not injected properly into directives. Our other usages of the $uibModal service are in controllers, these work as expected.
The error message we receive is
Error: [$injector:unpr] Unknown provider: nProvider <- n

To rule out a problem with our ng-annotate build step we added the annotation explicitly:
module.directive('theDirective', ['$uibModal', function($uibModal) { ... } ]);

This had the effect that the injector error mentioned above was not thrown anymore, but the injected service was undefined.
Reverting back to use $modal fixes the issue, and we were able to suppress the deprecation warning with module.value('$modalSuppressWarning', true).
Environment:

Angular 1.3.20
AngularUI Bootstrap 0.14.3 (unminified, through bower)

This does not sound like a UI Bootstrap problem - perhaps this is an ng-annotate problem? I don't recall seeing this issue at all in my own use though while using ng-annotate.

Closing as a not a UI Bootstrap problem.

@thedmi, you might also consider upgrading Angular JS to the latest version if you plan on using 0.14+.  1.3.2 is over a year-old at this point which is a lifetime in OSS days.

I'm seeing almost the exact same issue running with AngularJS 1.4.8 and AngularUI 14.3. Basically I'm just doing an injection of $uibModel like so:
controllers.controller('HeaderController', ['$scope', '$routeParams', '$log', '$uibModal',
    function($scope, $routeParams, $log, $uibModal) {

With no minification, works perfectly. With minification, it doesn't work at all and I get this error in the console log:
Error: [$injector:unpr] http://errors.angularjs.org/1.4.8/$injector/unpr?p0=%24uibModalProvider%20%3C-%20%24uibModal%20%3C-%20HeaderController
    at Error (native)
    at http://localhost:9000/assets/javascripts/angular-1.4.8/angular.min.js:6:416
    at http://localhost:9000/assets/javascripts/angular-1.4.8/angular.min.js:41:121
    at Object.d [as get] (http://localhost:9000/assets/javascripts/angular-1.4.8/angular.min.js:39:92)
    at http://localhost:9000/assets/javascripts/angular-1.4.8/angular.min.js:41:195
    at d (http://localhost:9000/assets/javascripts/angular-1.4.8/angular.min.js:39:92)
    at Object.e [as invoke] (http://localhost:9000/assets/javascripts/angular-1.4.8/angular.min.js:39:362)
    at M.instance (http://localhost:9000/assets/javascripts/angular-1.4.8/angular.min.js:80:336)
    at D (http://localhost:9000/assets/javascripts/angular-1.4.8/angular.min.js:61:362)
    at http://localhost:9000/assets/javascripts/angular-1.4.8/angular.min.js:69:223

ng-annotate is a red herring -- I don't use it at all.
Any ideas?

@thedmi did you ever figure this out?

I recently encountered a similar issue. The problem is not with $uibModal, it was with one of the resolves which had a dependency injection which was already injected in the factory. Removing this duplicate injection resolved my issue.
Apparently, $modal doesn't break with this but $uibModal does on minification.


fix(embedded): sankey charts

SUMMARY

A saved Sankey chart query context has the source and target columns in the groupby field:
{
    "queries": [
        {
            ...
            "columns": [],
            "metrics": ["count"],
            "groupby": ["bot_id", "channel_id"],  # here
         },
    ],
}

But the query context from the same chart, when embedded, looks like this:
{
    "queries": [
        {
            ...
            "columns": ["bot_id", "channel_id"],
            "metrics": ["count"],
            # no "groupby" key
         },
    ],
}

This PR modifies the query_context_modified function to account for this case.
Note that this approach is a short term solution to unblock 4.1. I think two better (but more complext) solutions would be:

Make sure the query object from an unmodified chart in a dashboard always matches the stored query object.
Even better: dashboards should send the chart ID and any native filters, instead of sending the whole payload for the chart. This would prevent maliciously modifying requests over the wire.

Fixes https://github.com/apache/superset/issues/30205
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

Yaaaaay! It's almost 4.1 go-time! 🚀


If you modify the Scheduling on a Fleet, it does not flow down to the GameServerSet.

Bug is pretty much as described.
The logic should probably be, if you change the Fleet, it should update the GameServerSet.
But don't go update all the GameServers this is too much work, let's wait until it flows out to the rest of the GameServers as they shutdown and restart.

Closing now that #582 is done.


Delayed model rendering

As noted in a few comments on a 1.9 backport I made for testing, this reduces the migration time considerably. It removes the rendering of intermediate models where possible.

Should I review it? Is there a ticket?

Why is "Needs documentation" marked on the ticket?

I think I'd leave a note in the release note under "migrations"

And it's somewhat backwards incompatible as per the description on the ticket which I'd embed in the docs as well.

Are you going to do it today? Describing it under "minor features" doesn't' seem necessary since it's a performance optimization but if you feel differently feel free to write something and I'll review the patch.

I'm writing the docs now.

Thanks @timgraham, I'm done with this for now.

merged in 45ded053b1f4320284aa5dac63052f6d1baefea9 and 46e0335583661507f1c10adb97fbd9dcfbb9b787, thanks!


Adding a type conversion for the payload of Property based attributes

This pull request is more thought as an idea and for discussion, not for actual merging!
I am trying to address part of #97 and related issues like a long being transported as an int and then failing on the client or server side. In this pullrequest the value will be converted using the type conversion construct from Groovy, which allows to convert any Number type to any Number type, as well as converting between string and enum... of course it does a lot more.

This change is

Coverage decreased (-0.2%) to 23.968% when pulling 073421f88afadda1ff39c63fc59097d034e51202 on blackdrag:Type_Conversion into f659aafb6dd4ed9cd35c9a79528c1fbdb623f10c on canoo:master.

The whole issue would go away if we used the veneer approach.

If you get your attribute as Integer from JSON, and you need it as Long, you need to do the conversion somewhere. Only the place is different.

yes, but the veneer has the local information about the expected target type


Tswhison/pull libs

Coverage remained the same at 81.074% when pulling 2a60545c8dd2ade6633fd4b9e1f5f88359957f28 on tswhison/pull_libs into 5b98ed45ce9399b4dc6434e45647e8d002ab0b66 on master.


Missing field

Hello,
I try to get the values from Components fields and in debug I get
Rendered field component contains unparsable type Null, using text , but in the json I do not see the value.

The issue was on the source-type. I had to remove it

The issue was on the source-type. I had to remove it


US694004: Update copyrights

https://internal.almoctane.com/ui/entity-navigation?p=131002/6001&entityType=work_item&id=694004

A developer build has not yet been created for this branch. Click here to go ahead and create the build...

CI Build Link:
http://sou-jenkins2.swinfra.net:8080/job/JobService/job/JobService~job-service-client~US694004~CI


rake tasks should use Mongoid.logger

Just a suggestion. It seems like it would be nice to enable the same logger configuration in rake tasks as are allowed during regular mongoid operation.

Wrong PR target. Closing in favor of https://github.com/mongodb/mongoid/pull/4142


add informative error msg when doing a compilation and forgetting to compile the model beforehand

e.g., trying to build a C MCMC via compileNimble but forgetting to compile the model, gives this error message:
code <- nimbleCode({
y ~ dnorm(mu,1)
mu ~dnorm(0,1)
})
m <- nimbleModel(code, data = list(y = 1), inits = list(mu = 0))
sp <- configureMCMC(m)
Rmcmc <- buildMCMC(sp)
Cmcmc <- compileNimble(Rmcmc)
Error in cModel$.basePtr : $ operator not defined for this S4 class

This was addressed a couple weeks ago.


Project GUIDs are not unique

You must have started with an existing project to make this project because the project GUIDs you've used are not unique. I tried to include your projects in a solution with some other open source projects and they cannot be added at the same time. This makes it difficult to use the development branch for a workaround.
IDs that are not unique:

14C534B6-1984-41A9-A384-D3A5508588E3
AD2D2DB4-E781-4CF1-9B62-3AAD264F196D
D525F236-6A2D-4010-B1CC-4A4B8581C90B

Some of the projects using the same IDs:

https://github.com/molinch/Xam.Plugins.ManageSleep
https://github.com/ufuf/AdvancedTimer
https://github.com/HoussemDellai/AdMobView-XamarinForms
https://github.com/HoussemDellai/CrossVideoPlayer
https://github.com/jamesmontemagno/ImageCirclePlugin
https://github.com/jamesmontemagno/xamarin.forms-toolkit
https://github.com/TorbenK/TK.CustomMap

No, i did not. I created this from scratch. VS issue? No idea.


import aspose.words as aw  doc = aw.Document() builder = aw.DocumentBuilder(doc)  builder.insert_image("bot.proxy__23_28_29.png")  doc.save("Output.md")Create import aspose.words as aw  doc = aw.Document() builder = aw.Do…

…cumentBuilder(doc)  builder.insert_image("bot.proxy__23_28_29.png")  doc.save("Output.md")

@d4vdvd Could you please elaborate your problem in more details? Unfortunately, it is not quite clear what the problem is from your initial post.


improvement: OSIS-49-fix-CVE-2019-8457

We are moving away from openjdk as alpine is not supported now. The OpenJDK port
for Alpine is not in a supported release by OpenJDK, since it is not in the
mainline code base. It is only available as early access builds of OpenJDK
Project Portola.
https://github.com/docker-library/openjdk/pull/235#issuecomment-424599754
Fixes CVE-2019-8457 reported in https://scality.atlassian.net/browse/CVES-31

Hello anurag4dsb,
My role is to assist you with the merge of this
pull request. Please type @bert-e help to get information
on this process, or consult the user documentation.
Status report is not available.

Waiting for approval
The following approvals are needed before I can proceed with the merge:

the author

2 peers

/approve

In the queue
The changeset has received all authorizations and has been added to the
relevant queue(s). The queue(s) will be merged in the target development
branch(es) as soon as builds have passed.
The changeset will be merged in:

:heavy_check_mark: development/1.0

There is no action required on your side. You will be notified here once
the changeset has been merged. In the unlikely event that the changeset
fails permanently on the queue, a member of the admin team will
contact you to help resolve the matter.
IMPORTANT
Please do not attempt to modify this pull request.

Any commit you add on the source branch will trigger a new cycle after the
current queue is merged.
Any commit you add on one of the integration branches will be lost.

If you need this pull request to be removed from the queue, please contact a
member of the admin team now.
The following options are set: approve

I have successfully merged the changeset of this pull request
into targetted development branches:

:heavy_check_mark: development/1.0

Please check the status of the associated issue OSIS-49.
Goodbye anurag4dsb.


big and dandy xforwardfor / proxyprotocol no workie thread

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?
this dump of PHP $_SERVER behind traefik pretty much speaks for itself:
{
    "DOCUMENT_ROOT": "\/tmp\/inetpub",
    "REMOTE_ADDR": "<IP_ADDRESS>",                                                 <--- do not want
    "REMOTE_PORT": "45506",
    "SERVER_SOFTWARE": "PHP 8.0.7 Development Server",
    "SERVER_PROTOCOL": "HTTP\/1.1",
    "SERVER_NAME": "<IP_ADDRESS>",
    "SERVER_PORT": "8000",
    "REQUEST_URI": "\/",
    "REQUEST_METHOD": "GET",
    "SCRIPT_NAME": "\/index.php",
    "SCRIPT_FILENAME": "\/tmp\/inetpub\/index.php",
    "PHP_SELF": "\/index.php",
    "HTTP_HOST": "whatismyip.am.nl.eu.clandestine.network",
    "HTTP_USER_AGENT": "Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/90.0.4430.212 Safari\/537.36",
    "HTTP_ACCEPT": "text\/html,application\/xhtml+xml,application\/xml;q=0.9,image\/avif,image\/webp,image\/apng,*\/*;q=0.8,application\/signed-exchange;v=b3;q=0.9",
    "HTTP_ACCEPT_ENCODING": "gzip, deflate, br",
    "HTTP_ACCEPT_LANGUAGE": "en-US,en;q=0.9",
    "HTTP_CACHE_CONTROL": "max-age=0",
    "HTTP_SEC_CH_UA": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"90\", \"Google Chrome\";v=\"90\"",
    "HTTP_SEC_CH_UA_MOBILE": "?0",
    "HTTP_SEC_FETCH_DEST": "document",
    "HTTP_SEC_FETCH_MODE": "navigate",
    "HTTP_SEC_FETCH_SITE": "none",
    "HTTP_SEC_FETCH_USER": "?1",
    "HTTP_UPGRADE_INSECURE_REQUESTS": "1",
    "HTTP_X_CLANDESTINE_REQUEST_ID": "66A5197A:BCBA_6440440A:AD5C_60FB97FA_0016:000A",
    "HTTP_X_CLIENT_IP": "<IP_ADDRESS>", <--- also yes please
    "HTTP_X_FORWARDED_FOR": "<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>",     <----- Do want, I'll take all of them if I have to but not that other one :<
    "HTTP_X_FORWARDED_HOST": "whatismyip.am.nl.eu.clandestine.network",
    "HTTP_X_FORWARDED_PORT": "443",
    "HTTP_X_FORWARDED_PROTO": "https",
    "HTTP_X_FORWARDED_SERVER": "5986e3a02352",
    "HTTP_X_REAL_IP": "<IP_ADDRESS>",           <--- yes pritty please gimme
    "REQUEST_TIME_FLOAT":<PHONE_NUMBER>.547835,
    "REQUEST_TIME":<PHONE_NUMBER>,
    "argv": [],
    "argc": 0
}

trashfik
  volumes:
      - "/run/docker-user-daemon.sock:/var/run/docker.sock:ro"
    networks:
      default:
        ipv4_address: <IP_ADDRESS>
      haproxy:
        ipv4_address: <IP_ADDRESS>

     - "--api.insecure=true"
      - "--api.dashboard=true"
      - "--providers.docker=true"
      - "--providers.docker.exposedbydefault=false"
      - "--entrypoints.web.address=<IP_ADDRESS>:80"
      - "--entrypoints.web.forwardedHeaders.insecure=true"
      - "--entrypoints.web.ProxyProtocol.insecure=true"
      - "--metrics"
      - "--metrics.prometheus.buckets=0.1,0.3,1.2,5.0"
      - "--log.level=DEBUG"

haprox
backend traefik
    option             forwardfor
    balance            roundrobin
    cookie             srvid                                insert dynamic indirect nocache dynamic
    server             s01                                  <IP_ADDRESS>:80 check send-proxy weight 100 rise 5 fall 20 inter 5000 fastinter 500
                                                                                ^ ye

It seems like if every single proxy (oh yea I have nginx too)
  set_real_ip_from               <IP_ADDRESS>/32;
    real_ip_header                 X-Forwarded-For;

all good, no problems not even with caddy:
    reverse_proxy {
                to <IP_ADDRESS>:44380
        }

caddy to hp
  http-request       set-src                               hdr(x-forwarded-for)

all good no worries, and that takes care of everybody except for the ugly blue gopher shaped thing that everybody is worshiping as if it has some kind of divine power.
What did you see instead?
wrong address
What version of Traefik are you using?
v2.4
What is your environment & configuration?
shrug aren't golang executables static ? who cares
If applicable, please paste the log output in DEBUG level
the xforwardfor header is present, all addresses are correct
traefik is not actually able to do that itself, and there are an overwhelming number of posts regarding this topic which would lead me believe its probably not my docker setup since at least 3 others are fully capable of doing it.

I tried that white listing stuff too that stuff don't work as near as I can tell because it didn't fix my problem


WIP bypass the containers prep file for downstream

The file is instead generated by d/stream play - see [1][2]
[1] https://review.rdoproject.org/r/q/topic:oooci_data_plane_adoption
[2] https://code.engineering.redhat.com/gerrit/q/topic:oooci_data_plane_adoption

recheck


Linked List implementation details

@dheavy, I created a benchmark here to assess what was the best storage strategy for the list's node.
Tested strategies are:

Raw object
2-Array (tuple)
Node class
Object.create(null)

Benchmarks seems to point toward raw objects but I notice some strange v8 optimizations going on. Meaning that the order of the tests, notably between raw objects & 2-arrays change dramatically.
What do you think?

@Yomguithereal what do you mean by order of the test? That the results depend on which strategy you test first?

I'd say blame v8 optimizations and behavior of the garbage collector but that's just my gut feeling. I have no data to back it.


install-autoshutdown-server-extension bug?

Hi,
We have been using the install-autoshutdown-server-extension since inception and we are consistently observing a bug where if the jupyter app  that the extension is installed into sits idle for a couple of (5?) days (not used by our data scientists for whatever reason), once it becomes active again it aggressively start shutting down new kernels that the data scientists are starting up. The fix to this is to shutdown the jupyter app and the problem goes away but it's quite annoying.
This problem does not occur if the jupyter server is used on a daily basis and it seem the long time of idleness build up. Has anyone else observed this behaviour?

Closing due to inactivity, please use the latest tarfile and LCC script, and let us know if this issue occurs anymore.


Update outdated olahd-links

Fixes #366. PID's have been updated from demo to productive in olahd. The new PIDs are to never change again. Links like the changed one should be valid as long as olahd runs.

Thanks for the explanation and PR!


chore: override system account secret when redis sharding cluster create

/cherry-pick release-0.9


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1713 ms

Resolved: Bofrost.at performance has improved in e5531f8 after 6 minutes.


i need help

Steps to Reproduce

...
...
...

Logs

Closing as no information was provided. If you have a problem to report, please open a new issue and fill in the information requested in the template.


component: data-grid/table

a new component that can display data as a table and should include:

display JSON as table
sorting
filtering
pagination or endless scrolling
custom cell renderer (optional for MVP)
server-side-rendering

we also will need:

cell rendering

{ name: 'start', type: 'date', dateFormat: 'n/j/Y' },
{ name: 'salary', type: 'float' },
{ name: 'active', type: 'bool' }

Edit cells
Pagination based on server request

What do you think?

Let‘s create a new ticket for this 👍


[Feature Request] one-way sync options

Hello!
We just signed up for your team plan and use Insomnia pretty heavily in our development workflow. One thing has come up that I wanted to see about getting implemented, if possible.
We have a workflow where certain people are workspace publishers and others are subscribers. It would be helpful if this were codified in the client, such that for the Share Workspace screen there were the additional options of "Publishing to [organization]" and "Subscribed to [organization]". One person could set their client to publish and others could set theirs to subscribe, and they wouldn't have to worry on either side that the "canonical" workspace is overwritten accidentally.
To replicate this functionality currently, a subscriber must keep their sync mode disabled, then set it to manual, sync, and set it back to disabled.
Thanks!

Any chance we'll see this feature? I've rethought it and think that we only need a subscribe option. With sync mode, two owners can be publishers but also sync between themselves, while everyone else can subscribe to the most recent change.

Woops, I'm no sure how I missed this one. I'm currently working on some improvements to the sync system to give it a more git-like workflow. I'll keep this in mind as I work on it.

Would still like to see this!

Working on it!

Going to close this one as it's already being addressed

Looks great! Is there a ticket where I can follow the progress on this?

No, it's still too early to share anything

I'll try to put a PR once things are a bit more stable, then work in it in the open


6.2 backport TS-4507 TS-4813 TS-4892

Linux build failed! See https://ci.trafficserver.apache.org/job/Github-Linux/996/ for details.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/1104/ for details.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/1105/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/998/ for details.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/1108/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/1001/ for details.


None type has no attribute split doing date_search

Have been successfully using 0.6.2 with the godaddy iCal server.  Upgraded to 0.7.1 and the exceptions hit.   Did some debugging and it seems the server query is returning None instead of the ics content.

I did not know godaddy had a caldav server.  I'm trying to register there now and check if I can get caldav access there.

I did not know godaddy had a caldav server.  I'm trying to register there now and check if I can get caldav access there.

Does one have to register for the business office365 email package to get caldav access?  I don't want to cash out for it now ... do you have any possibility to provide me with a test account access?  Credentials can be sent to<EMAIL_ADDRESS>eventually.

Does one have to register for the business office365 email package to get caldav access?  I don't want to cash out for it now ... do you have any possibility to provide me with a test account access?  Credentials can be sent to<EMAIL_ADDRESS>eventually.

I don’t have the office365 email package—I just a legacy email user with Calder.  I haven’t checked lately if you can sign up for the imap/Calder email calendar as a new user.
Sent from my iPad

On Jan 31, 2021, at 5:15 AM, Tobias Brox<EMAIL_ADDRESS>wrote:

Does one have to register for the business office365 email package to get caldav access? I don't want to cash out for it now ... do you have any possibility to provide me with a test account access? Credentials can be sent to<EMAIL_ADDRESS>eventually.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I don’t have the office365 email package—I just a legacy email user with Calder.  I haven’t checked lately if you can sign up for the imap/Calder email calendar as a new user.
Sent from my iPad

On Jan 31, 2021, at 5:15 AM, Tobias Brox<EMAIL_ADDRESS>wrote:

Does one have to register for the business office365 email package to get caldav access? I don't want to cash out for it now ... do you have any possibility to provide me with a test account access? Credentials can be sent to<EMAIL_ADDRESS>eventually.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I just have the legacy email calendaring.   It appears that as a new user you can only get the Microsoft office version—there currently is a $1.99/month sale just for email (and hopefully calendaring).   If caldav works with the MS servers, perhaps that’s the answer—godaddy has been nagging me to make the migration.
Sent from my iPad

On Jan 31, 2021, at 5:15 AM, Tobias Brox<EMAIL_ADDRESS>wrote:

Does one have to register for the business office365 email package to get caldav access? I don't want to cash out for it now ... do you have any possibility to provide me with a test account access? Credentials can be sent to<EMAIL_ADDRESS>eventually.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I just have the legacy email calendaring.   It appears that as a new user you can only get the Microsoft office version—there currently is a $1.99/month sale just for email (and hopefully calendaring).   If caldav works with the MS servers, perhaps that’s the answer—godaddy has been nagging me to make the migration.
Sent from my iPad

On Jan 31, 2021, at 5:15 AM, Tobias Brox<EMAIL_ADDRESS>wrote:

Does one have to register for the business office365 email package to get caldav access? I don't want to cash out for it now ... do you have any possibility to provide me with a test account access? Credentials can be sent to<EMAIL_ADDRESS>eventually.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

As far as I know, Microsoft Office 365 does not support caldav, one has to use some sort of Microsoft Office 365 API for that, I think there exists a python library for it.
I will either need some kind of access to the old caldav interface so I can run the tests towards it, or eventually maybe I will be able to figure out something if you turn on debug logging (it should suffice to do something like this I think:
import logging
logging.basicConfig(filename='/tmp/caldav.log', encoding='utf-8', level=logging.DEBUG)

As far as I know, Microsoft Office 365 does not support caldav, one has to use some sort of Microsoft Office 365 API for that, I think there exists a python library for it.
I will either need some kind of access to the old caldav interface so I can run the tests towards it, or eventually maybe I will be able to figure out something if you turn on debug logging (it should suffice to do something like this I think:
import logging
logging.basicConfig(filename='/tmp/caldav.log', encoding='utf-8', level=logging.DEBUG)

attached log outputs for 6.0.2 and 7.0.1
caldavdbug.txt

attached log outputs for 6.0.2 and 7.0.1
caldavdbug.txt

I see that the query and the response headers is the same for both 0.6 and 0.7, but somehow the 0.7-code does not recognize the response.
During the last week I've done major refactoring in the code handling the return response from the caldav server, and I've also made it easier to write unit tests for this.  I will now try and write up a unit test including your XML (with a tiny bit of obfuscation).
Please try the master version of caldav and see if the problem can be reproduced there.

The problem is that no calendardata is returned, all other calendar server implementations will return calendardata when doing such a date search.  I'm not sure if this is a breach of the standard or not.  At least the current master version should not throw an error, but rather return a list of Events without data (those Events can then eventually be loaded).
Please test.

I should add a warning here - the current master branch is littered with assert statements.  I will replace them with error logging before releasing 0.8.  If you try the master version and it fails due to an assert, be quick to raise a new issue (and you may also simply remove the assert line - most likely things will work despite the failed assert).
I'll close this issue as I believe it is resolved (actually it has been resolved in the master branch for a longer time already, when dealing with the sync-token support I added if-statements at that point in the code to deal with the case when no calendar data was returned).

First attempt to use the current master, I got:
Traceback (most recent call last):
File "", line 1, in
File "/home/pi/MessageBoard/dev/caldav/caldav/davclient.py", line 319, in principal
return Principal(self)
File "/home/pi/MessageBoard/dev/caldav/caldav/objects.py", line 398, in init
cup = self.get_properties([dav.CurrentUserPrincipal()])
File "/home/pi/MessageBoard/dev/caldav/caldav/objects.py", line 221, in get_properties
properties = self.handle_xml_response(response, props)
File "/home/pi/MessageBoard/dev/caldav/caldav/objects.py", line 192, in handle_xml_response
results = response.expand_simple_props(props=props, multi_value_props=multi_value_props)
File "/home/pi/MessageBoard/dev/caldav/caldav/davclient.py", line 241, in expand_simple_props
self.find_objects_and_props()
File "/home/pi/MessageBoard/dev/caldav/caldav/davclient.py", line 177, in find_objects_and_props
error.assert(not href in self.objects)
File "/home/pi/MessageBoard/dev/caldav/caldav/lib/error.py", line 23, in assert
assert(condition)
AssertionError
Based on your "littered with assert statements", I then commented out the error.assert on line 177 of davclient.py, and everything seems to work.
Thanks!
I can open another issue on that if you like.

I can open another issue on that if you like.

Yes please, I'd like to see the XML returned from the server :-)