Why do I have to restart live-server to see changes? - visual-studio-code

I have a new laptop and have installed VSCode and nodeJS to continue working on my projects. Unfortunately I have to restart the server every time to see my saved changes. Here is what is displayed in the console:
[HMR] Waiting for update signal from WDS....
I have also downloaded the live server extension. When I start this I get the following error message in the console:
Failed to load resource: the server responded with a status of 400 (Bad Request).
Can someone please help me?

Related

Running conda command in command line

I am trying to install the MLxtend library for python. The command to do this should be simply typing:
conda install mlxtend --channel conda-forge.
I tried running it in the command prompt right when it opened up (which was C:\Users\Ben. When this didn't work, I changed directories to C:\anaconda\anaconda3\scripts and ran the same command there. It again didn't work so I tried to update anaconda by running: conda update conda. This again didn't work and I am not sure exactly what is going on that is causing the error. Everything on Google and everywhere else hasn't worked so I'm hoping y'all know how to fix this.
Error I'm getting:
WARNING: The conda.compat module is deprecated and will be removed in a future release.
Collecting package metadata: failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/noarch/repodata.json.bz2>
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.
SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443): Max retries exceeded with url: /pkgs/main/noarch/repodata.json.bz2 (Caused by SSLError("Can\'t connect to HTTPS URL because the SSL module is not available."))'))

Web Deploy not working. Timeout on client. Schannel 1203 on server

I'm trying to deploy an application via web deploy to a windows 2012 r2 server.
First tried installing iis, web deploy using the msi. After getting an unreachable error I saw somewhere that I needed wmsvc to be installed and installed it via powershell command Install-WindowsFeature Web-Mgmt-Service.
I stopped getting the unreachable error and started getting this error ->
Error: Could not complete the request to remote agent URL 'http://xx.x.xx.xx:8172/MSDEPLOYAGENTSERVICE'.
Error: The operation has timed out
On the server's event viewer under system I get the following error ->
A fatal alert was generated and sent to the remote endpoint. This may result in termination of the connection. The TLS protocol defined fatal error code is 10. The Windows SChannel error state is 1203.
Any idea of what could be going on? Did I miss something on the installation?
After this I also tried installing everything but without iis and I get the same error.
So, this is really not a PoSH issue.
Maybe you should consider movin gthis question to another forum.
Anyway, you have either real server config issues (this can sometimes mean wipe and rebuild - very ugly option - but if it's a virtual machine and you have a snapshot, just roll back), or an app causing this.
Typically for Schannel type of error, it has to do with application or service in machine not able to complete any SSL connection sort of connection.
The error state parameter of 1203 means client error connecting to server, ie invalid ClientHello from the client
See if you can collect more data by...
https://support.microsoft.com/en-us/help/260729/how-to-enable-schannel-event-logging-in-iis
I realized this is an old question, but in case somebody ran into the same issue, here are my solution.
I had to follow this guidelines : https://learn.microsoft.com/en-us/aspnet/web-forms/overview/deployment/configuring-server-environments-for-web-deployment/configuring-a-web-server-for-web-deploy-publishing-web-deploy-handler
Copy the resulting publishsetting file. In the Publish/Profile page import it.
In the Publish/Connection page, change the server to the server address with the 8172 port. Add the password. Change the Destination URL to the site to go to after the publish is completed.
Then after Validate connection was completed, go ahead and publish it!

Problems with Frapi-Framework

I'm trying to set up Frapi on an Debian 9.1 Server.
Not every step from "http://frapi.github.io/installing/" did work.
Since days getting only this answer:
"Internal Server Error The server encountered an internal error or
misconfiguration and was unable to complete your request. Please
contact the server administrator at admin#api.frapi to inform them of
the time this error occurred, and the actions you performed just
before this error. More information about this error may be available
in the server error log.
Apache/2.4.25 (Debian) Server at 141.28.11.40 Port 80"
Someone worked already with this Framework and can tell me where I did wrong?

ejtserver won't start, but no errors, after power outage

I have an install4j license that is served by ejtserver. After a power outage ejtserver doesn't start any more. It doesn't issue any errors, either.
My workaround is to run ejtserver_console. That starts up and opens the port to listen for connections.
I appear to be running ejtserver 1.12. What can I do to get my ejtserver running as expected?
Thanks,
Michael
On Windows, please check the service manager if the "ej-technologies license server" service is started and if not, please start it while ejtserver_console is closed. Executing ejtserver directly has no effect. The log file is located in log/server.log, an error log would be in log/error.log only if an error has occurred. Please contact support#ej-technologies.com to share a log file or error log.

Unable to connect to update server when installing

I downloaded the installer and run it, but I get a message telling me to check my internet connection. My connection works fine, but I suspect there might be a proxy problem. Does anybody know how to remedy this?
I had this issue, but today when I started the installer (the same installer I downloaded two days ago) and there was no error message. I think the problem was caused by the smarface.io server(s).
Thus, when you get this error message while installing smartface:
"Unable to connect to update server. Please check you internet connection and try again. #1"
Just wait for a day or two and start the installer again. The error message will disappear!
I have a code improvement suggestion for smartface.io:
I hope the error message never occurs in the future, but if it does you should correct the spelling: the word "you" in the error message is incorrect. It should be "your".