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

[Bug]: '404 Not Found' in Remote Access Client #3039

Closed
1 task done
Cheezzhead opened this issue Aug 15, 2024 · 2 comments
Closed
1 task done

[Bug]: '404 Not Found' in Remote Access Client #3039

Cheezzhead opened this issue Aug 15, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Cheezzhead
Copy link

Cheezzhead commented Aug 15, 2024

Contact Details

--

What happened?

I'm getting an error bad request status 404 not found in the Netmaker Remote Client when attempting to connect to my self-hosted instance. Checking the http logs on the server shows that the endpoint api/users/{username}/remote_access_gw returns the 404 status code. The same status code is returned if I try to query the endpoint from the netmaker server itself (as opposed to 401 which one would expect).

Compose setup for netmaker:

services:
  netmaker:
    image: gravitl/netmaker:v0.24.3
    container_name: netmaker
    extends:
      file: ${STACKS_DIR}/common.yml
      service: default
    env_file: 
      - netmaker.env
      - mosquitto.env
    environment:
      NM_DOMAIN: ${DOMAIN}
      SERVER_HOST: ${HOST_IP}
      SERVER_NAME: ${DOMAIN}
      SERVER_API_CONN_STRING: api.${DOMAIN}:443
      SERVER_HTTP_HOST: api.${DOMAIN}
      BROKER_ENDPOINT: wss://broker.${DOMAIN}
      COREDNS_ADDR: coredns
      STUN_LIST: >-
        stun1.netmaker.io:3478,
        stun2.netmaker.io:3478,
        stun1.l.google.com:19302,
        stun2.l.google.com:19302
    volumes:
      - ./dnsconfig:/root/dnsconfig
      - ${DOCKER_CONF_DIR}/netmaker:/root/data

Version

v0.24.3

What OS are you using?

Linux

Relevant log output

...
[15/Aug/2024:10:26:55 +0000] - 404 404 - GET https api.netmaker.domain.tld "/api/users/XXX/remote_access_gw" [Client XXX.XXX.XXX.XXX] [Length 19] [Gzip -] [Sent-to netmaker] "Go-http-client/2.0" "-"
...

Contributing guidelines

  • Yes, I did.
@Cheezzhead Cheezzhead added the bug Something isn't working label Aug 15, 2024
@ncsjens
Copy link

ncsjens commented Sep 16, 2024

+1

@abhishek9686
Copy link
Member

Remote Access Client only works with PRO version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants