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: Swagger API - host/port provided in the local API server does not fully applied, causing API failure when running from Swagger #1720

Closed
Van-QA opened this issue Jan 23, 2024 · 0 comments · Fixed by #1721
Assignees
Labels
P1: important Important feature / fix type: bug Something isn't working
Milestone

Comments

@Van-QA
Copy link
Contributor

Van-QA commented Jan 23, 2024

Describe the bug
host/port provided in the local API server does not fully applied, causing API failure when running from Swagger

Steps to reproduce
Steps to reproduce the behavior:

  1. Provide additional host / port from the local server
  2. Observe the server log

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
Swagger is visible from the new port, but the server log is not matching
User cannot send request from swagger
image

Environment details

  • Operating System: MacOS
  • Jan Version: 0.4.3
  • Processor: Apple M2 Pro
  • RAM: 16GB

Logs
If the cause of the error is not clear, kindly provide your usage logs:

  • tail -n 50 ~/jan/logs/app.log if you are using the UI
  • tail -n 50 ~/jan/logs/server.log if you are using the local api server
    Making sure to redact any private information.

Additional context
Add any other context or information that could be helpful in diagnosing the problem.

@Van-QA Van-QA added P1: important Important feature / fix type: bug Something isn't working labels Jan 23, 2024
@namchuai namchuai moved this to In Progress in Menlo Jan 23, 2024
@namchuai namchuai modified the milestones: v0.4.6, v0.4.5 Jan 23, 2024
namchuai pushed a commit that referenced this issue Jan 23, 2024
namchuai added a commit that referenced this issue Jan 23, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in Menlo Jan 23, 2024
louis-menlo pushed a commit that referenced this issue Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1: important Important feature / fix type: bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants