Error: No service definition found for 'postgres'

Hi,
recently I am getting below error when running npx cds-pg deploy app --to postgres:
node ➜ /workspaces/cap-ratings $ npm run deploy

><EMAIL_ADDRESS>deploy
> npx cds-pg deploy app --to postgres

[cds.connect] - No service definition found for 'postgres', as required by 'cds.requires.postgres': {
  impl: 'cds-pg',
  model: [ 'app' ],
  credentials: {
    host: 'postgres-svc',
    port: '5432',
    user: 'slonik',
    password: 'topsekret',
    database: 'cap-ratings',
    schema: 'public'
  }
}
(node:19603) UnhandledPromiseRejectionWarning: Error: No service definition found for 'postgres'
    at AsyncFunction.connect.to (/workspaces/cap-ratings/node_modules/@sap/cds/lib/connect/index.js:42:11)
    at async Object.to (/workspaces/cap-ratings/node_modules/@sap/cds/lib/deploy.js:21:23)
    at async deploy (/workspaces/cap-ratings/node_modules/cds-pg/bin/cds-pg.js:11:3)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:19603) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:19603) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
node ➜ /workspaces/cap-ratings $

Project setup look as follows:
cds
node ➜ /workspaces/cap-ratings $ cds -v
@sap/cds: 5.5.4
@sap/cds-compiler: 2.7.0
@sap/cds-dk: 4.5.3
@sap/cds-foss: 3.0.0
@sap/cds-odata-v2-adapter-proxy: 1.7.12
@sap/eslint-plugin-cds: 2.1.1
Node.js: v14.17.6
cap-ratings: 0.1.0
home: /workspaces/cap-ratings/node_modules/@sap/cds

.cdsrc.json
{
  "features": {
    "fiori_preview": true
  },
  "requires": {
    "db": {
      "kind": "postgres"
    },
    "postgres": {
      "impl": "cds-pg",
      "model": [
        "app"
      ]
    }
  }
}

default-env.json
{
  "PORT": 5005,
  "VCAP_SERVICES": {
    "postgres": [
      {
        "name": "postgres",
        "label": "postgres",
        "tags": [
          "postgres"
        ],
        "credentials": {
          "host": "postgres-svc",
          "port": "5432",
          "user": "slonik",
          "password": "topsekret",
          "database": "cap-ratings",
          "schema": "public"
        }
      }
    ]
  },
  "DEBUG": "ratings-service"
}

package.json
{
  "name": "cap-ratings",
  "version": "0.1.0",
  "description": "A simple CAP project.",
  "private": true,
  "dependencies": {
    "@sap/cds": "^5.5.4",
    "@sap/cds-odata-v2-adapter-proxy": "^1.7.12",
    "cds-pg": "^0.1.13",
    "express": "^4.17.1",
    "helmet": "^4.6.0",
    "passport": "^0.5.0"
  },
  "devDependencies": {
    "@sap/eslint-plugin-cds": "^2.1.1",
    "eslint": "^7.32.0",
    "eslint-config-standard": "^16.0.3",
    "eslint-plugin-import": "^2.24.2",
    "eslint-plugin-node": "^11.1.0",
    "eslint-plugin-promise": "^5.1.0",
    "sqlite3": "^5.0.2"
  },
  "scripts": {
    "deploy": "npx cds-pg deploy app --to postgres",
    "watch": "cds watch",
    "mock": "cds run --with-mocks --in-memory",
    "prestart": "npm run deploy",
    "start": "npx cds run",
    "build": "cds build",
    "predocker": "npm run build",
    "docker": "docker build -t pwasem/cap-ratings:latest ."
  }
}

Maybe an issue with recent @sap/cds-dk or sap/cds versions?
Thank you in advance for having a look!
Best regards,
Pascal

Hi @pwasem,
The problem is in your default-env.json and in your deployment command.
In your default-env.json make sure to have the tags plain and/or db and in your deploy command you need to follow the example in the cds-pg README: npx cds-pg deploy srv --to db.
CAP merges the requires sections "db" and "postgres" in your package.json and actually forgets the "postgres" service and looks for the "db" service. That's why the deploy command has --to db as a parameter. The "kind" information is also stripped during merging of the configuration values and only the "dialect" is left.
CAP then checks if there is a VCAP service whose name matches the service name (db), whose tag matches the context + ':' +  service name (cds:db), whose tag match the dialect or kind (plain and undefined) or whose label matches the dialect or kind. See @sap/cds/lib/env/index.js - function _add_vcap_services_to.
Kind regards,
Sebastian

hi @pwasem @gregorwolf @sebastianesch
regarding the original error, please see https://cap.cloud.sap/docs/advanced/troubleshooting#why-does-the-server-crash-with-no-service-definition-found-for-srv-name
deploy to db bypasses this, because the service name lookup isn’t done for the well-known requires property „db“.
best,
sebastian

Hi @pwasem,
The problem is in your default-env.json and in your deployment command.
In your default-env.json make sure to have the tags plain and/or db and in your deploy command you need to follow the example in the cds-pg README: npx cds-pg deploy srv --to db.
CAP merges the requires sections "db" and "postgres" in your package.json and actually forgets the "postgres" service and looks for the "db" service. That's why the deploy command has --to db as a parameter. The "kind" information is also stripped during merging of the configuration values and only the "dialect" is left.
CAP then checks if there is a VCAP service whose name matches the service name (db), whose tag matches the context + ':' + service name (cds:db), whose tag match the dialect or kind (plain and undefined) or whose label matches the dialect or kind. See @sap/cds/lib/env/index.js - function _add_vcap_services_to.
Kind regards, Sebastian

@sebastianesch
How should the actual default-env.json look in this case?
Thx!

Hi @pwasem,
change your .cdsrc.json to add the dialect to the postgres section:
{
  "features": {
    "fiori_preview": true
  },
  "requires": {
    "db": {
      "kind": "postgres"
    },
    "postgres": {
      "dialect": "plain", // << Add the dialect
      "impl": "cds-pg",
      "model": [
        "app"
      ]
    }
  }
}

And change your default-env.json to the tags "plain" and "db":
{
  "PORT": 5005,
  "VCAP_SERVICES": {
    "postgres": [
      {
        "name": "postgres",
        "label": "postgres",
        "tags": ["plain", "db"], // << Change the tags here
        "credentials": {
          "host": "postgres-svc",
          "port": "5432",
          "user": "slonik",
          "password": "topsekret",
          "database": "cap-ratings",
          "schema": "public"
        }
      }
    ]
  },
  "DEBUG": "ratings-service"
}

That should do the trick.
Cheers,
Sebastian


Avoiding output truncation during a simple animation

When you use clear_output repeatedly to create a simple animation, stdio_bytes is not reset to 0, so after a certain amount of time the animation is stopped because stdio_bytes is too big. I propose that clear_output reset stdio_bytes to 0. I would submit a patch for this (it's probably just one line to add stdio_bytes[] = 0 to the definition of clear_output) but I'm not confident in my ability to download and set up everything properly to test it.

cc @JobJob

That seems reasonable.

Great bug report and fix, well played all round.


handle all the errors centrally

It would be better to handle all the errors centrally.
Extend the error class .Create some api specific errors.
Inside  controllers you can  throw those api specific errors.
The catch block will catch  and call the next function with those errors.
The global error handler will handle those errors with a error response.
This reduces the ambiguity in the development when the project grows larger and makes the project structure clean.
I am interested to make those changes.

hello Muttaqin1,
I am revisiting this boilerplate, which has been on hold for a few years.
Thank you for your great suggestions, and please feel free to make the changes and submit a pull request.
Improvements are always welcome.

okay, I'm working on it.


feat: Improve error message when trying to do unsupported group-by aggregation

closes #1575
closes #1584

What type of PR is this? (check all applicable)

[ ] 💾 Refactor
[ ] ✨ Feature
[ ] 🐛 Bug Fix
[ ] 🔧 Optimization
[ ] 📝 Documentation
[ ] ✅ Test
[ ] 🐳 Other

Related issues

Related issue #<issue number>
Closes #<issue number>

Checklist

[ ] Code follows style guide (ruff)
[ ] Tests added
[ ] Documented the changes

If you have comments or can explain your changes, please do so below

Also, re-reading https://github.com/narwhals-dev/narwhals/issues/1296, it's worse than I thought, the results are actually incorrect. I think we need a release to fix it then


Left toolbar for map planning

Is here something left open? For icons we already have #363

Is here something left open? For icons we already have #363
No, this can be closed


Writing a mocha test based on Sophie's instructions

Writing a mocha test using Sophie's instructions (here: https://docs.google.com/document/d/1VLOrDEHGk6IjsAFhKJLNKnE2C8vE16fYW8vIKhHA8dg/edit), which will eventually be added to the readme. This is a separate from issue #365 because she was testing Jest in that issue.

We need to make sure this test is properly nested in its subdirectory before we close the issue.

The test is merged, see ../test/background/makeCookieIAB.test.js


Permission error after switching to OIDC

Describe the Bug
I'm trying to login bookstack using OIDC using Keycloak as Idp.
In order to use group sync, I create groups "superadmin" and "op" in keycloak and same name role in bookstack.

"superadmin" role had all 54 permissions.
"op" has 52 permissions (unable to manage app settings and role permissions).
The old admin role was called "oldadmin" and also had all 54 permissions.

Create a new user in keycloak and join the superadmin and op groups.
When I successfully integrated and configured group sync, I filled in the external authentication ID in the original local user, and then I logout and logged back in, it just like I logged in to the original local account. And it gets the "superadmin" and "op" roles correctly.
But I can't see my private books (only I have permission to view them).
Also the "superadmin" role permissions don't seem to be fully in effect, I can change system settings etc but can't see hidden books in the system.
If I grant myself the "oldadmin" role, I can view all books in the system.
I had another sysadmin try the same thing and he couldn't see his private books either.
Steps to Reproduce
I'm honestly not sure how to reproduce this issue, it's a bit complicated.

Build keycloak and use OIDC to integrate with Bookstack
Create groups superadmin and op in keycloak
Create a user in keycloak and join the superadmin and op groups
Create roles superadmin and op in bookstack, superadmin has all 54 permissions, op has 52 permissions (unable to manage app settings and role permissions)
Set up group sync
Use OIDC to log in to BOOKSTACK, and fill in the external ID in the user information
Log out and log in again, the account looks the same as the previous local account, and the group is automatically synchronized as superadmin and op
Can't see my books
Can't see other hidden books
Grant yourself the old "oldadmin" role, then you can see hidden books in the system

Expected Behaviour
The permissions system should work fine

Can see your private books normally
Can see other hidden books in the system normally

Screenshots or Additional Context
No response
Browser Details
Chrome 111.0.5563.65
Exact BookStack Version
BookStack v23.02.1
PHP Version
PHP 8.1.7
Hosting Environment
Bare metal server, RHEL 8, website behind CDN

Hi @10935336,

Also the "superadmin" role permissions don't seem to be fully in effect, I can change system settings etc but can't see hidden books in the system.

Only the original BookStack "Admin" role has the ability to see everything in the system, regardless of permissions. Other roles, even if provided all role permissions, will be abiding to visibility permissions and therefore might not see everything, which is why you can't see hidden books via your superadmin role.

But I can't see my private books (only I have permission to view them).

I'm not sure what you're referring to as private Books. BookStack does not specifically have any such feature. Permissions are managed at a role level. The closest to this is when all roles have just "view-own" permissions, with no item-level overrides, and then you're setting visibility by owner.  Is that your setup for such "private books"?

I'm not sure what you're referring to as private Books. BookStack does not specifically have any such feature. Permissions are managed at a role level. The closest to this is when all roles have just "view-own" permissions, with no item-level overrides, and then you're setting visibility by owner. Is that your setup for such "private books"?

Sorry for my inaccurate description, what I mean is set the permission of everyone else to none.

Then after migrating to OIDC, the owner of this book cannot see this book.

Oh thanks, since we changed the default role name in the system, I don't quite remember it being a role provided by the system itself.

If helpful, this role can be identified by this extra bit of text shown when editing the role:

... what I mean is set the permission of everyone else to none.
... the owner of this book cannot see this book...

Based upon the screenshot of permissions, I would not expect that book to be visible to anyone apart from users in the original BookStack "Admin" group. There is no (and never has been) any functionality to specifically allow owners to retain visibility when custom permissions are fully in play (With no inheritance active). There is an open request for this behaviour in #2697.

So it looks like we're confusing permissions, sorry.
But we still think that these are two unreasonable design.

There are undocumented hidden permissions, which are not documented as far as I know
The owner should automatically have all the permissions of the item. In this case, if the item owner cancels the viewing permission, the item will be lost unless the system-defined administrator handles it.


Improve handling of static vars and fix format string warnings

This doesn’t quite fix #45 yet, but it helps show what the problem might be...

Also, I tried separating this into two commits but it seems I’ve failed miserably :eye:

Looks good to merge; nothing egregious jumps out at me, at least.
I am having some trouble understanding the purpose of re-emitting static references at the beginning of each function. A static reference is basically the address of a static variable right? Is it possible for a static variable's address to change?
I am likely misunderstanding something, so, in advance, I apologise for my slow-wittedness :Þ

Is it possible for a static variable's address to change?

No, but the register that a static variable’s address is loaded into can, and will, change between functions. At least the IR looks very off to me w/o this change.

No, but the register that a static variable’s address is loaded into can

That makes a lot of sense. So we basically have to load the address at each scope it's used at. Is it possible to do this only for static variables actually used in the function? I mean, I guess having all those extra instructions won't hurt RA because they have no uses, but it seems like if we ever have larger libraries there may be hundreds/thousands of statics. This is all future speculation btw, not in the scope of this PR :)

Haha, noted. I'm sure we'll get around to it eventually, so I'm just going to click that big, delicious. sopping wet, green, juicy merge button :eyes:


Added checks for WAU running instances

@KnifMelti Seems good to you ?

He.. ..I'm testing my full implementation in the momene.. ..I'll delete, pull yours and then implement mine again... 😁

Could you merge yours now so that I can carry on 😉


Create sadiq.is-cool.dev.json

Requirements

[x] You have completed your website.
[x] The website is reachable.
[x] The CNAME record doesn't contain https:// or /.
[x] There is sufficient information at the owner field.
[x] Your website is not hosting on the following due to SSL issues: Vercel, Netlify

Description

Portfolio Website
Link to Website

https://sadiq.us.to

Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.

I have read the CLA Document and I hereby sign the CLA

You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.


Avoid clock plugin deadlock when YARP_CLOCK is already set

Fix https://github.com/robotology/gz-sim-yarp-plugins/issues/182.

Up to now I've checked that by commenting out line https://github.com/robotology/gz-sim-yarp-plugins/pull/192/files#diff-e544b1b964ccc8b1b9805630527cfbd807c46fa4333c455e5e60d185304578e3R57
    yarp::conf::environment::set_string("YARP_CLOCK", "/clock");

in the new regression test, the test passes.
Now I have to find how to correctly handle this.

Up to now the test if generating an exception:
[Dbg] [Sensors.cc:262] Waiting for init
[Dbg] [SystemManager.cc:74] Loaded system [gz::sim::systems::SceneBroadcaster] for entity [1]
[INFO] |yarp.os.Port|/fv-az693-479//home/runner/work/gz-sim-yarp-plugins/gz-sim-yarp-plugins/build/bin/ClockTest/12999/clock:i| Port /fv-az693-479//home/runner/work/gz-sim-yarp-plugins/gz-sim-yarp-plugins/build/bin/ClockTest/12999/clock:i active at tcp://<IP_ADDRESS>:10002/
Error:  |yarp.os.Network| cannot find port /root
Failure: name server did not accept connection to topic.
Error:  |yarp.os.NetworkClock| Cannot find time port "/clock" or a time topic "/clock@"
[FATAL] |yarp.os.Time| failed creating NetworkClock client, cannot open input port

Perhaps this the reason why I used an external yarpserver in the gazebo-classic test?

Perhaps this the reason why I used an external yarpserver in the gazebo-classic test?

Yep it could be 😅

In https://github.com/robotology/gz-sim-yarp-plugins/pull/192/commits/21dba7bb132447ad771f3f755a5a020323f7ffa5 I tried to launch yarp server from a separate process using tiny-process-library, repeating what has been done in gazebo-yarp-plugins. Unfortunately this does not fix the exception I was getting before:
13: [INFO] |yarp.os.Port|/IITICUBLAP218//home/acroci/repos/gz-sim-yarp-plugins/build/bin/ClockTest/586888/clock:i| Port /IITICUBLAP218//home/acroci/repos/gz-sim-yarp-plugins/build/bin/ClockTest/586888/clock:i active at tcp://<IP_ADDRESS>:10002/
13: [ERROR] |yarp.os.Network| cannot find port /root
13: Failure: name server did not accept connection to topic.
13: [ERROR] |yarp.os.NetworkClock| Cannot find time port "/clock" or a time topic "/clock@"
13: [FATAL] |yarp.os.Time| failed creating NetworkClock client, cannot open input port

I'm not fully convinced of the return value of yarp::os::NetworkBase::isNetworkInitialized(), since it is always returning true, even if I do not start a yarp server.

Thasnk to @traversaro suggestions I've been able to adapt the clock plugin to work without deadlocks also in case of the YARP_CLOCK variable already set. Ready for review.

Merging 🚀


Remove use of $().data("events") from codebase to enable jQuery 1.8 upgrade

