Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error after registered service with dss #4

Open
8 tasks done
0x00A0 opened this issue Apr 9, 2023 · 0 comments
Open
8 tasks done

Error after registered service with dss #4

0x00A0 opened this issue Apr 9, 2023 · 0 comments

Comments

@0x00A0
Copy link

0x00A0 commented Apr 9, 2023

Brief description of bug

Self-Diagnosis

  • I have reviewed the documentation.
  • I have reviewed the Wiki.
  • I have tried to use the latest version.
  • I have searched the issues for an answer to my question.
  • I have searched the web for an answer to my question.

Environment

  • Operating System: Windows 11
  • ITK-Snap version: 4.0.0 Feb 20 2023
  • Docker Desktop Version: v4.17.1 @ WSL2

Steps to Reproduce the Issue

Just follow the document https://alfabis-server.readthedocs.io/en/latest/service_quick_start.html#register-your-service-with-dss

Finally, we will register our service with DSS:

itksnap-wt -dssa-providers-services-add testlab https://github.com/your_github_userid/my_little_dss_test master

It worked but then when I visited the services page http://localhost:8080/services, it showed me a "internal server error", and the console showed debug info below:

alfabis_server-app-1      | 172.19.0.1:39304 - - [09/Apr/2023 07:13:45] "HTTP/1.1 GET /api/login" - 200 OK
alfabis_server-app-1      | 172.19.0.1:39320 - - [09/Apr/2023 07:13:45] "HTTP/1.1 GET /api/services" - 200 OK
alfabis_server-app-1      | 172.19.0.1:39324 - - [09/Apr/2023 07:13:46] "HTTP/1.1 GET /api/tickets" - 200 OK
alfabis_server-app-1      | 172.19.0.1:39334 - - [09/Apr/2023 07:13:46] "HTTP/1.1 GET /api/services/f8e3982be2f29d8c02e807b8081bbb6491f6d9ab/detail" - 200 OK
alfabis_server-app-1      | Traceback (most recent call last):
alfabis_server-app-1      |   File "/usr/local/lib/python2.7/site-packages/web/application.py", line 290, in process
alfabis_server-app-1      |     return self.handle()
alfabis_server-app-1      |   File "/usr/local/lib/python2.7/site-packages/web/application.py", line 281, in handle
alfabis_server-app-1      |     return self._delegate(fn, self.fvars, args)
alfabis_server-app-1      |   File "/usr/local/lib/python2.7/site-packages/web/application.py", line 531, in _delegate
alfabis_server-app-1      |     return handle_class(cls)
alfabis_server-app-1      |   File "/usr/local/lib/python2.7/site-packages/web/application.py", line 509, in handle_class
alfabis_server-app-1      |     return tocall(*args)
alfabis_server-app-1      |   File "app.py", line 333, in GET
alfabis_server-app-1      |     s['url'] = j['url'];
alfabis_server-app-1      | KeyError: 'url'
alfabis_server-app-1      |
alfabis_server-app-1      | 172.19.0.1:39134 - - [09/Apr/2023 07:17:01] "HTTP/1.1 GET /services" - 500 Internal Server Error

My config repo is https://github.com/0x00A0/dss_service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant