🚀 AI & Tech 데일리 브리핑 (2026.03.30)

이미지
금융트렌드 🚀 AI & Tech 데일리 브리핑 (2026.03.30) AgileBus 2026. 3. 31. 08:13 # 🚀 AI & Tech 데일리 브리핑 (2026.03.30) 오늘의 글로벌 AI 시장은 플랫폼의 수익화 과제와 멀티 모델을 통한 기술적 돌파구가 핵심 키워드입니다. 최신 동향을 한눈에 확인하세요! --- 글로벌 빅테크 심층 분석 1. OpenAI ChatGPT 앱 플랫폼, 출시 6개월 만에 성장 정체 * **현황:** 300개 이상의 통합 서비스가 입점했음에도 불구하고, 실제 구매 전환으로 이어지는 채택률이 부진한 것으로 나타났습니다. * **대응:** 사용자들이 채팅 내에서 상품을 둘러보기만 하는 현상이 지속되자, OpenAI는 '즉시 결제(Instant Checkout)' 기능을 축소하고 파트너 앱 내 거래로 전략을 수정했습니다. * **이슈:** 에어비앤비 CEO 브라이언 체스키는 "아직 준비가 안 됐다"고 평가했으며, 개발자들 사이에서는 SDK 버그와 낮은 앱 검색 기능에 대한 불만이 제기되고 있습니다. 2. 마이크로소프트, '멀티 모델' 전략으로 신뢰성 확보 (Critique 공개) * **기술 혁신:** 리서치 초안은 **OpenAI의 GPT**가 작성하고, 검증은 **앤트로픽(Anthropic)의 Claude**가 수행하는 교차 확인 시스템 'Critique'를 선보였습니다. * **성과:** 이 방식은 DRACO 딥 리서치 벤치마크에서 단일 모델 대비 13.8%의 성능 향상을 기록하며 업계를 앞섰습니다. * **확산:** Claude 기반의 **Copilot Cowork** 에이전트를 '프런티어(Frontier)' 프로그램을 통해 더 많은 기업 고객에게 개방하며 점유율 확대에 나섰습니다. --- 📑 분야별 주요 뉴스 스크랩 1. [산업 지형] AI 시대, 데이터를 둘러싼 새로운 격차 * 스타트업의 데이터 접근성 부족이 시장 진입 장벽...

(truffle 환경 설정) Truffle compiler 오류 대처 - Error: Failed to fetch the Solidity compiler from the following locations



(truffle 환경 설정) Truffle compiler 오류 대처
- Error: Failed to fetch the Solidity compiler from the following locations

 
Truffle 을 사용하는 환경이 인터넷 사용이 안되거나  HTTPS와 같은 프로토콜이 차단된 환경에서 발생하는 문제입니다.
특히  금융 환경처럼 망분리가 되어 있는 환경은 https를  강제로  http로 변환해서 통신하는 데이터를 감시하고 있습니다. 그래서 https로 작동되는 외부 소스다운로드의 경우 오류가 발생  합니다. 이러한 경우 인터넷에 검색해도 나오지 않는 오류 해결 방법이 있어서 공유 합니다.  (
 한참 이리저리  찾아 헤메다가  ㅠㅠ)

Truffle 설치 와 스마트 계약(Smart Contract) 개발

1. Truffle 설치 - 스마트 계약 개발 환경 구성 (truffle, ganache-cli, solc )
    - npm install -g truffle
    - npm install -g ganache-cli
    - npm install -g solc

2. Truffle 사용 - 스마트 계약(Smart Contract)개발
   - truffle create contract YourContractName
   - truffle create test YourTestName 

3. [Truffle 환경 설정] 컴파일 오류 대처 - Error: Failed to fetch the Solidity compiler from the following locations:
     - Are you connected to the internet?

4.  [Truffle 환경 설정] Deploy 오류 대처 - Error: Could not find artifacts for SimpleStorage from any sources
  - throw new Error("Could not find artifacts for " + import_path + " from any sources");

 



 ㅁ Truffle 명령을 이용한 스마트 계약 개발과 컴파일


# Truffle을 이용하여 스마트 컨트렉트를 이용하는 명령은 다음과 같습니다.
$ ganache-cli  -h 0.0.0.0 -p 8545 &  # 테스트용 블록체인 네트웍을 작동 합니다.

$ truffle init
->  smart contract  소스를 작성 합니다.
$ truffle compile
$ truffle migration ./migration/deploy_someContract.js
$ truffle deploy
$ truffle test ./test/someContrace_test.js

이번에는 truffle compile 에 대한 실행시 발생하는 오류에 대하여 알아 보고자 합니다.




 

1. Truffle compile 과정에서 오류가 발생  

Error: Failed to fetch the Solidity compiler from the following locations ~~~ ~~~ Are you connected to the internet?
Truffle을 예제를 따라서 컴파일을 하는데  이 컴파일 오류가 발생 합니다.

인터넷을 찾아보면 solc 컴파일러를 설치하라고 하지만 컴파일러는 설치를 했기에 문제가 없습니다.

[ipman@vm1 truffle2]$ truffle compile contracts/SimpleStorage.sol

Compiling your contracts...
===========================
? Fetching solc version list from solc-bin. Attempt #1
? Fetching solc version list from solc-bin. Attempt #2
? Fetching solc version list from solc-bin. Attempt #3
? Fetching solc version list from solc-bin. Attempt #4
? Fetching solc version list from solc-bin. Attempt #5
? Fetching solc version list from solc-bin. Attempt #6
Error: Failed to fetch the Solidity compiler from the following locations: https://relay.trufflesuite.com/solc/emscripten-wasm32/,https://binaries.soliditylang.org/emscripten-wasm32/,https://relay.trufflesuite.com/solc/emscripten-asmjs/,https://binaries.soliditylang.org/emscripten-asmjs/,https://solc-bin.ethereum.org/bin/,https://ethereum.github.io/solc-bin/bin/. Are you connected to the internet?


    at VersionRange.<anonymous> (/app_svc/.nvm/versions/node/v18.17.0/lib/node_modules/truffle/build/webpack:/packages/compile-solidity/dist/compilerSupplier/loadingStrategies/VersionRange.js:200:1)
    at Generator.next (<anonymous>)

 
컴파일러는 설치가 되어서 정상 작동하는 데 왜 오류가 나는지는 인터넷을 찾아도 답을 찾을수 없었습니다.

# 컴파일러는 정상 작동합니다.
# 아래 와 같이 컴파일 결과 파일들이 만들수 있습니다.
[ipman@vm1 contracts]$ solcjs --bin --abi SimpleStorage.sol
-rw-r--r--. 1 ipman ipman 268  8월  1 07:36 SimpleStorage.sol
-rw-r--r--. 1 ipman ipman 292  8월  3 17:35 SimpleStorage_sol_SimpleStorage.abi
-rw-r--r--. 1 ipman ipman 704  8월  3 17:35 SimpleStorage_sol_SimpleStorage.bin

 
 

2. 오류 원인 과 해결 방법 : 

Error: Failed to fetch the Solidity compiler from the following locations: ~~~ Are you connected to the internet?

version: "^0.8.0" 은 0.8.x  이상의 컴파일러를 이용하도록 하지만 로컬에서 solcjs가 인터넷과 연결되지 않아 설치가 되지 않아 버전 확인이 안되는 경우로 파악 됩니다.   

이런 경우에 로컬에 설치된 solc 버전 으로 설정을 수정하면 됩니다.  현재 로컬에는 0.8.4와 0.8.21  버전이 설치되어 있어서 
 
version: "^0.8.0" 을   version: "0.8.21",  또는   version:"0.8.4"  로 수정하면 컴파일이 됨을 확인 했습니다.
 

1) Solidity compiler 설치와 버전 확인

npm install solc 를 이용하여 solcjs를 설치 합니다.

[ipman@vm1 mySmartContract]$ npm install solc -g

changed 9 packages in 526ms


[ipman@vm1 mySmartContract]$ npm list solc -g
/app_svc/.nvm/versions/node/v18.17.0/lib
--- solc@0.8.21
 --- truffle@5.11.1
  --- @truffle/debugger@12.1.1
    --- @ensdomains/ensjs@2.1.0
      --- @ensdomains/ens@0.4.5
        --- solc@0.4.26

 
설치된 solc 버전을 확인하니 0.8.21 입니다.

[ipman@vm1 truffle2]$ solcjs --version
0.8.21+commit.d9974bed.Emscripten.clang



2) truffle-config.js에 컴파일러 버전명을 명시적으로 수정하여 해결 

다음과 같이 solcjs 의 버전에 맞추어  truffle-config.js 의 컴파일러 버전을 수정합니다.

version: "^0.8.0" 은 0.8.x  이상의 컴파일러를 이용하도록 하지만 로컬에서 solcjs가 인터넷과 연결되지 않아 설치가 되지 않아 버전 확인이 안되는 경우로 파악 됩니다. 

이런 경우에   version: "^0.8.0" 을   version: "0.8.21",  또는   version:"0.8.4"  로 수정하면 작동이 됩니다.

module.exports = {
// contracts_directory tells Truffle where the contracts you want to compile are located
contracts_directory: './contracts/local-dev',

// contracts_build_directory tells Truffle where to store compiled contracts
contracts_build_directory: './build/local-contracts',

  networks: {
    // Useful for testing. The `development` name is special - truffle uses it by default
    //
     development: {
      host: "127.0.0.1",     // Localhost (default: none)
      port: 8545,            // Standard Ethereum port (default: none)
      network_id: "*",       // Any network (default: none)
     },
  },

  // Configure your compilers
  compilers: {
    solc: {
      version: "0.8.21",      // Fetch exact version from solc-bin (default: truffle's version)
    }
  },

};

 
ㅁ 다시 컴파일러를 수정하고  truffle compile을 실행하면 정상 작동 됩니다.

[ipman@vm1 truffle2]$ truffle compile contracts/SimpleStorage.sol

Compiling your contracts...
===========================
> Compiling ./contracts/SimpleStorage.sol
> Artifacts written to /app_svc/truffle2/build/local-contracts
> Compiled successfully using:
   - solc: 0.8.21+commit.d9974bed.Emscripten.clang

 
 
https://solc-bin.ethereum.org/bin/,https://ethereum.github.io/solc-bin/bin/. Are you connected to the internet? 에 대한 오류 해결이 되었나요 ... 혹시 안되면 댓글 달아 주시면 답변 드리겠습니다.

감사합니다.
 

[참조]
https://trufflesuite.com/docs/truffle/reference/configuration/

댓글

이 블로그의 인기 게시물

Linux - Rsyncd 설치와 selinux 문제 해결법 (Centos8)

chatGPT 응답 품질 점검 - Check outputs

KrakenD API Gateway - krakend.json 파일의 기본 구조