I have a local Sitecore instance with name sc90.local and I am trying to publish files on local instance using gulp.
Response error:
Upload failed: styles.css
Status code:503
URL: POST http://sc90.local//sitecore%20modules/PowerShell/Services/RemoteScriptCall.ashx?user=sitecore%5Cadmin&password=b&script=Foundation%5CXA%20Extensions%5CREACT%5CREACT/styles&sc_database=master&apiVersion=media&scriptDb=master
Category: Uncategorized URLs
Reason: UNKNOWN
Notification: DNS_FAIL
It is saying DNS Fail - but i have verified my local sitecore instance and it is working fine. I also checked the host file for (sc90.local) website and it is pointing to local system (127.0.0.1) My system is behind the proxy so I set the proxy values on command prompt.
the file is also located in the system:
on printing the response body on command prompt I got some html which seems like my company standard response page
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Notification: DNS Failure</title>
</head>
<body>
<div class="logo"><img src="http://proxycfg.int.COMP.ca/COMP-logo.jpg" border="0"></div><p> </p>
<div class="shadow">
<h1>This Page Cannot Be Displayed</h1>
<p>
The host name resolution (DNS lookup) for this host name
( sc90.local ) has failed. The Internet address may be misspelled or obsolete,
the host ( sc90.local ) may be temporarily unavailable,
or the DNS server may be unresponsive.
</p>
<p>
Please check the spelling of the Internet address entered.
If it is correct, try this request later.
</p>
<p><b> To Learn more about the COMP Internet Access Policy: <a href="http://its.COMP/iso/websense.htm">COMP Internet Access Policy</a> </b></p>
<p>
If you have questions, please contact
Service Desk Ext. 1234
and provide the codes shown below.
</p>
</div>
<div class="details"><p>
Date: Tue, 21 Jan 2020 09:34:59 EST<br />
Username: INTCOMPCA\username@INTCOMPCA<br />
Source IP: [my IP]<br />
URL: POST http://sc90.local//sitecore%20modules/PowerShell/Services/RemoteScriptCall.ashx?user=sitecore%5Cadmin&password=b&script=Foundation%5CXA%20Extensions%5CREACT%5CREACT/scripts&sc_database=master&apiVersion=media&scriptDb=master<br />
Category: Uncategorized URLs<br />
Reason: UNKNOWN<br />
Notification: DNS_FAIL
</p></div>
</body>
</html>