8000 how solve this issues in local installation in ubuntu 22 · Issue #162 · sqlchat/sqlchat · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000

how solve this issues in local installation in ubuntu 22 #162

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

Open
johnfelipe opened this issue Jul 27, 2024 · 1 comment
Open

how solve this issues in local installation in ubuntu 22 #162

johnfelipe opened this issue Jul 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@johnfelipe
Copy link

Describe the bug

[ContentMain]
ContentMain.js:18 [ContentService] document.readyState: loading
ContentMain.js:5 [ContentService.SetContentInitData] target: { TabId: 623163460, FrameId: 0}
_app-51463f32638807d0.js:50007 Has database: false
_app-51463f32638807d0.js:50007 Has database: false
chrome-extension://a…ih/draggable.js:190 Uncaught SyntaxError: Unexpected token 'export'
chrome-extension://a…khih/recorder.js:41 Uncaught SyntaxError: Unexpected token 'export'
:3000/_vercel/insights/script.js:1 
        
        
       Failed to load resource: the server responded with a status of 404 (Not Found)
ContentMain.js:18 [ContentMain]
ContentMain.js:18 [ContentService] document.readyState: loading
ContentMain.js:5 [ContentService.SetContentInitData] target: { TabId: 623163460, FrameId: 560}
ContentMain.js:18 [ContentMain]
ContentMain.js:18 [ContentService] document.readyState: loading
ContentMain.js:5 [ContentService.SetContentInitData] target: { TabId: 623163460, FrameId: 561}
:3000/api/connection/db_schema:1 
        
        
       Failed to load resource: the server responded with a status of 400 (Bad Request)
192.168.20.24/:1 Uncaught (in promise) AxiosError

i put this:

docker run -d --name sqlchat --platform linux/amd64 \
  --env NEXTAUTH_SECRET="$(openssl rand -hex 5)" \
  --env OPENAI_API_KEY=sk-hahahah \
  --env NEXTAUTH_URL=http://192.168.20.24:3000 \
  --env NEXT_PUBLIC_USE_DATABASE=true \
  --env DATABASE_URL="sqlserver://hcdcadressql.database.windows.net:1433;database=hcdc_adres;user=your_username;password=your_password;encrypt=true;trustServerCertificate=true" \
  --env DEBUG="*" \
  -p 3000:3000 \
  sqlchat/sqlchat

To reproduce

https://drive.google.com/file/d/1JZlXcdmgtia6wgRHYQpElduwTppkRPjI/view?usp=drivesdk

Additional context

No response

@johnfelipe johnfelipe added the bug Something isn't working label Jul 27, 2024
@johnfelipe
Copy link
Author

Any method for solve this issue?
My mssql db is very sized

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

1 participant
0