{
  "id": 350487,
  "title": "Reply using API submission from Saturn Cloud",
  "url": "/competitions/open-problems-multimodal/discussion/350487",
  "author_name": "",
  "post_date": "2022-09-05T23:54:27.452358Z",
  "votes": 1,
  "comment_count": 6,
  "views": 0,
  "content": "<p>Hello everybody, I tried using API submission from Saturn Cloud, but I got an error I don't know what is my problem, If anyone has used API from Saturn Cloud without any problem please help us. </p>\n<pre><code>USER_SECRET = private_kaggle_api_token # REPLACE WITH YOUR OWN PRIVATE API TOKEN\nimport os, json, nbformat, pandas as pd\nKAGGLE_CONFIG_DIR = os.path.join(os.path.expandvars('$HOME'), '/kaggle/working')\n#also I tired this\n#KAGGLE_CONFIG_DIR = os.path.join(os.path.expandvars('$HOME'), '.kaggle')\nos.makedirs(KAGGLE_CONFIG_DIR, exist_ok = True)\nwith open(os.path.join(KAGGLE_CONFIG_DIR, 'kaggle.json'), 'w') as f:\n    json.dump({'username': USER_ID, 'key': USER_SECRET}, f)\n!chmod 600 {KAGGLE_CONFIG_DIR}/kaggle.json\n!kaggle competitions submit -c open-problems-multimodal -f \"/kaggle/working/submission_CITEseq_keras_part_001.csv\" -m \"submission_CITEseq_keras_part_001\"\n</code></pre>\n<p>my error is like this </p>\n<pre><code>100%|██████████████████████████████████████| 1.24G/1.24G [09:19&lt;00:00, 2.38MB/s]\nTraceback (most recent call last):\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n    httplib_response = self._make_request(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 449, in _make_request\n    six.raise_from(e, None)\n  File \"&lt;string&gt;\", line 3, in raise_from\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 444, in _make_request\n    httplib_response = conn.getresponse()\n  File \"/srv/conda/envs/saturn/lib/python3.9/http/client.py\", line 1377, in getresponse\n    response.begin()\n  File \"/srv/conda/envs/saturn/lib/python3.9/http/client.py\", line 320, in begin\n    version, status, reason = self._read_status()\n  File \"/srv/conda/envs/saturn/lib/python3.9/http/client.py\", line 281, in _read_status\n    line = str(self.fp.readline(_MAXLINE + 1), \"iso-8859-1\")\n  File \"/srv/conda/envs/saturn/lib/python3.9/socket.py\", line 704, in readinto\n    return self._sock.recv_into(b)\n  File \"/srv/conda/envs/saturn/lib/python3.9/ssl.py\", line 1241, in recv_into\n    return self.read(nbytes, buffer)\n  File \"/srv/conda/envs/saturn/lib/python3.9/ssl.py\", line 1099, in read\n    return self._sslobj.read(len, buffer)\nConnectionResetError: [Errno 104] Connection reset by peer\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"/srv/conda/envs/saturn/bin/kaggle\", line 8, in &lt;module&gt;\n    sys.exit(main())\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/cli.py\", line 67, in main\n    out = args.func(**command_args)\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/api/kaggle_api_extended.py\", line 561, in competition_submit_cli\n    submit_result = self.competition_submit(file_name, message,\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/api/kaggle_api_extended.py\", line 541, in competition_submit\n    self.competitions_submissions_submit_with_http_info(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/api/kaggle_api.py\", line 808, in competitions_submissions_submit_with_http_info\n    return self.api_client.call_api(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/api_client.py\", line 329, in call_api\n    return self.__call_api(resource_path, method,\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/api_client.py\", line 161, in __call_api\n    response_data = self.request(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/api_client.py\", line 371, in request\n    return self.rest_client.POST(url,\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/rest.py\", line 282, in POST\n    return self.request(\"POST\", url,\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/rest.py\", line 194, in request\n    r = self.pool_manager.request(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/request.py\", line 78, in request\n    return self.request_encode_body(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/request.py\", line 170, in request_encode_body\n    return self.urlopen(method, url, **extra_kw)\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/poolmanager.py\", line 376, in urlopen\n    response = conn.urlopen(method, u.request_uri, **kw)\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n    retries = retries.increment(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/util/retry.py\", line 550, in increment\n    raise six.reraise(type(error), error, _stacktrace)\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/packages/six.py\", line 769, in reraise\n    raise value.with_traceback(tb)\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n    httplib_response = self._make_request(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 449, in _make_request\n    six.raise_from(e, None)\n  File \"&lt;string&gt;\", line 3, in raise_from\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 444, in _make_request\n    httplib_response = conn.getresponse()\n  File \"/srv/conda/envs/saturn/lib/python3.9/http/client.py\", line 1377, in getresponse\n    response.begin()\n  File \"/srv/conda/envs/saturn/lib/python3.9/http/client.py\", line 320, in begin\n    version, status, reason = self._read_status()\n  File \"/srv/conda/envs/saturn/lib/python3.9/http/client.py\", line 281, in _read_status\n    line = str(self.fp.readline(_MAXLINE + 1), \"iso-8859-1\")\n  File \"/srv/conda/envs/saturn/lib/python3.9/socket.py\", line 704, in readinto\n    return self._sock.recv_into(b)\n  File \"/srv/conda/envs/saturn/lib/python3.9/ssl.py\", line 1241, in recv_into\n    return self.read(nbytes, buffer)\n  File \"/srv/conda/envs/saturn/lib/python3.9/ssl.py\", line 1099, in read\n    return self._sslobj.read(len, buffer)\nurllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))\n</code></pre>",
  "messages": [
    {
      "id": "1927741",
      "postDate": "09/05/2022 23:54:27",
      "content": "<p>Hello everybody, I tried using API submission from Saturn Cloud, but I got an error I don't know what is my problem, If anyone has used API from Saturn Cloud without any problem please help us. </p>\n<pre><code>USER_SECRET = private_kaggle_api_token # REPLACE WITH YOUR OWN PRIVATE API TOKEN\nimport os, json, nbformat, pandas as pd\nKAGGLE_CONFIG_DIR = os.path.join(os.path.expandvars('$HOME'), '/kaggle/working')\n#also I tired this\n#KAGGLE_CONFIG_DIR = os.path.join(os.path.expandvars('$HOME'), '.kaggle')\nos.makedirs(KAGGLE_CONFIG_DIR, exist_ok = True)\nwith open(os.path.join(KAGGLE_CONFIG_DIR, 'kaggle.json'), 'w') as f:\n    json.dump({'username': USER_ID, 'key': USER_SECRET}, f)\n!chmod 600 {KAGGLE_CONFIG_DIR}/kaggle.json\n!kaggle competitions submit -c open-problems-multimodal -f \"/kaggle/working/submission_CITEseq_keras_part_001.csv\" -m \"submission_CITEseq_keras_part_001\"\n</code></pre>\n<p>my error is like this </p>\n<pre><code>100%|██████████████████████████████████████| 1.24G/1.24G [09:19&lt;00:00, 2.38MB/s]\nTraceback (most recent call last):\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n    httplib_response = self._make_request(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 449, in _make_request\n    six.raise_from(e, None)\n  File \"&lt;string&gt;\", line 3, in raise_from\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 444, in _make_request\n    httplib_response = conn.getresponse()\n  File \"/srv/conda/envs/saturn/lib/python3.9/http/client.py\", line 1377, in getresponse\n    response.begin()\n  File \"/srv/conda/envs/saturn/lib/python3.9/http/client.py\", line 320, in begin\n    version, status, reason = self._read_status()\n  File \"/srv/conda/envs/saturn/lib/python3.9/http/client.py\", line 281, in _read_status\n    line = str(self.fp.readline(_MAXLINE + 1), \"iso-8859-1\")\n  File \"/srv/conda/envs/saturn/lib/python3.9/socket.py\", line 704, in readinto\n    return self._sock.recv_into(b)\n  File \"/srv/conda/envs/saturn/lib/python3.9/ssl.py\", line 1241, in recv_into\n    return self.read(nbytes, buffer)\n  File \"/srv/conda/envs/saturn/lib/python3.9/ssl.py\", line 1099, in read\n    return self._sslobj.read(len, buffer)\nConnectionResetError: [Errno 104] Connection reset by peer\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"/srv/conda/envs/saturn/bin/kaggle\", line 8, in &lt;module&gt;\n    sys.exit(main())\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/cli.py\", line 67, in main\n    out = args.func(**command_args)\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/api/kaggle_api_extended.py\", line 561, in competition_submit_cli\n    submit_result = self.competition_submit(file_name, message,\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/api/kaggle_api_extended.py\", line 541, in competition_submit\n    self.competitions_submissions_submit_with_http_info(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/api/kaggle_api.py\", line 808, in competitions_submissions_submit_with_http_info\n    return self.api_client.call_api(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/api_client.py\", line 329, in call_api\n    return self.__call_api(resource_path, method,\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/api_client.py\", line 161, in __call_api\n    response_data = self.request(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/api_client.py\", line 371, in request\n    return self.rest_client.POST(url,\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/rest.py\", line 282, in POST\n    return self.request(\"POST\", url,\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/rest.py\", line 194, in request\n    r = self.pool_manager.request(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/request.py\", line 78, in request\n    return self.request_encode_body(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/request.py\", line 170, in request_encode_body\n    return self.urlopen(method, url, **extra_kw)\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/poolmanager.py\", line 376, in urlopen\n    response = conn.urlopen(method, u.request_uri, **kw)\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n    retries = retries.increment(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/util/retry.py\", line 550, in increment\n    raise six.reraise(type(error), error, _stacktrace)\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/packages/six.py\", line 769, in reraise\n    raise value.with_traceback(tb)\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n    httplib_response = self._make_request(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 449, in _make_request\n    six.raise_from(e, None)\n  File \"&lt;string&gt;\", line 3, in raise_from\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 444, in _make_request\n    httplib_response = conn.getresponse()\n  File \"/srv/conda/envs/saturn/lib/python3.9/http/client.py\", line 1377, in getresponse\n    response.begin()\n  File \"/srv/conda/envs/saturn/lib/python3.9/http/client.py\", line 320, in begin\n    version, status, reason = self._read_status()\n  File \"/srv/conda/envs/saturn/lib/python3.9/http/client.py\", line 281, in _read_status\n    line = str(self.fp.readline(_MAXLINE + 1), \"iso-8859-1\")\n  File \"/srv/conda/envs/saturn/lib/python3.9/socket.py\", line 704, in readinto\n    return self._sock.recv_into(b)\n  File \"/srv/conda/envs/saturn/lib/python3.9/ssl.py\", line 1241, in recv_into\n    return self.read(nbytes, buffer)\n  File \"/srv/conda/envs/saturn/lib/python3.9/ssl.py\", line 1099, in read\n    return self._sslobj.read(len, buffer)\nurllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))\n</code></pre>",
      "rawMarkdown": "Hello everybody, I tried using API submission from Saturn Cloud, but I got an error I don't know what is my problem, If anyone has used API from Saturn Cloud without any problem please help us. \n```\nUSER_SECRET = private_kaggle_api_token # REPLACE WITH YOUR OWN PRIVATE API TOKEN\nimport os, json, nbformat, pandas as pd\nKAGGLE_CONFIG_DIR = os.path.join(os.path.expandvars('$HOME'), '/kaggle/working')\n#also I tired this\n#KAGGLE_CONFIG_DIR = os.path.join(os.path.expandvars('$HOME'), '.kaggle')\nos.makedirs(KAGGLE_CONFIG_DIR, exist_ok = True)\nwith open(os.path.join(KAGGLE_CONFIG_DIR, 'kaggle.json'), 'w') as f:\n    json.dump({'username': USER_ID, 'key': USER_SECRET}, f)\n!chmod 600 {KAGGLE_CONFIG_DIR}/kaggle.json\n!kaggle competitions submit -c open-problems-multimodal -f \"/kaggle/working/submission_CITEseq_keras_part_001.csv\" -m \"submission_CITEseq_keras_part_001\"\n```\nmy error is like this \n```\n100%|██████████████████████████████████████| 1.24G/1.24G [09:19<00:00, 2.38MB/s]\nTraceback (most recent call last):\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n    httplib_response = self._make_request(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 449, in _make_request\n    six.raise_from(e, None)\n  File \"<string>\", line 3, in raise_from\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 444, in _make_request\n    httplib_response = conn.getresponse()\n  File \"/srv/conda/envs/saturn/lib/python3.9/http/client.py\", line 1377, in getresponse\n    response.begin()\n  File \"/srv/conda/envs/saturn/lib/python3.9/http/client.py\", line 320, in begin\n    version, status, reason = self._read_status()\n  File \"/srv/conda/envs/saturn/lib/python3.9/http/client.py\", line 281, in _read_status\n    line = str(self.fp.readline(_MAXLINE + 1), \"iso-8859-1\")\n  File \"/srv/conda/envs/saturn/lib/python3.9/socket.py\", line 704, in readinto\n    return self._sock.recv_into(b)\n  File \"/srv/conda/envs/saturn/lib/python3.9/ssl.py\", line 1241, in recv_into\n    return self.read(nbytes, buffer)\n  File \"/srv/conda/envs/saturn/lib/python3.9/ssl.py\", line 1099, in read\n    return self._sslobj.read(len, buffer)\nConnectionResetError: [Errno 104] Connection reset by peer\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"/srv/conda/envs/saturn/bin/kaggle\", line 8, in <module>\n    sys.exit(main())\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/cli.py\", line 67, in main\n    out = args.func(**command_args)\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/api/kaggle_api_extended.py\", line 561, in competition_submit_cli\n    submit_result = self.competition_submit(file_name, message,\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/api/kaggle_api_extended.py\", line 541, in competition_submit\n    self.competitions_submissions_submit_with_http_info(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/api/kaggle_api.py\", line 808, in competitions_submissions_submit_with_http_info\n    return self.api_client.call_api(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/api_client.py\", line 329, in call_api\n    return self.__call_api(resource_path, method,\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/api_client.py\", line 161, in __call_api\n    response_data = self.request(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/api_client.py\", line 371, in request\n    return self.rest_client.POST(url,\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/rest.py\", line 282, in POST\n    return self.request(\"POST\", url,\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/rest.py\", line 194, in request\n    r = self.pool_manager.request(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/request.py\", line 78, in request\n    return self.request_encode_body(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/request.py\", line 170, in request_encode_body\n    return self.urlopen(method, url, **extra_kw)\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/poolmanager.py\", line 376, in urlopen\n    response = conn.urlopen(method, u.request_uri, **kw)\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n    retries = retries.increment(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/util/retry.py\", line 550, in increment\n    raise six.reraise(type(error), error, _stacktrace)\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/packages/six.py\", line 769, in reraise\n    raise value.with_traceback(tb)\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n    httplib_response = self._make_request(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 449, in _make_request\n    six.raise_from(e, None)\n  File \"<string>\", line 3, in raise_from\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 444, in _make_request\n    httplib_response = conn.getresponse()\n  File \"/srv/conda/envs/saturn/lib/python3.9/http/client.py\", line 1377, in getresponse\n    response.begin()\n  File \"/srv/conda/envs/saturn/lib/python3.9/http/client.py\", line 320, in begin\n    version, status, reason = self._read_status()\n  File \"/srv/conda/envs/saturn/lib/python3.9/http/client.py\", line 281, in _read_status\n    line = str(self.fp.readline(_MAXLINE + 1), \"iso-8859-1\")\n  File \"/srv/conda/envs/saturn/lib/python3.9/socket.py\", line 704, in readinto\n    return self._sock.recv_into(b)\n  File \"/srv/conda/envs/saturn/lib/python3.9/ssl.py\", line 1241, in recv_into\n    return self.read(nbytes, buffer)\n  File \"/srv/conda/envs/saturn/lib/python3.9/ssl.py\", line 1099, in read\n    return self._sslobj.read(len, buffer)\nurllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))\n\n```",
      "votes": null
    },
    {
      "id": "1927768",
      "postDate": "09/06/2022 01:15:36",
      "content": "<p>Sorry that I can not help you. But I have the same trouble.<br>\n<a href=\"https://www.kaggle.com/competitions/open-problems-multimodal/discussion/346999\" target=\"_blank\">I also posted the trouble here several days ago</a></p>\n<p>The error occurs even for sample submission provided by the competition host.<br>\nkaggle c submit open-problems-multimodal -f ../input/open-problems-multimodal/sample_submission.csv -m \"saturn submission test\"</p>",
      "rawMarkdown": "Sorry that I can not help you. But I have the same trouble.\n[I also posted the trouble here several days ago](https://www.kaggle.com/competitions/open-problems-multimodal/discussion/346999)\n\nThe error occurs even for sample submission provided by the competition host.\nkaggle c submit open-problems-multimodal -f ../input/open-problems-multimodal/sample_submission.csv -m \"saturn submission test\"",
      "votes": null
    },
    {
      "id": "1928384",
      "postDate": "09/06/2022 13:03:42",
      "content": "<p>Thanks <strong>Konomu Abe</strong>, I think the problem is from API when we have the large size (1GB), so I will try to create data submission for each submission from Saturn Cloud</p>",
      "rawMarkdown": "Thanks **Konomu Abe**, I think the problem is from API when we have the large size (1GB), so I will try to create data submission for each submission from Saturn Cloud",
      "votes": null
    },
    {
      "id": "1928572",
      "postDate": "09/06/2022 14:23:40",
      "content": "<p>I got the same error, I think the problem is about the access to the internet in Saturn Cloud Notebook.<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F7234856%2Fb130581d268dff2d4cd0b97f8977ba32%2Fa.png?generation=1662474210504966&amp;alt=media\" alt=\"like this \"></p>",
      "rawMarkdown": "I got the same error, I think the problem is about the access to the internet in Saturn Cloud Notebook.\n![like this ](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F7234856%2Fb130581d268dff2d4cd0b97f8977ba32%2Fa.png?generation=1662474210504966&alt=media)",
      "votes": null
    },
    {
      "id": "1929263",
      "postDate": "09/06/2022 23:53:11",
      "content": "<p>Thank you BOOBA.<br>\nBut I could not find the internet option shown in the above image in Saturn Cloud Notebook. Could you give me a bit more information on where I can find it?<br>\nBy the way, I can download  using Kaggle API on Saturn Cloud, like<br>\n kaggle c download -c titanic<br>\nSo, I think Internet is enabled. But still, I can not submit sample submission.<br>\nCould you succeed in submission from Saturn Cloud finally?</p>",
      "rawMarkdown": "Thank you BOOBA.\nBut I could not find the internet option shown in the above image in Saturn Cloud Notebook. Could you give me a bit more information on where I can find it?\nBy the way, I can download  using Kaggle API on Saturn Cloud, like\n kaggle c download -c titanic\nSo, I think Internet is enabled. But still, I can not submit sample submission.\nCould you succeed in submission from Saturn Cloud finally?",
      "votes": null
    },
    {
      "id": "1929294",
      "postDate": "09/07/2022 00:39:55",
      "content": "<p>You can't create new data or submit from Saturn Cloud now, I sent them my problem, and they replied that they will find out where the problem is and they will write a sample script of API submission from Saturn Cloud as soon.<br>\nNow you should download your submission to the local machine, and after that use API to submit before finding the solution to that problem.</p>",
      "rawMarkdown": "You can't create new data or submit from Saturn Cloud now, I sent them my problem, and they replied that they will find out where the problem is and they will write a sample script of API submission from Saturn Cloud as soon.\nNow you should download your submission to the local machine, and after that use API to submit before finding the solution to that problem.",
      "votes": null
    },
    {
      "id": "1929347",
      "postDate": "09/07/2022 02:17:22",
      "content": "<p>Thank you.</p>",
      "rawMarkdown": "Thank you.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1927768,
      "author_name": "konomuabe",
      "author_url": "",
      "post_date": "09/06/2022 01:15:36",
      "content": "<p>Sorry that I can not help you. But I have the same trouble.<br>\n<a href=\"https://www.kaggle.com/competitions/open-problems-multimodal/discussion/346999\" target=\"_blank\">I also posted the trouble here several days ago</a></p>\n<p>The error occurs even for sample submission provided by the competition host.<br>\nkaggle c submit open-problems-multimodal -f ../input/open-problems-multimodal/sample_submission.csv -m \"saturn submission test\"</p>",
      "votes": null,
      "replies": [
        {
          "id": 1928384,
          "author_name": "youneseloiarm",
          "author_url": "",
          "post_date": "09/06/2022 13:03:42",
          "content": "<p>Thanks <strong>Konomu Abe</strong>, I think the problem is from API when we have the large size (1GB), so I will try to create data submission for each submission from Saturn Cloud</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1928572,
          "author_name": "youneseloiarm",
          "author_url": "",
          "post_date": "09/06/2022 14:23:40",
          "content": "<p>I got the same error, I think the problem is about the access to the internet in Saturn Cloud Notebook.<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F7234856%2Fb130581d268dff2d4cd0b97f8977ba32%2Fa.png?generation=1662474210504966&amp;alt=media\" alt=\"like this \"></p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1929263,
          "author_name": "konomuabe",
          "author_url": "",
          "post_date": "09/06/2022 23:53:11",
          "content": "<p>Thank you BOOBA.<br>\nBut I could not find the internet option shown in the above image in Saturn Cloud Notebook. Could you give me a bit more information on where I can find it?<br>\nBy the way, I can download  using Kaggle API on Saturn Cloud, like<br>\n kaggle c download -c titanic<br>\nSo, I think Internet is enabled. But still, I can not submit sample submission.<br>\nCould you succeed in submission from Saturn Cloud finally?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1929294,
          "author_name": "youneseloiarm",
          "author_url": "",
          "post_date": "09/07/2022 00:39:55",
          "content": "<p>You can't create new data or submit from Saturn Cloud now, I sent them my problem, and they replied that they will find out where the problem is and they will write a sample script of API submission from Saturn Cloud as soon.<br>\nNow you should download your submission to the local machine, and after that use API to submit before finding the solution to that problem.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1929347,
          "author_name": "konomuabe",
          "author_url": "",
          "post_date": "09/07/2022 02:17:22",
          "content": "<p>Thank you.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1927741": "Hello everybody, I tried using API submission from Saturn Cloud, but I got an error I don't know what is my problem, If anyone has used API from Saturn Cloud without any problem please help us. \n```\nUSER_SECRET = private_kaggle_api_token # REPLACE WITH YOUR OWN PRIVATE API TOKEN\nimport os, json, nbformat, pandas as pd\nKAGGLE_CONFIG_DIR = os.path.join(os.path.expandvars('$HOME'), '/kaggle/working')\n#also I tired this\n#KAGGLE_CONFIG_DIR = os.path.join(os.path.expandvars('$HOME'), '.kaggle')\nos.makedirs(KAGGLE_CONFIG_DIR, exist_ok = True)\nwith open(os.path.join(KAGGLE_CONFIG_DIR, 'kaggle.json'), 'w') as f:\n    json.dump({'username': USER_ID, 'key': USER_SECRET}, f)\n!chmod 600 {KAGGLE_CONFIG_DIR}/kaggle.json\n!kaggle competitions submit -c open-problems-multimodal -f \"/kaggle/working/submission_CITEseq_keras_part_001.csv\" -m \"submission_CITEseq_keras_part_001\"\n```\nmy error is like this \n```\n100%|██████████████████████████████████████| 1.24G/1.24G [09:19<00:00, 2.38MB/s]\nTraceback (most recent call last):\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n    httplib_response = self._make_request(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 449, in _make_request\n    six.raise_from(e, None)\n  File \"<string>\", line 3, in raise_from\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 444, in _make_request\n    httplib_response = conn.getresponse()\n  File \"/srv/conda/envs/saturn/lib/python3.9/http/client.py\", line 1377, in getresponse\n    response.begin()\n  File \"/srv/conda/envs/saturn/lib/python3.9/http/client.py\", line 320, in begin\n    version, status, reason = self._read_status()\n  File \"/srv/conda/envs/saturn/lib/python3.9/http/client.py\", line 281, in _read_status\n    line = str(self.fp.readline(_MAXLINE + 1), \"iso-8859-1\")\n  File \"/srv/conda/envs/saturn/lib/python3.9/socket.py\", line 704, in readinto\n    return self._sock.recv_into(b)\n  File \"/srv/conda/envs/saturn/lib/python3.9/ssl.py\", line 1241, in recv_into\n    return self.read(nbytes, buffer)\n  File \"/srv/conda/envs/saturn/lib/python3.9/ssl.py\", line 1099, in read\n    return self._sslobj.read(len, buffer)\nConnectionResetError: [Errno 104] Connection reset by peer\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"/srv/conda/envs/saturn/bin/kaggle\", line 8, in <module>\n    sys.exit(main())\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/cli.py\", line 67, in main\n    out = args.func(**command_args)\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/api/kaggle_api_extended.py\", line 561, in competition_submit_cli\n    submit_result = self.competition_submit(file_name, message,\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/api/kaggle_api_extended.py\", line 541, in competition_submit\n    self.competitions_submissions_submit_with_http_info(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/api/kaggle_api.py\", line 808, in competitions_submissions_submit_with_http_info\n    return self.api_client.call_api(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/api_client.py\", line 329, in call_api\n    return self.__call_api(resource_path, method,\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/api_client.py\", line 161, in __call_api\n    response_data = self.request(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/api_client.py\", line 371, in request\n    return self.rest_client.POST(url,\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/rest.py\", line 282, in POST\n    return self.request(\"POST\", url,\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/kaggle/rest.py\", line 194, in request\n    r = self.pool_manager.request(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/request.py\", line 78, in request\n    return self.request_encode_body(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/request.py\", line 170, in request_encode_body\n    return self.urlopen(method, url, **extra_kw)\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/poolmanager.py\", line 376, in urlopen\n    response = conn.urlopen(method, u.request_uri, **kw)\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n    retries = retries.increment(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/util/retry.py\", line 550, in increment\n    raise six.reraise(type(error), error, _stacktrace)\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/packages/six.py\", line 769, in reraise\n    raise value.with_traceback(tb)\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n    httplib_response = self._make_request(\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 449, in _make_request\n    six.raise_from(e, None)\n  File \"<string>\", line 3, in raise_from\n  File \"/srv/conda/envs/saturn/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 444, in _make_request\n    httplib_response = conn.getresponse()\n  File \"/srv/conda/envs/saturn/lib/python3.9/http/client.py\", line 1377, in getresponse\n    response.begin()\n  File \"/srv/conda/envs/saturn/lib/python3.9/http/client.py\", line 320, in begin\n    version, status, reason = self._read_status()\n  File \"/srv/conda/envs/saturn/lib/python3.9/http/client.py\", line 281, in _read_status\n    line = str(self.fp.readline(_MAXLINE + 1), \"iso-8859-1\")\n  File \"/srv/conda/envs/saturn/lib/python3.9/socket.py\", line 704, in readinto\n    return self._sock.recv_into(b)\n  File \"/srv/conda/envs/saturn/lib/python3.9/ssl.py\", line 1241, in recv_into\n    return self.read(nbytes, buffer)\n  File \"/srv/conda/envs/saturn/lib/python3.9/ssl.py\", line 1099, in read\n    return self._sslobj.read(len, buffer)\nurllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))\n\n```",
    "1927768": "Sorry that I can not help you. But I have the same trouble.\n[I also posted the trouble here several days ago](https://www.kaggle.com/competitions/open-problems-multimodal/discussion/346999)\n\nThe error occurs even for sample submission provided by the competition host.\nkaggle c submit open-problems-multimodal -f ../input/open-problems-multimodal/sample_submission.csv -m \"saturn submission test\"",
    "1928384": "Thanks **Konomu Abe**, I think the problem is from API when we have the large size (1GB), so I will try to create data submission for each submission from Saturn Cloud",
    "1928572": "I got the same error, I think the problem is about the access to the internet in Saturn Cloud Notebook.\n![like this ](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F7234856%2Fb130581d268dff2d4cd0b97f8977ba32%2Fa.png?generation=1662474210504966&alt=media)",
    "1929263": "Thank you BOOBA.\nBut I could not find the internet option shown in the above image in Saturn Cloud Notebook. Could you give me a bit more information on where I can find it?\nBy the way, I can download  using Kaggle API on Saturn Cloud, like\n kaggle c download -c titanic\nSo, I think Internet is enabled. But still, I can not submit sample submission.\nCould you succeed in submission from Saturn Cloud finally?",
    "1929294": "You can't create new data or submit from Saturn Cloud now, I sent them my problem, and they replied that they will find out where the problem is and they will write a sample script of API submission from Saturn Cloud as soon.\nNow you should download your submission to the local machine, and after that use API to submit before finding the solution to that problem.",
    "1929347": "Thank you."
  },
  "source": "meta"
}