This is an old jQuery feature that was deprecated in jQuery 1.8 (see https://blog.jquery.com/2012/08/09/jquery-1-8-released/).  We use it to disable event handlers in the Zulip tutorial.  I believe this is the only remaining obstruction to upgrading Zulip to jQuery 1.8.
I think it might just work to use the new interface documented in the jQuery 1.8 release notes.

any example of where it is used in the codebase?

Yeah, it's just used in one place, in the Zulip tutorial (to temporarily disable event handlers until the tutorial is complete):
(zulip-venv) tabbott@zaset:~/zulip$ git grep '[.]data..events'
static/js/tutorial.js:        var existing_events = $(document).data("events")[event_name];
static/js/tutorial.js:        $(document).data("events")[event_name] = [];
static/js/tutorial.js:        $(document).data("events")[event_name] = event_handlers[event_name];

@timabbott I think replacing with this code will work.
var existing_events = $._data(document, "events")[event_name];
$._data(document, "events")[event_name] = [];
$._data(document, "events")[event_name] = event_handlers[event_name];

Yeah, agreed, it seems like that should work.

PR #1105

Fix merged, thanks @akashnimare and @staranjeet!

Yay :tada:


Bug: Custom Decorator nodes not rendered after editor state is restored from local storage

When the editor state containing custom decorator nodes is stored in the local storage, and later retrieved, parsed and passed down to the RichTextPlugin, then the custom decorator nodes are not rendered. However, paragraph/text nodes are rendered just fine. The expected behavior is that all nodes are rendered. This problem is at least reproducible in the codesandbox below.
Lexical version: 0.2.9
Steps To Reproduce
I have created a custom decorator node named Excalidraw which currently renders just a div.
The codesandbox has instructions on the app screen to reproduce the issue.
https://codesandbox.io/s/frosty-aryabhata-e4pkke-e4pkke
The current behavior
Only paragraph/text nodes are rendered.
The expected behavior
paragraph/text, as well as custom decorator node, must render

I'm hoping that https://github.com/facebook/lexical/pull/2200 fixes this issue due to lifecycle sequencing.


Add Muldiv()

(x * y) / denominator is the most common case and cannot be calculated with full precision by normal methods Mul() then Div()
ex. (maxUint256 * 2)/10 an overflow occurs when you try to calculated by normal methods.
I got inspiration and use-case from UniswapV3
https://github.com/Uniswap/v3-core/blob/main/contracts/libraries/FullMath.sol
BenchmarkMulDivOverflow/small/uint256-8         	491599033	         2.297 ns/op	       0 B/op	       0 allocs/op
BenchmarkMulDivOverflow/div64/uint256-8         	512714014	         2.351 ns/op	       0 B/op	       0 allocs/op
BenchmarkMulDivOverflow/div128/uint256-8        	488145638	         2.415 ns/op	       0 B/op	       0 allocs/op
BenchmarkMulDivOverflow/div192/uint256-8        	484725356	         2.457 ns/op	       0 B/op	       0 allocs/op
BenchmarkMulDivOverflow/div256/uint256-8        	438809512	         2.509 ns/op	       0 B/op	       0 allocs/op
BenchmarkMulDivOverflow/small/big-8             	58039941	        20.62 ns/op	       0 B/op	       0 allocs/op
BenchmarkMulDivOverflow/div64/big-8             	58061472	        20.61 ns/op	       0 B/op	       0 allocs/op
BenchmarkMulDivOverflow/div128/big-8            	43477892	        24.84 ns/op	       1 B/op	       0 allocs/op
BenchmarkMulDivOverflow/div192/big-8            	46356553	        24.83 ns/op	       2 B/op	       0 allocs/op
BenchmarkMulDivOverflow/div256/big-8            	40076848	        28.15 ns/op	       4 B/op	       0 allocs/op

I pushed a fuzzer to this PR, looks good so far. Also, I noticed that the fuzzer was broken, which is also fixed.

I've optimized it a bit by zero-check on the p[4:] directly instead copy to new Int.
BenchmarkMulDivOverflow/small/uint256-8         	474043095	         2.285 ns/op	       0 B/op	       0 allocs/op
BenchmarkMulDivOverflow/div64/uint256-8         	501923428	         2.294 ns/op	       0 B/op	       0 allocs/op
BenchmarkMulDivOverflow/div128/uint256-8        	498558622	         2.374 ns/op	       0 B/op	       0 allocs/op
BenchmarkMulDivOverflow/div192/uint256-8        	484291431	         2.404 ns/op	       0 B/op	       0 allocs/op
BenchmarkMulDivOverflow/div256/uint256-8        	441282002	         2.491 ns/op	       0 B/op	       0 allocs/op
BenchmarkMulDivOverflow/small/big-8             	58109386	        20.55 ns/op	       0 B/op	       0 allocs/op
BenchmarkMulDivOverflow/div64/big-8             	58929327	        20.56 ns/op	       0 B/op	       0 allocs/op
BenchmarkMulDivOverflow/div128/big-8            	43171965	        24.07 ns/op	       1 B/op	       0 allocs/op
BenchmarkMulDivOverflow/div192/big-8            	45164564	        24.88 ns/op	       2 B/op	       0 allocs/op
BenchmarkMulDivOverflow/div256/big-8            	41473440	        26.91 ns/op	       4 B/op	       0 allocs/op

cc @chfast would you mind taking a look?

@holiman Is everything okay? How long will it take?

@chfast I've updated the code. Can you do another review?

The last change made the code coverage from the tests drop a bit - see https://app.codecov.io/gh/holiman/uint256/compare/110/diff .

Not sure if I think the pl.Eq(d) case warrants a separate check, I would rather just remove it personally.


Fixed broken layout in README

The table wouldn't render properly because of an extra line break.

Thanks!


comparison to other tools

Hi,
just stumpled by chance upon kanister and scratched it's documentation.
While doing so I was asking myself a couple of times how kanister fits in with other tools.
Particularly it looks to me kanister has quite some overlap with kubedb and argo (it does a bit of both).
Could you clarify - perhaps in the readme - how kanister compares to such tools?

@geekflyer - thanks for checking Kanister out! I think it'll make sense to add this to the README.
The focus of Kanister is data-management operations (think Backup, Restore, Migration, Replication, Data Masking...) and providing the tooling required to express and execute such operations across a variety of applications (see https://docs.kanister.io/functions.html for what already exists with a lot more coming soon!)
When it comes to differences between the projects you mentioned - it comes down to :
(a) Kanister is not a general purpose workflow engine (CI/CD) but focused on data operations
(b) Kanister aims to work with any/all data services out there that you might be using - not provide a collection of data service stacks out of the box.
Hope this helps - would love to hear what sparked your interest and if there's a use-case this helps with?

Ok yeah thanks, I think that helps a bit.
I really just looked at kanister when browsing through the helm github repo and I thought that kanister (because of it's name) might be related to kaniko, that's what sparked my interest - so it was really just random haha.
We're actually using argo since quite some time in my company and recently looked for ways to run (relatively small) instances of mongodb and elasticsearch reliably in kubernetes and are currently evaluating kubedb for it. It sounds that kanister also would help a lot in the latter, although kubedb has already some functionalities for data management built in.
I'll keep kanister in mind, may make use of it very soon :)

Excellent - ping us on Slack when you get to it!


Android studio suggests to post this issue - and i dont know.!

Analyzer Feedback from IntelliJ
Version information

IDEA AI-181.55<IP_ADDRESS>56338
2.1.0-edge.a2eb050044eec93f0844667b8b6132e858467e4e
AI-181.55<IP_ADDRESS>56338, JRE 1.8.0_152-release-1136-b06x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.14 unknown, screens 1680x1050  Retina

Exception
Please append the contents of:
file:///private/var/folders/jx/f3713_q51vl5kclyc6y_4dzm0000gn/T/report.txt
Dart analysis server, SDK version 2.1.0-edge.a2eb050044eec93f0844667b8b6132e858467e4e, server version 1.20.5, error: Analysis failed: ...mobile_api_imp.dart context: exception_20181107_092338_489
Element mismatch in mobile_api_imp.dart at class OpesMobileApiImp
#0      DeclarationResolver.resolve (package:analyzer/src/generated/declaration_resolver.dart:54:7)
#1      LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:566:31)
#2      LibraryAnalyzer._analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:102:9)
#3      __InternalLinkedHashMap

Duplicate of #33930


[curl] Could not find a configuration file for package "CURL" that is compatible with requested version "".

Is your feature request related to a problem? Please describe.
MSVC
Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30139 for x64
vcpkg @ d15470bb6464a3bb0ce3d98d118190cfd5189080
find_package(CURL CONFIG REQUIRED)

Proposed solution
Install to work without version specification required
Describe alternatives you've considered
FindCurlCustom.cmake
Additional context
The package curl provides CMake targets:

    find_package(CURL CONFIG REQUIRED)
    target_link_libraries(main PRIVATE CURL::libcurl)

-- Running vcpkg install - done
CMake Error at cmake-build-debug/vcpkg_installed/x64-windows/share/curl/vcpkg-cmake-wrapper.cmake:11 (_find_package):
  Could not find a configuration file for package "CURL" that is compatible
  with requested version "".

@SamuelMarks  Thanks for posting this issue, The problem may be because MSVC is arch x64 arch vcpkg is arch x86 by default,
you can call cmake with -DVCPKG_TARGET_TRIPLET=x64-windows, see #9290. :)

@SamuelMarks Is still work for this issue? Please reply me if the problem still exist and I will reopen it.


Typo fix

Coverage remained the same at 98.233% when pulling f81b01208db5db151bc2b2630b8831f5a876c9f6 on meyt:patch-1 into 4ed7cfe7cc5a7598acfa87a2622d6ec717db698e on pylover:master.


Cannot find package on server with Nuxt

We are using nuxt 3 (ssr true) application. Trying to use this package, its working fine in local. But when we try to deploy it, it fails with this issue.
[nuxt] [request error] [unhandled] [500] Cannot find package 'isomorphic-dompurify' imported from /home/site/wwwroot/server/chunks/app/server.mjs
We are using import statement as follows
import DOMPurify from "isomorphic-dompurify";
Let me know if I need to also add some other dependency. I already added jsdom and Dompurify separately and tried deploying.

Hey @Aniketsurya ,
Thanks for reporting the issue.
Can you give me more information about your server environment?

I am using Azure app service to deploy and to run it with a startup command using pm2.
One more thing which I noticed is if I try to make it run on local with pm2 it runs well, but only that the same stage it fails in the pipeline. Seems like some import way is not correct. Or it is not compatible with Nuxt 3?

Hey @Aniketsurya ,
That's hard to debug for me because I don't have an Azure account.
As for the package not being compatible with Nuxt 3, if it's working locally, then it's compatible with Next 3. It might be not compatible with your specific Azure setup, however.

Hey @kkomelin, the difference between local and Azure environment is the OS. We run Azure on Linux, and local is on windows. Can that be a issue? If yes, what can be work around?

@Aniketsurya Linux is the default server OS. I'm using it myself locally. So I don't think Linux is the issue.
What package manager are you using to build the project on the server? Can you share your deploy log?

Hey @kkomelin, I can't share the logs but the above was the main error shown. I am using npm for installing and pm2 for deployment and running the application but with pm2 it runs in local correctly.

Hey @kkomelin , I have been looking into this issue for quite a time now, got some different error currently so while building the project using nuxt build, it doesn't build the package properly for isomorphic-dompurify.
I build the package and zip it, while deploying I unzip it, while that unzipping it throws an error that
ENOTDIR: not a directory 'node_modules/dompurify'
If I check that zip package by downloading manually it has "dompurify" as a folder (directory) itself.
Do you have any ideas I can try?

The issue is solved using RunFromZip and changing the startup command location of index.mjs.

@Aniketsurya @kkomelin Facing the same issue here
Here's the codesandbox link to reproduce https://codesandbox.io/p/devbox/with-ssr-uch9k

@kkomelin Any updates here?

@ashraf-gemini The library you're using in the provided code example @appbaseio/reactivesearch-vue depends on a previous version of isomorphic-dompurify (^1.12.0). Please ask its developers to update isomorphic-dompurify to the latest.

@kkomelin I am the maintainer of the package and I updated the version yesterday but still facing the same problem.
Here's the updated Codesandbox https://codesandbox.io/p/devbox/twilight-frost-qtwfxp

@ashraf-gemini Ah, I see. I've updated the package a few minutes ago. Current version is 2.12.0

@mohdashraf010897 The package you included @appbaseio/reactivesearch-vue is still using "isomorphic-dompurify": "^1.12.0" but we're on 2 now.

@kkomelin It's just that the code changes aren't pushed post the version release, if you check the version within the shared codesandbox for appbase/reactivesearch-vue; it's 3.3.7-beta.2 which uses<EMAIL_ADDRESS>


How to make jasmine-rails find jasmine

jasmine-rails is installed, as per Gemfile.lock:
    jasmine-core (2.4.1)
    jasmine-rails (0.12.4)
      jasmine-core (>= 1.3, < 3.0)
      phantomjs (>= 1.9)
      railties (>= 3.2.0)
      sprockets-rails

Though i don't actually want the PhantomJS gem as I'm using PhantomJS installed via apt-get:
$phantomjs -v
1.9.0
$ which phantomjs
/usr/bin/phantomjs

# spec/javascripts/support/jasmine.yml
use_phantom_gem: false

Our app's asset pipeline has been highly customised in ways I can't control, so to ensure jasmine-rails can find jasmine.js etc, I added the following files:
-- spec
  -- javascripts
      -- vendor
        -- jasmine
          -- 2.4.1
            -- jasmine.js
            -- boot.js
            -- jasmine-html.js
            -- jasmine.css

I've told jasmine-rails to look for them:
# spec/javascripts/support/jasmine.yml
include_dir:
  - spec/javascripts/support/vendor

And yet it seems that jasmine-rails can't find the files:
$ bundle exec rake spec:javascript
Running `"phantomjs" "" "/turbo/vendor/bundle/ruby/2.3.0/gems/jasmine-rails-0.12.4/lib/jasmine_rails/../assets/javascripts/jasmine-runner.js" "file:///turbo/tmp/jasmine/runner.html?spec="`
Running: file:///turbo/tmp/jasmine/runner.html?spec=
ERROR: ReferenceError: Can't find variable: jasmine
TRACE:
 -> file:///turbo/tmp/jasmine/assets/jasmine-console-reporter.js: 15
 -> file:///turbo/tmp/jasmine/assets/jasmine-console-reporter.js: 131
rake aborted!
Error executing command: "phantomjs" "" "/turbo/vendor/bundle/ruby/2.3.0/gems/jasmine-rails-0.12.4/lib/jasmine_rails/../assets/javascripts/jasmine-runner.js" "file:///turbo/tmp/jasmine/runner.html?spec="

The weird thing is, I've taken a look at the contents of /tmp/jasmine and at first glance it looks like it should all work, even without my extra fiddling, as the file at /tmp/jasmine/runner.html reads...

<!DOCTYPE html>

    <meta content="text/html;charset=UTF-8" http-equiv="Content-Type"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <title>Jasmine Specs</title>

    <link rel="stylesheet" media="screen" href="./assets/jasmine.css" />
<link rel="stylesheet" media="screen" href="./assets/jasmine-specs.css" />

...and all the files it's looking for are in tmp/jasmine/assets.
But here is the weird important thing I've just discovered while writing everything that's above, the following files are present but completely empty:

tmp/jasmine/assets/jasmine.js
tmp/jasmine/assets/jasmine.css
tmp/jasmine/assets/boot.js
tmp/jasmine/assets/jasmine-html.js
tmp/jasmine/assets/json2.js

Meanwhile, these files are present and fully formed:

tmp/jasmine/assets/jasmine-console-reporter.js
tmp/jasmine/assets/jasmine-console-shims.js
tmp/jasmine/assets/jasmine-specs.js

At this stage, I'm thinking about forking jasmine-rails to create a version that just includes jasmine.js etc in the , but that's obviously not maintainable.
I've tried removing all the customisations (/spec/javascripts/vendor etc) but I face the same problem.
What should I do? Thanks.

I really struggled to figure out what even was happening in your case, so when I read "Our app's asset pipeline has been highly customised in ways I can't control", I can't help but assume this is going to require some one-off hack that you'll end up being stuck with and doesn't belong in the gem prior.
Could you please post a minimum example project that replicates the problem? It's as (if not more) likely to be an issue with your app's relationship to sprockets than to jasmine-rails.
Will close until then.


Updated footer documentation

Updated the documentation of Footer with missing options which it supports.
Signed-off-by: Arjun BM<EMAIL_ADDRESS>

@ericsoderberghp @alansouzati
Please review this and merge to master

Thanks for your contribution, and welcome to team


Use vpp-agent v2.0.1

Coverage remained the same at 75.157% when pulling aab0c35bf6d53d6756e5c102f5f0317f6c5f665f on rastislavszabo:master into 74d9b8c4d714fda1787b1c7907a6e8fab8e96c40 on contiv:master.


Reported Bug

Briefly describe the bug
Description
What is the expected behavior?
Description
Please provide step by step instructions on how to reproduce the bug
Description
Contribution Event
GSSOC22
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

/assign

/unassign


Able to run these tasks successfully, includes Brett's changes

Able to run these tasks successfully
dev/tasks/SilverStripeFullTextSearchSolrTasksSolr_Configure?verbose=1
dev/tasks/SilverStripeFullTextSearchSolrTasksSolr_Reindex?verbose=1

This is looking great, just remove the changes to $segment.
I'm going to move all of this work into @brettt89's branch and close this pull request


[SPARK-8068] [MLlib] Add confusionMatrix method at class MulticlassMetrics in pyspark/mllib

Add confusionMatrix method at class MulticlassMetrics in pyspark/mllib

Merged build triggered.

Merged build started.

Test build #36784 has started for   PR 7286 at commit 6109fe1.

Test build #36784 has finished for   PR 7286 at commit 6109fe1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Did a pass... LGTM

Merged into master. Thanks!


fix(build-tools): restore some tsc dep checking

fix(build-tools): restore some tsc dep checking
fluid-build-tasks-tsc policy handler was searching for command line of exactly "tsc" which has been mostly abandoned since Node16+ESM pattern.
Create a build database that understands basic build tasks, their output, and their CJS/ESM slant. From that, build approximate predecessor lists to replace "tsc" assumption.
The predecessor list is approximate as a package with multiple ESM (or CJS) build scripts may produce the required output from any one of those scripts. Until tsc incremental is run and generates required inputs, precise dependencies cannot be established. This change does not add a post build policy check for such precise dependencies. So, policy addressee must choose the correct predecessor from a list presented. An example of choices presented:
file failed the "fluid-build-tasks-tsc" policy: packages/test/local-server-tests/package.json
'build:test' task is missing the following dependency:
        @fluid-internal/client-utils#build:test:jest or @fluid-internal/client-utils#build:test:mocha:cjs or @fluid-internal/client-utils#tsc
        @fluid-internal/mocha-test-setup#tsc
        @fluid-private/test-loader-utils#tsc
        @fluid-private/test-pairwise-generator#tsc
        @fluidframework/aqueduct#api-extractor:commonjs or @fluidframework/aqueduct#build:test:cjs or @fluidframework/aqueduct#tsc
        @fluidframework/build-tools#build:test or @fluidframework/build-tools#tsc
        @fluidframework/cell#api-extractor:commonjs or @fluidframework/cell#build:test:cjs or @fluidframework/cell#tsc

Refactor logic from entrypoints to be used by database to reason able package exports for generate entrypoints scripts.
Apply policy corrections. One of note is api-markdown-documenter that builds ESM from script named tsc.
Future: fluid-build-tasks-eslint should be moved off of getDefaultTscTaskDependencies that looks for "tsc".

A few more comments, nothing critical. I can follow the general idea of what's happening and it seems fine, I just can't quite follow the details in my head.

Which part is not as followable. This seems like something that should be sufficiently overviewed/explained somewhere (and not just in PR description).

I'll say that several things in these packages (like hasTaskDependency) would benefit from unit tests. I'll leave it up to you if it makes sense to add some here or capture work items for the backlog.

I very much favor having tests for these policies. I generally prefer to avoid whitebox testing but it has its place. Unfortunately, there are no policy tests; so, no infrastructure to add the cases we found are missing. The good news is that we run these against the repo all the time; so, we have a form of testing regularly.
Added AB#8007

Which part is not as followable. This seems like something that should be sufficiently overviewed/explained somewhere (and not just in PR description).

It's mostly lack of familiarity with a good chunk of the code this is touching or calling. Having to go several function calls deep in code that's new to me to actually understand what something in your changes is doing, a few times per file or per function, starts overwhelming my capacity to keep a solid mental model of the system as a whole.
I'd say docs on the helper functions (both newly added ones and pre-existing ones you used) would help, that'd be a good place for further explanation so I could either trust the functions and not have to go through them line by line to understand them, or if I decide to still go through them, at least have some baseline of what I'm expecting the code there to be doing.


make SERVICE_ID column as FK in SERVICE_ORDER table

[ ] Make SERVICE_ID column as a foreign key from DEPLOY_SERIVCE table.
[ ] Ensure purging of a service also purges the SERVICE_ORDER table entries for that service ID

let me do it


PropTypes Deprecation

Greetings, thanks for the work on this, made life easier :-)
React is complaining about the deprecated internal PropTypes (replaced by the separate 'prop-types' package) in Die.js and ReactDice.js
I'd rather not fork it for my current project but will if you don't want to change the master?

I went ahead and forked it and made the change.
Also fixed a bug in die.js where this.die.classList='die' was throwing in Edge as classList is actually read-only even tho Chrome and Firefox allow it. Changed it to this.die.className='die'
My fork is here if anyone wants it

PR was merged


Setting prerelease to '' and doNotFailIfNotFound to true still fails with an HttpRequest: Not Found error when there are no releases

I have the following step in my workflow:
- name: Fetch previous release
  id: previous-release
  uses: cardinalby/git-get-release-action@v1
  env:
    GITHUB_TOKEN: ${{ github.token }}
  with:
    latest: true
    prerelease: ${{ !inputs.prerelease && 'false' || '' }}
    doNotFailIfNotFound: true

The condition here may be a bit confusing, let me explain:

when the new release is a pre-release (set via inputs.prerelease), then search for the latest release in ALL releases (pre-release or not),
when the new release is not a pre-release, then only search for other non-pre-releases.

When there has not been any release on the repository ever, but the first release is a pre-release (setting prerelease: '' in the step), then the step still fails with an HttpRequest: Not Found error, despite doNotFailIfNotFound being set to true.

Hi!
I added a missing error check for this case, pls test against cardinalby/git-get-release-action@master and let me know if it works

The issue looks fixed to me. The step succeeds with a latest release not found: object warning. Thanks!

Will hope I hasn't broken anything else :) Merged to v1


Single URL entry: This float doesn't have a leading digit

Sample file:
[foo]
url = https://google.com

This will raise a very strange error:
>>> toml.load('my.toml')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/dirkjonker/projects/dcos-python/venv/lib/python3.6/site-packages/toml.py", line 88, in load
    return loads(ffile.read(), _dict)
  File "/Users/dirkjonker/projects/dcos-python/venv/lib/python3.6/site-packages/toml.py", line 373, in loads
    multibackslash)
  File "/Users/dirkjonker/projects/dcos-python/venv/lib/python3.6/site-packages/toml.py", line 478, in _load_line
    value, vtype = _load_value(pair[1], _dict, strictly_valid)
  File "/Users/dirkjonker/projects/dcos-python/venv/lib/python3.6/site-packages/toml.py", line 660, in _load_value
    raise TomlDecodeError("This float doesn't have a leading digit")
toml.TomlDecodeError: This float doesn't have a leading digit

Might be intended behavior... I'll check the specs

It seems that under my particular circumstance, toml.dumps writes the url without quotes. I cannot yet reproduce it but it is with Python 2.7 and a dict like
{'foo' {'url': u'https://some.website.with.subdomains.com'}}

Note the url being unicode while the keys are str

Hi Dirk,
Thank you for your bug report!
Is this a dictionary that you are trying to roundtrip through toml.dumps and then toml.load ? Or does toml.load generate a dictionary with inconsistencies between unicode and str in keys and values?

The problem was that the toml was written (using toml.dumps) without quotes around the url, but I have been unsuccessful in reproducing it.

Is it OK if I close this issue since you can't reproduce it? Feel free to re-open it at any time if that changes.

No problem!


Skip watcher event files if matched in ignoreFiles

This is a naive attempt to fix the unexpected behavior with the ignoreFiles config option.
Known caveats:
If the setting exists, then is removed from config.toml, the formerly matching filenames will be sync'ed. If the ignoreFiles does not exist, then hugo server will have to be restarted for filenames to match.
For #4874

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Kris Budhram seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Create Site Failing HTTP 404 Error, Using a gMSA

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

Module Version

4.4.0

Affected Resource(s)

ArcGIS_Server

Configuration Files

{
    "AllNodes": [
        {
            "NodeName": "<REDACTED>",
            "Role": [
                "Server",
                "WebAdaptor"
            ],
            "WebAdaptorConfig":[
                {
                    "Role": "Server",
                    "Context": "serveradmin"
                },
                {
                    "Role": "Server",
                    "Context": "server",
                    "AdminAccessEnabled": false
                }
            ],
            "SslCertificates": [
                {
                    "Path": "C:\\Admin\\Cert\\<REDACTED>.pfx",
                    "PasswordEnvironmentVariableName": "<REDACTED>",
                    "CNameFQDN": "<REDACTED>.domain.com",
                    "Target": [
                        "Server"
                    ],
                    "SslRootOrIntermediate": [
                        {
                            "Alias": "root",
                            "Path": "C:\\Admin\\Cert\\<REDACTED>.cer"
                        },
                        {
                            "Alias": "intermediate",
                            "Path": "C:\\Admin\\Cert\\<REDACTED>.cer"
                        }
                    ]
                }
            ]
        },
        {
            "NodeName": "<REDACTED>",
            "Role": [
                "Portal",
                "WebAdaptor"
            ],
            "WebAdaptorConfig":[
                {
                    "Role": "Portal",
                    "Context": "portaladmin"
                }
            ],
            "SslCertificates": [
                {
                    "Path": "C:\\Admin\\Cert\\<REDACTED>.pfx",
                    "PasswordEnvironmentVariableName": "<REDACTED>",
                    "CNameFQDN": "<REDACTED>.domain.com",
                    "Target": [
                        "Portal"
                    ],
                    "SslRootOrIntermediate": [
                        {
                            "Alias": "root",
                            "Path": "C:\\Admin\\Cert\\<REDACTED>.cer"
                        },
                        {
                            "Alias": "intermediate",
                            "Path": "C:\\Admin\\Cert\\<REDACTED>.cer"
                        }
                    ]
                }
            ]
        }
    ],
    "ConfigData": {
        "Version": "11.2",
        "ServerContext": "server",
        "PortalContext": "portal",
        "ServerRole": "GeneralPurposeServer",
        "Credentials": {
            "ServiceAccount": {
                "UserName": "<REDACTED>\\<REDACTED>$",
                "IsMSAAccount": true
            }
        },
        "Server": {
            "Installer": {
                "Path": "C:\\install\\esri\\server\\ArcGIS_Server_Windows_112_188239.exe",
                "InstallDir": "C:\\Program Files\\ArcGIS\\Server"
            },
            "LicenseFilePath": "C:\\install\\esri\\license\\ArcGISGISServerStandard_ArcGISServer_1427612.prvc",
            "EnableHTTPSOnly ": true,
            "EnableHSTS": true,
            "DisableServiceDirectory": true,
            "ConfigStoreLocation": "C:\\arcgisserver\\config-store",
            "ServerDirectoriesRootLocation": "C:\\arcgisserver\\directories",
            "DownloadPatches": true,
            "PatchesDir": "C:\\install\\esri\\server\\patches",
            "PrimarySiteAdmin": {
                "UserName": "<REDACTED>",
                "PasswordEnvironmentVariableName": "<REDACTED>"
            }
        },
        "Portal": {
            "Installer": {
                "Path": "C:\\install\\esri\\portal\\Portal_for_ArcGIS_Windows_112_188250.exe",
                "InstallDir": "C:\\Program Files\\ArcGIS\\Portal",
                "ContentDir": "C:\\arcgisportal",
                "DownloadPatches": true,
                "PatchesDir": "C:\\install\\esri\\portal\\patches",
                "WebStylesPath": "C:\\install\\esri\\portal\\Portal_for_ArcGIS_Web_Styles_Windows_112_188251.exe"
            },
            "LicenseFilePath": "C:\\install\\esri\\license\\ArcGIS_Enterprise_Portal_112_455680_20240415.json",
            "PortalLicenseUserTypeId": "creatorUT",
            "PortalAdministrator": {
                "UserName": "<REDACTED>",
                "PasswordEnvironmentVariableName": "<REDACTED>",
                "SecurityQuestionIndex": 1,
                "SecurityAnswer": "<REDACTED>",
                "Email": "<REDACTED>"
            },
            "ContentDirectoryLocation": "C:\\arcgisportal\\content",
            "EnableHSTS": true,
            "EnableAutomaticAccountCreation": false,
            "DefaultRoleForUser": "iAAAAAAAAAAAAAAA",
            "DefaultUserLicenseTypeIdForUser": "viewerUT"
        },
        "WebAdaptor": {
            "Installer": {
                "Path": "C:\\install\\esri\\web-adaptor\\ArcGIS_Web_Adaptor_for_Microsoft_IIS_112_188253.exe",
                "DownloadPatches": true,
                "PatchesDir": "C:\\install\\esri\\web-adaptor\\patches",
                "DotnetHostingBundlePath": "C:\\install\\esri\\web-adaptor\\dotnet-hosting-8.0.11-win.exe",
                "WebDeployPath": "C:\\install\\esri\\web-adaptor\\webdeploy_amd64_en-US.msi"
            },
            "AdminAccessEnabled": true,
            "OverrideHTTPSBinding": false
        }
    }
}

Expected Behavior
Site Creation
Actual Behavior
Site is not created, IIS 10.0 Detailed Error - 404.0 - Not Found
12/3/2024 3:48:53 PM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Fully Qualified Domain Name :- <REDACTED>
12/3/2024 3:48:53 PM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Checking for site on '<REDACTED>:6443'
12/3/2024 3:53:54 PM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Unable to detect if Site Exists. Was NOT able to retrieve token for PSA
12/3/2024 3:53:54 PM: [<REDACTED>]: LCM:  [ End    Test     ]  [[ArcGIS_Server]<REDACTED>]  in 301.2870 seconds.
12/3/2024 3:53:54 PM: [<REDACTED>]: LCM:  [ Start  Set      ]  [[ArcGIS_Server]<REDACTED>]
12/3/2024 3:53:54 PM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Site Administrator UserName:- <REDACTED>
12/3/2024 3:53:54 PM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Fully Qualified Domain Name :- <REDACTED>
12/3/2024 3:53:54 PM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Waiting for Server '<REDACTED>:6443/arcgis/admin' to initialize
12/3/2024 3:58:54 PM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Checking for site on '<REDACTED>:6443'
12/3/2024 4:01:25 PM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Creating Site
12/3/2024 4:01:25 PM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Using File System Based Storage for the config store
12/3/2024 4:01:25 PM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Waiting for Server '<REDACTED>/arcgis/admin' to initialize
12/3/2024 4:01:25 PM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] POST <REDACTED>:6443/arcgis/admin/createNewSite with -1-byte payload
12/3/2024 4:01:25 PM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] [WARNING] Error while creating site on attempt 1 Error:-

