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

Adding back missing allowed headers #112

Merged
merged 28 commits into from
Jul 7, 2021
Merged

Adding back missing allowed headers #112

merged 28 commits into from
Jul 7, 2021

Conversation

nymd
Copy link
Contributor

@nymd nymd commented Jul 7, 2021

user-agent and origin need to be allowed

@nymd nymd merged commit c185cd4 into develop Jul 7, 2021
@nymd nymd deleted the feature/new-altruists branch July 7, 2021 15:16
nymd added a commit that referenced this pull request Jul 7, 2021
* updating loopback 4

* pinning mongo version

* removing comment from .env line which was breaking the import

* removing comment that is breaking env example

* making scripts use diff connection strings per instance

* simplifying data import

* making gateway wait for other services

* fixes #83; lb cannot be found due to blockchain subdomain hack

* New altruist implementation (#100)

* new altruist implementation

* adding check for blank relaypath, not just undefined

* Updating example to match realities

* pushing feature branch to staging

* fixing bad subdomain parsing

* removing subdomain hack, localhost can work with subdomains

* db test for staging

* db test for staging

* db test for staging

* db test for staging

* fixing logging of debug and wrapping axios in try catch

* testing on usw2

* fixing memory reservation for fargate

* removing excess logging, vestigal interfaces

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring push on master to production files

* updating requires to imports, resolving PR comments

* reverting logger import change

* pushing to usw2

* pointing workflows back to correct branches

* Staging to master (#105)

* refactoring metrics batching; to us-east

* refactoring metrics batching; to us-east

* refactoring metrics batching; to west and eu

* refactoring metrics batching; to west and eu

* reverting metrics change

* reverting metrics change

* fixing error handling due to pocket-js type switch

* fixing error handling due to pocket-js type switch

* fixing legacy codec for transactions

* fixing legacy codec for transactions

* testing rollback of pocket-js, singapore only

* testing rollback of pocket-js, singapore only

* push 0.6.3 to all regions

* push 0.6.3 to all regions

* singapore to pocket-js 0.6.5

* singapore to pocket-js 0.6.5

* singapore rollback to 0.6.3

* singapore rollback to 0.6.3

* first pass at recording client type - singapore

* first pass at recording client type - singapore

* logging client type - singapore

* logging client type - singapore

* removing openeth- singapore

* removing openeth- singapore

* removing openeth- usw2

* removing openeth- usw2

* removing openeth- use2 euw1

* removing openeth- use2 euw1

* test fix for pocket-js to singapore

* test fix for pocket-js to singapore

* pushing js fix to others

* pushing js fix to others

* removing client side filtering

* removing client side filtering

* marking JSON errors as actual errors

* marking JSON errors as actual errors

* singapore only

* singapore only

* other regions get error fix

* other regions get error fix

* testing 0.6.11 to singapore

* testing 0.6.11 to singapore

* max dispatchers to 50 and out to usw2

* max dispatchers to 50 and out to usw2

* to other regions

* to other regions

* better error messaging

* better error messaging

* better error messaging2

* better error messaging2

* setting maxSessionRefresh to 1

* setting maxSessionRefresh to 1

* initial sync check

* initial sync check

* initial sync check with all files

* initial sync check with all files

* sync check structure with lock

* sync check structure with lock

* reverting temporarily

* reverting temporarily

* sync list cache

* sync list cache

* sync list cache 2

* sync list cache 2

* sync list cache 3

* sync list cache 3

* sync check to each node

* sync check to each node

* sync check to each node

* sync check to each node

* sync check to each node

* sync check to each node

* sync check to each node with result

* sync check to each node with result

* sync check to each node with result

* sync check to each node with result

* full sync check test

* full sync check test

* full sync check test, more logging

* full sync check test, more logging

* added challenge

* added challenge

* fixing logic bug in height check

* fixing logic bug in height check

* sync check to other regions

* sync check to other regions

* branch testing for pabel, singapore

* branch testing for pabel, singapore

* session fix test to singapore

* session fix test to singapore

* session fix test to others

* session fix test to others

* profiling to us-w-2

* profiling to us-w-2

* enabling profiler, usw2

* enabling profiler, usw2

* missing files

* missing files

* profiling to timescale

* profiling to timescale

* logging profiler

* logging profiler

* fixing profile data format

* fixing profile data format

* fixing profile data format

* fixing profile data format

* fixing profile data format

* fixing profile data format

* fixing profile data format

* fixing profile data format

* fixing profile data format

* fixing profile data format

* fixing profile data format

* fixing profile data format

* fixing profile data format

* fixing profile data format

* milliseconds fix and removing logging

* milliseconds fix and removing logging

* fixing sync checker timeout

* fixing sync checker timeout

* fixing sync checker timeout

* fixing sync checker timeout

* sync timeout to 5s

* sync timeout to 5s

* adding blockchain to profiler

* adding blockchain to profiler

* adding sync log back, fixing consensus check boolean and node address log

* adding sync log back, fixing consensus check boolean and node address log

* turning off profiler

* turning off profiler

* adding more logging around sync check

* adding more logging around sync check

* adding metrics errors for out of sync nodes

* adding metrics errors for out of sync nodes

* passing request ID through sync checker

* passing request ID through sync checker

* fixing sort with 0 at the top

* fixing sort with 0 at the top

* additional sync logging

* additional sync logging

* fixing sync error handling

* fixing sync error handling

* removing session tumble error from metrics

* removing session tumble error from metrics

* changing default leeway on blockheight to 2

* changing default leeway on blockheight to 2

* making sync allowance variable from the db per chain

* making sync allowance variable from the db per chain

* blockchain fix

* blockchain fix

* fix 2

* fix 2

* fixing excess relay times from bad data on sync check

* fixing excess relay times from bad data on sync check

* fixing long metrics relays

* fixing long metrics relays

* reducing sync check timeout

* reducing sync check timeout

* refactor sync check step 1

* refactor sync check step 1

* sync checker refactor step 2

* sync checker refactor step 2

* sync checker refactor step 3

* sync checker refactor step 3

* sync checker refactor step 3a

* sync checker refactor step 3a

* sync checker refactor step 4

* sync checker refactor step 4

* sync checker refactor done

* sync checker refactor done

* sync checker refactor logging

* sync checker refactor logging

* sync checker refactor logging 2

* sync checker refactor logging 2

* upgrade loopback, singleton pocket, only to staging env

* upgrade loopback, singleton pocket, only to staging env

* upgrade loopback, singleton pocket, only to staging env -- activating with files

* upgrade loopback, singleton pocket, only to staging env -- activating with files

* injectable binding change

* injectable binding change

* removing injectable?

* removing injectable?

* pushing change to usw2

* pushing change to usw2

* to other regions

* to other regions

* reverting singleton

* reverting singleton

* reverting loopback upgrade

* reverting loopback upgrade

* logz.io test

* logz.io test

* changing sync check default to 3 blocks allowed

* changing sync check default to 3 blocks allowed

* removing cruft from task def

* removing cruft from task def

* sync check to 3 nodes default, logger to logz.io

* sync check to 3 nodes default, logger to logz.io

* loosening cherry picker now that sync check filters bad nodes first

* loosening cherry picker now that sync check filters bad nodes first

* Added temporal dispatchers

* Added temporal dispatchers

* Revert "Added temporal dispatchers"

This reverts commit fbc9c79.

* Revert "Added temporal dispatchers"

This reverts commit 0d64064.

* Added temporal dispatchers

* Added temporal dispatchers

* Revert "Added temporal dispatchers"

This reverts commit e7764ff.

* Revert "Added temporal dispatchers"

This reverts commit 9cefdb7.

* chore: disable deployments after rebase

* chore: disable deployments after rebase

* moving gateway to us-e-2

* moving gateway to us-e-2

* adding eu-w-1, turning back on all deploys

* adding eu-w-1, turning back on all deploys

* reduce CPU and ram of each instance

* reduce CPU and ram of each instance

* http method passed correctly

* http method passed correctly

* Update issue templates

* Update issue templates

* chore: merge staging

* chore: merge staging

* fixup: enable AAT_PLAN env var and allow deployments to testnet and staging

* chore: use dev db

* chore: deploy to staging on staging branch, off ftm

* fix: swap branches and keep off

* Bump color-string from 1.5.4 to 1.5.5

Bumps [color-string](https://github.com/Qix-/color-string) from 1.5.4 to 1.5.5.
- [Release notes](https://github.com/Qix-/color-string/releases)
- [Changelog](https://github.com/Qix-/color-string/blob/master/CHANGELOG.md)
- [Commits](Qix-/color-string@1.5.4...1.5.5)

---
updated-dependencies:
- dependency-name: color-string
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump normalize-url from 4.5.0 to 4.5.1

Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/sindresorhus/normalize-url/releases)
- [Commits](https://github.com/sindresorhus/normalize-url/commits)

---
updated-dependencies:
- dependency-name: normalize-url
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* changing up to start in daemon mode

* pinning mongodb to prod version, removing s3 moc

* bringing example up to date

* fixes #80; removes s3 remnants. also minor fixes: pinning mongo version and removing files that should not be committed

* prepping staging workflow

* updating loopback 4

* pinning mongo version

* removing comment from .env line which was breaking the import

* removing comment that is breaking env example

* making scripts use diff connection strings per instance

* simplifying data import

* making gateway wait for other services

* fixes #83; lb cannot be found due to blockchain subdomain hack

* Develop to staging (#103)

* updating loopback 4

* pinning mongo version

* removing comment from .env line which was breaking the import

* removing comment that is breaking env example

* making scripts use diff connection strings per instance

* simplifying data import

* making gateway wait for other services

* fixes #83; lb cannot be found due to blockchain subdomain hack

* New altruist implementation (#100)

* new altruist implementation

* adding check for blank relaypath, not just undefined

* Updating example to match realities

* pushing feature branch to staging

* fixing bad subdomain parsing

* removing subdomain hack, localhost can work with subdomains

* db test for staging

* db test for staging

* db test for staging

* db test for staging

* fixing logging of debug and wrapping axios in try catch

* testing on usw2

* fixing memory reservation for fargate

* removing excess logging, vestigal interfaces

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring push on master to production files

* updating requires to imports, resolving PR comments

* reverting logger import change

* pushing to usw2

* pointing workflows back to correct branches

Co-authored-by: Luis de Leon <[email protected]>
Co-authored-by: Luis C. de Leon <[email protected]>
Co-authored-by: derrandz <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Spot fix to ECS parameters in one region

* Update task for e2

* Adding back missing allowed headers (#112)

* new altruist implementation

* adding check for blank relaypath, not just undefined

* Updating example to match realities

* pushing feature branch to staging

* fixing bad subdomain parsing

* removing subdomain hack, localhost can work with subdomains

* db test for staging

* db test for staging

* db test for staging

* db test for staging

* fixing logging of debug and wrapping axios in try catch

* testing on usw2

* fixing memory reservation for fargate

* removing excess logging, vestigal interfaces

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring push on master to production files

* updating requires to imports, resolving PR comments

* reverting logger import change

* pushing to usw2

* pointing workflows back to correct branches

* adding back origin,ua headers

Co-authored-by: Luis de Leon <[email protected]>
Co-authored-by: Luis C. de Leon <[email protected]>
Co-authored-by: derrandz <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
nymd added a commit that referenced this pull request Jul 7, 2021
* updating loopback 4

* pinning mongo version

* removing comment from .env line which was breaking the import

* removing comment that is breaking env example

* making scripts use diff connection strings per instance

* simplifying data import

* making gateway wait for other services

* fixes #83; lb cannot be found due to blockchain subdomain hack

* New altruist implementation (#100)

* new altruist implementation

* adding check for blank relaypath, not just undefined

* Updating example to match realities

* pushing feature branch to staging

* fixing bad subdomain parsing

* removing subdomain hack, localhost can work with subdomains

* db test for staging

* db test for staging

* db test for staging

* db test for staging

* fixing logging of debug and wrapping axios in try catch

* testing on usw2

* fixing memory reservation for fargate

* removing excess logging, vestigal interfaces

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring push on master to production files

* updating requires to imports, resolving PR comments

* reverting logger import change

* pushing to usw2

* pointing workflows back to correct branches

* Update task for e2

* feat: add local setup of relations in timescaledb

* Adding back missing allowed headers (#112)

* new altruist implementation

* adding check for blank relaypath, not just undefined

* Updating example to match realities

* pushing feature branch to staging

* fixing bad subdomain parsing

* removing subdomain hack, localhost can work with subdomains

* db test for staging

* db test for staging

* db test for staging

* db test for staging

* fixing logging of debug and wrapping axios in try catch

* testing on usw2

* fixing memory reservation for fargate

* removing excess logging, vestigal interfaces

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring push on master to production files

* updating requires to imports, resolving PR comments

* reverting logger import change

* pushing to usw2

* pointing workflows back to correct branches

* adding back origin,ua headers

* fixes #108; uses altruist system as backup for sync check

* removing leftover cache breaker and changing it to 30 second redis cache for failure sessions

Co-authored-by: Roniel Valdez <[email protected]>
@nymd nymd mentioned this pull request Jul 7, 2021
nymd added a commit that referenced this pull request Jul 7, 2021
* updating loopback 4

* pinning mongo version

* removing comment from .env line which was breaking the import

* removing comment that is breaking env example

* making scripts use diff connection strings per instance

* simplifying data import

* making gateway wait for other services

* fixes #83; lb cannot be found due to blockchain subdomain hack

* New altruist implementation (#100)

* new altruist implementation

* adding check for blank relaypath, not just undefined

* Updating example to match realities

* pushing feature branch to staging

* fixing bad subdomain parsing

* removing subdomain hack, localhost can work with subdomains

* db test for staging

* db test for staging

* db test for staging

* db test for staging

* fixing logging of debug and wrapping axios in try catch

* testing on usw2

* fixing memory reservation for fargate

* removing excess logging, vestigal interfaces

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring push on master to production files

* updating requires to imports, resolving PR comments

* reverting logger import change

* pushing to usw2

* pointing workflows back to correct branches

* Update task for e2

* feat: add local setup of relations in timescaledb

* Adding back missing allowed headers (#112)

* new altruist implementation

* adding check for blank relaypath, not just undefined

* Updating example to match realities

* pushing feature branch to staging

* fixing bad subdomain parsing

* removing subdomain hack, localhost can work with subdomains

* db test for staging

* db test for staging

* db test for staging

* db test for staging

* fixing logging of debug and wrapping axios in try catch

* testing on usw2

* fixing memory reservation for fargate

* removing excess logging, vestigal interfaces

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring CORS headers

* restoring push on master to production files

* updating requires to imports, resolving PR comments

* reverting logger import change

* pushing to usw2

* pointing workflows back to correct branches

* adding back origin,ua headers

* fixes #108; uses altruist system as backup for sync check

* removing leftover cache breaker and changing it to 30 second redis cache for failure sessions

Co-authored-by: Roniel Valdez <[email protected]>
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

Successfully merging this pull request may close these issues.

1 participant