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

Getting stuck, backend flooding with code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE' #9

Open
whalelinguni opened this issue Apr 28, 2024 · 2 comments

Comments

@whalelinguni
Copy link

Running docker on Alpine 3.19.1

After pulling the docker up, seems to start fine, but then the backend is flooding the console with

backend-1 | error Error: unable to verify the first certificate
backend-1 | at TLSSocket.onConnectSecure (node:_tls_wrap:1674:34)
backend-1 | at TLSSocket.emit (node:events:518:28)
backend-1 | at TLSSocket._finishInit (node:_tls_wrap:1085:8)
backend-1 | at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:871:12) {
backend-1 | code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'
backend-1 | }

Trying to access the page on 4200 just sits at 'connection to websocket server in progress'

I've tried all I can on my own, but getting stuck here. Would love to get this going.

log: https://pastebin.com/raw/QryLXTyH

lis6502 added a commit to lis6502/ecovacs-stack that referenced this issue May 26, 2024
…iables in docker-compose to REAL_ ones to avoid setting readonly shell variables
@lis6502
Copy link

lis6502 commented May 26, 2024

hi, i've created pull request to fix these backend errors.
But still for some reason react frontend connects to websocket endlessly

@WuMaKu84
Copy link

Dears,
I was finally able to get the backend running (Canvas hardcoded to version 2.10 caused a lot of issues in my case), but I still have an empty page on the frontend, even if it shows
[1/4] Resolving packages...
success Already up-to-date.
Done in 1.62s.
yarn run v1.22.22
$ react-scripts start
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
yarn install v1.22.22
No issues found.
(node:56) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning: 'onAfterSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
Why you should do it regularly: https://github.com/browserslist/update-db#readme
(Use node --trace-deprecation ... to show where the warning was created)
(node:56) [DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE] DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
Starting the development server...
Compiled successfully!
You can now view ecovacs-stack in the browser.
On Your Network: http://172.22.0.5:3000
Local: http://localhost:3000
Note that the development build is not optimized.
To create a production build, use yarn build.
webpack compiled successfully

all the containers seem to run as they should... any ideas?

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

3 participants