Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should we remove the dependency to IE? #136

Closed
vbakke opened this issue Oct 23, 2020 · 3 comments
Closed

Should we remove the dependency to IE? #136

vbakke opened this issue Oct 23, 2020 · 3 comments

Comments

@vbakke
Copy link

vbakke commented Oct 23, 2020

We suddenly got this message:
image

We found a solution on StackOverflow:
https://stackoverflow.com/questions/38005341/the-response-content-cannot-be-parsed-because-the-internet-explorer-engine-is-no

Our solution was to start IE. 😆

But it might be better to user the -UseBasicParsing on Invoke-WebRequest in core.ps1
Just as a suggestion. :)

@ahaydon
Copy link
Owner

ahaydon commented Oct 23, 2020

I'm not able to reproduce this issue. I built a new server and ran Import-QlikApp and it completed successfully, I then opened IE and the setup prompt appeared.

Can you provide some details of the OS and PowerShell version please?

Does it just fail on file transfers or do other API calls result in the same error? Non file transfers use the Invoke-RestMethod command.

@vbakke
Copy link
Author

vbakke commented Oct 23, 2020

Hmm.. I've never had this problem before either. But I have normally open IE before I start Qlik-CLI, so I can't be sure how frequent this is. (Need IE to download Chrome, you know. : )

This server is (from 'systeminfo'):
OS Name: Microsoft Windows Server 2019 Datacenter
OS Version: 10.0.17763 N/A Build 17763

$PSVersionTable:
PSVersion 5.1.17763.1490
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17763.1490
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Now that we have opened IE it all works, so we struggle reproducing it as well. 🙄

@ahaydon
Copy link
Owner

ahaydon commented Oct 23, 2020

I can reproduce on PS4 but not on PS5.1, only a slight difference in version 5.1.17763.1007.

It's weird but at least I can reproduce and test a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants