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

detect simpleforce connection errors #51

Closed
dosaboy opened this issue Aug 24, 2023 · 1 comment · Fixed by #52
Closed

detect simpleforce connection errors #51

dosaboy opened this issue Aug 24, 2023 · 1 comment · Fixed by #52
Assignees

Comments

@dosaboy
Copy link
Member

dosaboy commented Aug 24, 2023

sometimes the connection to sf gets corrupted and athena never attempts a reconnect which leave athena in a failed state and requiring a manual restart:

2023/08/23 17:34:58 [simpleforce] Failed resp.body: [{"message":"Session expired or invalid","errorCode":"INVALID_SESSION_ID"}]
2023/08/23 17:34:58 [simpleforce] HTTP GET request failed: ##redacted##
{"level":"error","msg":"Failed to upload and save report: foo - error: [simpleforce] Error. http code: 401 Error Message: Session expired or invalid Error Code: INVALID_SESSION_ID","time":"2023-08-23T17:34:58Z"}

@dosaboy dosaboy self-assigned this Aug 24, 2023
dosaboy added a commit to dosaboy/athena-core that referenced this issue Aug 24, 2023
dosaboy added a commit to dosaboy/athena-core that referenced this issue Aug 24, 2023
Also does the following:

  * updates all workflows to use go 1.16.x since go.mod expects that
  * updates simpleforce dependency

Resolves: canonical#51
@hillpd
Copy link

hillpd commented Aug 24, 2023

The session token will expire if there is no activity within the first half of the configured TTL:
https://salesforce.stackexchange.com/questions/335786/why-does-my-salesforce-access-token-expire-after-a-certain-time

dosaboy added a commit to dosaboy/athena-core that referenced this issue Aug 24, 2023
Also does the following:

  * updates all workflows to use go 1.16.x since go.mod expects that
  * updates simpleforce dependency

Resolves: canonical#51
dosaboy added a commit to dosaboy/athena-core that referenced this issue Aug 24, 2023
Also does the following:

  * updates all workflows to use go 1.16.x since go.mod expects that
  * updates simpleforce dependency

Resolves: canonical#51
dosaboy added a commit to dosaboy/athena-core that referenced this issue Aug 24, 2023
Also does the following:

  * updates all workflows to use go 1.16.x since go.mod expects that
  * updates simpleforce dependency

Resolves: canonical#51
dosaboy added a commit to dosaboy/athena-core that referenced this issue Aug 24, 2023
Also does the following:

  * updates all workflows to use go 1.16.x since go.mod expects that
  * updates simpleforce dependency

Resolves: canonical#51
dosaboy added a commit to dosaboy/athena-core that referenced this issue Aug 24, 2023
Also does the following:

  * updates all workflows to use go 1.16.x since go.mod expects that
  * updates simpleforce dependency

Resolves: canonical#51
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 a pull request may close this issue.

2 participants