[release-1.6] Update cni/sha and other dependencies

The same as https://github.com/istio/istio/pull/23830, but since make gen was failing I'll over ownership. I will test this on OpenShift 4.3.5 when this gets merged.
Run UPDATE_BRANCH=release-1.6 ./bin/update_deps.sh; make gen

This is needed to have https://github.com/istio/cni/pull/299 be released with 1.6.0.

cc @jmazzitelli if you and Jay Shaughnessy (couldn't find him github handle) are able to help in testing feel free to reach out. This will be included in rc.0 which will be released tonight or tomorrow morning.

cc @jshaughn
Yup - we'll be sure to test rc.0 for this. Jay should be able to do it today. Thanks!

OK, the good news is that with RC.0 the HTTP traffic involving InboundPassthroughClusterIpv4 is being filtered and I'm not seeing it in my OpenShift (CNI) environment.
The bad news is that the TCP traffic involving mgmtCluster is still there and not looking good.  There is still telemetry from unknown to destination_service_name "mgmtCluster" and each destination_workload.  This is what I see with rc.0 using bookinfo with mongo.

For comparison, this is the same using 1.5.2, where the telemetry looks better:

Additionally, in both versions there is traffic from unknown to mongo, which is likely a different issue, but also probably undesirable.  I'll test it now but I don't recall this unknown->mongo traffic in 1.5.1.  I'll report back.


Cybersecurity: 3.1 Macro Virus

Description
What are Macro Viruses?
Note:

If interested, mention in which format you want to contribute: Documentation or Video
Please avoid copy/paste, BE YOURSELF
Try to explain with Diagrams
Changes should be made inside the Cyber_Security/ directory & Cyber_Security branch.
Task will be assigned on first come first serve
Check it out Contribution Guidelines

Documentation for now...

Documentation for now...

Assigned!


Merge Overwatch 1++ repository into Overwatch 1 Emulator repository - [merged]

Merges staging -> staging

In GitLab by @ghost1 on Feb 26, 2024, 20:05
:tada: This MR is included in version 1.21.0 :tada:
The release is available on GitLab release.


Programmatically add panes and widgets?

I've got a network of sensors that communicate through a border router using coap and would like to build a dashboard web-app upon freeboard.
So I would like to dynamically control the freeboard by adding/removing panes and widgets as sensors enter or leave the network.
Is it feasible in some way ?
Apparently the freeboard js API is not complete enough for what I envision.

I would also like this functionality.
As a workaround you can edit the json of an exported freeboard and then load the board with:freeboard.loadDashboard(configuration)
Example of an exported freeboard is here: https://raw.githubusercontent.com/Freeboard/freeboard/master/examples/weather.json

Yep, that would be so good to have it, not all sensors are the same, and you can manually do one or two, but 200 is a massive job.
lets have a look. Thanks a lot


Correcting CMake task arguments

'Arguments' is not properly recognized by the task.

@zachChilders : Thanks for your contribution! The author, @andyjlewis, has been notified to review your proposed change.

@zachChilders Thank you for fixing that.


chore(deps): remove cross-fetch polyfill

The Fetch API has been marked as stable in Node.js 21, and is supported experimentally without the need to opt-in in under all actively maintained LTS versions (v18, v20). This means that the cross-fetch polyfill is no longer required in order to support Node.js.
Closes #326
Closes #216
Closes #545
Closes #448
Closes #402
Closes #99
This PR might also impact #332, #31

when can we expect a new release? would be nice to remove workarounds around versioning to avoid this issue 😀

@LuizAsFight  I'll take 1% for the management aspect but 99% to @jonkoops for this :D
Regarding release, since this is a significant breaking change, once the signal on the pre-release is good, we can cut a stable. Any help with that appreciated :)

@jasonkuhrt if you are thinking of cutting a major release, are there any other breaking things you would like to include? If so I can volunteer some time to help out with any of those. I can see from the readme that CommonJS might be a potential one, but I don't know if that is something you are eyeing for this cycle.

@jonkoops nice thanks, I have lots of big picture things but not sure what smaller aspects could into the next major release. I'll try to refresh on this some time today and drop feedback about it here.

Hey, so this https://github.com/jasonkuhrt/graphql-request/issues/509 contains a breaking change. But it's not a small feature. I didn't see anything else after a quick glance though I would be surprised if there's nothing out there in the issue tracker, I just don't have time to comb through it.

Perhaps we could add a 'breaking' label that can be assigned to issues/PRs. If you want you can give me permission to manage issues and I can go through the backlog to make sure all relevant issues are labeled. Then once that is done we can triage them and determine if any should land this cycle. WDYT?

@jonkoops I haven't done a triage of the issues in a while so I would appreciate that. I don't have too much time right now so if we can focus on breaking changes that fix bugs that would be I think the right approach for this. In other words, generally avoiding issues that would involve library design and API thinking.

@jasonkuhrt Let's continue the discussion under #602, I don't want to clutter this PR with more chatter.

Just a question, when is the plan to release an update to the package with this PR included.

@martinrojas No plan per-se. There are pre-releases if you're needing them right now.

I am trying to go through the open issues and make sure we have nothing missing for the next release, as well as get as many open issues resolved as reasonably possible. It might take a little, as I am not doing this on my employers time. Help is always appreciated, so if you see some issues that can be resolved with a PR, feel free to submit one.


Webpack does not automatically build or reload any newly added components

Due to how entry files in webpack have been defined, adding new components does not automatically watch/compile them. Instead you have to manually restart the webpack watcher every time.

this is a webpack thing, since it doesnt naturally set itself up to watch the webpack config file, it only runs the initial t ime you run the script and then it watches the files in the entrypoint, which in this case is the "filterFiles" utility which retrieves all the files in the components directory upon running the command, that being said it could be an interesting idea to explore making a webpack plugin for watching the webpack config itself, if such a plugin doesn't already exist


[Feature]: Add sorting and filter

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like

Sort by: starCount, createdAt, updatedAt
Order by: ascending, descending
Filter by: tag:

Describe alternatives you've considered
No response
Additional context
No response

This is an issue for older versions, and has been implemented in newer versions.


Issue 813: Add support for default-group in ACI mode

@joji PTAL

As discussed, please add a check for default-net and add the new test to Makefile.

@Joji  Added the test to Makefile … however had to retain the logic of not depending on default-net so that the system tests (runContainer function in docker_test.go and so on) would not need to be refactored to become ACI aware. We can discuss more details offline if needed.
Re-submited PR with latest changes PTAL
From: Joji Mekkatt <notifications<EMAIL_ADDRESS>Reply-To: contiv/netplugin <reply<EMAIL_ADDRESS>Date: Wednesday, April 5, 2017 at 10:52 AM
To: contiv/netplugin <netplugin<EMAIL_ADDRESS>Cc: srampal <srampal<EMAIL_ADDRESS>Author <author<EMAIL_ADDRESS>Subject: Re: [contiv/netplugin] Issue 813: Add support for default-group in ACI mode (#815)
As discussed, please add a check for default-net and add the new test to Makefile.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/contiv/netplugin/pull/815#issuecomment-291886694, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIL80PEdvPkRvd6eIc4h8bNdAfaF6exFks5rs6qfgaJpZM4MzvO2.

@joji  made the changes you suggested  PTAL
Removed the netplugin restart case
Moved the system test case for this to k8s (make k8s-test)

@srampal Please make sure tests pass.

Done @joji  PTAL


[Bug]: Docker compose project creation states "Duplicate entry found. Please use a different name."

Description
When deleting a docker compose based resource and trying to recreate the same an error message stating "Duplicate entry found. Please use a different name." appears. After that "a" resource appears. But when trying to deploy there is the error message Error: SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "service_applications_fqdn_unique".
Not sure how to completely remove an existing docker compose stack.
Minimal Reproduction (if possible, example repository)

Create a docker compose resource
Delete it (maybe need to deploy first)
Try to recreate the resource with the same docker compose file contents

Exception or Error
No response
Version
v4.0.0-beta.297

Maybe a mistake was to not force cleanup containers?

A thing I noticed upon more testing:
The "Duplicate entry found. Please use a different name." message does create the resource / stack every time. Had just some fun cleaning up 🧽 😊
It could also be that my usage of SERVICE_FQDN_SERVICE_NAME is wrong or causing the issues.

Next error happens when trying to edit the docker compose definition: "The docker compose field is required."

This issue should be resolved in the latest version. If you're still experiencing this issue, please reopen or create a new issue with updated details.


refactor: use<EMAIL_ADDRESS>

Refactored to use Babel 7. The duplicate babel-core is because babel-jest requires this for some reason.

I think there's a special version of babel-core to use with Jest.
They say to do this:
yarn add --dev babel-jest @babel/core<EMAIL_ADDRESS>
May you update the PR please?

Upgraded.

Thanks, I'll test it as soon my ISP decides to give me back my internet connection...

👏

@FezVrasta Don't like to ask but could you also releases the babel stuff? 😉Current for me react-popper is pulling also babel6 into bundle so as at the outcome got babel6 and 7

of course, 1.3.2 published

thanks 🙌


symbol problems with the larch server

After a fit, this is a symbol: fit.datasets[0].epsilon_k.
If I ask the larch server for that symbol via the get_data command, nothing is returned (the XMLRPC version of an empty response).
If, however, I do this right after the fit: foo = fit.datasets[0],  then ask the server for foo.epsilon_k, I get the expected return value (a list of epsilon values for each k-weight).
Thus,  the problem seems to be with the [0].
This isn't an immediate problem for Demeter -- Demeter gives another name to each of the fit.datasets[N].  However, it's either a bug or I am misunderstanding the syntax of using the server for that kind of symbol.

Hmm, weird....  will investigate, but it may take a couple days.

No rush.  Demeter seems to be working ok.  Although #98 is a show() stopper, it's not a show stopper.   (I'm hilarious!)

I believe this is fixed with b9ae0a02824e3378b09a1a4fe0e249c34dda3c69.   As with the show x vs show(x) Issue (#98), the basic problem was that get_data() was only looking for actual symbols in the symbol table, and taking an element or slice with something[0] is an expression that needs to be evaluated.   The change in b9ae0a02824e3378b09a1a4fe0e249c34dda3c69 makes get_data() return the value of any expression, which is only slightly more complicated, but way better behavior.

Was it your intention to so dramatically change the server API?
Before https://github.com/xraypy/xraylarch/commit/b9ae0a02824e3378b09a1a4fe0e249c34dda3c69, A&A were above the 95% level with Larch.  Now they are close to the 0% level.
I am happy to change Demeter to work with the new API, but I would like to know if you are done changing things.

Um, no it wasn't.   I thought the change was only to the behavior of get_data().   Did I break something else?

I will document the changes and get back to you.

I understand the issue now.  It used to be the case that the client returned a reference to a hash containing this dictionary:
{"__shape__": [511], "__class__": "Array", "value": [39622.2, 39720.2, 39729.2, ..., 6716.2], "__dtype__": "float64"}

now it returns a stringification of that dictionary.  That's fine.  Slightly less convenient (because a stringified python dictionary cannot be evaled as a perl hash without some string processing), but easily something I can work with.
You can leave it as is, but this sort of change certainly causes tsuris for Demeter.

Actually, this code needs to change some anyway for other reasons....
I'll try to write some tests for this.  I think I'd like to try to have the
commandline interface use client/server, but that's a bit more work.
On Jan 20, 2015 1:58 PM, "Bruce Ravel"<EMAIL_ADDRESS>wrote:

I understand the issue now. It used to be the case that the client
returned a reference to a hash containing this dictionary:
{"shape": [511], "class": "Array", "value": [39622.2, 39720.2, 39729.2, ..., 6716.2], "dtype": "float64"}
now it returns a stringification of that dictionary. That's fine. Slightly
less convenient (because a stringified python dictionary cannot be evaled
as a perl hash without some string processing), but easily something I can
work with.
You can leave it as is, but this sort of change certainly causes tsuris
for Demeter.
—
Reply to this email directly or view it on GitHub
https://github.com/xraypy/xraylarch/issues/99#issuecomment-70721671.

A quick hack got things more-or-less working with the stringifications, but neither A or A will do very much right now.  That's mostly seems to be a matter of handling undefined values sensibly, which turns out to be a bit different for references and evaled strings.  Shouldn't be too much work.  I also clearly need to write some tests for the server-to-perl linkage.

BTW, a client/server CLI is a good idea.

Just to be clear, I definitely broke the get_data() by json-encoding the data before sending out, where it gets json encoded.... duh!   So,  I'll attempt to return it to the previous behavior.
No excuse for not having this better (much better) tested.

I now believe this is doing the right thing, and that you can ask get_data() for any expression.   Well, OK, that's not entirely true.  There are probably many data types that get_data() will barf on, but any normal data Larch type (float, int, string, list, tuple, complex number, dictionary, numpy array, Parameter, Group, or nested combinations thereof) can be returned.
Since JSON itself doesn't support all these types in full (like distinction between tuple and list, or data type of shape for numpy arrays), what is actually returned by get_data() may need to be "re-decoded".  It was like this before for arrays, but now it works better, includes complex numbers and arrays as well as Parameters and Groups, and these can be nested.
Basically, for any complicated data type, you'll get back a dictionary with a 'class' element, which will be one of 'List', 'Tuple', 'Dict', 'Complex', 'Array', 'Parameter', or 'Group'.    For these, you'd need to recreate the object from the other dictionary elements.    The Python code for this step is at https://github.com/xraypy/xraylarch/blame/master/lib/utils/jsonutils.py#L58  I'd tried to keep this simple, but may have failed...
I thought it might make sense to ask for a Parameter, and that perhaps you have a  Parameter-like thing in Perl already.   Similarly, I thought it might make sense to ask for a Group at a time, and then decode the results in one call.

FWIW, I think all of Athena is again working with Larch as of https://github.com/bruceravel/demeter/commit/ff6d8d3967390ea227c69b7171608f44dc5f62f8
The parts of Hephaestus that need (ifeffit|larch) seem to work as well. Artemis is likley pretty spotty at the moment.

Whew!   Sorry for breaking that so badly... and great to hear that Athena and Hephaestus both work!

I believe this issue is resolved.


Random 502.3 errors

I started reporting this problem in issue #201, but because it’s already closed, I’m opening a new one.
We have a dedicated Windows 2008R2 server with IIS7.5 and ASP.NET Core 1.1 RTM (ANCM  v7.1.1970.0) running production site for 3 weeks now.
There are two issues all linked to a random 502.3 error:
Issue 1. The site would be up and running for a variable amount of time (in hours), but all of a sudden would start constantly returning the following error
502 – Web server received an invalid response while acting as a gateway or proxy server
Restarting the site in IIS, or recycling site’s application pool brings the site up, but the problem reoccurs within a few hours or ~30 minutes. As workaround, we configured IIS to recycle app pool every 60 minutes, and that keeps the site up most of the time.
Issue 2. This identical to #201. We see a random 502.3 error in IIS log, while Kestrel log shows 200 status for the same request. This happens to all types of files - static JS/CSS, images and MVC views.
Example of the log: fr000011.pdf
The way I read the above log - IIS couldn't connect to Kestel to retrieve a simple static JPG image, and timed out after 2 minutes. I believe 2 minutes is a default IIS timeout. The site is still up in this case.
In both issues you would see the following entry in IIS failed request log:
ModuleName="AspNetCoreModule", Notification="EXECUTE_REQUEST_HANDLER", HttpStatus="502", HttpReason="Bad Gateway", HttpSubStatus="3", ErrorCode="2147954402", ConfigExceptionInfo=""
The difference between the two issues is that in a 2nd case you would still see successful request in Kestrel log, but in a 1st case there are NO entries whatsoever in Kestrel log, seems like IIS can’t connect to Kestrel at all.
Performance is NOT degrading over time. The site is nver under a heavy load. Lots of memory available.
Any suggestions on how to troubleshoot this problem? What could cause IIS to first randomly fail to connect to Kestrel and then constantly fail.
Thank you.

@pan-wang

could you please use Message Analyzer (https://www.microsoft.com/en-us/download/details.aspx?id=44226)  to capture the network traffic between ANCM and Kestrel? This will tell us what the response was sent by Kestrel caused 502.3 error.

@pan-wang - please see attached screenshot from Message Analyzer. Is this is what you need? It's Local Network Traffic with 502 filter on Summary column. I assume it shows only traffic between IIS and the client.  Do I need special setup in order to capture traffic between ANCM and Kestrel?

I strong suspect those two requests triggered timeout for the connection between IIS/ANCM and Kestrel. the default request timeout is 2 minutes. The time Elapsed for those two requests are 2 minutes. you may want to investigate why Kestrel could not finish the request within 2 minutes. As a workaround you can increase the request timeout value in web.config.
Thanks
Pan

From: RLaptev<EMAIL_ADDRESS>Sent: Wednesday, December 14, 2016 9:21:54 PM
To: aspnet/IISIntegration
Cc: pan-wang; Mention
Subject: Re: [aspnet/IISIntegration] Random 502.3 errors (#311)
@pan-wanghttps://github.com/pan-wang - please see attached screenshot from Message Analyzer. Is this is what you need? It's Local Network Traffic with 502 filter on Summary column. I assume it shows only traffic between IIS and the client. Do I need special setup in order to capture traffic between ANCM and Kestrel?
[502-screenshot]https://cloud.githubusercontent.com/assets/12072954/21209618/4b64e75c-c243-11e6-88cb-c639b2b55867.png

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/aspnet/IISIntegration/issues/311#issuecomment-267218627, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARVK27p7GC15jh2Laft2xpkcq7xW50Ffks5rIKRCgaJpZM4LLOXm.

@pan-wang  Yes, the screenshot shows an example of IIS connection timeout after 2 minutes. However, according to the logs these requests never arrived to Kestrel. There are absolutely no entries in Kestrel stdout log for these timeout requests.
Any other suggestions?

Do you have detailed network log between IIS and Kestrel? This log will tell us who dropped the request?
Sent from my Windows 10 phone
From<EMAIL_ADDRESS>Sent: Wednesday, December 14, 2016 7:42 PM
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [aspnet/IISIntegration] Random 502.3 errors (#311)
@pan-wanghttps://github.com/pan-wang Yes, the screenshot shows an example of IIS connection timeout after 2 minutes. However, according to the logs these requests never arrived to Kestrel. There are absolutely no entries in Kestrel stdout log for these timeout requests.
Any other suggestions?

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/aspnet/IISIntegration/issues/311#issuecomment-267230778, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARVK246mpZNLnm6qMV-scsx37URSAs6Bks5rILcQgaJpZM4LLOXm.

I think I don’t have this log. Do I need to use Message Analyzer for that?  If yes, then that is what I was asking in my previous question - how do I configure Message Analyzer to track messages between  IIS and Kestrel?
Thanks.

You need to set up Message Analyzer to track the loopback adapter.

Ok, i did that. Here is another screenshot:

I see 2 minutes 502 request between client and IIS, and the next line is what seems like a successful request to Kestrel at port 31520. I'm reading this correctly? Why IIS then returning 502???

That shows that IIS sent the request to Kestrel, but it doesn't show a response. The request appears to be stuck in your application somewhere, and IIS aborts the request after 2 minutes.

I'm reading the last two lines as a reply from Kestrel to IIS, port 31520 to 49803.
Request for IIS to Kestrel is line 3 from the bottom, port 49803 to 31520.
All my other successful requests/replies to Kestrel look similar to the last 3 lines.

The tcp reply length is 0. I don’t think it is a valid http response. Something is wrong.
Sent from my Windows 10 phone
From<EMAIL_ADDRESS>Sent: Thursday, December 15, 2016 11:22 AM
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [aspnet/IISIntegration] Random 502.3 errors (#311)
I'm reading the last two lines as a reply from Kestrel to IIS, port 31520 to 49803.
Request for IIS to Kestrel is line 3 from the bottom, port 49803 to 31520.
All my other successful requests/replies to Kestrel look similar to the last 3 lines.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/aspnet/IISIntegration/issues/311#issuecomment-267417064, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARVK2_cLaJhBkLS7PyY1gLm1Lu1pPBxKks5rIZNEgaJpZM4LLOXm.

Those are just ACK for receiving the request, it's not sending the response yet.

Ok, assuming that is what's happening. Where do I look next?
Thank you.

Is that request for a static or dynamic resource? If it's dynamic then i'd suggest debugging the generation code. If it's static then we may need to capture a process dump and look deeper in the server.

The example I provided is for completely static resources. This randomly happens to images/js/css files but sometimes MVC views.
Can you please point me to the instructions on how to capture this dump? I assume it needs to be done when IIS encounters 502 error?

@halter73 can you let @RLaptev know what you'd need to debug a hung request in kestrel?

I haven't seen any logs from the .NET process. If you enable the most verbose logging like shown here and capture the logs corresponding to the same time frame as the 502, that might help us determine what's going on.

I only have the Information level logging enabled. I will enable Trace level tonight and will report my findings tomorrow. Maybe LogLevel.Debug is good enough? I wish there was a way to add timestamp to stdoutLogFile, is there?
Thanks

@RLaptev You can use serilog instead of console logging. Instead of using stdout, you can write the same logs with time stamps straight to a log file.
Here's a blog post descrying how to set up Serilog.

@halter73 Thank you, I already configured nLog for this. I'm now trying to find relative information in the log so I can show it here.

Over the weekend IIS logged 460 errors with 502 status. All errors contained “An operation was attempted on a nonexistent network connection.” The error in IIS would look like so:
GENERAL_FLUSH_RESPONSE_END BytesSent="0", ErrorCode="An operation was attempted on a nonexistent network connection.
MODULE_SET_RESPONSE_ERROR_STATUS Warning ModuleName="AspNetCoreModule", Notification="EXECUTE_REQUEST_HANDLER", HttpStatus="502", HttpReason="Bad Gateway", HttpSubStatus="3", ErrorCode="An operation was attempted on a nonexistent network connection.  (0x800704cd)", ConfigExceptionInfo=""
SET_RESPONSE_ERROR_DESCRIPTION Warning ErrorDescription="There was a connection error while trying to route the request."

I can see from the IIS log that content of the JS file (as an example) is being transmitted and then IIS throws 502 error due to “nonexistent network connection.” I think client/browser just disconnects before finishing receiving the content from the server, e.g. user navigates from the page before it gets loaded. Is that normal for IIS to log 502 error in this case? Can this IIS behavior be changed?
There were no over 2 minutes request timeouts over weekend, not sure why, as I didn’t make any changes to the code. I did however lowered IIS pool recycling to 30 minutes. Does recycling so often negatively effects user experience???
I’m waiting for the site to crash with permanent 502 error, so I can see what’s going on in kestrel logs, but at the same time I don’t want to increase the recycling back to 60 minutes…
Thanks

Tonight we had 25 timeout (after 2 minutes) 502.3 errors in IIS log. Like the one below:
ModuleName="AspNetCoreModule", Notification="EXECUTE_REQUEST_HANDLER", HttpStatus="502", HttpReason="Bad Gateway", HttpSubStatus="3", ErrorCode="2147954402", ConfigExceptionInfo=""
According to ASP.NET Core logs these requested were never received by Kestrel! There are absolutely no entries in the asp.net logs that match requested URL and the timestamp…

frequently recycle IIS worker process is not a good idea as it will kill long running request and introduce cold start latency. You claimed that the timeout requests were never received by Kestrel. Do you have network traffic log to prove it? Could you please collect network traffic log so that we can isolate the root cause. I am really curious about where the request got lost.

I thought that recycling so often is not a good idea, but I have no other way of keeping out site running.
I don’t have the network logs for the timeouts from yesterday, but I think the log will look identical to the screenshot I posted 5 days ago:

Does the above log tell you anything?
What about the misleading 502 errors from IIS when client drops the connection? It’s not as important as the timeouts, but still would be nice to know if this is a “normal “ behavior for IIS.
Thanks.

the above log tell us ANCM forwarded the request to Kestrel successfully but did not receive the response.
If it is still true for your latest case, it indicates a bug in Kestrel. The cause of packet lost may due to out of resource, e.g., queue is full or out of thread, I guess. We need a dump of the Kestrel process to analyze it.
I am not sure about whether other 502 error is caused by client disconnect. Will do some investigation and update you.

I thought I will update my findings so far. Our site is image heavy. All images are just static photos served by StaticFiles middleware. I noticed that most of the time IIS timeouts were for the images, so I setup a new IIS site just to serve images (no asp.net core). The result – no timeouts! ASP.NET Core still runs our main site but all images/photos are from a different IIS site/URL. I have been slowly increasing memory pool recycling interval (up to 3 hours now), so far no more permanent 502 crashes! I think this tells me that the problem is somewhere in AspNetCoreModule when it serves static files, or in StaticFiles middleware. Any thoughts on that?
@pan-wang  - any more info on 502 error caused by client disconnect? We still get tons of those in the logs.

AspNetCoreModule does not distinguish static file or dynamic content. It just forwards the request and flows the response. if you saw permanent 502 error, I strongly doubt it is application issue. For static contents, just as what you did, the best practice is to host them on a different IIS application/site, as IIS has been optimized a lot for this scenario. Will update you about client disconnect.

From: RLaptev<EMAIL_ADDRESS>Sent: Tuesday, January 3, 2017 11:22:20 PM
To: aspnet/IISIntegration
Cc: pan-wang; Mention
Subject: Re: [aspnet/IISIntegration] Random 502.3 errors (#311)
I thought I will update my findings so far. Our site is image heavy. All images are just static photos served by StaticFiles middleware. I noticed that most of the time IIS timeouts were for the images, so I setup a new IIS site just to serve images (no asp.net core). The result - no timeouts! ASP.NET Core still runs our main site but all images/photos are from a different IIS site/URL. I have been slowly increasing memory pool recycling interval (up to 3 hours now), so far no more permanent 502 crashes! I think this tells me that the problem is somewhere in AspNetCoreModule when it serves static files, or in StaticFiles middleware. Any thoughts on that?
@pan-wanghttps://github.com/pan-wang - any more info on 502 error caused by client disconnect? We still get tons of those in the logs.

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/aspnet/IISIntegration/issues/311#issuecomment-270292002, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARVK2xbbDmdWNgTMtW1kMxCsTCIbJBlsks5rOx58gaJpZM4LLOXm.

Got a same issue of serving a large static file. In my case, it is a mp4 file with 15Mb size. It caused 502 bad gateway. Look into the log file. It showed these requests were not finished. It just keep receiving new request for the static file.
HTML5 video tag for display a video
Some requests showed a strange response. The server tried to serve a file but never response successfully. It needs to try few times to deliver the file to the client.

@cesarbs Could you take a look? We can move the bug if necessary.

@muratg Will do.

This smells of https://github.com/aspnet/KestrelHttpServer/issues/1278, which will be fixed in 1.1.1.
@RLaptev Do you pass the context.RequestAborted cancellation token to any writes done by your app? This would explain why you see the issue on views sometimes. StaticFiles uses that token, which is why it's affected by the deadlock.
Do you have a test environment where you're able to generate enough load to repro the issue?

The cancellationToken.ThrowIfCancellationRequested is only used in one class - custom UserStore that implements IUserStore, IUserPasswordStore, IUserLoginStore, IUserPhoneNumberStore, IUserTwoFactorStore, IUserSecurityStampStore interfaces.
Sorry, no test enviroment.

@RLaptev  You don't even need to use context.RequestAborted directly. Simply using the StaticFiles middleware could cause the issue described in aspnet/KestrelHttpServer#1278 since it uses the CancellationToken.
You mentioned in https://github.com/aspnet/IISIntegration/issues/311#issuecomment-270292002 that the StaticFiles middlware could be the problem. You may have been right.

@RLaptev In my test, I did find that a 502 error will be logged to IIS log if client dropped connection.

Moving to discussion until something falls out that is actionable or we close it.

Hello
I have exactly the same issue, we are trying to go around for a few days but no result.

Server environment Windows 2012R2 Standard, core ASPNET 1.1.0, IIS 8.5
We have four website, two of them has a short video file from 200KB to 10MB and the other two are not.
The problem only appears on the page where are video files. Sometimes this bug appear three times a days, another time 15 times a day.
This is very frustrating because there's no rule when the application stops working and someone must constantly monitor the application.

@krs99 - as workaround you can setup a separate website in IIS that just serves static files (no .Net), e.g. media.xyz.com and serve all your video files from that site. That is what I did for ours.

@krs99 @RLaptev's workaround should fix your issue if it's the same (and it definitely looks like it could be). Once 1.1.1 is release (or 1.0.3), it shouldn't be necessary.

@RLaptev - From the beginning I created separate subdomain for media(media.mydomain.pl) but unfortunately I did not notice that it was assigned to the same app pool as the main domain. When I separate app pool for subdomain and domain it's start working without error 502. Thank you for help.

Despite the fact that I served static file from subdomain (separate app pool) after three days when website worked well, error 502 reappeared.

I have the same problem, serving dynamic content. I can reproduce the issue, there a call that lasts almost 5-6 seconds that every 6-7 times I run it, the aspnet core process crashes and tries to start again.

I have sort of the same problem. Though I have the following scenario (also in production and customers are beginning to discover it):
Windows 2008R2 server with IIS7.5 and ASP.NET Core 1.1:
This works just fine all day, every day:
Client -> Load Balancer -> IIS -> Kestrel
This fails every time with "502 - web server received an invalid response while acting as a gateway or proxy server":
Client -> Web proxy -> Load Balancer -> IIS -> Kestrel
I can successfully reproduce the error by using an out of the box installation of a Squid proxy.
Can xff (or some other random) request headers make all requests fail?

I am seeing exactly the same behaviour, except we're hosting our site on an Azure app service.

@krugerm yes, I'm on azure app service too, and it's the biggest problem we have at the moment. we need it to be released asap!

We also need release asap. Is there any information about release date?

It will be released with VS 2017 on March 7th.

Hi. Can anyone confirm that the new release fixed the issue described here? We have a similar issue, getting 502.3's after a while on a service with long response times. It still happens after upgrading to 1.1.1 though...

We are closing this issue because no further action is planned for this issue. If you still have any issues or questions, please log a new issue with any additional details that you have.

Too bad, I had a similar issue, getting a lot of 502 errors on Azure web app for a heavy load. No static contents API only. I did a upgrade from 1.0.1 to 1.1.0 seem no luck because we are using Visual Studio 2015. From @dhjf 's comment seem we have to upgrade to Visual Studio 2017 for 1.1.1.

@zhangpeng-kooboo you don't NEED to update to VS 2017 for 1.1.1.  Just update your references in your project file.

@muratg thks, but after I upgraded to 1.1.1, still does not help. every-time when I send a traffic 300 requests per second to azure web app I saw a lot of '502.3 bad gateway "The specified CGI application encountered an error and the server terminated the process. It's hard to say is it a issue within .NET Core, or Azure web app does not support that.
'.
`30.	URL_CACHE_ACCESS_START	RequestURL="/promotion/details?promotionCode=TESTCODE"	12:35:25.208
31.	URL_CACHE_ACCESS_END	PhysicalPath="", URLInfoFromCache="true", URLInfoAddedToCache="false", ErrorCode="The operation completed successfully.
(0x0)"	12:35:25.208
32.	GENERAL_GET_URL_METADATA	PhysicalPath="", AccessPerms="513"	12:35:25.208
33.	HANDLER_CHANGED	OldHandlerName="", NewHandlerName="aspNetCore", NewHandlerModules="AspNetCoreModule", NewHandlerScriptProcessor="", NewHandlerType=""	12:35:25.208
34.	NOTIFY_MODULE_START	ModuleName="ModSecurity IIS (32bits)", Notification="BEGIN_REQUEST", fIsPostNotification="false"	12:35:25.208
35.	NOTIFY_MODULE_END	ModuleName="ModSecurity IIS (32bits)", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:25.208
36.	NOTIFY_MODULE_START	ModuleName="WebSocketMonitoringModule", Notification="BEGIN_REQUEST", fIsPostNotification="false"	12:35:25.208
37.	NOTIFY_MODULE_END	ModuleName="WebSocketMonitoringModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:25.208
38.	NOTIFY_MODULE_START	ModuleName="DWASModule", Notification="BEGIN_REQUEST", fIsPostNotification="false"	12:35:25.208
39.	GENERAL_SET_REQUEST_HEADER	HeaderName="MWH-SecurityToken", HeaderValue="", Replace="true"	12:35:25.208
40.	GENERAL_SET_REQUEST_HEADER	HeaderName="Sec-WebSocket-Extensions", HeaderValue="", Replace="true"	12:35:25.208
41.	NOTIFY_MODULE_END	ModuleName="DWASModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:25.208
42.	NOTIFY_MODULE_START	ModuleName="HttpCacheModule", Notification="BEGIN_REQUEST", fIsPostNotification="false"	12:35:25.208
43.	NOTIFY_MODULE_END	ModuleName="HttpCacheModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:25.208
44.	NOTIFY_MODULE_START	ModuleName="RequestFilteringModule", Notification="BEGIN_REQUEST", fIsPostNotification="false"	12:35:25.208
45.	NOTIFY_MODULE_END	ModuleName="RequestFilteringModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:25.208
46.	NOTIFY_MODULE_START	ModuleName="FailedRequestsTracingModule", Notification="BEGIN_REQUEST", fIsPostNotification="false"	12:35:25.208
47.	NOTIFY_MODULE_END	ModuleName="FailedRequestsTracingModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:25.208
48.	NOTIFY_MODULE_START	ModuleName="ConfigurationValidationModule", Notification="BEGIN_REQUEST", fIsPostNotification="false"	12:35:25.208
49.	NOTIFY_MODULE_END	ModuleName="ConfigurationValidationModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:25.208
50.	NOTIFY_MODULE_START	ModuleName="RewriteModule", Notification="BEGIN_REQUEST", fIsPostNotification="false"	12:35:25.208
51.	NOTIFY_MODULE_END	ModuleName="RewriteModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:25.208
52.	NOTIFY_MODULE_START	ModuleName="ApplicationInitializationModule", Notification="BEGIN_REQUEST", fIsPostNotification="false"	12:35:25.208
53.	NOTIFY_MODULE_END	ModuleName="ApplicationInitializationModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:25.208
54.	NOTIFY_MODULE_START	ModuleName="IpRestrictionModule", Notification="BEGIN_REQUEST", fIsPostNotification="false"	12:35:25.208
55.	NOTIFY_MODULE_END	ModuleName="IpRestrictionModule", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:25.208
56.	NOTIFY_MODULE_START	ModuleName="IsapiFilterModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="false"	12:35:25.208
57.	NOTIFY_MODULE_END	ModuleName="IsapiFilterModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:25.208
58.	NOTIFY_MODULE_START	ModuleName="DWASModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="false"	12:35:25.208
59.	NOTIFY_MODULE_END	ModuleName="DWASModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:25.208
60.	NOTIFY_MODULE_START	ModuleName="AnonymousAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="false"	12:35:25.208
61.	AUTH_START	AuthTypeSupported="Anonymous"	12:35:25.208
62.	AUTH_REQUEST_AUTH_TYPE	RequestAuthType="Anonymous"	12:35:25.208
63.	AUTH_SUCCEEDED	AuthType="NT", NTLMUsed="false", RemoteUserName="", AuthUserName="", TokenImpersonationLevel="ImpersonationDelegate"	12:35:25.208
64.	USER_SET	AuthType="", UserName="", SupportsIsInRole="true"	12:35:25.208
65.	AUTH_END		12:35:25.208
66.	NOTIFY_MODULE_END	ModuleName="AnonymousAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:25.208
67.	NOTIFY_MODULE_START	ModuleName="IsapiFilterModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="true"	12:35:25.208
68.	FILTER_AUTH_COMPLETE_START		12:35:25.208
69.	FILTER_AUTH_COMPLETE_END		12:35:25.208
70.	NOTIFY_MODULE_END	ModuleName="IsapiFilterModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="true", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:25.208
71.	NOTIFY_MODULE_START	ModuleName="DWASModule", Notification="AUTHORIZE_REQUEST", fIsPostNotification="false"	12:35:25.208
72.	NOTIFY_MODULE_END	ModuleName="DWASModule", Notification="AUTHORIZE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:25.208
73.	NOTIFY_MODULE_START	ModuleName="HttpCacheModule", Notification="RESOLVE_REQUEST_CACHE", fIsPostNotification="false"	12:35:25.208
74.	OUTPUT_CACHE_LOOKUP_START		12:35:25.208
75.	OUTPUT_CACHE_LOOKUP_END	Result="NOT_FOUND"	12:35:25.208
76.	NOTIFY_MODULE_END	ModuleName="HttpCacheModule", Notification="RESOLVE_REQUEST_CACHE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:25.208
77.	NOTIFY_MODULE_START	ModuleName="ApplicationRequestRouting", Notification="MAP_REQUEST_HANDLER", fIsPostNotification="false"	12:35:25.208
78.	NOTIFY_MODULE_END	ModuleName="ApplicationRequestRouting", Notification="MAP_REQUEST_HANDLER", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:25.208
79.	NOTIFY_MODULE_START	ModuleName="StaticCompressionModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotification="false"	12:35:25.208
80.	NOTIFY_MODULE_END	ModuleName="StaticCompressionModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:25.208
81.	NOTIFY_MODULE_START	ModuleName="HttpRedirectionModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotification="false"	12:35:25.208
82.	NOTIFY_MODULE_END	ModuleName="HttpRedirectionModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:25.208
83.	NOTIFY_MODULE_START	ModuleName="DWASModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotification="false"	12:35:25.208
84.	NOTIFY_MODULE_END	ModuleName="DWASModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:25.208
85.	NOTIFY_MODULE_START	ModuleName="DWASModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotification="true"	12:35:25.208
86.	NOTIFY_MODULE_END	ModuleName="DWASModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotificationEvent="true", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:25.208
87.	NOTIFY_MODULE_START	ModuleName="AspNetCoreModule", Notification="EXECUTE_REQUEST_HANDLER", fIsPostNotification="false"	12:35:25.208
88.	GENERAL_SET_REQUEST_HEADER	HeaderName="MS-ASPNETCORE-TOKEN", HeaderValue="d0594dce-820b-4ef4-a036-4715bca3c531", Replace="true"	12:35:25.208
89.	GENERAL_SET_REQUEST_HEADER	HeaderName="X-Forwarded-For", HeaderValue="<IP_ADDRESS>:62637, <IP_ADDRESS>:62637", Replace="true"	12:35:25.208
90.	GENERAL_SET_REQUEST_HEADER	HeaderName="X-Forwarded-Proto", HeaderValue="https", Replace="true"	12:35:25.208
91.	GENERAL_SET_REQUEST_HEADER	HeaderName="MS-ASPNETCORE-CLIENTCERT", HeaderValue="", Replace="true"	12:35:25.208
92.	GENERAL_SET_REQUEST_HEADER	HeaderName="Connection", HeaderValue="", Replace="true"	12:35:25.208
93.	MODULE_SET_RESPONSE_ERROR_STATUS
Warning	ModuleName="AspNetCoreModule", Notification="EXECUTE_REQUEST_HANDLER", HttpStatus="502", HttpReason="Bad Gateway", HttpSubStatus="3", ErrorCode="2147954429", ConfigExceptionInfo=""	12:35:28.130
94.	NOTIFY_MODULE_COMPLETION	ModuleName="AspNetCoreModule", Notification="EXECUTE_REQUEST_HANDLER", fIsPostNotificationEvent="false", CompletionBytes="0", ErrorCode="The operation completed successfully.
(0x0)"	12:35:28.192
95.	NOTIFY_MODULE_END	ModuleName="AspNetCoreModule", Notification="EXECUTE_REQUEST_HANDLER", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:28.192
96.	NOTIFY_MODULE_START	ModuleName="DynamicCompressionModule", Notification="RELEASE_REQUEST_STATE", fIsPostNotification="true"	12:35:28.192
97.	NOTIFY_MODULE_END	ModuleName="DynamicCompressionModule", Notification="RELEASE_REQUEST_STATE", fIsPostNotificationEvent="true", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:28.192
98.	NOTIFY_MODULE_START	ModuleName="RewriteModule", Notification="RELEASE_REQUEST_STATE", fIsPostNotification="true"	12:35:28.192
99.	NOTIFY_MODULE_END	ModuleName="RewriteModule", Notification="RELEASE_REQUEST_STATE", fIsPostNotificationEvent="true", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:28.192
100.	NOTIFY_MODULE_START	ModuleName="HttpCacheModule", Notification="UPDATE_REQUEST_CACHE", fIsPostNotification="false"	12:35:28.192
101.	OUTPUT_CACHE_UPDATE_START	CachePolicy="NO_CACHE", TimeToLive="0"	12:35:28.192
102.	OUTPUT_CACHE_UPDATE_END	Result="STATUS_NOT_OK"	12:35:28.192
103.	NOTIFY_MODULE_END	ModuleName="HttpCacheModule", Notification="UPDATE_REQUEST_CACHE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:28.192
104.	NOTIFY_MODULE_START	ModuleName="DynamicIpRestrictionModule", Notification="END_REQUEST", fIsPostNotification="false"	12:35:28.192
105.	NOTIFY_MODULE_END	ModuleName="DynamicIpRestrictionModule", Notification="END_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:28.192
106.	NOTIFY_MODULE_START	ModuleName="ProcessMonitoringModule", Notification="END_REQUEST", fIsPostNotification="false"	12:35:28.192
107.	NOTIFY_MODULE_END	ModuleName="ProcessMonitoringModule", Notification="END_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:28.192
108.	NOTIFY_MODULE_START	ModuleName="DWASModule", Notification="END_REQUEST", fIsPostNotification="false"	12:35:28.192
109.	NOTIFY_MODULE_END	ModuleName="DWASModule", Notification="END_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:28.192
110.	NOTIFY_MODULE_START	ModuleName="ModSecurity IIS (32bits)", Notification="END_REQUEST", fIsPostNotification="true"	12:35:28.192
111.	NOTIFY_MODULE_END	ModuleName="ModSecurity IIS (32bits)", Notification="END_REQUEST", fIsPostNotificationEvent="true", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:28.192
112.	NOTIFY_MODULE_START	ModuleName="DWASModule", Notification="END_REQUEST", fIsPostNotification="true"	12:35:28.192
113.	NOTIFY_MODULE_END	ModuleName="DWASModule", Notification="END_REQUEST", fIsPostNotificationEvent="true", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:28.192
114.	NOTIFY_MODULE_START	ModuleName="WebSocketMonitoringModule", Notification="END_REQUEST", fIsPostNotification="true"	12:35:28.192
115.	NOTIFY_MODULE_END	ModuleName="WebSocketMonitoringModule", Notification="END_REQUEST", fIsPostNotificationEvent="true", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:28.192
116.	NOTIFY_MODULE_START	ModuleName="ModSecurity IIS (32bits)", Notification="SEND_RESPONSE", fIsPostNotification="false"	12:35:28.192
117.	NOTIFY_MODULE_END	ModuleName="ModSecurity IIS (32bits)", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:28.192
118.	NOTIFY_MODULE_START	ModuleName="ApplicationIdentificationModule", Notification="SEND_RESPONSE", fIsPostNotification="false"	12:35:28.192
119.	NOTIFY_MODULE_END	ModuleName="ApplicationIdentificationModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:28.192
120.	NOTIFY_MODULE_START	ModuleName="ProcessMonitoringModule", Notification="SEND_RESPONSE", fIsPostNotification="false"	12:35:28.192
121.	NOTIFY_MODULE_END	ModuleName="ProcessMonitoringModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:28.192
122.	NOTIFY_MODULE_START	ModuleName="iisnode", Notification="SEND_RESPONSE", fIsPostNotification="false"	12:35:28.192
123.	NOTIFY_MODULE_END	ModuleName="iisnode", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:28.192
124.	NOTIFY_MODULE_START	ModuleName="HttpLoggingModule", Notification="SEND_RESPONSE", fIsPostNotification="false"	12:35:28.192
125.	NOTIFY_MODULE_END	ModuleName="HttpLoggingModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:28.192
126.	NOTIFY_MODULE_START	ModuleName="IsapiModule", Notification="SEND_RESPONSE", fIsPostNotification="false"	12:35:28.192
127.	NOTIFY_MODULE_END	ModuleName="IsapiModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:28.192
128.	NOTIFY_MODULE_START	ModuleName="RequestFilteringModule", Notification="SEND_RESPONSE", fIsPostNotification="false"	12:35:28.192
129.	NOTIFY_MODULE_END	ModuleName="RequestFilteringModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:28.192
130.	NOTIFY_MODULE_START	ModuleName="ProtocolSupportModule", Notification="SEND_RESPONSE", fIsPostNotification="false"	12:35:28.192
131.	NOTIFY_MODULE_END	ModuleName="ProtocolSupportModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:28.192
132.	NOTIFY_MODULE_START	ModuleName="IsapiFilterModule", Notification="SEND_RESPONSE", fIsPostNotification="false"	12:35:28.192
133.	NOTIFY_MODULE_END	ModuleName="IsapiFilterModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:28.192
134.	NOTIFY_MODULE_START	ModuleName="DynamicCompressionModule", Notification="SEND_RESPONSE", fIsPostNotification="false"	12:35:28.192
135.	NOTIFY_MODULE_END	ModuleName="DynamicCompressionModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:28.192
136.	NOTIFY_MODULE_START	ModuleName="HttpCacheModule", Notification="SEND_RESPONSE", fIsPostNotification="false"	12:35:28.192
137.	NOTIFY_MODULE_END	ModuleName="HttpCacheModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:28.192
138.	NOTIFY_MODULE_START	ModuleName="RewriteModule", Notification="SEND_RESPONSE", fIsPostNotification="false"	12:35:28.192
139.	NOTIFY_MODULE_END	ModuleName="RewriteModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:28.192
140.	NOTIFY_MODULE_START	ModuleName="CustomErrorModule", Notification="SEND_RESPONSE", fIsPostNotification="false"	12:35:28.192
141.	GENERAL_SEND_CUSTOM_ERROR	HttpStatus="502", HttpSubStatus="3", FileNameOrURL=""	12:35:28.192
142.	NOTIFY_MODULE_END	ModuleName="CustomErrorModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:28.192
143.	NOTIFY_MODULE_START	ModuleName="DWASModule", Notification="SEND_RESPONSE", fIsPostNotification="false"	12:35:28.192
144.	NOTIFY_MODULE_END	ModuleName="DWASModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:28.192
145.	NOTIFY_MODULE_START	ModuleName="WebSocketMonitoringModule", Notification="SEND_RESPONSE", fIsPostNotification="false"	12:35:28.192
146.	NOTIFY_MODULE_END	ModuleName="WebSocketMonitoringModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:28.192
147.	NOTIFY_MODULE_START	ModuleName="DynamicIpRestrictionModule", Notification="SEND_RESPONSE", fIsPostNotification="false"	12:35:28.192
148.	NOTIFY_MODULE_END	ModuleName="DynamicIpRestrictionModule", Notification="SEND_RESPONSE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE"	12:35:28.192
149.	HTTPSYS_CACHEABLE	HttpsysCacheable="false", Reason="HANDLER_HTTPSYS_UNFRIENDLY", CachePolicy="NO_CACHE", TimeToLive="0"	12:35:28.192
150.	GENERAL_FLUSH_RESPONSE_START		12:35:28.192
151.	GENERAL_RESPONSE_HEADERS	Headers="Content-Type: text/html
Server: Microsoft-IIS/8.0
X-FE-DATA: AppId:Unknown-StatusCode
X-Powered-By: ASP.NET
DWAS-Handler-Name: EXECUTE|502|3|0x2efd|CONFIG_SUCCESS|aspNetCore|<IP_ADDRESS>|\<IP_ADDRESS>\volume-17-default&ApiApp=0
"	12:35:28.192
152.	GENERAL_RESPONSE_ENTITY_BUFFER	Buffer="The specified CGI application encountered an error and the server terminated the process."	12:35:28.192
153.	GENERAL_FLUSH_RESPONSE_END	BytesSent="412", ErrorCode="The operation completed successfully.
(0x0)"	12:35:28.192
154.	GENERAL_REQUEST_END	BytesSent="412", BytesReceived="1470", HttpStatus="502", HttpSubStatus="3"	12:35:28.192`

@zhangpeng-kooboo Are you able to reproduce locally?  i.e. on your machine, run the app and apply the same load?  It could well be an app scalability issue.

@zhangpeng-kooboo A 502.3 usually means that the web app took 2 minutes or longer to respond. Looking at the ASP.NET logs instead of the IIS logs, might help you track down which requests are taking too long to get responses and perhaps why.

It is not the timeout case per the freb log. The Error code<PHONE_NUMBER> ( WININET_E_CANNOT_CONNECT
A connection with the server could not be established). Something is wrong with the backend process which did not pick up the connection (deadlock?). You need to check the Kestrel log.

im on 1.1.2 but still have this issue :(

@1amirjalai To clarify, this issue tracked one specific cause for 502.3 timeout errors: a deadlock in SocketOutput fixed in 1.0.3 and 1.1.1.
Any bug that causes a request to take two or more minutes to complete, either in application or framework code, can cause a 502.3. That's why I recommend looking an ASP.NET and application logs: to see exactly what operation is stalling.

@halter73 Thks, seem our MongoDB could not handle so many requests at a very short period. I will double check more details on our side.

Damn in my case calls to Redis started to timeout (2 minutes) after 30 minutes...

How do you know that it is welded on redis, the same problem occasionally gives 502.3 error.

I could bypass the issue by putting my staticfileshosting in the startup on no-cache,no-store.

In my case it appeared to be a really nasty bug in my code. I was getting 502.3 errors on random endpoints however after a while I noticed that the preceding request was always the same. After further investigation it appeared that some async code was not awaited so:

the request finished with 200 but
async code threw exception when trying to use already disposed scope dependency
there were no trace of exception anywhere (until I reproduced it under debugger)
the next request coming into api always fails with famous 502.3

I hope someone will find it useful.

Thanks @PrzemekGawron!

@PrzemekGawron I have the same problem, how did you resolve?

@thiagokabral The fix itself was pretty ease - just to use await in a place where it was missed. But finding the place was much harder.


Interactive learning with browser output

Hi,
Is there a way to use something else than the console output for interactive learning ?
Maybe with the CustomChannel class ?

I am trying to solve the same problem.
Issue:
Using the tips in this thread I am able to wrap the bot in a web interface.
class WebBot(HttpInputComponent)
agent.handle_channel(HttpInputChannel(5004, "/", WebBot()))
Now I want to do the same with interactive learning. I want to have the input/output in a web-based chat UI.
If I try this
agent.train_online(training_data, input_channel=HttpInputChannel(5004, "/", WebBot()))
then it only reads the first input in the web UI. Subsequent input can only be done via the console. And all output is displayed in the console, not in the web UI.

This the same issue as #343.

since it's a duplicate of #343 I will close this. As said we are working on a large refactor that should enable this

@akelad #301 (mentioned in #343) seems to be merged quite a while ago. Is it possible now to use interactive learning with HTTP input and output?

No, I'm afraid not yet - that PR wasn't related to the API


Fixes #1854: Multiple copies of Valuesets and Codesets

When importing valuesets and codesets through /admin/super/valuesets as super admin, only one is deleted. There could be edge cases where a database could have multiple copies of valuesets and codesets prior to #1213.

🤖 Generated by Copilot at 02346ad
Summary
🗑🔀🌱

Fixed a bug in seeds/valuesets.ts that could cause duplicate resources with the same url. Improved the deleteExisting function to remove all matching resources before seeding.

deleteExisting
cleans up resources by url
no more duplicates

Walkthrough

Delete all resources with matching url filter in deleteExisting function (link)

Coverage: 94.053% (+0.0003%) from 94.052% when pulling 02346ad50155b162e2cef7c2aed4a08fcfba8179 on tony-valueset-expand-returning-redundant-data into b436ae9253b2e7fe6426340f57717cf3f8a03b9c on main.


[Joy][MenuList] Fix constantly steals focus issue

Closes #36799

[x] I have followed (at least) the PR section of the contributing guide.

I saw this comment by @michaldudak

// TODO: this should be handled by the MenuButton

So I checked the Official Demos & noticed an issue. I logged that issue (#36805). Here this popping functionality is handled by <PopperUnstyled />. So as per this comment, this should be handled by the Menu Button like in the MUI Popper Demos (https://mui.com/base/react-popper/#basics). I'm going to update them accordingly next.

@yushanwebdev really appreciate your effort. @michaldudak is working on #36400 which will affect the Menu. May be it would also fix the issue.

ah Okay @siriwatknp. Then I'll close this PR.


refactor: Delete obsolete comment re: mn elements

Remove a TODO that has been done.

Codecov Report

Merging #2472 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2472   +/-   ##
=======================================
  Coverage   93.82%   93.82%
=======================================
  Files          84       84
  Lines        6110     6110
  Branches     1254     1254
=======================================
  Hits         5733     5733
  Misses        346      346
  Partials       31       31

Impacted Files
Coverage Δ

src/functions/symbolsOrd.js
100.00% <ø> (ø)

Continue to review full report at Codecov.

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


[Bug]: Unable to create link

What happened?
Unable to create link
Colab cell output
stderr: WARNING: Ignoring version 0.2.5 of torchsde since it has invalid metadata:
Requested torchsde==0.2.5 from https://files.pythonhosted.org/packages/73/8d/efd3e7b31ea854d0bd6886aa3cf44914adce113a6d460850af41ac1dd4dd/torchsde-0.2.5-py3-none-any.whl (from -r requirements_versions.txt (line 29)) has invalid metadata: .* suffix can only be used with `==` or `!=` operators
    numpy (>=1.19.*) ; python_version >= "3.7"
           ~~~~~~~^
Please use pip<24.1 if you need to use this version.
ERROR: Could not find a version that satisfies the requirement torchsde==0.2.5 (from versions: 0.2.5, 0.2.6)
ERROR: No matching distribution found for torchsde==0.2.5

Which colab and model(s) were you using when the error occurred?
xrikishis_unstable_diffusion_webui_colab.ipynb
Which Public WebUI Colab URL were you using when the error occurred?
remote.moe
If you used HiRes mode when the error occurred, please provide the Hires info
No response

I managed to bidouiller (sorry, I'm french) something. Sorry for the messy explanation.

1: run as normal
2: once the file is present, in the stable-diffusion-webui folder,
3: open the file requirements_versions.txt

4: on line 30, replace torchsde==0.2.5 with torchsde==0.2.6
(you have to do all this before you can execute the line "!python launch.py --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple", in any case, it works when I do it this way)

Thanks for the reply, but the test still cannot be corrected


Fixed inline code markdown for  in docstring

Very minor fix from 'antialias' to antialias in docstring for proper inline code markdown notation.

As this is a very small fix, IMHO it should not queued for long in order to avoid burdening the CI.


Range selection with 1 date-picker at the dropdown

Hi,
Is there anyway possible I can use the feature to select range but I want that only one calendar opens up in the dropdown. I am having some UI related issues with my website If I am using two calendars aligned beside or below each other. I want only one caelendar that can help me select the dates.
Thanks

Not possible for now, sorry


Cannot download calib file from KITTI

Hi everyone, there's a tiny problem that I cannot download CALIB file from KITTI. It seems something wrong with the download link KITTI sent to me. Could someone please send "Download camera calibration matrices of object data set (16 MB)" this file to my e-mail? Thanks a lot!
My email<EMAIL_ADDRESS>Or please tell me how can I solve this download problem.

wget https://s3.eu-central-1.amazonaws.com/avg-kitti/data_object_calib.zip

wget https://s3.eu-central-1.amazonaws.com/avg-kitti/data_object_calib.zip

--2019-08-14 15:50:21--  https://s3.eu-central-1.amazonaws.com/avg-kitti/data_object_calib.zip
Resolving s3.eu-central-1.amazonaws.com (s3.eu-central-1.amazonaws.com)... <IP_ADDRESS>
Connecting to s3.eu-central-1.amazonaws.com (s3.eu-central-1.amazonaws.com)|<IP_ADDRESS>|:443... failed: Connection refused.
I think something wrong with their Amazon AWS.

I didn't experienced any of these problems by downloading the calibration files.
Are you trying to download through any company proxy server?
You can use wget also in combination with proxy settings.
wget -e http_proxy=http://username:password@proxy_host:proxy_port <your_url>
also refer to man-page

Thanks for your kindly help! Problem solved :)


Add PROFILE.md

Initial Creation an introduction file for GitHub Teacher as requested in #1

:+1 This looks good!


[FEATURE] Automate GitHub Releases with Release Notes and Tagging and labelling of prs and issues

📋 Description
This pull request introduces a GitHub Actions workflow to automate the creation of GitHub releases. The workflow is triggered when a new tag is pushed, generating release notes from recent commit messages and creating a tagged release on GitHub.
Key features:

Automatically triggers on pushing tags with a vX.X.X format (e.g., v1.0.0).
Generates release notes based on recent commit messages to provide a summary of changes.
Publishes a new release with the specified tag, streamlining the release process.

This automation will make it easier to maintain consistent and informative release notes, helping contributors and users stay informed about new versions and updates.

✅ Checklist
Before submitting the PR, please make sure you have completed the following:

[ ] My code follows the style guidelines of this project.

[ ] I have performed a self-review of my own code.

[ ] I have commented my code, particularly in hard-to-understand areas.

[ ] I have made corresponding changes to the documentation (if applicable).

[ ] My changes generate no new warnings.

[ ] I have tested it locally and it works fine.

[ ] Any dependent changes have been merged and published in downstream modules.

Thankyou for contributing


bedboss should use bbclient!

What if we utilize bbclient for caching files and then operate on pre-cached files instead of directly accessing locally stored files, copying, preprocessing, and then uploading to S3?

Yes. we should first download bed file with bbclient, then use bbclient to load into bedboss.
if there are bed files that fail with bbclient that we want to use, then those cleaning steps should move from bedboss to bbclient. only the most basic ones; anything pipeline-related, or that creates a result to report, should stay in bedboss
bbclient could return a json with some annotation information when you try to ingest a bed file. it could say 'this bed file has x,y,z problems'. bedboss is then a user of bbclient, it gets this information and reports it with pipestat.

fixed in 0.2.0


Support CocoaPods 1.x for KaeruDemo.

Resolve an error when pod install using CocoaPods 1.x.
[!] The dependency `Kaeru (from `../`)` is not used in any concrete target.

thx!! 😄


saturn worker consumes high CPU when Cron describes a past time

The problem occurs in the while logic when determine when to handle tasks.
	while (!halted.get()) {
		try {
			synchronized (sigLock) {
				while (paused && !halted.get()) {
					try {
						sigLock.wait(1000L);
					} catch (InterruptedException ignore) {
					}
				}
				if (halted.get()) {
					break;
				}
			}
			boolean noFireTime = false; // 没有下次执行时间，初始化为false
			long timeUntilTrigger = 1000;
			if(triggerObj != null){
				triggerObj.updateAfterMisfire(null);
				long now = System.currentTimeMillis();
				Date nextFireTime = triggerObj.getNextFireTime();
				if(nextFireTime != null) {
                    timeUntilTrigger = nextFireTime.getTime() - now;
                } else {
                    noFireTime = true;
                }
			}

			while (!noFireTime && timeUntilTrigger > 2) {
				synchronized (sigLock) {
					if (halted.get()) {
						break;
					}
					if (triggered){
						break;
					}

					try {
						sigLock.wait(timeUntilTrigger);
					} catch (InterruptedException ignore) {
					}

					if(triggerObj != null){
						long now = System.currentTimeMillis();
                        Date nextFireTime = triggerObj.getNextFireTime();
                        if(nextFireTime != null) {
                            timeUntilTrigger = nextFireTime.getTime() - now;
                        } else {
                            noFireTime = true;
                        }
					}
				}
			}
			boolean goAhead;
			// 触发执行只有两个条件：1.时间到了；2。点立即执行；
			synchronized (sigLock) {
				goAhead = !halted.get() && !paused;
				// 重置立即执行标志；
				if (triggered) {
					triggered = false;
				} else { // 非立即执行。即，执行时间到了，或者没有下次执行时间。
                    goAhead = goAhead && !noFireTime;
                    if(goAhead && triggerObj != null) { // 执行时间到了，更新执行时间；没有下次执行时间，不更新时间，并且不执行作业
                        triggerObj.triggered(null);
                    }
                }
			}
			if (goAhead) {
				job.execute();
			}

		} catch (RuntimeException e) {
			log.error(String.format(SaturnConstant.ERROR_LOG_FORMAT, job.getJobName(), e.getMessage()), e);
		}
	}

As long as the job is not stopped(!halted.get()), a
    while(true){
        //doSomething();
    ;}

will always be triggered  for each job. However, for a task will never schedule again in the future, this while loop is meaningfulness for  most of the time only ends with acquire the lock then release the lock and again and again without any pause.
A simple solution will be add sleep in the end of the loop to prevent busy cpu consumption.

It seems to make sense, have you tested it to prove this problem?  what is the CPU usage rate?

it could be easily test to make a job that will  never be triggered any more. Only one job will take 20% CPU in my Windows machine.
The same problem have been obliviously found in our Linux production environment when delay jobs will never be triggered again. For now, we just stop the delay job after they are triggered as a workaround.

I have just tested it. Yes, you are right!
My computer's time is 2017-09-11 16:00:00.
When the cron is 0 15 11 11 09 ? 2017,  top show:

When the cron is 0 15 11 11 * ? 2017, top show:

After I commit the new code, the cpu usage is normal, the top result as follows:

@Jaskey Please review the code, or test it

I believe, sleep is enough, no need to call wait which needs the lock. Please refer to my pr https://github.com/vipshop/Saturn/pulls a week ago

I have looked your pull request. I don't think so.
The sleep or wait time should be 1000 ms, Because saturn just support the cron min time that is a second. So the 1000 ms is reasonable, but your 100 ms is not.  And, use the sigLock.wait(1000L),  the sigLock is necessary, because it can be notified, and no need to wait. And, you said the lock which is unnecessary, but I think, the lock is already existing,  I just reuse it.

@hebelala allright then


docker-compose yml broken

root@raspberrypi:/home/amirulandalib/Scripts/docker/flare-bypasser# docker-compose build
ERROR: The Compose file './docker-compose.yml' is invalid because:
services.flare-bypasser.environment.UNUSED contains false, which is an invalid type, it should be a string, number, or a null

Fixed, please, use version after this commit


New SOAR content

Details
Added 3 playbooks from phantomcyber/playbooks that were just added, also created yamls for them.
Checklist

[ ] Validate name matches <platform>_<mitre att&ck technique>_<short description> nomenclature
[ ] CI/CD jobs passed ✔
[ ] Validated SPL logic.
[ ] Validated tags, description, and how to implement.
[ ] Verified references match analytic.

Opened https://github.com/splunk/security_content_docs/pull/6 to ensure links generate properly with new playbooks. Waiting on update of latest branch in phantomcyber/playbooks to ensure links don't 404.


Port LDN service check authorization

To DSpace 7 LDN request scoped IP authorization component for use with SpEL

Resolved with: https://github.com/harvard-lts/DSpace/commit/baea50887c5489cff283d2ee7e19b9475f721bed


Cypress - Config per env in travis

@wojciechmajchrzak could you take a look at

scripts/runContainer-dev.sh
scripts/runContainer-prod.sh
scripts/runLatestContainer.sh

and validate them? I'm not sure how to treat them.


How to set JDBC connection string for Clickhouse cluster

i set up clickhouse cluster with 3 node . but when i use jdbc connection connection ,i can only choose one of the ip to generate connection string jdbc:clickhouse://${ip}:9000/${database}?user=&password= .  seems not find related API to connect to cluster string .
i have to implements the code that setup 3 connection with 3 diffierent connection string and when insert data i would random select one connection .
Error logs
paste your error logs here

Steps to reproduce
Other descriptions

There are BalancedClickhouseDataSource   support in https://github.com/housepower/ClickHouse-Native-JDBC/blob/master/clickhouse-native-jdbc/src/main/java/com/github/housepower/jdbc/BalancedClickhouseDataSource.java

I will update the docs in usage.


Add deps.edn

This library looks promising, thank you for sharing!
I've added a deps.edn created by lein2deps [1]
The current main branch is not accessible as a dependency otherwise, also it is not recommended to use a snapshot release from maven.
My branch can be tested via deps-try:
deps-try io.github.jeroenvandijk/gungnir "642426125ee4fcb7a3472ecc8c1e214be2ab78ef"

[1] lein2deps --print --write-file deps.edn

Thanks. I'm not too familiar with deps.edn. Do I need to create a new release or is just merging fine?

No merging should be just fine. Only when you update project.clj in the future with new dependencies you would have to run lein2deps again.


Server Crashing

Hi there after the update that happened today the server is crashing after 5 min of playing the game.

Hey Chalalitos, thanks for reporting.
May I ask for the app log file? It can be found at appdata/logs/applog.txt. The server log would also be helpfull.


[IT Cert] Adding optional retake policies to CourseTemplate bundle spec

Quick Links

Buganizer Issue

@jgan @eniskonuk @davetchen Forgot to get your review before merging, but please let me know if there are changes to make with retake policies.


Downloads Resources over HTTP

The latest version of NPM includes security auditing by default upon npm install and manually under npm audit, and haxe triggers a high severity warning:
                       === npm audit security report ===

                                 Manual Review
             Some vulnerabilities require your attention to resolve

          Visit https://go.npm.me/audit-guide for additional guidance

  High            Downloads Resources over HTTP

  Package         haxe

  Patched in      No patch available

  Dependency of   haxe [dev]

  Path            haxe

  More info       https://nodesecurity.io/advisories/177

[!] 1 vulnerability found - Packages audited: 17806 (17803 dev, 266 optional)
    Severity: 1 High

Is there a place to download the Haxe packages that is HTTPS, instead of HTTP?

Github started marking these, too

@andyli i can't use hxbuilds.s3-website-us-east-1.amazonaws.com/builds/haxe/ in HTTPS
Is there a place to download the Haxe packages that is HTTPS ?

Thank you @andyli
@jgranick should be ok with 5.0.10. Can you confirm it ?

The npm audit command still returns that it has the same vulnerability, but after reading further it appears that the "auditory database may be updated at any time" which leaves me wondering when it should be refreshed? Presumably the new version does fix it, but it's hard to know for sure when/if it will clear their system 🙁


CONTRIBUTING_ID.md

Updated Contributing Indonesian

hello @dyancuex
this file already exists that translate, please be more careful in choosing the file, thanks


getfeature call from highlight click

The getFeature method must only be called from the click event method if there is a current feature.
Clicking into the mapview without a current feature should not throw an error exception.

from this highlight style
"highlight": {
      "strokeColor": "#000000",
      "strokeWidth": 2,
      "strokeOpacity": 1
    }```

I am getting a massive stroke width. I am using a custom mapview with getFeature override.


Body parameter creates class based on parameter name, not reference type

"parameters": [
          {
            "name": "foo",
            "in": "body",
            "required": false,
            "schema": {
              "$ref": "#/definitions/bar"
            }
          }
        ]

produces:
public partial class Foo

not:
public partial class Bar

This is really strange - I expect that this is some sort of edge case as it would have been reported many times if this is always the behavior...
Can you post a complete swagger spec sample?

You are right.  My contrived example did not illustrate the issue.  The bug is only evident when the reference is is a file reference,  i.e. "$ref": "./swagger2.json#/definitions/Bar"
swagger.json
{
  "swagger": "2.0",
  "info": {
    "title": "NswagDemo",
    "version": "1.0"
  },
  "host": "example.com",
  "paths": {
    "/shapes": {
      "post": {
        "tags": [
          "Shapes"
        ],
        "operationId": "Add",
        "consumes": [],
        "produces": [],
        "parameters": [
          {
            "name": "foo",
            "in": "body",
            "required": false,
            "schema": {
              "$ref": "./swagger2.json#/definitions/Bar"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    }
  }
}

swagger2.json
{
  "swagger": "2.0",
  "info": {
    "title": "Swagger2 File",
    "version": "1.0"
  },
  "host": "example.com",
  "paths": {},
  "definitions": {
    "Bar": {
      "type": "object",
      "properties": {
        "baz": {
          "type": "boolean"
        }
      }
    }
  }
}


New package: InterstellarResearch.Daqarta version 11.7.0

Pull request has been created with Komac v1.10.1 :rocket:

Resolve  #113522

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Even after switching to nullsoft installer type, still is not unattended

Automatic Validation ended with:

No Closing


CTA Button with Ceros Modal IFrame

Implement CTA Button with Ceros Modal IFrame.
Related to #66.
Example:
View Interactive Demo button from https://www.moleculardevices.com/products/microplate-readers/multi-mode-readers/spectramax-id3-id5-readers

Fixed by https://github.com/hlxsites/moleculardevices/pull/578


Fix android64 exceptions

apparently they work fine on mods, but not on geode itself

i'm posting my backtrace sorry mat (it's inspiring)

Where is download

there's an issue on geode rn, I use android 64 and the mods aren't loading ¯_(ツ)_/¯

fixed in 3.0.0, by using c++_shared and a fix in the launcher itself
cfb682ef7999f90e8f01ef79ce611969dcd08f75
https://github.com/geode-sdk/android-launcher/commit/c61d65222942ff7dd7a53a70e48ae0e9be3d65be


Susat2024

Pull Request
This PR is for a

[x] New Publication(s)
[ ] Correction

For the following list(s):

[ ] ancientmetagenome-environmental (README)
[ ] ancientmetagenome-hostassociated (README)
[x] ancientsinglegenome-hostassociated (README)

This is to close #1185
PR Workflow

Open this PR with sample metadata on the samples metadata sheet (:tada: you're already here!)
Wait for checks for sample metdata to pass
(If checks fail) make corrections, and push changes to this branch (no need to open a new PR!)
(Once passed) comment on this PR @spaam-bot please autofill <table_name> <project_id> to get a half-filled template! (may take a minute or so to get the comment with the file)
Fill in the template, and verify autofilled data correct!
Once filled in, append(!) the new rows from the TEMPLATE file to the end of the corresponding library metadata file, and update this PR
Wait for checks for library metadata to pass
Request review!

Pre-review checklist (new publications)

[x] Publication is published

Preprints currently not accepted?

[x] Checked the publication is not already in the database?
[x] Checked samples in this publication are not previously published data?

Newly re-sequenced metagenomes are OK!

[x] Samples are shotgun metagenomes and not amplicon data

Note: hostassociated-singlegenome may also contain whole-genome enriched data

[x] Checked the list follows conventions as described in the corresponding sample type's README file (e.g. using ERS/SRS accession codes for ENA/SRA)?
[x] Once sample table validation completed Library metadata has been added

Use @spaam-bot please autofill <table_name> <project_id> to get a half-filled template! May take a minute or so to get the comment with the file
Fill in template, and verify autofill data correct!
Once filled in, append(!) the new rows to the end of the corresponding library metadata file

[x] Changelog is updated to include the publication under 'Added'?

This fell off my radar due to weeks of travelling and then sick kids, sorry @MagdalenaHC !
Thank you very much, this is good to go :dancers:


Oversight Community & Arbiter Pool member Remuneration

The Oversight Community members cannot earn Engagement Points for their work.
They are paid a flat amount of 100 TGD for their contribution on a monthly basis.
The tokens are paid from the block rewards which are allocated to the Community Pool and Engagement Rewards.
The definition of done is that the addresses associated with the Oversight Community are paid 100 TGD monthly.

Arbiter Pool members also have a flat 100 TGD for their contribution on a monthly basis in the same way.

OK. Will check the current status and adapt accordingly.

Business Requirements
The Oversight Community and the Arbiter Pool members need remunerating for the work they do, and for obvious reasons they cannot be eligible for Engagement Points for this activity as they would be voting for themselves.
Various remuneration methods have been considered and look at for the incentives, how they can be "gamed" etc. The least worst option is for fixed monthly remuneration. There are tools in place to slash or kickout OC/AP members who do not do any work, vote etc thus there are no concerns about being paid to do nothing.
The fixed remuneration is set to 100 TGD per month and may be changed in the future through governance/software upgrade should it be appropriate.
The origin of the tokens which are paid to the OC and AP members is from the block rewards. The block rewards are allocated to Validators, Engagement Points, and Community Pool, and the remuneration is added to this list.
Priority
This needs implementing before launch

Clarifications
Block reward allocations as follows:

50% Validators
5% Community Pool
45% Pool - of which the OC/AP members are paid a fixed amount as specified, the balance is distributed to Engagement Point holders

To clarify the Arbiter Pool members are participants in the Arbiter Pool Trusted Circle, and for practical purposes could be allocated to a special group
I am open to any suggestion about how to implement the reward mechanism around the business needs of paying the Oversight Community and Arbiter Pool monthly.
As we are producing block rewards it is an edge case that there would be a scenario of "out of funds".  The exception needs handling, and if there are insufficient funds then nothing should be paid.
There needs to be a solution found to pay the OC/AP a fixed monthly amount as mentioned in the requirements it is the least worse option


[PE-D][Tester C] No way to search for all contacts or events that don't have tags

I couldn't find a way to search for the contacts or events that don't have any tags. Users might want to be able to do that to then more easily add tags or something like that

Labels: severity.Low type.FeatureFlaw
original: ishan-agarwal-05/ped#11

Shall we just add a comment for this in the UG? I don't think it makes sense to change the command...

Thank you for the suggestion, in my opinion this feature is barely useful. Consider closing.


No help message in Discord

Currently, there is no way for users in Discord to check how to set their emoji or see what the bot does. Some sort of status message indicating help and then a help command would be very useful.

This should potentially be a command only in DMs to avoid spamming the chat.


"Mento" has a new icon for the Dapp list

Hello,
i am Alex from Mento Labs.
Mento Labs has gone thru a redesign and we would like to update the icon on Valoras Dapp list.

Done in https://github.com/valora-inc/dapp-list/commit/750d5c91b5476dd384591f6c34d05b1df8f91fa4


Fixed typo to show title

reviewer @xavijam
close #6339
Change title attribute on template from name to title.

:+1:

@xavijam take a look again. I have added support for location hash into url.

It can't work because you are not adding/referencing that vendor file in the grunt process. You should add it here:
https://github.com/CartoDB/cartodb/blob/master/lib/build/files/js_files.js#L393

:dancer: :+1:

There is a new library, don't forget to add the license to the licenses excel cc @gfiorav

Done for the leaflet-hash.js library.


Parallel execution

Hi, we have mmock deployed to a server. We use it to run our tests against it. When 2 test executions run in parallel, we started to see flakiness. This is basically because they share the same state and mess up with each other.
Do you have any suggestion to support parallel execution with state management?

Hey, the only solution that came to my mind is to add some response header like "X-MMOCK-SCENARIO" and append this header value to the following request to identify the current scenario, this will imply some development in mmock,  but will force you to create specific code for a test that it's far from ideal...
To really keep it isolated, I think the only way to go it is to have more than one instance of mmock, one for each execution parallel process.

In case we want to go for multiple deployment path, is there an easy way to figure out how to deal with distribution of available services?

Hey, sorry for this late answer.
I don't know the details of your implementation, but maybe this calls (https://github.com/jmartin82/mmock#mapping
) can help you to discover any service available.
Another option could be to have duplicate mmock instances with the same services and just adjust the distribution of the test and set up the mock endpoint using the env vars of your CI platform.
                                           ┌─────────┐
        ┌──────────────┐   mmock:8082      │         │
        │   Test 1     ├──────────────────►│ Mmock   │
        └──────────────┘                   │         │
                                           └─────────┘
        ┌──────────────┐   mmock:8082        ▲
        │   Test 2     ├─────────────────────┘
        └──────────────┘

                                           ┌─────────┐
        ┌─────────────┐   mmock-1:8082     │         │
        │  Test 1     ├────────────────────┤  mmock  │
        └─────────────┘                    └─────────┘
Env: Node_1
────────────────────────────────────────────────────────────

        ┌─────────────┐   mmock-2:8082     ┌─────────┐
        │  Test2      ├───────────────────►│  mmock  │
        └─────────────┘                    │         │
                                           └─────────┘
Env: Node_2 ´´´


[HOLD for payment 2024-02-20] [$500] Room - In offline, changing room name, in room chat changed message is not displayed

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.24
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Go to https://staging.new.expensify.com/
Turn off mobile data
Tap fab--- Start chat --- Room
Enter all fields
Tap create room
Tap header
Tap settings
Tao room name
Change room name
Tap save
Navite back to room chat page

Expected Result:
In offline, changing room name, in room chat changed message must be displayed
Actual Result:
In offline, changing room name, in room chat changed message is not displayed
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/7870616e-de53-4fd6-b270-e25a193688ee
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01cc0589030a9cc719
Upwork Job ID:<PHONE_NUMBER>459560960
Last Price Increase: 2024-02-01
Automatic offers:

jjcoffee | Reviewer | 28142459
paultsimura | Contributor | 28142460

Proposal
Please re-state the problem that we are trying to solve in this issue.
In offline, changing room name, in room chat changed message is not displayed
What is the root cause of that problem?
We are only setting the update of the room name in optimistic data
https://github.com/Expensify/App/blob/55746c78a6ef59d9ad636eda8c610023c3cd62ac/src/libs/actions/Report.ts#L1719-L1733
What changes do you think we should make in order to solve the problem?

We should also add the changed name message in optimistic data
What alternative solutions did you explore? (Optional)

Proposal
Please re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
When renaming a room, we do not add an optimistic RENAME report action to the room report, only update the report name:
https://github.com/Expensify/App/blob/c0c4d64f67d263472a713f5c1aa4b0ec8b0080f9/src/libs/actions/Report.ts#L1706-L1764
What changes do you think we should make in order to solve the problem?
First, we should build an optimistic report action with type="RENAME" and add it to the ${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportID} onyx key in the optimisticData (the report action should be build to match the one we receive from BE, it's a rather trivial task):
        {
            onyxMethod: Onyx.METHOD.MERGE,
            key: `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportID}`,
            value: {
                [optimisticRenamedAction.reportActionID]: optimisticRenamedAction,
            },
        },

Second, equally important: we should also remove this optimistic action on API call success or failure. This is needed to avoid duplicates when the BE response comes and adds another RENAMED action with a different ID:
        {
            onyxMethod: Onyx.METHOD.MERGE,
            key: `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportID}`,
            value: {
                [optimisticRenamedAction.reportActionID]: null,
            },
        },

What alternative solutions did you explore? (Optional)

Proposal
Please re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
When renaming a room, we do not add an optimistic RENAME report action to the room report, only update the report name:
https://github.com/Expensify/App/blob/c0c4d64f67d263472a713f5c1aa4b0ec8b0080f9/src/libs/actions/Report.ts#L1706-L1764
What changes do you think we should make in order to solve the problem?
First, we should build an optimistic report action with type="RENAME" and add it to the ${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportID} onyx key in the optimisticData (the report action should be build to match the one we receive from BE, it's a rather trivial task):
        {
            onyxMethod: Onyx.METHOD.MERGE,
            key: `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportID}`,
            value: {
                [optimisticRenamedAction.reportActionID]: optimisticRenamedAction,
            },
        },

Second, equally important: we should modify the UpdatePolicyRoomName API route to accept the renamedActionID parameter, so it will be used as the ID of the action received from BE.
We do similar with the task updates:
https://github.com/Expensify/App/blob/382a09642aab4580bd14955d828544d892ac1188/src/libs/actions/Task.js#L434-L443
This is needed to avoid duplicates when the BE response comes and adds another RENAMED action with a different ID.
What alternative solutions did you explore? (Optional)
To avoid BE changes, we could also remove this optimistic action on API call success or failure:
        {
            onyxMethod: Onyx.METHOD.MERGE,
            key: `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportID}`,
            value: {
                [optimisticRenamedAction.reportActionID]: null,
            },
        },

Updated to add detailed implementation

After an in-depth analysis of timestamps ( :sweat_smile: ), I think we can go with @tienifr's proposal. All three proposals are similar, but @tienifr got the most fully fleshed out proposal first, including an important detail of needing to translate the message text.
I do appreciate @paultsimura's proposal also included an extra detail to avoid duplicate report actions that @tienifr later included, but IMO it would've been handled in the PR anyway.
I'm not sure how long it would take to add BE support for an extra renamedActionID parameter, but if we agree to go down that route we should probably HOLD this issue until the BE changes are made.
:ribbon::eyes::ribbon: C+ reviewed

@neil-marcellini looks like you implemented this 5 months ago, can you check please? The proposal sounds reasonable to me, and I do think we should update the backend, as well as do this:

Because buildOptimisticRenamedReportAction is quite same as buildOptimisticCreatedReportAction, we can consider to generic this function to support renamed action.

The proposal sounds good to me. I'm not sure what part I implemented 5 months ago. Let me know via DM if you need anything else from me.

Not overdue. @flodnv and @neil-marcellini are working through what needs to change.

@jjcoffee - based on https://github.com/Expensify/App/issues/34364#issuecomment-1893664724 - do you want to hire @tienifr for this job?

@anmurali Yes, still happy to go with @tienifr's proposal!

Maybe if I do this again an engineer will get assigned? See my original review here.
🎀👀🎀 C+ reviewed

I do like the idea of passing optimistic reportActionID to server.

I do appreciate @paultsimura's proposal also included an extra detail to avoid duplicate report actions that @tienifr later included, but IMO it would've been handled in the PR anyway.

@jjcoffee this is not correct no? Once we would have moved to App PR we would have only implemented client side change?
If @paultsimura made a complete proposal first that mentioned about server side change, then I think we should assign them to the issue

Thanks @tienifr and everyone for the proposals. As @paultsimura posted complete proposal first mentioning backend fix. We would like to assign them to this issue.

I'll handle the backend fix and update here. Meanwhile feel free to open a PR

I have started implementing server side change that accepts renamedRoomReportActionID parameter. I would like to test it with App PR once before getting it ready.

I would like to test it with App PR once before getting it ready.

Great, the draft PR will be ready today. I'll tag you in it @MonilBhavsar

Thanks. The PR is ready for review: https://github.com/Expensify/App/pull/35826

Thanks, will review tomorrow!

Due in 4 days to be paid but I am OOO so I am reassigning. @jjcoffee meanwhile, if applicable, can you add regression tests and complete the BZ checklist?

Reg test created, everyone paid, closing out.
Thanks again @jjcoffee and @paultsimura for your help getting this one finished up 🙌


Additional WAYF entries per IdP Endpoint with dedicated name, logo, keywords

Currently, an IdP endpoint can be displayed in the WAYF only once under it's human readable name with logo and accompanied by keywords.
In the context of govconext, multiple organisations (IdP's) can be facilitated over one SAML relation that each have their own name, schacHomeOrganization FQDN's, log and keywords. For example, a Shared Service Center connected to govconext may manage the user accounts for multiple municipalities that each have their own characteristics. Assuming those municipalities could be characterized by the term 'IdP subtenants', the end users of these 'IdP subtenants' may not be aware of the fact that they need to look for the Shared Service Center in the WAYF. We currently solve this through keywords, but have received multiple requests to mention those 'IdP subtenant' organisations behind the Shared Service Center individually in the WAYF.
This request is merely a cosmetical addition to the WAYF for those organisations. As far as we are concerned, policies and other characteristic of the SAML endpoint (of the Shared Service Center in this case) may apply to all 'underlying' 'IdP subtenants'. There is no need that these 'IdP subtenants' have their own dedicated organisational entry in Manage with corresponding parameters.

There are some things that we need to decide before we start developing this:

How to implement this in Manage (see https://github.com/OpenConext/OpenConext-manage/issues/457)
What should the pushed metadata for these entities look like?
The WAYF-implementation is probably trivial (simple insert multiple entries in the WAYF that result in the same entityid being selected).  But what should happen if the logo/displayname is needed later in the flow?  For example, in error messages, consent screen, etc?  Should we show the "main" logo for the IdP, or should we show the one that is selected by the user?

We have IdP's that are the home of multiple independent top-level organisations, so for me a different display name is a solid requirement for this to become useful. Logos are irrelevant to us, but would make sense to show the one from the sub-org.


Is there a failsafe-like way of writing AASX files?

You kindly told me about the failsafe parameter at the read_into() method.
I was now trying to write an AASX file which should have had an attachment, but doesn't. When writing the AASX file, an error message is printed, but no exception occurs.
The message is
Could not find file /aasx/files/file.txt in file store.

I'd rather have my program crash, so that the problem gets reported and fixed, rather than creating an invalid AASX file which may remain unnoticed for a long time. I tried failsafe=False as an additional parameter, but it seems that doesn't exist.
If no such feature exists, I'd like to request that.

I just checked our AASXWriter implementation and you're correct, there is no failsafe parameter implemented.
I think it's a good addition, I'll adapt your issue and make a feature request out of it.