Эмулятор Google Cloud Functions с корпоративным прокси

В настоящее время я настраиваю свою рабочую среду для тестирования облачной платформы Google на проекте компании.

Безусловно, мне удалось развернуть функции на данной облачной платформе и использовать их в хорошем состоянии. Я хотел, чтобы на моем компьютере работал локальный эмулятор, поэтому я попытался установить его с этим руководством

Но я столкнулся с проблемой сразу после того, как захотел запустить эмулятор с "запуском функций":

C:\Users\David>functions start
Starting Google Cloud Functions Emulator...
Google Cloud Functions Emulator STARTED
ERROR: Error: <!--# Id: internetaccess.html 115044 2016-03-18 17:59:46Z szhang -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<meta name="description" content="Zscaler makes the internet safe for businesses by protecting their employees from malware, viruses, and other security threats.">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Internet Security by Zscaler</title>
<script language="JavaScript">var defLang = 'en_US'</script>
<!--Decathlon_Corp-->

// I cut the style tag here


<![endif]-->
<div class="pg red">
<div class="pg_cont">
<div id="logo_container" class="logo_container">
<table id="logo" width="50%" cellspacing="0" cellpadding="0" border="0" align="center">
<tbody>
<tr align="center">
<td align="center" class="bh">
<img src="https://login.zscaler.net:443/__zsig/ScnVnqvF2T5M6" /></td></tr>
</tbody></table></div>
<table class="m_tbl" cellpadding="0" cellspacing="0" align="center">
<tbody><tr>
<td height="100" valign="top" style="position:relative;">
<div class="uq_cd">D22</div>
<!--locale en_US-->
<table id="en_US" width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody><tr><td class="eu_h">
<i class="a_i"></i>
Sorry, you don't have permission to visit this site.
</td></tr>
<tr><td class="hr"><hr></td></tr>
<tr><td class="eu_co">
<b><div align="left">En effet, il est soit illégal, soit dangereux pour notre système d'information, soit hors valeur de l'entreprise.
<br>Pour plus d'information sur les raisons de ce blocage, tu peux relire la charte informatique en vigueur dans ton pays ou les "carrés rouges" (en l'absence de charte).</br>
<br>En cas de besoin, tu peux contacter ton assistance informatique..</br></div>
<div align="left"><P>It is illegal or dangerous for our information system or not in the values of the group.
<br>For more information about this notification, you can read the IT Charter of your country or the “red card” (in case of absence of charter)</br>
<br><a onclick="history.back(-2);">Retour à la page précedente / Back</a></br>
<br>In case of need, you can contact your helpdesk.</br></P></div></b>
</td></tr>
<tr><td class="eu_co rsn">
Denied
</td></tr>
<tr><td class="eu_co">
You tried to visit:<div class="eu_l"><a href="http://localhost:8008/$discovery/rest?version=v1beta2">http://localhost:8008/$discovery/rest?version=v1beta2</a></div>
</td></tr><tr>
<td class="hr"><hr></td>
</tr>
<tr><td class="eu_co fo">
</td></tr>
<tr><td class="eu_co st">
<span class="s_img"></span>
Your organization has selected Zscaler to protect you from internet threats.
</td></tr>
</tbody></table>
<!--/locale en_US-->
</td></tr>
</tbody></table>
</div>
</div>
</body></html>
<!-- 0 0 1 0 1513847248 32 http://localhost:8008/$discovery/rest?version=v1beta2 -->
    at new RequestError (C:\Users\David\AppData\Roaming\npm\node_modules\@google-cloud\functions-emulator\node_modules\google-auth-library\lib\transporters.js:34:42)
    at Request._callback (C:\Users\David\AppData\Roaming\npm\node_modules\@google-cloud\functions-emulator\node_modules\google-auth-library\lib\transporters.js:108:23)
    at Request.self.callback (C:\Users\David\AppData\Roaming\npm\node_modules\@google-cloud\functions-emulator\node_modules\request\request.js:186:22)
    at emitTwo (events.js:126:13)
    at Request.emit (events.js:214:7)
    at Request.<anonymous> (C:\Users\David\AppData\Roaming\npm\node_modules\@google-cloud\functions-emulator\node_modules\request\request.js:1163:10)
    at emitOne (events.js:116:13)
    at Request.emit (events.js:211:7)
    at IncomingMessage.<anonymous> (C:\Users\David\AppData\Roaming\npm\node_modules\@google-cloud\functions-emulator\node_modules\request\request.js:1085:12)
    at Object.onceWrapper (events.js:313:30)

Я уже пытался установить прокси на уровне конфигурации узла и на уровне системы.

Попробовал переустановить полностью узел на моем компьютере, но не понял, чего мне не хватало.

(просто чтобы знать, что я нахожусь на окнах)

Заранее спасибо за любую информацию.

0 ответов

Другие вопросы по тегам