-
Notifications
You must be signed in to change notification settings - Fork 110
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
Dynect APIs throw "login: There was a problem with your credentials" errors from time to time #106
Milestone
Comments
Looks like over zealous ip matching on their sessions. Ive notice this We can add an exception handler to relogin or retry on this error. I'll |
codefromthecrypt
pushed a commit
that referenced
this issue
Apr 22, 2013
codefromthecrypt
pushed a commit
that referenced
this issue
Apr 22, 2013
updated to jclouds 1.6.0-rc.5, resolving issue #106
codefromthecrypt
pushed a commit
that referenced
this issue
Apr 22, 2013
codefromthecrypt
pushed a commit
that referenced
this issue
Jul 4, 2013
codefromthecrypt
pushed a commit
that referenced
this issue
Jul 4, 2013
backfills dynect session invalidation logic from issue #106
codefromthecrypt
pushed a commit
that referenced
this issue
Jul 4, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Once a while I observe this type of error if I keep using Dynect APIs from my application. Usually a restart will fix it.
org.jclouds.http.HttpResponseException: command: GET https://api2.dynect.net/REST/Zone HTTP/1.1 failed with response: HTTP/1.1 400 Bad Request; content: [{"status": "failure", "data": {}, "job_id": 305900967, "msgs": [{"INFO": "login: IP address does not match current session", "SOURCE": "BLL", "ERR_CD": "INVALID_DATA", "LVL": "ERROR"}, {"INFO": "login: There was a problem with your credentials", "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"}]}]
at org.jclouds.dynect.v3.handlers.DynECTErrorHandler.handleError(DynECTErrorHandler.java:45)
at org.jclouds.http.handlers.DelegatingErrorHandler.handleError(DelegatingErrorHandler.java:69)
at org.jclouds.http.internal.BaseHttpCommandExecutorService.shouldContinue(BaseHttpCommandExecutorService.java:182)
at org.jclouds.http.internal.BaseHttpCommandExecutorService.invoke(BaseHttpCommandExecutorService.java:152)
at org.jclouds.rest.internal.InvokeHttpMethod.invoke(InvokeHttpMethod.java:131)
at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:97)
at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:59)
at org.jclouds.reflect.FunctionalReflection$FunctionalInvocationHandler.handleInvocation(FunctionalReflection.java:119)
at com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:70)
at com.sun.proxy.$Proxy95.list(Unknown Source)
at denominator.dynect.DynECTZoneApi.list(DynECTZoneApi.java:19)
org.jclouds.http.HttpResponseException: command: GET https://api2.dynect.net/REST/TXTRecord/allen.com./test.allen.com. HTTP/1.1 failed with response: HTTP/1.1 400 Bad Request; content: [{"status": "failure", "data": {}, "job_id": 305897866, "msgs": [{"INFO": "login: IP address does not match current session", "SOURCE": "BLL", "ERR_CD": "INVALID_DATA", "LVL": "ERROR"}, {"INFO": "login: There was a problem with your credentials", "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"}]}]
at org.jclouds.dynect.v3.handlers.DynECTErrorHandler.handleError(DynECTErrorHandler.java:45)
at org.jclouds.http.handlers.DelegatingErrorHandler.handleError(DelegatingErrorHandler.java:69)
at org.jclouds.http.internal.BaseHttpCommandExecutorService.shouldContinue(BaseHttpCommandExecutorService.java:182)
at org.jclouds.http.internal.BaseHttpCommandExecutorService.invoke(BaseHttpCommandExecutorService.java:152)
at org.jclouds.rest.internal.InvokeHttpMethod.invoke(InvokeHttpMethod.java:131)
at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:97)
at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:59)
at org.jclouds.reflect.FunctionalReflection$FunctionalInvocationHandler.handleInvocation(FunctionalReflection.java:119)
at com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:70)
at com.sun.proxy.$Proxy146.listByFQDNAndType(Unknown Source)
at denominator.dynect.DynECTResourceRecordSetApi.exisingRecordIdsByNameAndType(DynECTResourceRecordSetApi.java:237)
at denominator.dynect.DynECTResourceRecordSetApi.existingRecordsByNameAndType(DynECTResourceRecordSetApi.java:184)
at denominator.dynect.DynECTResourceRecordSetApi.replace(DynECTResourceRecordSetApi.java:158)
The text was updated successfully, but these errors were encountered: