kitspace / partinfo

A microservice to get information on electronic components.
https://dev-partinfo.kitspace.org/graphql
Other
36 stars 3 forks source link

Kitspace partinfo server down #22

Closed ghost closed 4 years ago

ghost commented 4 years ago

@kasbah I'm trying to use KiCost and getting a 502 Bad Gateway error for dev-partinfo.kitspace.org. Is the server down? Is this a temporary problem? Is there anything that can be done?

# Getting part data from KitSpace...
Starting new HTTPS connection (1): dev-partinfo.kitspace.org:443                                                                                                                                                                            
https://dev-partinfo.kitspace.org:443 "POST /graphql HTTP/1.1" 502 182                                                                                                                                                                      
Progress:   0%|                                                                                                                                                                                                    | 0/74 [00:00<?, ?part/s]Traceback (most recent call last):
  File "/usr/bin/kicost", line 33, in <module>
    sys.exit(load_entry_point('kicost==1.1.4', 'console_scripts', 'kicost')())
  File "/usr/lib/python3.8/site-packages/kicost/__main__.py", line 306, in main
    kicost(in_file=args.input, eda_name=args.eda,
  File "/usr/lib/python3.8/site-packages/kicost/kicost.py", line 251, in kicost
    api_partinfo_kitspace.query_part_info(parts, distributor_dict, currency)
  File "/usr/lib/python3.8/site-packages/kicost/distributors/api_partinfo_kitspace.py", line 353, in query_part_info
    get_part_info(queries[slc], query_parts[slc], query_part_stock_code[slc])
  File "/usr/lib/python3.8/site-packages/kicost/distributors/api_partinfo_kitspace.py", line 197, in get_part_info
    results = api_partinfo_kitspace.query(query, distributors)
  File "/usr/lib/python3.8/site-packages/kicost/distributors/api_partinfo_kitspace.py", line 137, in query
    raise Exception('Kitspace error: ' + str(response.status_code))
Exception: Kitspace error: 502
ghost commented 4 years ago

The server seems to be back up again for now...