Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Ankur Pata
    @ankurpata
    and sets up everything in that dir - /home/reaction/
    kamaljaiswal
    @kamaljaiswal
    thanks checking the same .
    kamaljaiswal
    @kamaljaiswal
    thanks ignore_error = yes had to be used . How to configure https self signed cert / authority in reaction
    Ankur Pata
    @ankurpata
    You need a domain name unfortunately
    for hydra service
    kamaljaiswal
    @kamaljaiswal
    domain I have ..http://buyfresh.info:4000/ yet to configure for https ?
    struggling with hydra ....as all routes failing ...any help would be appreciated
    Loan Laux
    @loan-laux
    @kamaljaiswal Paste your Hydra logs on here
    kamaljaiswal
    @kamaljaiswal
    _app.js:19 WebSocket connection to 'wss://api.buyfresh.info/graphql' failed: Error in connection establishment: net::ERR_CERT_AUTHORITY_INVALID
    e.connect @ _app.js:19
    cdn.segment.com/analytics.js/v1/ENTER_KEY_HERE/analytics.min.js:1 Failed to load resource: the server responded with a status of 404 ()
    3_app.js:19 WebSocket connection to 'wss://api.buyfresh.info/graphql' failed: Error in connection establishment: net::ERR_CERT_AUTHORITY_INVALID
    e.connect @ _app.js:19
    5_app.js:19 WebSocket connection to 'wss://api.buyfresh.info/graphql' failed: Error in connection establishment: net::ERR_CERT_AUTHORITY_INVALID
    459399283ce425e792b7f861983b938b511d7438.js?meteor_js_resource=true:472 WebSocket connection to 'wss://api.buyfresh.info/graphql' failed: Error in connection establishment: net::ERR_CERT_AUTHORITY_INVALID
    e.connect @ 459399283ce425e792b7f861983b938b511d7438.js?meteor_js_resource=true:472
    api.buyfresh.info/locales/namespaces.json:1 Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID
    459399283ce425e792b7f861983b938b511d7438.js?meteor_js_resource=true:729 Uncaught (in promise) TypeError: Failed to fetch
    459399283ce425e792b7f861983b938b511d7438.js?meteor_js_resource=true:472 WebSocket connection to 'wss://api.buyfresh.info/graphql' failed: Error in connection establishment: net::ERR_CERT_AUTHORITY_INVALID
    e.connect @ 459399283ce425e792b7f861983b938b511d7438.js?meteor_js_resource=true:472
    459399283ce425e792b7f861983b938b511d7438.js?meteor_js_resource=true:404 INFO [react-context-oidc] : Protection : true
    459399283ce425e792b7f861983b938b511d7438.js?meteor_js_resource=true:404 INFO [react-context-oidc] : Protected component mounted
    hydra.buyfresh.info/.well-known/openid-configuration:1 Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID
    459399283ce425e792b7f861983b938b511d7438.js?meteor_js_resource=true:404 Uncaught (in promise) Error: Network Error
    at XMLHttpRequest.a.onerror (459399283ce425e792b7f861983b938b511d7438.js?meteor_js_resource=true:404)
    5459399283ce425e792b7f861983b938b511d7438.js?meteor_js_resource=true:472 WebSocket connection to 'wss://api.buyfresh.info/graphql' failed: Error in connection establishment: net::ERR_CERT_AUTHORITY_INVALID
    e.connect @ 459399283ce425e792b7f861983b938b511d7438.js?meteor_js_resource=true:472
    459399283ce425e792b7f861983b938b511d7438.js?meteor_js_resource=true:472 WebSocket connection to 'wss://api.buyfresh.info/graphql' failed: Error in connection establishment: net::ERR_CE
    @loan-laux Thanks for response logs for admin / store front
    Only added the "Token " in reaction.yml file for hydra
    Loan Laux
    @loan-laux
    That’s not the logs for the Hydra container though, is it?
    kamaljaiswal
    @kamaljaiswal
    sorry for being novice ....new to this .. are u hinting at docker logs ... Please let me know will enable the same
    Loan Laux
    @loan-laux
    Yes, the Docker logs for the Hydra container, sorry for not being specific
    kamaljaiswal
    @kamaljaiswal
    sure thanks for ur support.
    kamaljaiswal
    @kamaljaiswal
    Subscribe now: http://eepurl.com/di390P <<
    time="2020-07-16T13:46:05Z" level=info msg="Software quality assurance features are enabled. Learn more at: https://www.ory.sh/docs/ecosystem/sqa"
    time="2020-07-16T13:46:05Z" level=info msg="Setting up http server on :4445"
    time="2020-07-16T13:46:05Z" level=warning msg="HTTPS disabled. Never do this in production."
    time="2020-07-16T13:46:05Z" level=info msg="Setting up http server on :4444"
    time="2020-07-16T13:46:05Z" level=warning msg="HTTPS disabled. Never do this in production."
    time="2020-07-16T13:46:35Z" level=info msg="started handling request" method=GET remote="192.168.32.7:32948" request=/clients/reaction-admin
    time="2020-07-16T13:46:35Z" level=info msg="completed handling request" measure#hydra/admin: https://hydra.buyfresh.info/.latency=40891428 method=GET remote="192.168.32.7:32948" request=/clients/reaction-admin status=200 text_status=OK took=40.891428ms
    time="2020-07-16T13:46:35Z" level=info msg="started handling request" method=PUT remote="192.168.32.7:32950" request=/clients/reaction-admin
    time="2020-07-16T13:46:35Z" level=info msg="completed handling request" measure#hydra/admin: https://hydra.buyfresh.info/.latency=20472469 method=PUT remote="192.168.32.7:32950" request=/clients/reaction-admin status=200 text_status=OK took=20.472469ms
    time="2020-07-16T13:46:36Z" level=info msg="started handling request" method=GET remote="192.168.32.8:37452" request=/clients/example-storefront
    time="2020-07-16T13:46:36Z" level=info msg="completed handling request" measure#hydra/admin: https://hydra.buyfresh.info/.latency=1595365 method=GET remote="192.168.32.8:37452" request=/clients/example-storefront status=200 text_status=OK took=1.595365ms
    time="2020-07-16T13:46:36Z" level=info msg="started handling request" method=PUT remote="192.168.32.8:37454" request=/clients/example-storefront
    time="2020-07-16T13:46:36Z" level=info msg="completed handling request" measure#hydra/admin: https://hydra.buyfresh.info/.latency=139490293 method=PUT remote="192.168.32.8:37454" request=/clients/example-storefront status=200 text_status=OK took=139.490293ms
    Logs @loan-laux Thanks
    Loan Laux
    @loan-laux
    Well, it seems like it’s handling requests just fine. Where do you see requests to Hydra failing? Maybe it’s for the Admin API rather?
    kamaljaiswal
    @kamaljaiswal
    yes admin not rendering
    Loan Laux
    @loan-laux
    I was talking about the Hydra Admin API (on port 4445), not the RC Admin UI
    kamaljaiswal
    @kamaljaiswal
    Browser console errors
    
    08eda9b……s_resource=true:472 WebSocket connection to 'wss://api.buyfresh.info/graphql' failed: Error in connection establishment: net::ERR_CERT_AUTHORITY_INVALID
    08eda9b……s_resource=true:729 GET https://api.buyfresh.info/locales/namespaces.json net::ERR_CERT_AUTHORITY_INVALID
    08eda9b……s_resource=true:729 Uncaught (in promise) TypeError: Failed to fetch
    08eda9b……s_resource=true:472 WebSocket connection to 'wss://api.buyfresh.info/graphql' failed: Error in connection establishment: net::ERR_CERT_AUTHORITY_INVALID
    08eda9b……s_resource=true:404 INFO [react-context-oidc] : Protection : true
    08eda9b……s_resource=true:404 INFO [react-context-oidc] : Protected component mounted
    08eda9b……s_resource=true:404 GET https://hydra.buyfresh.info/.well-known/openid-configuration net::ERR_CERT_AUTHORITY_INVALID
    08eda9b……s_resource=true:404 Uncaught (in promise) Error: Network Error
    at XMLHttpRequest.a.onerror (08eda9b……s_resource=true:404)
    4
    08eda9b……s_resource=true:472 WebSocket connection to 'wss://api.buyfresh.info/graphql' failed: Error in connection establishment: net::ERR_CERT_AUTHORITY_INVALID
    
    Loan Laux
    @loan-laux
    Well this just looks like an invalid SSL certificate
    kamaljaiswal
    @kamaljaiswal
    will check If self signed could solve it ... on hosting server thanks @loan-laux ...
    kamaljaiswal
    @kamaljaiswal
    got it working thanks to @loan-laux @ankurpata for your support ... ☺️
    Loan Laux
    @loan-laux
    Happy to hear that. Congrats @kamaljaiswal :clap:
    kamaljaiswal
    @kamaljaiswal
    Ya u guys rocks !!
    Mine store front is failing primaryShop query result was null
    primaryShop query result was null
    InternalOAuthError: Failed to obtain access token
    at OAuth2Strategy._createOAuthError (/usr/local/src/app/node_modules/passport-oauth2/lib/strategy.js:379:17)
    at /usr/local/src/app/node_modules/passport-oauth2/lib/strategy.js:166:45
    at /usr/local/src/app/node_modules/oauth/lib/oauth2.js:191:18
    at ClientRequest.<anonymous> (/usr/local/src/app/node_modules/oauth/lib/oauth2.js:162:5)
    at ClientRequest.emit (events.js:198:13)
    at TLSSocket.socketErrorListener (_http_client.js:392:9)
    at TLSSocket.emit (events.js:198:13)
    at emitErrorNT (internal/streams/destroy.js:91:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
    at process._tickCallback (internal/process/next_tick.js:63:19)
    Loan Laux
    @loan-laux
    Have you created a shop yet, @kamaljaiswal?
    kamaljaiswal
    @kamaljaiswal
    yes using using admin
    Loan Laux
    @loan-laux
    Can you check your API Docker logs?
    kamaljaiswal
    @kamaljaiswal
    primaryShop query result was null
    primaryShop query result was null
    InternalOAuthError: Failed to obtain access token
    at OAuth2Strategy._createOAuthError (/usr/local/src/app/node_modules/passport-oauth2/lib/strategy.js:379:17)
    at /usr/local/src/app/node_modules/passport-oauth2/lib/strategy.js:166:45
    at /usr/local/src/app/node_modules/oauth/lib/oauth2.js:191:18
    at ClientRequest.<anonymous> (/usr/local/src/app/node_modules/oauth/lib/oauth2.js:162:5)
    at ClientRequest.emit (events.js:198:13)
    at TLSSocket.socketErrorListener (_http_client.js:392:9)
    at TLSSocket.emit (events.js:198:13)
    at emitErrorNT (internal/streams/destroy.js:91:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
    at process._tickCallback (internal/process/next_tick.js:63:19)
    InternalOAuthError: Failed to obtain access token
    at OAuth2Strategy._createOAuthError (/usr/local/src/app/node_modules/passport-oauth2/lib/strategy.js:379:17)
    at /usr/local/src/app/node_modules/passport-oauth2/lib/strategy.js:166:45
    at /usr/local/src/app/node_modules/oauth/lib/oauth2.js:191:18
    at ClientRequest.<anonymous> (/usr/local/src/app/node_modules/oauth/lib/oauth2.js:162:5)
    at ClientRequest.emit (events.js:198:13)
    at TLSSocket.socketErrorListener (_http_client.js:392:9)
    at TLSSocket.emit (events.js:198:13)
    at emitErrorNT (internal/streams/destroy.js:91:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
    at process._tickCallback (internal/process/next_tick.js:63:19)
    InternalOAuthError: Failed to obtain access token
    at OAuth2Strategy._createOAuthError (/usr/local/src/app/node_modules/passport-oauth2/lib/strategy.js:379:17)
    at /usr/local/src/app/node_modules/passport-oauth2/lib/strategy.js:166:45
    at /usr/local/src/app/node_modules/oauth/lib/oauth2.js:191:18
    at ClientRequest.<anonymous> (/usr/local/src/app/node_modules/oauth/lib/oauth2.js:162:5)
    at ClientRequest.emit (events.js:198:13)
    at TLSSocket.socketErrorListener (_http_client.js:392:9)
    at TLSSocket.emit (events.js:198:13)
    at emitErrorNT (internal/streams/destroy.js:91:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
    at process._tickCallback (internal/process/next_tick.js:63:19)
    InternalOAuthError: Failed to obtain access token
    at OAuth2Strategy._createOAuthError (/usr/local/src/app/node_modules/passport-oauth2/lib/strategy.js:379:17)
    at /usr/local/src/app/node_modules/passport-oauth2/lib/strategy.js:166:45
    at /usr/local/src/app/node_modules/oauth/lib/oauth2.js:191:18
    at ClientRequest.<anonymous> (/usr/local/src/app/node_modules/oauth/lib/oauth2.js:162:5)
    at ClientRequest.emit (events.js:198:13)
    at TLSSocket.socketErrorListener (_http_client.js:392:9)
    at TLSSocket.emit (events.js:198:13)
    at emitErrorNT (internal/streams/destroy.js:91:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
    at process._tickCallback (internal/process/next_tick.js:63:19)
    Loan Laux
    @loan-laux
    Isn’t this the logs of the storefront container?
    kamaljaiswal
    @kamaljaiswal
    yes this is for storefront
    kamaljaiswal
    @kamaljaiswal
    Make platform is give lots of errors TASK [Build the Reaction Platform] *
    fatal: [reaction.server]: FAILED! => {"changed": true, "cmd": ["make"], "delta": "0:00:49.224161", "end": "2020-07-17 04:56:34.802751", "msg": "non-zero return code", "rc": 2, "start": "2020-07-17 04:55:45.578590", "stderr": "Cloning into 'reaction-hydra'...\nNote: checking out 'v3.0.0'.\n\nYou are in 'detached HEAD' state. You can look around, make experimental\nchanges and commit them, and you can discard any commits you make in this\nstate without impacting any branches by performing another checkout.\n\nIf you want to create a new branch to retain commits you create, you may\ndo so (now or later) by using -b with the checkout command again. Example:\n\n git checkout -b <new-branch-name>\n\nHEAD is now at eee6dd1 Merge pull request #48 from reactioncommerce/release-v3.0.0\nError response from daemon: network with name reaction.localhost already exists\npostgres uses an image, skipping\nhydra-migrate uses an image, skipping\nhydra uses an image, skipping\nPulling postgres ... \r\nPulling hydra-migrate ... \r\nPulling hydra ... \r\n\u001b[3A\u001b[2K\rPulling postgres ... pulling from library/postgres\r\u001b[3B\u001b[2A\u001b[2K\rPulling hydra-migrate ... pulling from oryd/hydra\r\u001b[2B\u001b[2A\u001b[2K\rPulling hydra-migrate ... digest: sha256:7f5cfc37198c68dde7...\r\u001b[2B\u001b[2A\u001b[2K\rPulling hydra-migrate ... status: image is up to date for o...\r\u001b[2B\u001b[2A\u001b[2K\rPulling hydra-migrate ... \u001b[32mdone\u001b[0m\r\u001b[2B\u001b[1A\u001b[2K\rPulling hydra ... pulling from oryd/hydra\r\u001b[1B\u001b[1A\u001b[2K\rPulling hydra ... digest: sha256:7f5cfc37198c68dde7...\r\u001b[1B\u001b[1A\u001b[2K\rPulling hydra ... status: image is up to date for o...\r\u001b[1B\u001b[1A\u001b[2K\rPulling hydra ... \u001b[32mdone\u001b[0m\r\u001b[1B\u001b[3A\u001b[2K\rPulling postgres ... digest: sha256:23c92d48934b254c00...\r\u001b[3B\u001b[3A\u001b[2K\rPulling postgres ... status: image is up to date for p...\r\u001b[3B\u001b[3A\u001b[2K\rPulling postgres ... \u001b[32mdone\u001b[0m\r\u001b[3BStarting reaction-hydra_postgres_1 ... \r\n\u001b[1A\u001b[2K\rStarting reaction-hydra_postgres_1 ... \u001b[32mdone\u001b[0m\r\u001b[1BStarting reaction-hydra_hydra-migrate_1 ... \r\n\u001b[1A\u001b[2K\rStarting reaction-hydra_hydra-migrate_1 ... \u001b[32mdone\u001b[0m\r\u001b[1BStarting reaction-hydra_hydra_1 ... \r\n\u001b[1A\u001b[2K\rStarting reaction-hydra_hydra_1 ... \u001b[32mdone\u001b[0m\r\u001b[1BCloning into 'reaction'...\nNote: checking out 'v3.8.0'.\n\nYou are in 'detached HEAD' state. You can look around, make experimental\nchanges and commit them, and you can discard any commits you make in this\nstate without impacting any branches by performing another checkout.\n\nIf you want to create a new branch to retain commits you create, you may\ndo so (now or later) by using -b with the checkout command again. Example:\n\n git checkout -b <new-branch-name>\n\nHEAD is now at a13ac6576 Merge pull request #6253 from reactioncommerce/release-next-v3.8.0\nmongo uses an image, skipping\napi uses an image, skipping\nPulling mongo ... \r\nPulling api ... \r\n\u001b[1A\u001b[2K\rPulling api ... pulling from reactioncommerce/rea...\r\u001b[1B\u001b[1A\u001b[2K\rPulling api ... pulling fs layer\r\u001b[1B\u001b[1A\u001b[2K\rPulling api ... pulling fs layer\r\u001b[1B\u001b[1A\u001b[2K\rPulling api ... pulling fs layer\r\u001b[1B\u001b[1A\u001b[2K\rPulling api ... pulling fs layer\r\u001b[1B\u001b[1A\u001b[2K\rPulling api ... pulling fs layer\r\u001b[1B\u001b[1A\u001b[2K\rPulling api ... pulling fs layer\r\u001b[1B\u001b[1A\u001b[2K\rPulling api ... pulling fs layer\r\u001b[1B\u001b[1A\u001b[2K\rPulling api ... pulling fs layer\r\u001b[1B\u001b[1A\u001b[2K\rPulling api ... pulling f
    kamaljaiswal
    @kamaljaiswal
    tried hard reset the /home/reaction ..will update .
    any help ..as same ansible-playbook playbooks/reaction.yml -l reaction.server was working . And tried deleting /home/reaction completely
    kamaljaiswal
    @kamaljaiswal
    systemctl stop mongodb did the trick ...will confirm in case
    seday72
    @seday72
    hi everyone
    i am going to deploy reaction commerce platform on aws ec2
    I tried to configure .env but backend not working
    please help me how to config this
    Pulkit Garg
    @wittycodes
    @seday72 https://github.com/reactioncommerce/proxy-traefik
    refer the above git repo, it's for an automated & workable production deployment of reaction.
    seday72
    @seday72
    This message was deleted
    hi @wittycodes
    is that possible to deploy on aws too?
    Loan Laux
    @loan-laux
    Hey @seday72, we’ve got a tutorial for deploying on AWS ECS on https://university.outgrow.io
    ihalton
    @ihalton

    @ihalton
    Running command: meteor run --port 4080 --no-lint --no-release-check --raw-logs
    [[[[[ /usr/local/src/app ]]]]]

    => Started proxy.
    Killed
    Error: Command failed: REACTION_METEOR_APP_COMMAND_START_TIME=1597467210450 meteor run --port 4080 --no-lint --no-release-check --raw-logs
    at checkExecSyncError (child_process.js:630:11)
    at Object.execSync (child_process.js:666:15)
    at run (file:///usr/local/src/app/.reaction/scripts/run.mjs:21:18)
    at file:///usr/local/src/app/.reaction/scripts/run.mjs:29:1
    at ModuleJob.run (internal/modules/esm/module_job.js:110:37)
    at async Loader.import (internal/modules/esm/loader.js:164:24) {
    status: 137,
    signal: null,
    output: [ null, null, null ],
    pid: 39,
    stdout: null,
    stderr: null
    }

    Error: App failed to start
    hello, get crashed when running reaction_admin from code. why?

    balibebas
    @balibebas
    Hi folks. Has anyone looked at deploying with Rio? https://rio.io
    I'd like to take advantage of the canary deployments and GitOps. Rio is a MicroPaaS by Rancher and is designed to work well with k3s. I've done some initial research here for anyone interested who hasn't worked with Rio yet: https://habd.as/post/git-based-continuous-delivery-rio/