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

http 400 while login #29

Open
kgelinas opened this issue Jan 9, 2022 · 0 comments
Open

http 400 while login #29

kgelinas opened this issue Jan 9, 2022 · 0 comments

Comments

@kgelinas
Copy link

kgelinas commented Jan 9, 2022

I receive an 400 while trying to setup NS using docker image
MiniMed 670G (in canada 770g in EU I believe)

2022-01-09T03:51:35.581Z [Arguments] { '0': 'Logging in to CareLink' }
2022-01-09T03:51:35.582Z [Arguments] { '0': 'EU login 1' }
2022-01-09T03:51:35.584Z [Arguments] {
  '0': 'EU login 1',
  '1': 'https://carelink.minimed.com/patient/sso/login?country=gb&lang=en'
}
2022-01-09T03:51:35.774Z [Arguments] {
  '0': 'EU login 2 (url: https://carelink.minimed.eu/patient/sso/login?country=gb&lang=en)'
}
2022-01-09T03:51:36.016Z [Arguments] {
  '0': 'EU login 3 (url: https://mdtlogin.medtronic.com/mmcl/auth/oauth/v2/authorize?locale=null&countrycode=null)'
}
MiniMed Connect error: Error: Request failed with status code 400
stack: Error: Request failed with status code 400
    at createError (/opt/app/node_modules/minimed-connect-to-nightscout/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/opt/app/node_modules/minimed-connect-to-nightscout/node_modules/axios/lib/core/settle.js:17:12)
    at /opt/app/node_modules/minimed-connect-to-nightscout/node_modules/axios-cookiejar-support/lib/interceptors/response.js:79:25
    at new Promise (<anonymous>)
    at responseInterceptor (/opt/app/node_modules/minimed-connect-to-nightscout/node_modules/axios-cookiejar-support/lib/interceptors/response.js:78:9)
    at /opt/app/node_modules/minimed-connect-to-nightscout/node_modules/axios-cookiejar-support/lib/index.js:130:67
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async doLoginEu3 (/opt/app/node_modules/minimed-connect-to-nightscout/carelink.js:162:20)
    at async checkLogin (/opt/app/node_modules/minimed-connect-to-nightscout/carelink.js:250:28)
    at async Object.fetch (/opt/app/node_modules/minimed-connect-to-nightscout/carelink.js:279:21)

env value

  • name: API_SECRET
    value: somevalue
  • name: BRIDGE_SERVER
    value: EU
  • name: AUTH_DEFAULT_ROLES
    value: readable
  • name: INSECURE_USE_HTTP
    value: 'true'
  • name: SECURE_HSTS_HEADER
    value: 'false'
  • name: BG_HIGH
    value: '220'
  • name: BG_LOW
    value: '60'
  • name: BG_TARGET_BOTTOM
    value: '80'
  • name: BG_TARGET_TOP
    value: '180'
  • name: ENABLE
    value: careport basal mmconnect
  • name: MMCONNECT_USER_NAME
    value: someuser
  • name: MMCONNECT_PASSWORD
    value: somepassword
  • name: DEVICESTATUS_ADVANCED
    value: 'true'
  • name: PUMP_FIELDS
    value: reservoir battery clock
  • name: PUMP_WARN_BATT_P
    value: '51'
  • name: PUMP_URGENT_BATT_P
    value: '26'
  • name: MONGO_CONNECTION
    value: 'mongodb://mongo:27017/nightscout'
  • name: MMCONNECT_VERBOSE
    value: 'true'
  • name: TZ
    value: Europe/Berlin
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

1 participant