Hi
I have problem with shipify module , 4 days not updated , last shopify log show bellow error :
Shopify Log
Job exceeded maximum timeout value (300 seconds)
Status
Error
Method
sync_shopify_items
Message
Traceback (most recent call last):
File "/home/frappe/frappe-bench/apps/erpnext_shopify/erpnext_shopify/sync_products.py", line 535, in update_item_stock_qty
update_item_stock(item.item_code, shopify_settings)
File "/home/frappe/frappe-bench/apps/erpnext_shopify/erpnext_shopify/sync_products.py", line 569, in update_item_stock
put_request(resource, item_data)
File "/home/frappe/frappe-bench/apps/erpnext_shopify/erpnext_shopify/shopify_requests.py", line 52, in put_request
r = s.put(url, data=json.dumps(data), headers=get_header(settings))
File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/requests/sessions.py", line 528, in put
return self.request('PUT', url, data=data, **kwargs)
File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/requests/sessions.py", line 475, in request
resp = self.send(prep, **send_kwargs)
File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/requests/sessions.py", line 585, in send
r = adapter.send(request, **kwargs)
File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/requests/adapters.py", line 403, in send
timeout=timeout
File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 578, in urlopen
chunked=chunked)
File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 351, in _make_request
self._validate_conn(conn)
File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 814, in _validate_conn
conn.connect()
File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/requests/packages/urllib3/connection.py", line 289, in connect
ssl_version=resolved_ssl_version)
File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/requests/packages/urllib3/contrib/pyopenssl.py", line 348, in ssl_wrap_socket
cnx.do_handshake()
File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/OpenSSL/SSL.py", line 1442, in do_handshake
result = _lib.SSL_do_handshake(self._ssl)
File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/rq/timeouts.py", line 51, in handle_death_penalty
'value ({0} seconds)'.format(self._timeout))
JobTimeoutException: Job exceeded maximum timeout value (300 seconds)
Request Data
{"name": "LGS308", "item_code": "LGS308"}
in bench doctor show :
frappe@ERP2:~/frappe-bench$ bench doctor
-----Checking scheduler status-----
Workers online: 2
-----None Jobs-----
Queue: long
Number of Jobs: 208
Methods:
frappe.integrations.doctype.dropbox_backup.dropbox_backup.take_backups_daily : 4
erpnext_shopify.api.sync_shopify_resources : 204
------------
Last time i had same issue , i restart server and delete shopify log , problem solved for 2 - 3 days worded , again after 2 -3 days same issue happened , with other item name .
i use last version of erpnext and shopify , what is this problem ?
Regards