Comments (4)
The issue I described happens from time to time after deployment, locally it was never a problem.
I'll try to do what you proposed, will monitor WebApp for a while and return back. Thank you.
from console.
Is there something you're using with that endpoint that could be shifted over to the SPE Remoting endpoint?
from console.
I think technically we could use SPE Remoting, but chose WebAPI instead to restrict running any script, and run only ones that we have predefined.
Are you saying that we need to try to move to SPE Remoting and see if issue persists?
from console.
I'm curious if running the scripts through SPE Remoting encounters the same initialization error.
Can you try something like this with SPE Remoting (and restfulv2 disabled)?
Import-Module -Name SPE
$session = New-ScriptSession -Username admin -Password b -ConnectionUri https://remotesitecore
Invoke-RemoteScript -Session $session -ScriptBlock {
# Your script
# or Get-Item -Path "your-script" | Invoke-Script
}
Stop-ScriptSession -Session $session
from console.
Related Issues (20)
- Feature Request - make Elevation Action case insensitive parsing. HOT 3
- SC 10.3 XM1 Docker install SPE fails and leaves server in invalid state HOT 8
- Active directory password is not working while using powershell console HOT 1
- Get-ItemReferrer / Get-ItemReference to include links from standard values item with -Recurse parameter HOT 2
- Get-Item behaves weirdly when dealing with Checkbox fields having "false" (empty) HOT 1
- Powershell Script Access Issue in Sitecore SXA HOT 4
- Powershell Script running is showing error HOT 8
- Powershell script is throwing error HOT 3
- Remove-Item can target incorrect item if two items have same path HOT 2
- Error when executing script. OkClick method through reflection is not allowed HOT 5
- AccessDeniedException Calling Spe.Client.Applications.UploadFile.PowerShellUploadFileForm.CancelClick or OKClick HOT 5
- Incorrect context language in script
- Running the 'Elevated Unlock' is always executed in the User language and not in the content language of the item currently edited HOT 5
- Executing Publish-Item against Experence Edge throws an error HOT 3
- Impact on the Item name in Content Tree HOT 5
- Add-ItemVersion does not copy any field values HOT 2
- 'System.Management.Automation.dll' reference
- Reports - Find Audit Trail from logs HOT 1
- Executing Receive-RemoteItem (Remoting) cause an error in Sitecore 10.3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from console.