[Terraform] registry.terraform.io/hashicorp/template 2.2.0 doesn't match any of the checksums previously recorded in the dependency lock file
·
Server/Infra
문제terraform init 명령어를 진행할 때, 아래와 같은 에러가 발생했다. │ Error: Failed to install provider│ │ Error while installing hashicorp/template v2.2.0: the local package for registry.terraform.io/hashicorp/template 2.2.0 doesn't match any of the checksums previously recorded in the dependency lock file (this might be because the available checksums are for packages targeting different platforms); for more inform..
[Terraform] Incompatible provider version, darwin_arm64 이슈
·
Server/Infra
문제 terraform init 명령어를 입력하였을 때, 아래와 같은 에러가 발생할 때가 있다.╷│ Error: Incompatible provider version│ │ Provider registry.terraform.io/hashicorp/template v2.2.0 does not have a package available for your current platform, darwin_arm64.│ │ Provider releases are separate from Terraform CLI releases, so not all providers are available for all platforms. Other versions of this provider may have different pl..
[JPA ERROR] FetchType.LAZY 설정으로 인해 Proxy 객체가 초기화 되지 않았을 때 발생한 에러
·
Server/Error
문제 org.springframework.messaging.converter.MessageConversionException: Could not write JSON: could not initialize proxy \[com.onlyu.domain.entity.Member#1\] - no Session (through reference chain: com.onlyu.domain.entity.Chat\["chatRoom"\]->com.onlyu.domain.entity.ChatRoom\["member1"\]->com.onlyu.domain.entity.Member$HibernateProxy$XbE9wKRQ\["email"\]); nested exception is com.fasterxml.jackson.d..
[Spring, html error] Resolved [org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported]
·
Server/Error
문제 발생 Join email password nickname 회원가입 뒤로가기 @PostMapping("/join") public String join(@RequestBody final @Valid JoinRequest request) { log.info("email = {}, nickname = {}", request.getEmail(), request.getNickname()); try { JoinResponse member = memberService.join(request); } catch (DataIntegrityViolationException | OnlyUAppException e) { throw new OnlyUAppException(ErrorCode.DUPLICATED_MEMBER_IN..
[Docs] Spring Rest Docs HTML 출력하는 법.
·
Server/Spring&Spring Boot
사용자분들이 올리신 글들을 보면 Build를 할 경우, 설정에 따라 자동적으로 *.html 파일 출력이 이뤄진다고 적혀있었다. 하지만 아무리 Build를 눌러도 반응이 없고, 직접적으로 Task를 돌려도 반응이 없어서 다시 찾아보니, Template라는 게 필요한 것 같았다. Templates 설정 Spring REST Docs Document RESTful services by combining hand-written documentation with auto-generated snippets produced with Spring MVC Test, WebTestClient, or REST Assured. docs.spring.io 위의 Spring REST Docs의 Reference Doc의 Usin..
[CI/CD Error] AWS Code deploy please check if this instance was started with an IAM instance profile
·
Server/Error
에러 발생 글 [CI/CD] Github Actions, S3, CodeDeploy를 이용한 CI/CD - 5이전글 [CI/CD] Github Actions, S3, CodeDeploy를 이용한 CI/CD - 4 이전글 https://chordplaylist.tistory.com/286 [CI/CD] Github Actions, S3, CodeDeploy를 이용한 CI/CD - 3 이전글 [CI/CD] Github Actions, S3, CodeDeploy를 이용한 CI/CD - 2chordplaylist.tistory.com Code Deploy 확인AWS CodeDeploy를 들어가보니 배포 상태가 실패되고 있었다. Ubuntu 확인Ubuntu의 Sudo 모드로 접속하여 AWS Log를 확인해보았다...
[Thymeleaf Error] EC2 배포 후 500 Error 발생. Local에서는 돼요.
·
Server/Error
상황 ???: Local에서는 되는데 Server에서는 안 돼요. 저 상황이 그대로 일어났다. Local에서 해당 페이지를 구동시켰을 때, 온전히 페이지가 잘 작동되는 것을 확인하고 배포하였는데 다음과 같이 500 에러가 발생하였다. 에러코드 org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/pages/recommend/recommend-read.html]") at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupT..
[Swagger Error] Spring boot 3.0.x 이상 springdoc-openapi Swagger 화면이 로드되지 않을 때.
·
Server/Error
다음과 같이 swagger-ui에 접속은 되는데, 내용들이 불러와지지 않고 하얀 화면만 보이는 증상이 발생했다. Spring Security 경로도 열어줬고, 설정도 다 했는데 왜 안될까 고민하며 F5만 누르다가 혹시 몰라 F12를 눌러 콘솔을 찾아봤다. 다음 사진을 보면 /swagger-ui/ 다음으로 하위 경로에 있는 .css, .js 파일들이 로드되지 못하고 있는 것을 알 수 있었다. 기존 Security Config에서 Swagger의 경로 지정을 아래와 같이 지정했었는데 private final String[] SWAGGER = {"/v3/api-docs", "/swagger-ui", "/swagger-ui/index.html"}; 하위 경로까지 모두 허용하는 코드로 변경했다. private f..
코드플리
'error' 태그의 글 목록