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

API Request '/api/network-servers' gives an error #488

Closed
2 tasks done
NielsDWG opened this issue Jun 24, 2020 · 1 comment
Closed
2 tasks done

API Request '/api/network-servers' gives an error #488

NielsDWG opened this issue Jun 24, 2020 · 1 comment

Comments

@NielsDWG
Copy link

  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

What happened?

I tried to retrieve the network servers through the API 'http://localhost:8080/api/network-servers'. I created an API key in the Application Server Web-interface and used it for authentication. I got a 'code 5: object does not exist' result.

The strange thing here is that 'http://localhost:8080/api/network-servers/1' with the same API key does work!

I am using docker containers and the docker-compose.yml file from Chirpstack.

What did you expect?

I expected a list with network servers.

Steps to reproduce this issue

Steps:

  1. Create an API key in the Application Server Web-interface
  2. Set the JWT token as Auth (type: Bearer token) in postman.
  3. Create a postman request to endpoint: 'http://localhost:8080/api/network-servers'
  4. See the error

Could you share your log output?

image

Your Environment

Using Docker.

Component Version
Application Server 3.10.0
Network Server 3.9.0
Gateway Bridge 3.8.0
Chirpstack API ?
Geolocation -
Concentratord ?
@brocaar
Copy link
Owner

brocaar commented Aug 21, 2020

This was an AS issue. It has been fixed by brocaar/chirpstack-application-server@ed7aaa8

@brocaar brocaar closed this as completed Aug 21, 2020
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

2 participants