IIS 10.0 Detailed Error - 404.0 - Not Found

  HTTP Error 404.0 - Not Found
  The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

 Most likely causes:
   	The directory or file specified does not exist on the Web server. 	The URL contains a typographical error. 	A custom filter or module, such as URLScan, restricts access to the file.

 Things you can try:
   	Create the content on the Web server. 	Review the browser URL. Create a tracing rule to track failed requests for this HTTP status code and see which module is calling SetStatus. For more information about creating a tracing rule for failed requests, click here.

 Detailed Error Information:

    Module   IIS Web Core
    Notification   MapRequestHandler
    Handler   StaticFile
    Error Code   0x80070002

    Requested URL   <REDACTED>:6443/arcgis/admin/createNewSite
    Physical Path   C:\inetpub\wwwroot\arcgis\admin\createNewSite
    Logon Method   Anonymous
    Logon User   Anonymous

 More Information:
  This error means that the file or directory does not exist on the server. Create the file or directory and try the request again.
  View more information »

Steps to Reproduce

Important Factoids
Running with a gMSA, on 11.2.
Have tried the deployment without web adaptors with the same result.
References

Hi @cameronkroeker,
I was hoping you'd seen something like this previously! I've checked the IIS and did not see any redirect rule module, and there wasn't an IIS on this machine set up outside of the DSC process.
IIS bindings:

This is what that page looks like from the target node:

Hi @FeralCatColonist, thanks for the screen capture.
The culprit here is the 6443 binding in IIS. Let's change that to 443, and re-run.
Thanks,
Cameron K.

@cameronkroeker, thank you I was able to progress past the http 404 error with that modification. I am still unable to create the site with the following error Unable to connect to the remote server
when browsing to the createNewSite page manually on the target node I'm unable to reach it:

I would appreciate any further troubleshooting suggestions you may have.
12/4/2024 10:44:11 AM: [<REDACTED>]:                            [[ArcGIS_Service_Account]Server_RunAs_Account] Computed Startup type - AUTO_START
12/4/2024 10:44:11 AM: [<REDACTED>]: LCM:  [ End    Test     ]  [[ArcGIS_Service_Account]Server_RunAs_Account]  in 0.3310 seconds.
12/4/2024 10:44:11 AM: [<REDACTED>]: LCM:  [ Skip   Set      ]  [[ArcGIS_Service_Account]Server_RunAs_Account]
12/4/2024 10:44:11 AM: [<REDACTED>]: LCM:  [ End    Resource ]  [[ArcGIS_Service_Account]Server_RunAs_Account]
12/4/2024 10:44:11 AM: [<REDACTED>]: LCM:  [ Start  Resource ]  [[ArcGIS_Server]<REDACTED>]
12/4/2024 10:44:11 AM: [<REDACTED>]: LCM:  [ Start  Test     ]  [[ArcGIS_Server]<REDACTED>]
12/4/2024 10:44:11 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Fully Qualified Domain Name :- <REDACTED>
12/4/2024 10:44:11 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Checking for site on 'https://<REDACTED>:6443'
12/4/2024 10:56:28 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Unable to detect if Site Exists. Was NOT able to retrieve token for PSA
12/4/2024 10:56:28 AM: [<REDACTED>]: LCM:  [ End    Test     ]  [[ArcGIS_Server]<REDACTED>]  in 734.6410 seconds.
12/4/2024 10:56:28 AM: [<REDACTED>]: LCM:  [ Start  Set      ]  [[ArcGIS_Server]<REDACTED>]
12/4/2024 10:56:28 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Site Administrator UserName:- <REDACTED>
12/4/2024 10:56:28 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Fully Qualified Domain Name :- <REDACTED>
12/4/2024 10:56:28 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Waiting for Server 'https://<REDACTED>:6443/arcgis/admin' to initialize
12/4/2024 11:05:23 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Checking for site on 'https://<REDACTED>:6443'
12/4/2024 11:08:34 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Creating Site
12/4/2024 11:08:34 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Using File System Based Storage for the config store
12/4/2024 11:08:34 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Waiting for Server 'https://<REDACTED>:6443/arcgis/admin' to initialize
12/4/2024 11:13:09 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] [WARNING] Error while creating site on attempt 1 Error:- Unable to connect to the remote server
12/4/2024 11:13:09 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] [WARNING] Unable to create Site. Error:- Unable to connect to the remote server
12/4/2024 11:13:09 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Unable to connect to the remote server
12/4/2024 11:13:09 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Retrying site creation after 45 seconds
12/4/2024 11:13:54 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Creating Site
12/4/2024 11:13:54 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Attempt # 2
12/4/2024 11:13:54 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Using File System Based Storage for the config store
12/4/2024 11:13:54 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Waiting for Server 'https://<REDACTED>:6443/arcgis/admin' to initialize
12/4/2024 11:18:30 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] [WARNING] Error while creating site on attempt 2 Error:- Unable to connect to the remote server
12/4/2024 11:18:30 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] [WARNING] Unable to create Site. Error:- Unable to connect to the remote server
12/4/2024 11:18:30 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Unable to connect to the remote server
12/4/2024 11:18:30 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Retrying site creation after 45 seconds
12/4/2024 11:19:15 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Creating Site
12/4/2024 11:19:15 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Attempt # 3
12/4/2024 11:19:15 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Using File System Based Storage for the config store
12/4/2024 11:19:15 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Waiting for Server 'https://<REDACTED>:6443/arcgis/admin' to initialize
12/4/2024 11:23:50 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] [WARNING] Error while creating site on attempt 3 Error:- Unable to connect to the remote server
12/4/2024 11:23:50 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] [WARNING] Unable to create Site. Error:- Unable to connect to the remote server
12/4/2024 11:23:50 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Unable to connect to the remote server
12/4/2024 11:23:50 AM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Retrying site creation after 45 seconds
12/4/2024 11:24:35 AM: [<REDACTED>]: LCM:  [ End    Set      ]  [[ArcGIS_Server]<REDACTED>]  in 1688.3330 seconds.

@FeralCatColonist Let's check to see if the ArcGIS Server service is started in services.msc. If it is can you stop/start it and check to see which processes are running in task manager? There should at least be ArcGISServer.exe and javaw.exe processes. Also after starting the service, refresh the page to ensure it remains started.

@cameronkroeker, stopped and started the ArcGIS Server service; ArcGISServer.exe and javaw.exe are running in task manager; and the ArcGIS Server service remains running.

Some joy
Bad Request This combination of host and port requires TLS.

Thanks @FeralCatColonist. Let's check the ArcGIS Server internal tomcat logs to see if there are any clues:

C:\Program Files\ArcGIS\Server\framework\runtime\tomcat\logs
C:\Program Files\ArcGIS\Server\framework\etc\service\logs

I suspect ArcGIS Server installation could be corrupt due to that 6443 binding that was in IIS. Perhaps something is not right with C:\Program Files\ArcGIS\Server\framework\runtime\tomcat\conf\server.xml (could be missing TLS information in the ssl connector for example).
It might be easiest or best to uninstall, delete the installation directory and re-run if the logs do not provide us with any useful information.

Another failed run, the HTTPS and HSTS are set in the config as true.
Trace-DSCJob : 12/4/2024 2:13:57 PM: PowerShell DSC resource ArcGIS_Server_TLS  failed to execute Test-TargetResource functionality with error message: Error: Enable HSTS porperty requires http protocol set to only HTTPS.
In the logs location no new information after the most recent failure. I'm going to completely uninstall and then try again now that the IIS and firewall issues have been resolved.
I'm feeling good about this now.

