首页 > 解决方案 > 无法使用 Octave(4.4.1) 提交在线作业

问题描述

当我尝试在 coursera 中提交我的在线作业时,它显示以下错误(虽然我确实联系了导师,他们建议关闭防火墙,但它没有帮助,我也尝试了 VPN,但再次失败,谷歌搜索但仍然没有进展)

Failed to connect to www-origin.coursera.org port 443: Timed out
[error] submission with curl() was not successful

Function: submitWithConfiguration>validateResponse
FileName: C:\Users\Dhruv\Desktop\ML octave\machine-learning-ex1\ex1\lib\submitWithConfiguration.m

LineNumber: 158
function response = validateResponse(resp)
  % test if the response is json or an HTML page
  isJson = length(resp) > 0 && resp(1) == '{';
  isHtml = findstr(lower(resp), '<html');

  if (isJson)
    response = resp;
  elseif (isHtml)
    % the response is html, so it's probably an error message
    printHTMLContents(resp);
    error('Grader response is an HTML message');
  else
    error('Grader sent no response');
  end
end

请帮忙

标签: curloctave

解决方案


好吧,这很奇怪,但是,

我想通了,之前我使用我的学院网络提交作业,但是当我使用我的移动数据时,我能够提交相同的内容。我想我的学院网络一定有一些限制。


推荐阅读