I just noticed something about the json configuration file. In the ConfigData.Server block the PatchesDir should be moved into the ConfigData.Server.Installer block, and DownloadPatches should be moved to out of ConfigData.Server, ConfigData.Portal, ConfigData.DataStore, and ConfigData.WebAdaptor to just ConfigData.DownloadPatches.
"Server": {
            "Installer": {
                "Path": "C:\\install\\esri\\server\\ArcGIS_Server_Windows_112_188239.exe",
                "InstallDir": "C:\\Program Files\\ArcGIS\\Server"
            },
            "LicenseFilePath": "C:\\install\\esri\\license\\ArcGISGISServerStandard_ArcGISServer_1427612.prvc",
            "EnableHTTPSOnly ": true,
            "EnableHSTS": true,
            "DisableServiceDirectory": true,
            "ConfigStoreLocation": "C:\\arcgisserver\\config-store",
            "ServerDirectoriesRootLocation": "C:\\arcgisserver\\directories",
            "DownloadPatches": true, <--------
            "PatchesDir": "C:\\install\\esri\\server\\patches", <---------
            "PrimarySiteAdmin": {
                "UserName": "<REDACTED>",
                "PasswordEnvironmentVariableName": "<REDACTED>"
            }

to
"Server": {
            "Installer": {
                "Path": "C:\\install\\esri\\server\\ArcGIS_Server_Windows_112_188239.exe",
                "InstallDir": "C:\\Program Files\\ArcGIS\\Server",
                "PatchesDir": "C:\\install\\esri\\server\\patches"
            },
            "LicenseFilePath": "C:\\install\\esri\\license\\ArcGISGISServerStandard_ArcGISServer_1427612.prvc",
            "EnableHTTPSOnly ": true,
            "EnableHSTS": true,
            "DisableServiceDirectory": true,
            "ConfigStoreLocation": "C:\\arcgisserver\\config-store",
            "ServerDirectoriesRootLocation": "C:\\arcgisserver\\directories",
            "PrimarySiteAdmin": {
                "UserName": "<REDACTED>",
                "PasswordEnvironmentVariableName": "<REDACTED>"
            }

And
"ConfigData": {
        "Version": "11.2",
        "DownloadPatches": true
        ...
}

https://github.com/Esri/arcgis-powershell-dsc/wiki/Download-and-Install-patches-for-ArcGIS-Enterprise

Thanks for the call-out, I'm not sure why I had downloadPatches for every component-- --it is very clear from even just the variables reference that it should be global. I can imagine that I justified it by saying, yes, I also want this component to download patches.
After a full uninstall and re-install, I am still getting hung up on the same place at the :6443/arcgis/admin/security/config/ call
12/4/2024 3:57:23 PM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Checking for site on 'https://<REDACTED>:6443'
12/4/2024 3:57:23 PM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Site Exists. Was able to retrieve token for PSA
12/4/2024 3:57:23 PM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Response from GetLogSettings:-
12/4/2024 3:57:23 PM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Current Log Level DEBUG
12/4/2024 3:57:23 PM: [<REDACTED>]: LCM:  [ End    Test     ]  [[ArcGIS_Server]<REDACTED>]  in 0.5250 seconds.
12/4/2024 3:57:23 PM: [<REDACTED>]: LCM:  [ Skip   Set      ]  [[ArcGIS_Server]<REDACTED>]
12/4/2024 3:57:23 PM: [<REDACTED>]: LCM:  [ End    Resource ]  [[ArcGIS_Server]<REDACTED>]
12/4/2024 3:57:23 PM: [<REDACTED>]: LCM:  [ Start  Resource ]  [[ArcGIS_Server_TLS]Server_TLS_<REDACTED>]
12/4/2024 3:57:23 PM: [<REDACTED>]: LCM:  [ Start  Test     ]  [[ArcGIS_Server_TLS]Server_TLS_<REDACTED>]
12/4/2024 3:57:23 PM: [<REDACTED>]:                            [[ArcGIS_Server_TLS]Server_TLS_<REDACTED>] Url:- https://<REDACTED>:6443/arcgis/admin/security/config/
12/4/2024 3:57:23 PM: [<REDACTED>]: LCM:  [ End    Test     ]  [[ArcGIS_Server_TLS]Server_TLS_<REDACTED>]  in 0.2070 seconds.
12/4/2024 3:57:23 PM: [<REDACTED>]: LCM:  [ End    Set      ]
12/4/2024 3:57:23 PM: Operation 'Invoke CimMethod' complete.

Trace-DSCJob : 12/4/2024 3:57:23 PM: PowerShell DSC resource ArcGIS_Server_TLS  failed to execute Test-TargetResource functionality with error message:
Error: Enable HSTS porperty requires http protocol set to only HTTPS.
At C:\Program Files\WindowsPowerShell\Modules\ArcGIS\4.4.0\ArcGIS.psm1:263 char:5
+     Trace-DSCJob -Job $Job -JobName $ConfigurationName -DebugMode $De ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Trace-DSCJob

Trace-DSCJob : 12/4/2024 3:57:23 PM: The SendConfigurationApply function did not succeed.
At C:\Program Files\WindowsPowerShell\Modules\ArcGIS\4.4.0\ArcGIS.psm1:263 char:5
+     Trace-DSCJob -Job $Job -JobName $ConfigurationName -DebugMode $De ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Trace-DSCJob

Within my server config, those properties are set thusly:
"Server": {
        "Installer": {
            "Path": "C:\\install\\esri\\server\\ArcGIS_Server_Windows_112_188239.exe",
            "InstallDir": "C:\\Program Files\\ArcGIS\\Server",
            "PatchesDir": "C:\\install\\esri\\server\\patches"
        },
        "LicenseFilePath": "C:\\install\\esri\\license\\ArcGISGISServerStandard_ArcGISServer_1427612.prvc",
        "EnableHTTPSOnly ": true,
        "EnableHSTS": true,
        "DisableServiceDirectory": true,
        "ConfigStoreLocation": "C:\\arcgisserver\\config-store",
        "ServerDirectoriesRootLocation": "C:\\arcgisserver\\directories",
        "PrimarySiteAdmin": {
            "UserName": "<REDACTED>",
            "PasswordEnvironmentVariableName": "<REDACTED>"
        }

I'm wondering if the if block before the check for HSTS isn't running as intended as the SSL stuff happens later in the process.
https://github.com/Esri/arcgis-powershell-dsc/blob/539a5adada7de60e3b5ce801a74020c0e3112d61/Modules/ArcGIS/DSCResources/ArcGIS_Server_TLS/ArcGIS_Server_TLS.psm1#L114-L132
I re-ran the config with EnableHSTS: false and the calls proceeded in this order:
12/4/2024 4:57:02 PM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Checking for site on 'https://<REDACTED>:6443'
12/4/2024 4:57:02 PM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Site Exists. Was able to retrieve token for PSA
12/4/2024 4:57:02 PM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Response from GetLogSettings:-
12/4/2024 4:57:02 PM: [<REDACTED>]:                            [[ArcGIS_Server]<REDACTED>] Current Log Level DEBUG
12/4/2024 4:57:02 PM: [<REDACTED>]: LCM:  [ End    Test     ]  [[ArcGIS_Server]<REDACTED>]  in 0.4520 seconds.
12/4/2024 4:57:02 PM: [<REDACTED>]: LCM:  [ Skip   Set      ]  [[ArcGIS_Server]<REDACTED>]
12/4/2024 4:57:02 PM: [<REDACTED>]: LCM:  [ End    Resource ]  [[ArcGIS_Server]<REDACTED>]
12/4/2024 4:57:02 PM: [<REDACTED>]: LCM:  [ Start  Resource ]  [[ArcGIS_Server_TLS]Server_TLS_<REDACTED>]
12/4/2024 4:57:02 PM: [<REDACTED>]: LCM:  [ Start  Test     ]  [[ArcGIS_Server_TLS]Server_TLS_<REDACTED>]
12/4/2024 4:57:02 PM: [<REDACTED>]:                            [[ArcGIS_Server_TLS]Server_TLS_<REDACTED>] Url:- https://<REDACTED>:6443/arcgis/admin/security/config/
12/4/2024 4:57:02 PM: [<REDACTED>]:                            [[ArcGIS_Server_TLS]Server_TLS_<REDACTED>] Https Only is enabled. Update required.
12/4/2024 4:57:02 PM: [<REDACTED>]:                            [[ArcGIS_Server_TLS]Server_TLS_<REDACTED>] Returning False from Test-TargetResource
12/4/2024 4:57:02 PM: [<REDACTED>]: LCM:  [ End    Test     ]  [[ArcGIS_Server_TLS]Server_TLS_<REDACTED>]  in 0.1430 seconds.
12/4/2024 4:57:02 PM: [<REDACTED>]: LCM:  [ Start  Set      ]  [[ArcGIS_Server_TLS]Server_TLS_<REDACTED>]
12/4/2024 4:57:02 PM: [<REDACTED>]:                            [[ArcGIS_Server_TLS]Server_TLS_<REDACTED>] Getting security config for site
12/4/2024 4:57:02 PM: [<REDACTED>]:                            [[ArcGIS_Server_TLS]Server_TLS_<REDACTED>] Url:- https://<REDACTED>:6443/arcgis/admin/security/config/
12/4/2024 4:57:02 PM: [<REDACTED>]:                            [[ArcGIS_Server_TLS]Server_TLS_<REDACTED>] Https Only is enabled. Update required
12/4/2024 4:57:02 PM: [<REDACTED>]:                            [[ArcGIS_Server_TLS]Server_TLS_<REDACTED>] POST https://<REDACTED>:6443/arcgis/admin/security/config/update with 1127-byte payload
12/4/2024 4:57:12 PM: [<REDACTED>]:                            [[ArcGIS_Server_TLS]Server_TLS_<REDACTED>] received 20-byte response of content type application/json;charset=UTF-8
12/4/2024 4:57:12 PM: [<REDACTED>]:                            [[ArcGIS_Server_TLS]Server_TLS_<REDACTED>] Response:- {"status":"success"}
12/4/2024 4:57:12 PM: [<REDACTED>]:                            [[ArcGIS_Server_TLS]Server_TLS_<REDACTED>] Waiting 30 seconds before checking

The installation is proceeding but I'm going to call it a night. I am planning on re-running the configuration to set EnableHSTS:true when I'm back in the office.

@cameronkroeker, got a full run!
I'm going to pull a separate issue for the HSTS thing. After setting EnableHSTS: false the entire process ran and installed correctly; changing the parameter and then running InstallLicenseConfigure resulted in the same error above. On a side tangent there was a final issue because I set the global context parameters for portal and server, after removing that everything was fine.
For posterity this was the final configuration that ran as intended.
{
    "AllNodes": [
        {
            "NodeName": "the-server-machine",
            "Role": [
                "Server",
                "WebAdaptor"
            ],
            "WebAdaptorConfig":[
                {
                    "Role": "Server",
                    "Context": "serveradmin"
                },
                {
                    "Role": "Server",
                    "Context": "server",
                    "AdminAccessEnabled": false
                }
            ],
            "SslCertificates": [
                {
                    "Path": "C:\\Admin\\Cert\\machine.pfx",
                    "PasswordEnvironmentVariableName": "some-password-variable",
                    "CNameFQDN": "machine.domain.com",
                    "Target": [
                        "Server"
                    ],
                    "SslRootOrIntermediate": [
                        {
                            "Alias": "root",
                            "Path": "C:\\Admin\\Cert\\root.cer"
                        },
                        {
                            "Alias": "intermediate",
                            "Path": "C:\\Admin\\Cert\\intermediate.cer"
                        }
                    ]
                }
            ]
        },
        {
            "NodeName": "the-portal-machine",
            "Role": [
                "Portal",
                "WebAdaptor"
            ],
            "WebAdaptorConfig":[
                {
                    "Role": "Portal",
                    "Context": "portaladmin"
                }
            ],
            "SslCertificates": [
                {
                    "Path": "C:\\Admin\\Cert\\machine.pfx",
                    "PasswordEnvironmentVariableName": "some-password-variable",
                    "CNameFQDN": "machine.domain.com",
                    "Target": [
                        "Portal"
                    ],
                    "SslRootOrIntermediate": [
                        {
                            "Alias": "root",
                            "Path": "C:\\Admin\\Cert\\root.cer"
                        },
                        {
                            "Alias": "intermediate",
                            "Path": "C:\\Admin\\Cert\\intermediate.cer"
                        }
                    ]
                }
            ]
        }
    ],
    "ConfigData": {
        "Version": "11.2",
        "DownloadPatches": true,
        "ServerRole": "GeneralPurposeServer",
        "Credentials": {
            "ServiceAccount": {
                "UserName": "domain\\gmsa-user$",
                "IsMSAAccount": true
            }
        },
        "Server": {
            "Installer": {
                "Path": "C:\\install\\esri\\server\\ArcGIS_Server_Windows_112_188239.exe",
                "InstallDir": "C:\\Program Files\\ArcGIS\\Server",
                "PatchesDir": "C:\\install\\esri\\server\\patches"
            },
            "LicenseFilePath": "C:\\install\\esri\\license\\ArcGISGISServerStandard_ArcGISServer_1427612.prvc",
            "EnableHTTPSOnly ": true,
            "EnableHSTS": false,
            "DisableServiceDirectory": true,
            "ConfigStoreLocation": "C:\\arcgisserver\\config-store",
            "ServerDirectoriesRootLocation": "C:\\arcgisserver\\directories",
            "PrimarySiteAdmin": {
                "UserName": "some-username",
                "PasswordEnvironmentVariableName": "some-password-variable",
            }
        },
        "Portal": {
            "Installer": {
                "Path": "C:\\install\\esri\\portal\\Portal_for_ArcGIS_Windows_112_188250.exe",
                "InstallDir": "C:\\Program Files\\ArcGIS\\Portal",
                "ContentDir": "C:\\arcgisportal",
                "PatchesDir": "C:\\install\\esri\\portal\\patches",
                "WebStylesPath": "C:\\install\\esri\\portal\\Portal_for_ArcGIS_Web_Styles_Windows_112_188251.exe"
            },
            "LicenseFilePath": "C:\\install\\esri\\license\\ArcGIS_Enterprise_Portal_112_455680_20240415.json",
            "PortalLicenseUserTypeId": "creatorUT",
            "PortalAdministrator": {
                "UserName": "some-username",
                "PasswordEnvironmentVariableName": "some-password-variable",
                "SecurityQuestionIndex": 1,
                "SecurityAnswer": "some answer",
                "Email"<EMAIL_ADDRESS>            },
            "EmailSettings": {
                "SMTPServerAddress": "some-smpt.domain.com",
                "From"<EMAIL_ADDRESS>                "Label": "some label",
                "AuthenticationRequired": false,
                "SMTPPort": "some port number",
                "EncryptionMethod": "NONE"
            },
            "ContentDirectoryLocation": "C:\\arcgisportal\\content",
            "EnableHSTS": true,
            "EnableAutomaticAccountCreation": false,
            "DefaultRoleForUser": "iAAAAAAAAAAAAAAA",
            "DefaultUserLicenseTypeIdForUser": "viewerUT"
        },
        "WebAdaptor": {
            "Installer": {
                "Path": "C:\\install\\esri\\web-adaptor\\ArcGIS_Web_Adaptor_for_Microsoft_IIS_112_188253.exe",
                "PatchesDir": "C:\\install\\esri\\web-adaptor\\patches",
                "DotnetHostingBundlePath": "C:\\install\\esri\\web-adaptor\\dotnet-hosting-8.0.11-win.exe",
                "WebDeployPath": "C:\\install\\esri\\web-adaptor\\webdeploy_amd64_en-US.msi"
            },
            "AdminAccessEnabled": true,
            "OverrideHTTPSBinding": true
        }
    }
}


Update all_you_need_to_know_about_whitelabeling.md

Updated contact support

Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @iritch42,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


#205 : choices in groups

Pull Request Test Coverage Report for Build 349561121

7 of 7 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 88.877%

Totals

Change from base Build 289947661:
0.01%

Covered Lines:
4214

Relevant Lines:
4693

💛  - Coveralls


Video titles are the id instead of the title

The downloaded videos have a name like "f562c1f4-377d-4055... .mp4" while in the popup o the extension the right name is shown

It was an issue caused by an other extension that did not accepted the name

It was an issue caused by an other extension that did not accepted the name


TLB map setup per chip

Currently tt_SiliconDevice accepts one map for everything. But that goes against our effort to separate cluster vs chip responsibilities, related to #157
This change includes:

Adding chip_id to setup_core_to_tlb_map. There should be a map per mmio chip
Started a chip api tests file
Added an api example/test on how TLB setup functions at the moment. This also does some minor configuration testing, whether it throws or not.
Minor cosmetic changes to other API tests

Contributes to #154 since it adds more api tests.
This change will require tt_metal changes.

I will give this PR a more thorough review, but my initial reaction is that the relationship between TLB index and (x,y) location is something UMD should hide.
UMD has to know about the TLB windows, there's no way around that.  But the application does not.  It shouldn't matter what TLB is mapped where as long as UMD/KMD manage these resources effectively.

I will give this PR a more thorough review, but my initial reaction is that the relationship between TLB index and (x,y) location is something UMD should hide.
UMD has to know about the TLB windows, there's no way around that. But the application does not. It shouldn't matter what TLB is mapped where as long as UMD/KMD manage these resources effectively.

I agree, but bear in mind that this is not what this PR is about. This is not a final API, it is just pointing in the right direction, that TLB setup is chip specific. We might end up removing it altogether in the end

undermines performance and has led to workarounds (get_fast_pcie_static_tlb_write_callable and tt::Writer).

I completely agree. But it is fine for me to have a more flexible API for slower access, and a performant option (such as tt::Writer, or as you suggested TLBWindow, which I ended up suggesting be AbstractIO in the end).
On the other hand I do want to investigate maps that we use a bit. Theoretically, it shouldn't be expensive to use a hash map. It is known to have a bad implementation in stdlib though, there are much better options. I also suspect that just changing everything to map and set would improve perf (they should be more performant for very small containers, which are ours). Hash maps are not slow by design, and I'd very much like to get to the bottom of where the perf issue really is.


docs: Update instructions for running the code format tool

Commit Message: Update instructions for running the code format tool
Additional Description: #29397 changed the way to run the check_format python script but the some of the docs are still referring to the "old" way of running it, which does not work anymore.
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

small formatting issue - you can fish the diff out of artifacts to fix - https://dev.azure.com/cncf/envoy/_build/results?buildId=149074&view=artifacts&pathAsName=false&type=publishedArtifacts


mock-consensus: 💰 execute a spend via mock consensus

~f/ixes #3788.~
this introduces a new mock_consensus_can_send_a_spend_action test which, as the name implies, shows that the mock consensus harness can send and execute a Spend action via our consensus service.
a MockClient::with_sync_to_storage helper (bikesheds are welcome here) is introduced, to facilitate syncing to the latest snapshot of the temporary storage.

#3588
#3788

hdevalence [penumbra]
i think the planner API won't be immediately helpful here, since we're using the mock client, not a full view server. i think i described some bits of this in the comment i left describing how the rewritten tests would look.
the only thing that seems suspicious is the chain id. otherwise: expiry height 0 means no expiry, and default fee is 0, which checks out?

for posterity: feedback from #status in discord.
we should use TransactionPlan. i'm going to handle that in a follow-on, and have altered the description of the pr so that it won't close out #3788. i've also opened #3864 as a little tweak, along the way.


A new release

I found useful functionality in this library but the is no any released package containing it.
When is a new release planned?

Done! https://pypi.org/project/vladiate/0.0.25/


decodeURI

I think #4 is the solution.

Thank you for your contribution, @SoClear. This should now be available in v1.0.4


Connections remain open, blocking CI from closing

Tested on both Node v0.10.35 and io.js v1.2.0 with testem v0.7.0 while running any combination of launchers. Running "testem ci" never exits.
It appears that connections to the server created are not being closed for some reason. If I manually call conn.destroy() on any connection created once the tests have completed, the process exits properly.

Nevermind, I had hanging phantomjs processes for some reason :(


Resize on the fly not working

I'm trying to resize my browser on the fly the following way
session = Capybara::Session.new(:poltergeist)
session.driver.browser.resize(320, 568)

However, it doesn't resize. It just stays [1024,768]. Is there any way to resize the browser by calling a method on thesession object?

Ideally you should be calling session.current_window.resize_to(320, 567) rather than using driver specific methods.  However what you have called should work - what are you basing the statement "It just stays [1024,768]" on?

Closing due to lack of response - we can reopen if more info is provided.


Load the model before service statuses (SCRD-8483)

Wait for model to be loaded before fetching server statuses.
If there is a pending promise to load the model, return that promise.
Can potentially dedupe simultaneous requests.

@GarySmith I've updated the getServerStatuses method to take the model as a parameter.

Note that I did not test this, but I'm Jeremy will before he approves it :-)

I'm seeing the same error that Jordan is

That is what I get for pretending I know what I am doing. Fixed now.


go vet reports incorrect context handling

I introduced this with #139:
$ go vet github.com/oragono/oragono/irc
irc/server.go:1605: the cancel function returned by context.WithTimeout should be called, not discarded, to avoid a context leak

Provisionally decided to just remove the REST API entirely 'til I'm able to actually maintain/build it properly. Pulled the other commit into master though!


Add NavigatorState.(add|remove)Observer

Description
This adds NavigatorState.addObserver and NavigatorState.removeObserver, to allow
callers to dynamically add and remove observers to the navigator.  This should prove useful
to stateful widgets deeper in the app's widget hierarchy that want a hook into the navigator's
observers list.
Related Issues
Fixes https://github.com/flutter/flutter/issues/64442
Tests
I added the following tests:

A test of adding an observer from a descendant widget (and the observer getting properly notified)

Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I signed the [CLA].
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

I discussed it with @goderbauer - I don't see another way to handle my use case.
In the future, when we support multi-window, we're likely going to need a similar Window.addWindowListener() (or Window.addWindowObserver() - not sure when we use "listener" vs "observer") API to be notified when child windows are opened/closed, but until we support multi-window, this API satisfies that need.

NavigatorObserver has caused us nothing but trouble. I'm very reluctant to add more ways to observe the navigator. What's the use case?

Discussed the use-case with @Hixie.  tldr: while the use case is valid, it can be accomplished by hooking into the observer list at the navigator level, so we'll close this PR so as to not introduce more ways to use NavigatorObserver (something we're trying to get away from).


Initial implementation of @ActionState support

Hi all !
I've decided to modernize implementation of actions in a project I am working on and found out that action support in OpenIDE lacks certain features. The most important  (for me) is the ability to combine ContextAwareAction with the BooleanStateAction: Because BooleanStateAction is a SharedClassObject descendant, it is both an ugly obsolete thing which should not be used at all and also the OpenIDE will fire some warnings into the log, because more instances of the same class is created - one per Lookup context.
This approach has another drawback: as the actions may appear in toplevel menu, the action code + potentially other classes may be loaded up front on application startup although the relevant editor for which the action(s) enable is not opened.
This is not that important for my current project, but may be for modular/extensible applications and NetBeans IDE itself: the less code we preload the better is the initial/average performance.
Followin fellow colleague's advise, I've decided to adapt OpenIDE support a little. It got a lot more hairy than the initial need, and the implementation is uglier than I'd like, but these are the new features:

OpenIDE can supply monitoring boolean/enum/stringifiable property of the context object object for their "enabled" state. Property listener attach/detach, only when someone observes the Action, weak listening, so Actions can be GCed, action creation for the proper context object - all that can be managed by OpenIDE support. No more needed to implement ContextAwareInstance for this use-case.

(new !!) the same is supported for "checked" property: an action can be presented as checkbox or toggle button and corresponds to a property in the context object. The check/toggle status tracks the property - and you can even specify value for which the check is "on". General non-null and null values are supported, too.

to support broader range of model objects, the above support which needs to listen on changes is not limited to PropertyChangeListener or ChangeListener event interfaces, but you can specify any listener class (and possibly even a trigger method) - a proxy listener will be created.

because of possible weird combination of annotations, Action can enable on a certain context object, but grab its checked/toggled state from another context object's property.

(new!) an Action can be optionally consulted for its enabled and checked state after the basic guards are evaluated by OpenIDE. Custom processing may happen, but the code will not load as long as the proper context object is not in place and until its guard property has the appropriate value: can avoid preloading, while still allows completely custom conditions.

All that allowed me to trash virtually all implements ContextAwareAction in my application and discard a lot of custom listening/enable/check code.
The above features made the org.openide.actions.BooleanStateAction rather obsolete - so I've deprecated it.
The entry point to all this is the @ActionState annotation; its Javadoc contains some examples. Less useful and hacked "examples" can be found in the StatefulActionProcessorTest test class.
Please do not hesitate to comment, supply patches to this patch, rewrite parts which are uglier than bearable.

Applied review comments: Javadoc reworded, corrected. checkedOn value added, @ActionState can only be used as a value. XML layer attributes documented, ugly underscore removed.


[@kadena/eslint-config] allow const to not have a type annotation.

I would like to be able to not type an object that is typed with as const.
At the moment it will throw a warning Expected a type annotation. eslint[@rushstack/typedef-var](https://www.npmjs.com/package/%40rushstack/eslint-plugin)
At the moment I have to disable typescript for this line.
But as it is has  as const it should just work.
example
When I have an object like
const test = {
  "he-man": {
    "isMasterOfUniverse": true
  },
  "skeletor": {
    "isMasterOfUniverse": false
  }
} as const

still valid I think


Please fix issues reported by adapter checker

❗ [E605] No actual year found in copyright. Please add "Copyright (c) 2024 dirkhe<EMAIL_ADDRESS>at the end of README.md
❗ [E701] No actual year found in LICENSE. Please add "Copyright (c) 2024 dirkhe<EMAIL_ADDRESS>at the start of LICENSE

done with newest Version


Log  frisbee URI

Hi.
Please show me how to log Frisbee base URI in request.
Thank you.

Currently there is no way to access the BaseURI in your interceptor.
For now you can work around it by instantiating your interception object with BaseURI in its scope.
yourAPI.register(getInterceptionObject(yourBaseURI));
   var getInterceptionObject = function(baseURI){
   var interceptionObject={...}; // you have access to the baseURI
   return interceptionObject;
}

hi @ducnguyendev ,
The request function is now passed the full URL in version 2.0.0

Changes will be rolled back to think about a better API.


I can't apply this plugin on nuxtjs(Nuxt3) framework.

Dear Mr/Mrs,
I  have a problem with your plugins, I attach my image(bug) on it so that you can see it. So, how can I fix it?
Or any demo with nuxtjs version 3.
Thanks.

Same problem.
@tranthotuong Did you manage to work with main.js ? since nuxt default don't expose it.

@odranoelBR Not yet, I'm using the default of nuxt, so I try to add vite config on config of nuxt, but it seems not working


Use bundle.run CDN

Since https://github.com/Rich-Harris/packd/issues/10

A big 👍  on this, as long as we can update bundle.run to new versions of packd relatively easily — how do you see that working? There are a few worthwhile improvements in the last few versions, particularly delegating the bundling/minification to a separate process to stop the server from hanging.

Yes, I still have a few issues with upgrading to the lastest version (https://github.com/Rich-Harris/packd/commit/72d959eeda58ef1a531e327568fe9157f7b4d8d2#commitcomment-23286871). I don't know why these dependencies are so hard to install.
In the future I imagine an automatic deployment process in the CI. I'm currently working on it.

Just FYI i'm going to work on this during the next week. Sorry for the delay.

No worries! packd.now.sh is doing the job for now, albeit with slower response times/higher latency

Alright, PR is here https://github.com/Rich-Harris/packd/pull/28

🎉  thanks @xtuc!


[enhancement] The alarm supports “DingDing” notification

“DingDing”, as a chat and office software used by many companies in China with a large user base, I believe it's necessary for OzHera's alarm notifications to support “DingDing”.

Yes, your point is correct and we will provide that later

done


request: update Target type in i18next

Is there an existing issue or pull request for this?

[x] I have searched the existing issues and pull requests

Feature description
When I tried to pass a ModalSubmitInteraction type in resolveKey() to Target, The type prevented me from doing this. I believe that the Target type needs to be expanded to accept interactions of the ModalSubmit.
Desired solution
Just update this line:
https://github.com/sapphiredev/plugins/blob/e865090490e58284500e7b77eb024a1c12212710/packages/i18next/src/lib/types.ts#L182
To this:
export type Target = CommandInteraction | ChannelTarget | Guild | MessageComponentInteraction | ModalSubmitInteraction;
And ofc add import of type.
Alternatives considered
don't know any alternatives
Additional context
No response

Resolved by https://github.com/sapphiredev/plugins/commit/15e1712cdb7083d6bdea8b01c500f7b191fd99ab


Patch VMWare Tools

Can we patch the vmware tools like was was done in boxcutter/debian#8?
You can read more about the issue in boxcutter/debian#7

I can tackle this. @misheska: sound like a good plan? This puts a dependency on having internet connectivity. Is this acceptable?

:+1: Bump

Is there anything I can do to help get this in?
I would argue that creating an image already has a dependency on having internet access.

I will get to this, but it won't be for a few weeks, as I'm travelling. If someone else is willing, you just need to mimic the work done in https://github.com/boxcutter/debian/pull/8.

I've submitted pull request https://github.com/boxcutter/ubuntu/pull/11 to resolve this :smiley:

Fixed by #11.